Title: Plugin creates source code on every page
Last modified: September 1, 2016

---

# Plugin creates source code on every page

 *  Resolved [jandrabek](https://wordpress.org/support/users/jandrabek/)
 * (@jandrabek)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-creates-source-code-on-every-page/)
 * Hi, I’m using latest version of PopUP Maker and WP 4.5.3
 * 1. Website [http://www.toppragueapartments.com/](http://www.toppragueapartments.com/)
   
   2. If you look into source code of the page (where is not popup attached) there
   are many rows of code from popup maker
 * > (example: role=”dialog” aria-hidden=”true” aria-labelledby=”pum_popup_title_636″
   > ><div id=”popmake-636″ class=”pum-container popmake theme-542 pum-responsive
   > pum-responsive-medium responsive size-medium”><div id=”pum_popup_title_636″)
 *  just browse my source code. This is not suppose to display on pages without 
   popups.
 * Please help. These source codes are not supposed to display on web.
 * Thanks
 * [https://wordpress.org/plugins/popup-maker/](https://wordpress.org/plugins/popup-maker/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Thread Starter [jandrabek](https://wordpress.org/support/users/jandrabek/)
 * (@jandrabek)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-creates-source-code-on-every-page/#post-7600803)
 * This plugin also display information about Elegant Themes on every page. I have
   no Idea why.
 *  Plugin Author [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * (@danieliser)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-creates-source-code-on-every-page/#post-7600972)
 * [@jandrabek](https://wordpress.org/support/users/jandrabek/) – First I see no
   code outputted on the bottom of your site. If you mean in the html then yes, 
   we have to pass your settings somehow.
 * As for the elegant themes stuff, I don’t have access to their themes, but they
   are definitely doing something out of the normal WordPress guidelines to filter
   those variables. We have unique prefixes, filter names etc that make it unlikely
   they use the same filter names.
 * In order for those values to be in our settings section they are hijacking the
   wordpress post meta system and filtering their own data. Nothing we can do about
   that unfortunately. I have sent them an email before but haven’t seen any progress.
 * Also it only appears when licenses are expired or missing from all the ones I
   have seen. The message has always been the same so likely the offending code 
   is in their licensing API code.
 * Hope that helps, though it hasn’t been shown to actually break anything.
 *  Thread Starter [jandrabek](https://wordpress.org/support/users/jandrabek/)
 * (@jandrabek)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-creates-source-code-on-every-page/#post-7600982)
 * I have no problem with popup maker data on page where popup actualy is. But as
   you can see there `view-source:http://www.toppragueapartments.com/` this is front
   page without popup and source code contains code of every created popup. Is this
   right?
 *  Plugin Author [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * (@danieliser)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-creates-source-code-on-every-page/#post-7601056)
 * [@jandrabek](https://wordpress.org/support/users/jandrabek/) – I think you are
   confusing Loaded, with Shown. Just because you don’t use a popup on the page,
   doesn’t mean its not loaded. We have no way to be able to detect what you did
   on the page since page contents can come from any number of places we can’t scan.
 * I would suggest you check out our docs on [Conditions](http://docs.wppopupmaker.com/article/140-conditions).
   That is how you prevent it from loading, by targeting only the pages you want
   it to load on.
 * Hope that helps.
 *  Thread Starter [jandrabek](https://wordpress.org/support/users/jandrabek/)
 * (@jandrabek)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-creates-source-code-on-every-page/#post-7601064)
 * [@danieliser](https://wordpress.org/support/users/danieliser/) – Thanks so much.
   This helped with displaying source on other pages. Perfect.
 * Now theres only one problem. I still have Themes source code on every page which
   is possibly ok. Bud I detelet permanently all themes except light and default
   but my source code still contains all the themes. Even deleted ones.
 *     ```
       /* Popup Theme 545: Cutting Edge */
       .pum-theme-545, .pum-theme-cutting-edge { background-color: rgba( 0, 0, 0, 0.5 ) }
       .pum-theme-545 .pum-container, .pum-theme-cutting-edge .pum-container { padding: 18px; border-radius: 0px; border: 1px none #000000; box-shadow: 0px 10px 25px 0px rgba( 2, 2, 2, 0.5 ); background-color: rgba( 30, 115, 190, 1 ) }
       .pum-theme-545 .pum-title, .pum-theme-cutting-edge .pum-title { color: #ffffff; text-align: left; text-shadow: 0px 0px 0px rgba( 2, 2, 2, 0.23 ); font-family: Sans-Serif; font-size: 26px; line-height: 28px }
       .pum-theme-545 .pum-content, .pum-theme-cutting-edge .pum-content { color: #ffffff; font-family: inherit }
       .pum-theme-545 .pum-content + .pum-close, .pum-theme-cutting-edge .pum-content + .pum-close { height: 24px; width: 24px; left: auto; right: 0px; bottom: auto; top: 0px; padding: 0px; color: #1e73be; font-family: inherit; font-size: 32px; line-height: 24px; border: 1px none #ffffff; border-radius: 0px; box-shadow: -1px 1px 1px 0px rgba( 2, 2, 2, 0.1 ); text-shadow: -1px 1px 1px rgba( 0, 0, 0, 0.1 ); background-color: rgba( 238, 238, 34, 1 ) }
       /* Popup Theme 544: Hello Box */
       ```
   
 *  Plugin Author [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * (@danieliser)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-creates-source-code-on-every-page/#post-7601079)
 * [@jandrabek](https://wordpress.org/support/users/jandrabek/) – If they are still
   there, try editing your default popup theme and simply clicking update. I will
   make a note that our CSS doesn’t refresh when a theme is deleted properly.
 * If that doesn’t do it make sure you clear any page caching on your site.
 *  [argee56](https://wordpress.org/support/users/argee56/)
 * (@argee56)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-creates-source-code-on-every-page/#post-7601115)
 * 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/](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](https://wordpress.org/support/users/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 */’

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Plugin creates source code on every page’ is closed to new replies.

 * ![](https://ps.w.org/popup-maker/assets/icon-256x256.gif?rev=3097653)
 * [Popup Maker - Boost Sales, Conversions, Optins, Subscribers with the Ultimate WP Popup Builder](https://wordpress.org/plugins/popup-maker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/popup-maker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/popup-maker/)
 * [Active Topics](https://wordpress.org/support/plugin/popup-maker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/popup-maker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/popup-maker/reviews/)

## Tags

 * [source-code](https://wordpress.org/support/topic-tag/source-code/)

 * 7 replies
 * 3 participants
 * Last reply from: [argee56](https://wordpress.org/support/users/argee56/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-creates-source-code-on-every-page/#post-7601115)
 * Status: resolved