WordPress.org

Ready to get started?Download WordPress

Forums

SyntaxHighlighter Evolved
[resolved] Display shortcode as code (3 posts)

  1. seanbee
    Member
    Posted 1 year ago #

    Hi great plugin thanks, I want to show wp shortcode as code but it is parsing it. So I am having to remove on of the square brackets so that it doesnt parse ie. short-code]

    If I enter [short-code] then it parses it and doesnt display it.

    I am doing a tutorial and need to display the shortcode and not the parsed content.

    Any help much appreciated.

    http://wordpress.org/extend/plugins/syntaxhighlighter/

  2. Alex Mills (Viper007Bond)
    Moderator
    Plugin Author

    Posted 1 year ago #

    If you want to prevent a shortcode from rendering, then you need to double up on the brackets.

    Details here: http://www.viper007bond.com/2011/08/13/displaying-shortcodes/

  3. seanbee
    Member
    Posted 1 year ago #

    Thank you worked perfectly!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags