Title: Displaying php code in posts using WP Syntax
Last modified: August 19, 2016

---

# Displaying php code in posts using WP Syntax

 *  [alfie](https://wordpress.org/support/users/drtanz/)
 * (@drtanz)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/displaying-php-code-in-posts-using-wp-syntax/)
 * Hi I am trying to display php and html code in my wordpress posts, and am using
   the WP Syntax however I am having some problems, one of the code blocks is not
   displaying the colour coding while I am also finding a / inserted in the closing
   php tag ?> in the first block of code. Any idea how to fix this? thanks
 * [http://tinyurl.com/ylm827v](http://tinyurl.com/ylm827v)

Viewing 1 replies (of 1 total)

 *  Thread Starter [alfie](https://wordpress.org/support/users/drtanz/)
 * (@drtanz)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/displaying-php-code-in-posts-using-wp-syntax/#post-1289064)
 * any help on this pls?

Viewing 1 replies (of 1 total)

The topic ‘Displaying php code in posts using WP Syntax’ is closed to new replies.

 * 1 reply
 * 1 participant
 * Last reply from: [alfie](https://wordpress.org/support/users/drtanz/)
 * Last activity: [16 years, 5 months ago](https://wordpress.org/support/topic/displaying-php-code-in-posts-using-wp-syntax/#post-1289064)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
