Dear all,
I am trying to find a clean method of minimizing bandwidth without tampering with the plugin-files, maybe someone can help me. Here's my "problem":
Once the opt-in plugin is enabled, it loads the glock2.min.js as well as the gsom.css on every page. It seems as if the plugin does not distinguish between it actually being used or not, resulting in unnecessary files being loaded when calling wp_head() from the template. Has anyone got a clue on how to get around this? Surely, one method would be to alter the code: if(page_id(xy)) { include js + css } but that's nasty.
best regards,
David
include plugin JS, CSS in wp_head only when needed?
3 posts
• Page 1 of 1
Re: include plugin JS, CSS in wp_head only when needed?Hi David,
We uploaded the new 2.4.7 version of the plugin. We fixed the issue with the glock2.min.js and the gsom.css files in this version. Please, update to the latest version and see how it works. P.S Click on this link to get your hands on
Ultimate Email Marketing Guide if you don't have it yet
Re: include plugin JS, CSS in wp_head only when needed?Dear marisp,
many thanks for your quick response. I can see that you moved the script-reference away from the header... at least in my case it is now referenced only on the actual page containing the form. This is great and allready brings a speed increase. The CSS however is still referenced in the header but I guess it has to be that way so that the browser can correctly implement the stylesheet, right?
3 posts
• Page 1 of 1
Return to WordPress Double Opt-In List Management Plugin Who is onlineUsers browsing this forum: No registered users and 2 guests |


