<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Here's one:<br>
<br>
locate_template( array( 'example/example-x.php',
'example/example.php' ), true );<br>
<br>
I've also dedicated an entire tutorial to appropriately loading
files and templates in themes:<br>
<a
href="http://justintadlock.com/archives/2010/11/17/how-to-load-files-within-wordpress-themes">http://justintadlock.com/archives/2010/11/17/how-to-load-files-within-wordpress-themes</a><br>
<br>
On 6/8/2012 10:48 AM, George Mamadashvili wrote:
<blockquote
cite="mid:CA+9xn1Upi=50aJHYUZnw6T0W8mYqHKjotHXRK8PkFOqTZXh6fA@mail.gmail.com"
type="cite">Justin any examples with locate_template() and
sub-directories?<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
theme-reviewers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a>
<a class="moz-txt-link-freetext" href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a>
</pre>
</blockquote>
</body>
</html>