Title: Does include work
Last modified: August 22, 2016

---

# Does include work

 *  [webanautics](https://wordpress.org/support/users/webanautics/)
 * (@webanautics)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/does-include-work/)
 * When I include a file, it gives this error:
    Warning: include() [function.include]:
   Failed opening ‘/wp-content/themes/myTheme/jssor/slideshow1.php’ for inclusion(
   include_path=’.:/usr/local/php5_3/lib/php’) in /home/content/t/e/c/mydomain/html/
   wp-content/plugins/allow-php-in-posts-and-pages/allowphp.php(373) : eval()’d 
   code on line 2
 * I’m trying to put my include file in different place, but I don’t really know
   where I’m supposed to put it, or how to reference it with an include.
 * [https://wordpress.org/plugins/allow-php-in-posts-and-pages/](https://wordpress.org/plugins/allow-php-in-posts-and-pages/)

The topic ‘Does include work’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/allow-php-in-posts-and-pages_edefed.
   svg)
 * [Allow PHP in Posts and Pages](https://wordpress.org/plugins/allow-php-in-posts-and-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/allow-php-in-posts-and-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/allow-php-in-posts-and-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/allow-php-in-posts-and-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/allow-php-in-posts-and-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/allow-php-in-posts-and-pages/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [webanautics](https://wordpress.org/support/users/webanautics/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/does-include-work/)
 * Status: not resolved