Title: Including PHP Includes in a post
Last modified: August 18, 2016

---

# Including PHP Includes in a post

 *  [benlong](https://wordpress.org/support/users/benlong/)
 * (@benlong)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/including-php-includes-in-a-post/)
 * I just upgraded from 1.2 to 2.0 and have so far only found one major problem.
   Before, I was including the following code in my posts when I wanted to include
   an ad:
 * `<br>
    <phpcode>include('./adInsert.html');</phpcode> <br>
 * Unfortunately, this doesn’t seem to be working anymore. Any suggestions?
 * Thanks

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

 *  [Les Bessant](https://wordpress.org/support/users/lesbessant/)
 * (@lesbessant)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/including-php-includes-in-a-post/#post-359714)
 * Did you have a plugin for that? And have you checked that the plugin is compatible
   with 2.0.x?
 *  Thread Starter [benlong](https://wordpress.org/support/users/benlong/)
 * (@benlong)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/including-php-includes-in-a-post/#post-359808)
 * Aha! Good call Les, thanks.
 * [http://dev.wp-plugins.org/wiki/RunPHP](http://dev.wp-plugins.org/wiki/RunPHP)

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

The topic ‘Including PHP Includes in a post’ is closed to new replies.

## Tags

 * [php code](https://wordpress.org/support/topic-tag/php-code/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [benlong](https://wordpress.org/support/users/benlong/)
 * Last activity: [20 years, 2 months ago](https://wordpress.org/support/topic/including-php-includes-in-a-post/#post-359808)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
