• Hi im using the plugin “shortcoder” to add a html formatted table as a shortcode into the one page express homepage. its being added into the “stripped-coloured-icon-boxes” section and the “about-big-images-section” the shortcuts add fine and show great when you look at the site but if you go back into the cusomiser the shortcode is replace with the actual content and then disappears from the site and customiser. Meaning i need to delete waht it puts in and then add the shortcode again to make it work.

    any idea whats going on?

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter stoopk

    (@stoopk)

    also having issues with adding in iframes, they work once and then disappear. Whats the best way to paste html or other things into the text sections?

    Thread Starter stoopk

    (@stoopk)

    also this is happening to the text i add https://i.gyazo.com/4e2e0401bc022518a02a1dc26b7a7397.mp4
    its getting broken up the same as it inserts the shortcode

    Hi,

    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=&quot;attr1-val&quot;">[shorcode attr1="attr1-val"]</div>

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

    Thread Starter stoopk

    (@stoopk)

    Thanks,
    ok so if im adding a shortcode of;
    [sc name=”map”]
    do i type;
    <div data-content-shortcode="sc name=&quot;map&quot;">[sc name="map"]</div>

    as it adds the dvi tag before and the close div tag after it is this right?
    I take it thats for the template only not to be added into the customiser

    • This reply was modified 7 years, 1 month ago by stoopk.
    • This reply was modified 7 years, 1 month ago by stoopk.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘shortcoder and OPE problem’ is closed to new replies.