[theme-reviewers] Syntax Question: get_template_part and Subdirectory File

Chip Bennett chip at chipbennett.net
Wed Sep 8 13:21:50 UTC 2010


Which is the correct syntax for replacing include (TEMPLATEPATH .
'/inc/file.php')?

get_template_part( '/inc/file' )

or

get_template_part( 'inc/file' )


Thanks in advance!

Chip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20100908/49196649/attachment.htm>


More information about the theme-reviewers mailing list