Including files from the theme folder

To get the file system base location of the theme folder use TEMPLATEPATH. You can use PHP include to insert any additional code from the theme folder.

<?php include (TEMPLATEPATH . "/some_file.php"); ?>

Leave a Reply




You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

IMPORTANT! To be able to proceed, you need to solve the following simple math (so I know that you are a human) :-)

What is 15 + 10 ?
Please leave these two fields as-is: