Replies: 0
I am trying to include php code with a php include
<?php include(‘inc/myscript.php’) ?>
but I am getting ‘failed to open stream: No such file or directory..’
the ‘inc’ folder is within my theme.
I’ve tried all sorts of paths but I can’t seem to get to inc/myscript.php
Do I need to include the theme path?
I’ve tried
<?php include bloginfo( ‘template_url’) + ‘/inc/myscript.php’ ?>
-
This topic was modified 25 minutes ago by
bikeman123.
-
This topic was modified 19 minutes ago by
bikeman123.