<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18928">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>I use get_stylesheet_directory() and _uri to check
if intended images in the child exist, if they do then use those instead of the
main one, but only on select cases, basically for theme'ing
situations.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>As well as when i'm doing directory searches for
'sets' like navigation sets I check the if child theme function
first</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>if is_child_theme() or something like that, not in
front of code at the moment</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV> </DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=chip@chipbennett.net href="mailto:chip@chipbennett.net">Chip
Bennett</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=theme-reviewers@lists.wordpress.org
href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, January 22, 2011 10:12
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [theme-reviewers] Child
themes discussion</DIV>
<DIV><BR></DIV>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
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>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
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>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
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<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>
<P>
<HR>
<P></P>_______________________________________________<BR>theme-reviewers
mailing
list<BR>theme-reviewers@lists.wordpress.org<BR>http://lists.wordpress.org/mailman/listinfo/theme-reviewers<BR></BLOCKQUOTE></BODY></HTML>