path to php code?
-
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’ ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘path to php code?’ is closed to new replies.