argee56
Forum Replies Created
-
Hi,
I had the same problem described by jandrabek. i.e had hundreds of rows of code from popup maker on pages where there are no popups. (all pagers)
After reading this forum I followed your instructions to set Conditions and target only the pages the popups should load on. This went very well and i reduced several hundred lines of code. So far so good. BTW – I watched a video when 1st using Popup Maker and this video recommended that the conditions be set to “all pages”! – I suggest you highlight the need to target the pages a popup is needed for as a matter of priority.
However, I have not been able to remove unwanted lines of codes for the themes and tried your suggestion of updating the default popup theme. The code in the default theme updated the change in settings but all the PUM themes are still loaded on all pages.
At the moment we have no page caching plugin on our site.
Here’s a page with no popups but has .pum-theme code starting line 92:
view-source:http://www.guthcad.com/wp/en/comparison-chart-test-2/There’s 40 lines of code – here’s some of the lines so you can see what I’m talking about:
‘</script>
<style id=”pum-styles” type=”text/css”>
/* Popup Google Fonts */
@import url(‘//fonts.googleapis.com/css?family=Acme|Montserrat’);/* Popup Theme 5140: Framed Border */
.pum-theme-5140, .pum-theme-framed-border { background-color: rgba( 255, 255, 255, 0.5 ) }
.pum-theme-5140 .pum-container, .pum-theme-framed-border .pum-container { ….
/* Popup Theme 5139: Cutting Edge */
/* Popup Theme 5138: Hello Box */
/* Popup Theme 5137: Enterprise Blue */
/* Popup Theme 5136: Light Box */
/* Popup Theme 5135: Default Theme */’