• Resolved rcorr

    (@rcorr)


    Hello,

    I am using WPBakery Visual Composer plugin along with Ultimate Addons for Visual Composer to help me design my pages. I have created a plugin and would like to be displayed the content in a modal window. When I add my short code to Visual Composer’s Modal Box element, the outcome is on the page itself and the modal window is empty.

    I know Visual Composer’s Modal Box element can take short codes, as I can display a Contact Form 7 form in a Modal window.

    If anyone has any idea how I can get the content of my own plugin into the modal window, I would be much appreciated.

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

    (@rcorr)

    A coworker help me figured this out.

    This is accomplished by placing the form in one string variable and returning the string instead of echoing the form out.

Viewing 1 replies (of 1 total)
  • The topic ‘Displaying a shortcode in Visual composer Modal Box element’ is closed to new replies.