• Resolved nicolauria

    (@nicolauria)


    I’m trying to use the plugin to insert a shortcode on all the pages of my site. I’ve tried using the Text Snippet and entering my shortcode in the text field but every time I save p tags are automatically added to the shortcode. Is there any way around this or a different way of adding a shortcode?

Viewing 1 replies (of 1 total)
  • Plugin Author Mircea Sandu

    (@gripgrip)

    Hi @nicolauria,

    In the current setup, the only way around that is to replace the p tags.

    In order to do that, please switch the Text editor to “text”, edit the p tags and replace them with divs https://a.supportally.com/i/3upWvN After that, switch back to Visual and save the snippet https://a.supportally.com/i/JPSk9D.

    This might still not be ideal but a simple div should not interfere with the spacing like a p tag.

    I have made a note to improve the way the Text snippets work with shortcodes so that this is not necessary in a future version.

    • This reply was modified 2 years, 3 months ago by Mircea Sandu.
    • This reply was modified 2 years, 3 months ago by Mircea Sandu. Reason: block editor messing up the message
    • This reply was modified 2 years, 3 months ago by Mircea Sandu.
Viewing 1 replies (of 1 total)
  • The topic ‘How to add Shortcode?’ is closed to new replies.