Load assets on specific pages
-
Hi there,
Your plugin works nicely but it loads all the required scripts and styles on every page which increases the pageload. CF7 does the same but they provide a workaround (see: https://contactform7.com/loading-javascript-and-stylesheet-only-when-it-is-necessary/ ).
I tried to disable your assets in many ways, dequeue_, deregister and add_filter but nothing seems to work. Can you explain how to disable (css, js & roboto) & enable?
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Load assets on specific pages’ is closed to new replies.