• Resolved dekafilm

    (@dekafilm)


    Hello! New user here.

    In attempting to track down errors related to another plugin entirely (in this case, Front-End Only Users), I viewed source on a simple test page that should have contained nothing more than X Theme-related code and a single shortcode from that other plugin. Nevertheless I was surprised to find what appear to be blocks of code relating to the two legitimate Popup Maker pop-ups on my site’s home page.

    This does not seem like expected behavior, but perhaps it is. In any case it would affect load times unnecessarily.

    If it helps, the test page in question is here:

    https://www.davidekabramson.com/test01/

    The code appears whether or not logged in as admin.

    Any thoughts? Thanks!

    https://www.ads-software.com/plugins/popup-maker/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Daniel Iser

    (@danieliser)

    @dekafilm – Likely you have not set any conditions for those popups. That is essentially on by default. If you only need them on certain pages edit them and use the conditions editor to specify which.

    https://docs.wppopupmaker.com/article/140-conditions

    Hope that helps.

    Thread Starter dekafilm

    (@dekafilm)

    Understood. So just to be clear: the meaning of “All Pages” really is all pages, not just “any page on which a popup actually appears,” correct?

    However, even after restricting pop-ups to my home page only (by ID), the Popup Theme CSS definitions blocks still appear in the Head code (e.g.: Light Box, Hello Box, Enterprise Blue, etc.). Is this also expected? Thanks again!

    Plugin Author Daniel Iser

    (@danieliser)

    @dekafilm – Yes all pages = any page, good catch. I am considering relabeling a lot of that interface to make it more intuitive by default.

    The CSS block can be disabled if you want to include it in your themes CSS stylesheet, but it does load everywhere since popups can technically be rendered dynamically.

    I made a note to disable it with the other JS if no popups loaded.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘"popmake" elements visible in source on page with no pop-ups: expected behavior?’ is closed to new replies.