Replies: 1 comment
-
Think this won't work that way. You can grab the CSS/JS and enqueue them in your child if shortcode is present as described here https://www.wpexplorer.com/load-scripts-shortcode/. But of course this plugin is no longer needed. However, once loaded, files gets cached and loaded on every page. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey Justin,
Just wondering if it's possible to dequeue the CSS style and JS script for this plugin so it doesn't pull down a copy of the style and script every page load and only load it on the contact page, for the performance gains!
Would it be possible to write a simple function like this below to achieve this (this is just a rough example of what I'm looking to do):
Beta Was this translation helpful? Give feedback.
All reactions