You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I stumbled upon this plugin looking for a real way to compile both css & js files into single files to reduce the amount of requests being made by WP themes, and I have to say I like where this project is going :)
However, I am messing around with the minit_exclude_js filter and I hate to sound like such a n00b, but I wanted to use the filter to exclude jquery core & jquery-migrate because it is seemingly breaking every site I install the plugin on. As I am sure you already know that most themes do not follow great standards, but by using the filter it moves both files to the footer which still causes issues with jquery placed within the page by plugins and what not.
Is there a way to exclude these two files and re-enqueue them back into the header? I know it sounds quite counter productive, but even doing so still eliminates 20+ requests per theme.
Thanks
The text was updated successfully, but these errors were encountered:
Thanks for the reply, however I did try the suggested filter, however by doing so it removes the files that are excluded from the head section and places them right above the minit async call in the footer.
I even tired to use wp_deregister_script & wp_register_script to try and force it back into the head section with no luck.
I'll hold off on this for now until some type of work around pops up. Thanks.
Hello -
I stumbled upon this plugin looking for a real way to compile both css & js files into single files to reduce the amount of requests being made by WP themes, and I have to say I like where this project is going :)
However, I am messing around with the minit_exclude_js filter and I hate to sound like such a n00b, but I wanted to use the filter to exclude jquery core & jquery-migrate because it is seemingly breaking every site I install the plugin on. As I am sure you already know that most themes do not follow great standards, but by using the filter it moves both files to the footer which still causes issues with jquery placed within the page by plugins and what not.
Is there a way to exclude these two files and re-enqueue them back into the header? I know it sounds quite counter productive, but even doing so still eliminates 20+ requests per theme.
Thanks
The text was updated successfully, but these errors were encountered: