Title: exec-php does not display get_template_part
Last modified: August 20, 2016

---

# exec-php does not display get_template_part

 *  [mvalen](https://wordpress.org/support/users/mvalen/)
 * (@mvalen)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/exec-php-does-not-display-get_template_part/)
 * All php functions are working fine, except get_template_part. When called, get_template_part
   throws no errors, but displays nothing. To ensure it’s not an error with the 
   code, the same code copied and pasted into a template executes and displays properly.
 * [http://wordpress.org/extend/plugins/exec-php/](http://wordpress.org/extend/plugins/exec-php/)

The topic ‘exec-php does not display get_template_part’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/exec-php.svg)
 * [Exec-PHP](https://wordpress.org/plugins/exec-php/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/exec-php/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/exec-php/)
 * [Active Topics](https://wordpress.org/support/plugin/exec-php/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/exec-php/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/exec-php/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [mvalen](https://wordpress.org/support/users/mvalen/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/exec-php-does-not-display-get_template_part/)
 * Status: not resolved