• Hello everybody, i have the problem with Mesmerize theme that i added a section on the main page and inserted a shortcode (Plugin Instagram WD). But now everytime i save from the customizer the shortcode gets removed, when i use the standard wordpress text-editor to change the content of the page it works fine. But later on i change something in the customizer, save and the shortcode is gone and the section is empty again. Anybody had this issue before?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • In the pro version you have an “add shortcode” in the add elements button. To achieve this in free version you have to wrap the element in a div like this

    <div data-content-shortcode=”shorcode attr1="attr1-val"”>[shorcode attr1=”attr1-val”]</div>

    Make sure you html escape the data-content-shortcode value.

    Hello, I have the same problem and have tried with the example you gave, but I can’t get it to work.
    This is what I used:
    <div data-content-shortcode=”wp-stream-player url=”https://ca2.rcast.net:8024/;stream.mp3&#8243; type=”mp3″ autoplay=”no””>[wp-stream-player url=”https://ca2.rcast.net:8024/;stream.mp3&#8243; type=”mp3″ autoplay=”no” ]</div>

    What do you mean by html escape?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Customizer removes Shortcodes’ is closed to new replies.