Support » Plugin: Allow PHP in Posts and Pages » 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/

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