Title: &#8220;php include&#8221; in a post ??
Last modified: August 18, 2016

---

# “php include” in a post ??

 *  [tgjb](https://wordpress.org/support/users/tgjb/)
 * (@tgjb)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/php-include-in-a-post/)
 * I’d try to add in my post this code <?php include(‘my_page.htm’); ?> , but the
   content of “my_page.htm” doesn’t appear on my blog when I’m publishing.
    Is there
   a solution for using a “php include” in a post ?? Thank you for your answers…

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

 *  [mattread](https://wordpress.org/support/users/mattread/)
 * (@mattread)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/php-include-in-a-post/#post-90583)
 * [Run PHP](http://mark.scottishclimbs.com/archives/2004/07/02/running-php-in-wordpress-posts/)
   plugin should do the trick for you.
 *  Thread Starter [tgjb](https://wordpress.org/support/users/tgjb/)
 * (@tgjb)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/php-include-in-a-post/#post-90589)
 * Ok, I try Run PHP, but I’ve got this error message “Parse error: parse error,
   unexpected T_VARIABLE in runphp.php on line 17”. And when the plugin is activated,
   I’ve got a problem with the encoding of my blog (I use the UTF-8). ;-(

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

The topic ‘“php include” in a post ??’ is closed to new replies.

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

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
