WordPress.org

Support

Support » Themes and Templates » [Resolved] Code tags?

[Resolved] Code tags?

  • 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!

Viewing 1 replies (of 1 total)
  • 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.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Code tags?’ is closed to new replies.
Skip to toolbar