Support » Plugin: Popup Maker - Popup Forms, Opt-ins & More » Attribute "theme" inside [popup]-shortcode

  • Resolved hoemes

    (@hoemes)


    On my website I dynamically create popups inside a loop (like described here)

    Inside the [popup]-shortcode I set the attribute “theme” to the name of the popup maker theme I defined in the admin panel. The code looks like this:

    do_shortcode("[popup id='custom_popup_id' theme='theme_name' size='micro' title=''"][/popup]");

    Before update 1.4 everything worked fine and the theme was set correctly! Now with 1.4.8 the only way to set the popup-theme inside the [popup]-shortcode is by the attribute “theme_id”. Is there a solution how I can set the theme by name again?

    Thanks for your help!

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

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

    (@danieliser)

    @hoemes – This is because we are slowly moving away from theme names/slugs. We only added them to begin with for semantics, but it actually adds an additional layer of complexity to nearly every facet of the process trying to verify each popup has a valid theme.

    That said I wasn’t aware that we removed that capability, I think the only change in the shortcode itself was adding theme_id, you should still be able to manually insert your own attributes in the text editor.

    I will add a note to see if I can easily patch this for you in the next update.

    @danieliser – thanks for your quick reply and a possible fix in a future update.

    Plugin Author danieliser

    (@danieliser)

    @hoemes – Not a problem. Please take a moment to rate and review the plugin and or support once you have updated to version 1.4.9 and tested it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Attribute "theme" inside [popup]-shortcode’ is closed to new replies.