Title: execPHP and includes
Last modified: August 20, 2016

---

# execPHP and includes

 *  [bluedrag](https://wordpress.org/support/users/bluedrag/)
 * (@bluedrag)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/execphp-and-includes/)
 * I’m trying to include a php file inside a post (there is just a div with several
   pictures inside the php file) It doesn’t seem to be working. execPHP is definently
   running, I’ve tested it with an echo but nothing happens when I switch the echo
   for the include. Maybe a syntax error? Here is the code I’m using.
 * `<?php include('wp-content/theme_name/electric-products.php'); ?>`

Viewing 1 replies (of 1 total)

 *  Thread Starter [bluedrag](https://wordpress.org/support/users/bluedrag/)
 * (@bluedrag)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/execphp-and-includes/#post-2156969)
 * I should also note there is no php error when I load up the page, nothing happens
   at all.

Viewing 1 replies (of 1 total)

The topic ‘execPHP and includes’ is closed to new replies.

 * 1 reply
 * 1 participant
 * Last reply from: [bluedrag](https://wordpress.org/support/users/bluedrag/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/execphp-and-includes/#post-2156969)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
