Title: Adding code example when writing page or post
Last modified: August 19, 2016

---

# Adding code example when writing page or post

 *  [vbcruiser](https://wordpress.org/support/users/vbcruiser/)
 * (@vbcruiser)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/adding-code-example-when-writing-page-or-post/)
 * I would like to add code examples when I am writing content for a post or page.
   I am looking for a format different than the ` tag. I see some sights with a 
   box that has 3 small lines in the bottom right corner like this site. http://
   www.studiopress.com/affiliates/120-240-banner`
 * How can I make the box that is holding the affiliate code in above example?

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

 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/adding-code-example-when-writing-page-or-post/#post-1195426)
 * you have a `code` tab above the post editor – use that to put code examples in
   posts or pages
 *  Thread Starter [vbcruiser](https://wordpress.org/support/users/vbcruiser/)
 * (@vbcruiser)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/adding-code-example-when-writing-page-or-post/#post-1195513)
 * Is there a prettier way to do this than using the code tab in the editor?
 *  [faisalmalik1989](https://wordpress.org/support/users/faisalmalik1989/)
 * (@faisalmalik1989)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/adding-code-example-when-writing-page-or-post/#post-1195815)
 * Well, how about writing code with a style like the one in this [http://www.ejeliot.com/blog/85](http://www.ejeliot.com/blog/85)
   post?
 * Is it just using CSS or using some kind of plugin?
 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/adding-code-example-when-writing-page-or-post/#post-1195816)
 * [Lots of other code syntax highlighters and plugins.](http://wordpress.org/extend/plugins/search.php?q=code+syntax)
 *  [faisalmalik1989](https://wordpress.org/support/users/faisalmalik1989/)
 * (@faisalmalik1989)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/adding-code-example-when-writing-page-or-post/#post-1195817)
 * Well, no wonder why I couldn’t find one on Google, I had the keyword wrong. So
   it’s called “Syntax Highlighters”…
 * Thanks songdogtech…

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

The topic ‘Adding code example when writing page or post’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 4 participants
 * Last reply from: [faisalmalik1989](https://wordpress.org/support/users/faisalmalik1989/)
 * Last activity: [16 years, 6 months ago](https://wordpress.org/support/topic/adding-code-example-when-writing-page-or-post/#post-1195817)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
