<font color="#333333"><font size="2"><font face="arial,helvetica,sans-serif">I will let Otto or someone else more knowledgeable to answer</font></font></font><font color="#333333"><font size="2"><font face="arial,helvetica,sans-serif"> this question @Vicky. I am not 100% sure.<br clear="all">
</font></font></font><div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">----</font></div><div><font face="arial, helvetica, sans-serif"><strong>Emil Uzelac</strong> | ThemeID | T: 224-444-0006 | Twitter: @EmilUzelac | E: <a href="mailto:emil@themeid.com" target="_blank">emil@themeid.com</a> | <a href="http://themeid.com/" target="_blank">http://themeid.com</a></font></div>
<div><font color="#999999" face="arial, helvetica, sans-serif">Make everything as simple as possible, but not simpler. - Albert Einstein</font></div><br>
<br><br><div class="gmail_quote">On Tue, Jul 26, 2011 at 12:19 AM, Vicky Arulsingam <span dir="ltr"><<a href="mailto:vicky.arulsingam@gmail.com">vicky.arulsingam@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br><br><div class="gmail_quote"><div class="im">On Tue, Jul 26, 2011 at 1:17 PM, Emil Uzelac <span dir="ltr"><<a href="mailto:emil@themeid.com" target="_blank">emil@themeid.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div><span style="border-collapse:collapse;font-size:13px"><div><div><div><font color="#333333" face="arial, helvetica, sans-serif"><br></font></div><div style="font-family:arial, sans-serif">
<b>require_once / include_once vs locate_template( array( 'file.php' ), true, false );</b></div>
</div></div></span><font face="arial, sans-serif"><span style="border-collapse:collapse">Hopefully </span></font><span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:13px">Otto will not mind. This is what I've learned from him: </span></div>
<div><span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:13px"><i>Instead of doing require's, consider using locate_template. This would allow child themes to override anything you're requiring.</i></span></div>
</div></blockquote><div><br></div></div><div>Does this also apply for php function files - should they be included via locate_template?</div><div><br></div><div><br></div><div>-----</div></div><div>Vicky Arulsingam</div>
<font color="#888888"><br>
</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></div>