Answer the question
In order to leave comments, you need to log in
How to skip only one plugin in wp_head and wp_footer?
There is a page template for WordPress, completely built on statics. Those. I don't need to load the styles and scripts of all plugins and the engine itself there, with the exception of the contact form plugin (and, accordingly, the scripts on which it depends).
Is there any elegant solution how to deregister all unnecessary scripts and styles for a certain page/template without listing them, but at the same time allow the selected plugin to work correctly?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question