• Hi,

    I am trying to have this popup open when a div is clicked on in the header of a site.

    This is my code:
    [popup id=”popmake-704″ size=”small”]<div class=”bookbutton”>Download 10 Tips for XYZ</div>[/modal]

    In the header of the site, the button is showing up, but so is “[/modal]”. I tried it using [/popup] instead, and the whole button disappeared. I tried using “[modal]” at the beginning also, and the whole button disappeared then too.

    I have increased the
    Aside from the code showing up on the front page, the shortcode is working. When I click on the div, the popup opens.

    Please let me know if you have any ideas. If you need to see a link to the site, I can pm it to you. I appreciate it!!!!

    https://wordpress.org/plugins/popup-maker/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Clare12345

    (@clare12345)

    Nevermind, I think I figured it out. I just erased the “[/modal]” from the code at the end and everything is working fine. Love the plugin!

    Plugin Author Daniel Iser

    (@danieliser)

    @claire12345 – ok I think there may be some confusion about the shortcodes. The [popup shortcode is used to create a popup without using the popup editor.

    Sounds like your simply trying to make a button open a specific popup in which case you either want to add the correct popmake-123 class or use the [popup_trigger id=123]button here[/popup_trigger] shortcode. In each of those you need to change the 123 to match the id given to your popup in the admin.

    You would use the [popup] shortcode to create a popup inline with your content. For instance to add a popup gallery to each post without having to create a seperate popup for each.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Closing shortcode modal tag showing on site’ is closed to new replies.