I want to place a set of template files in a sub-directory (snippets), so I have this:
<?php include (TEMPLATEPATH ‘/snippets/file.php’); ?>
But WordPress is showing a blank page.
it works if I remove the sub-directory.
<?php include (TEMPLATEPATH ‘/file.php’); ?>
Can’t find any references in Codex.
- The topic ‘Template files within template files within template files not possible?’ is closed to new replies.