Title: Providing code examples
Last modified: August 18, 2016

---

# Providing code examples

 *  [rvblog](https://wordpress.org/support/users/rvblog/)
 * (@rvblog)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/providing-code-examples/)
 * How do you post examples of code in a post here without it getting all bent out
   of shape and garbled – I tried to post a code example once and it ended up looking
   real strange and made no sense at all
 * It was kinda embarassing – LOL

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/providing-code-examples/#post-127226)
 * Look just below the post field.
 *  Thread Starter [rvblog](https://wordpress.org/support/users/rvblog/)
 * (@rvblog)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/providing-code-examples/#post-127329)
 * Do I use the code tag at the bottom like this:
 * ` example `
 * Or do I use the backticks like this:
 * `example`
 * Or do I put “code” in between backticks like this:
 * `<code> example </code>`
 *  Thread Starter [rvblog](https://wordpress.org/support/users/rvblog/)
 * (@rvblog)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/providing-code-examples/#post-127330)
 * Ok – now I know
 * In the 1st example, I used just the code tags
 * In the 2nd example, I used just the backticks
 * Looks like the 3rd example is the way to go – where you put the tags inside of
   backticks so that the tags show up in the post
 * Just one question – do you put backticks before and after each tag in the example
   or just one set of backticks before and after the entire code example
 * Thanks

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Providing code examples’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [rvblog](https://wordpress.org/support/users/rvblog/)
 * Last activity: [21 years, 5 months ago](https://wordpress.org/support/topic/providing-code-examples/#post-127330)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
