[resolved] Code tags? (2 posts)

  1. sepoto
    Posted 5 years ago #

    I post code to my WordPress quite often. On a lot of sites there is a way to use "[code][/code]" tags to encase code with. Also I noticed on this site that 's do the same. Is there a way I can tell WordPress that a certain area is code and should be treated as such?

    Thank you!

  2. Chip Bennett
    Theme Review Admin
    Posted 5 years ago #

    Use the CODE or PRE HTML tags.

    The CODE tag is available via the HTML editor, as a quicktag button called "Code".

    The PRE tag is available via the Visual Editor, as the "preformatted" formatting option.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.