Anyone? I’m having the same problem. I have a php file in my theme folder and would like to insert an include tag on a page to access it.
I’ve tried all sorts of paths :
<?php include (TEMPLATEPATH . ‘/header2.php’); ?>
<?php include (‘header2.php’); ?>
<?php include (‘../header2.php’); ?>
<?php include (‘../../header2.php’); ?>
<?php include (‘../../../header2.php’); ?>
…but nothing is dsiplayed. What is the proper path? Can WordPress (2.5.) even do this? I’ve done a search on these forums and it seems that no solution has been posted.