• Resolved ppappas

    (@ppappas)


    I haven’t had any success trying to call a shortcode from a button.

    **The button shortcode:**
    This is text to create a button with [su_button] some code [/su_button] inside it.

    **The popup shortcode to be called from the button:**
    [sg_popup id=”3″ event=”click”] some code [/sg_popup]

    Does anyone know how to put these codes together so that when the button is clicked the popup will show?

    Thank you.
    Peter

Viewing 1 replies (of 1 total)
  • Thread Starter ppappas

    (@ppappas)

    Solution found:

    Popup Builder was used to create the popup. In the button editor for Shortcode Ultimate add the code sg-popup-id-3 to ‘Extra CSS Class’.

Viewing 1 replies (of 1 total)
  • The topic ‘Call popup from button’ is closed to new replies.