[theme-reviewers] Child themes discussion

Chip Bennett chip at chipbennett.net
Sat Jan 22 18:12:04 UTC 2011


Right... but I don't think it is true that the Child Theme will *always*
want to call its own files.

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?

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?

Chip

On Sat, Jan 22, 2011 at 12:01 PM, Edward Caissie
<edward.caissie at gmail.com>wrote:

> IIRC (just heading out the door) ...
>
> _template_ calls the parent (first, or current) whereas _stylesheet_ calls
> current (first?) only
>
>
> Cais.
>
>
> On Sat, Jan 22, 2011 at 12:50 PM, Chip Bennett <chip at chipbennett.net>wrote:
>
>> Again: it *may*, or *may not*, depending on context.
>>
>> (Or is it more cut-and-dry than I think it is?)
>>
>> Chip
>>
>>
>> On Sat, Jan 22, 2011 at 11:46 AM, Simon Prosser <pross at pross.org.uk>wrote:
>>
>>> On 01/22/11 17:44, Chip Bennett wrote:
>>> > No, that's all good. It would be difficult for Theme Check to determine
>>> the
>>> > appropriateness of get_template_ vs get_stylesheet_ within the Theme
>>> itself,
>>> > because appropriateness will depend on context: would a Child Theme
>>> need to
>>> > access its own files, or the Parent Theme's files?
>>> ok, so what about a check for get_template_(uri|directory) and if found
>>> tell the user his theme will not support child themes
>>>
>>> --
>>> My Blog: http://www.pross.org.uk/
>>> Plugins: http://www.pross.org.uk/plugins/
>>> Themes : http://wordpress.org/extend/themes/profile/pross
>>> _______________________________________________
>>> theme-reviewers mailing list
>>> theme-reviewers at lists.wordpress.org
>>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>>
>>
>>
>> _______________________________________________
>> theme-reviewers mailing list
>> theme-reviewers at lists.wordpress.org
>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>
>>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20110122/6b080148/attachment.htm>


More information about the theme-reviewers mailing list