I’ve been enjoying an old screencast on Designing for WordPress. However, I think Chris is using an older version of Starkers them, because my PHP files from the latest 2.8 version seem quite different.
The problem I am running into is that I don’t know how to include new files. For example, I created a new file called searchbox.php that I would like to include in the sidebar.php file.
Chris uses the following format: <?php include(TEMPLATEPATH . ‘searchbox.php’); ?>
However, when I use this I receive an error saying that the file failed to open.
Does anyone with experience in the latest Starkers version know how to include files? Or point me in the direction of a helpful tutorial?
Thanks in advance!