Right... but I don't think it is true that the Child Theme will *always* want to call its own files.<div><br></div><div>Or, is the issue that, if the Parent Theme uses get_stylesheet_, it will *prevent* the Child Theme from calling the Parent Theme's resources?</div>
<div><br></div><div>So, are we saying that for Themes that are *intended* to be Child-Theme ready, they must use get_template_, rather than get_stylesheet_, in all instances?</div><div><br></div><div>Chip<br><br><div class="gmail_quote">
On Sat, Jan 22, 2011 at 12:01 PM, Edward Caissie <span dir="ltr"><<a href="mailto:edward.caissie@gmail.com">edward.caissie@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
IIRC (just heading out the door) ... <br><br>_template_ calls the parent (first, or current) whereas _stylesheet_ calls current (first?) only<br><br><br>Cais.<div><div></div><div class="h5"><br><br><div class="gmail_quote">
On Sat, Jan 22, 2011 at 12:50 PM, Chip Bennett <span dir="ltr"><<a href="mailto:chip@chipbennett.net" target="_blank">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">Again: it *may*, or *may not*, depending on context.<div><br></div><div>(Or is it more cut-and-dry than I think it is?)</div>
<div><br></div><div><font color="#888888">Chip</font><div><div></div><div><br><br><div class="gmail_quote">On Sat, Jan 22, 2011 at 11:46 AM, Simon Prosser <span dir="ltr"><<a href="mailto:pross@pross.org.uk" target="_blank">pross@pross.org.uk</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"><div>On 01/22/11 17:44, Chip Bennett wrote:<br>
> No, that's all good. It would be difficult for Theme Check to determine the<br>
> appropriateness of get_template_ vs get_stylesheet_ within the Theme itself,<br>
> because appropriateness will depend on context: would a Child Theme need to<br>
> access its own files, or the Parent Theme's files?<br>
</div>ok, so what about a check for get_template_(uri|directory) and if found<br>
tell the user his theme will not support child themes<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div>My Blog: <a href="http://www.pross.org.uk/" target="_blank">http://www.pross.org.uk/</a><br>
Plugins: <a href="http://www.pross.org.uk/plugins/" target="_blank">http://www.pross.org.uk/plugins/</a><br>
Themes : <a href="http://wordpress.org/extend/themes/profile/pross" target="_blank">http://wordpress.org/extend/themes/profile/pross</a><br>
_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">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>
</div></div></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">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></div><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>