Include inside of Index.php
-
Hi guys,
I’m trying to include a .php file in my index.php template using:
<?php $ban = bloginfo("template_directory"); $ban = $ban."/videosbanner.php"; echo $ban; include($ban); ?>The $ban echo seems to be writing the right location, but nothing is returned from my videosbanner.php.
likewise, if I use Require(); – nothing at all is returned after I call it.
any ideas?
cheers,
~Smithy.
The topic ‘Include inside of Index.php’ is closed to new replies.