Title: Need help adding [code] tag in tutorials
Last modified: August 19, 2016

---

# Need help adding [code] tag in tutorials

 *  Resolved [vinkocm](https://wordpress.org/support/users/vinkocm/)
 * (@vinkocm)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/need-help-adding-code-tag-in-tutorials/)
 * Hi,
 * I am making a blog that will contain tutorials on various things regarding web
   development. The information will be mainly about PHP, HTML and MySQL. What I
   need is to be able to show example code (PHP, HTML, etc) in a specially formatted
   way.
 * Take a look at this post:
    [http://www.daniweb.com/forums/thread162818.html](http://www.daniweb.com/forums/thread162818.html)
   and click on ‘Help with Code Tags’.
 * How can I add this functionality. I want to be able to write [code syntax="PHP"][/
   code] or something similar to this in posts that I do. I want the [code] sections
   to be formatted/highlighted like in the example above.
 * Can anybody help me?

Viewing 1 replies (of 1 total)

 *  [tugbucket](https://wordpress.org/support/users/tugbucket/)
 * (@tugbucket)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/need-help-adding-code-tag-in-tutorials/#post-939164)
 * [http://www.themelab.com/2008/06/15/dipslaying-code-in-wordpress-posts/](http://www.themelab.com/2008/06/15/dipslaying-code-in-wordpress-posts/)
 * look at those. I personally use code shield only as I don’t use any syntax highlighting.
   SyntaxHighighter Plus reads like it might be a good addition.

Viewing 1 replies (of 1 total)

The topic ‘Need help adding [code] tag in tutorials’ is closed to new replies.

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [formatting](https://wordpress.org/support/topic-tag/formatting/)
 * [MySQL](https://wordpress.org/support/topic-tag/mysql/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [text](https://wordpress.org/support/topic-tag/text/)
 * [tutorials](https://wordpress.org/support/topic-tag/tutorials/)

 * 1 reply
 * 2 participants
 * Last reply from: [tugbucket](https://wordpress.org/support/users/tugbucket/)
 * Last activity: [17 years, 4 months ago](https://wordpress.org/support/topic/need-help-adding-code-tag-in-tutorials/#post-939164)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
