Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1276645
    Chris Schwartze
    Participant

    Hey X,

    I want to display shortcodes on my website without actually displaying them. I just want to show the markdown.

    I tried <code></code> and also [[gap]] for example.

    Any advice?

    #1276656
    Jade
    Moderator

    Hi Cris,

    Please trying using the <pre></pre> tag.

    Hope this helps.

    #1277102
    Chris Schwartze
    Participant

    Used that tag, doesn’t work either. Are you able to replicate the issue?

    All of these don’t work:
    <pre>[[author title="About Me"]]</pre>
    <pre>[author title="About Me"]</pre>
    <pre><code>[author title="About Me"]</code></pre>

    #1277109
    Friech
    Moderator

    Hi There,

    Cornerstone has an element called Code Snippet you can use that to display a code. If you prefer a shortcode, you can use the code below.

    [x_code][author title="About Me"]
    [author title="About Me"]
    [author title="About Me"][/x_code]

    Hope it helps, Cheers!

    #1277114
    Chris Schwartze
    Participant

    Just found the solution (after 2 hours).

    [[[author title="About Me"]]]

    #1277115
    Chris Schwartze
    Participant

    Thanks Friech, that answer works as well. Wonderful

    #1277118
    Friech
    Moderator

    You’re more than welcome, glad we could help.

    Cheers!

  • <script> jQuery(function($){ $("#no-reply-1276645 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>