See this codex page: <a href="http://codex.wordpress.org/Function_Reference/get_template_part">http://codex.wordpress.org/Function_Reference/get_template_part</a><br><br>It appears <?php get_template_part( 'inc/file' ); ?> is the correct syntax.<br>
<br><br>Cais.<br><br><div class="gmail_quote">On Wed, Sep 8, 2010 at 9:21 AM, Chip Bennett <span dir="ltr"><<a href="mailto:chip@chipbennett.net">chip@chipbennett.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Which is the correct syntax for replacing include (TEMPLATEPATH . '/inc/file.php')?<div><br></div><blockquote style="margin: 0pt 0pt 0pt 40px; border: medium none; padding: 0px;"><div>get_template_part( '/inc/file' )</div>
</blockquote><div>or</div><blockquote style="margin: 0pt 0pt 0pt 40px; border: medium none; padding: 0px;"><div>get_template_part( 'inc/file' )</div></blockquote><div><br></div><div>Thanks in advance!</div>
<div><br></div><font color="#888888"><div>Chip</div>
</font><br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br>