• Resolved maxgx

    (@maxgx)


    i’ve been trying to insert html tags in snippets edited in the “Manage Snippets” tab, like <span class="someclass">text</span>, but the html seems to be stripped out in output of shortcodes in templates using <?php echo do_shortcode('[shortcodename]'); ?>

    is there a solution? thanks!

    https://wordpress.org/plugins/post-snippets/

Viewing 1 replies (of 1 total)
  • There are a few plugins available that make it easy to add HTML snippets as a “short code.”

Viewing 1 replies (of 1 total)

The topic ‘how to insert html in snippet’ is closed to new replies.