[theme-reviewers] CSS3 Validation ?

Chip Bennett chip at chipbennett.net
Tue Jul 26 12:56:20 UTC 2011


Child Themes: simple answer, *NO*.

Longer answer:

The Theme-Trac system is ready for Child Themes. The Theme Review process is
essentially ready for Child Themes. Extend is capable of listing Child
Themes.

The problem is primarily the infrastructure within WordPress itself, and the
way that the "Add New Theme" functionality handles Child Themes. The core
dev team wants to improve on the UX before green-lighting Child Themes in
the Repository.

Chip

On Tue, Jul 26, 2011 at 7:15 AM, Qamar Ashraf <life.object at gmail.com> wrote:

> Thanks Chip,
> You have helped me further to clarify the concepts. and thanks to Justin
> Tadlock for this useful tutorial,
>
>
> http://justintadlock.com/archives/2010/11/17/how-to-load-files-within-wordpress-themes
>
> - So what about Child Themes, in a simple yes/no answer ?
>
>
> On Tue, Jul 26, 2011 at 4:51 PM, Chip Bennett <chip at chipbennett.net>wrote:
>
>> To further expound on this one:
>>
>>  *CSS3 Properties*
>>
>> background: -moz-linear-gradient(#252525, #0a0a0a);
>> background: -o-linear-gradient(#252525, #0a0a0a);
>> background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#252525),
>> to(#0a0a0a));
>> background: -webkit-linear-gradient(#252525, #0a0a0a);
>> -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
>> -moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
>>
>> etc....
>>
>> *Q#1:* Will these be "OK" in the Theme Validation process ?
>> Yes.
>>
>>
>> The Guidelines (used to) explicitly state that these prefixes are
>> acceptable. I'm not sure when that statement got removed, but it is still
>> applicable.
>>
>> And just to clarify on this one:
>>
>> *require_once / include_once vs locate_template( array( 'file.php' ),
>> true, false );*
>> Hopefully Otto will not mind. This is what I've learned from him:
>> *Instead of doing require's, consider using locate_template. This would
>> allow child themes to override anything you're requiring.*
>>
>> *Q#2:* Can i use require_once instead of locate_template ?
>> Yes
>>
>>
>> If you're including a template-part file, i.e. a file that is intended to
>> be used as part of rendering the output, then you should be using
>> get_template_part(). If the template part file is in a subdirectory, then
>> you should be using locate_template().
>>
>> If you're including a functional file (generally speaking, anything
>> included inside of functions.php), then you should be using include() or
>> require(), as appropriate. (Though it's probably *okay* to use
>> locate_template() in this context; I'm not sure what benefit there would
>> be.)
>>
>> Chip
>>
>>
>> On Tue, Jul 26, 2011 at 12:17 AM, Emil Uzelac <emil at themeid.com> wrote:
>>
>>> I will answer in the order which it was received ;)
>>>
>>>  *CSS3 Properties*
>>>
>>> background: -moz-linear-gradient(#252525, #0a0a0a);
>>> background: -o-linear-gradient(#252525, #0a0a0a);
>>> background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#252525),
>>> to(#0a0a0a));
>>> background: -webkit-linear-gradient(#252525, #0a0a0a);
>>> -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
>>> -moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
>>>
>>> etc....
>>>
>>> *Q#1:* Will these be "OK" in the Theme Validation process ?
>>> Yes.
>>>
>>> *require_once / include_once vs locate_template( array( 'file.php' ),
>>> true, false );*
>>> Hopefully Otto will not mind. This is what I've learned from him:
>>> *Instead of doing require's, consider using locate_template. This would
>>> allow child themes to override anything you're requiring.*
>>>
>>> *Q#2:* Can i use require_once instead of locate_template ?
>>> Yes
>>>
>>> *Q#3: *What is requirement of submitting Child Themes, if the parent is
>>> already approved in the WordPress Free Themes directory ?
>>> No support for Child Themes as yet. (last time I was informed that is)
>>>
>>>
>>>
>>> ----
>>> *Emil Uzelac* | ThemeID | T: 224-444-0006 | Twitter: @EmilUzelac | E:
>>> emil at themeid.com | http://themeid.com
>>>  Make everything as simple as possible, but not simpler. - Albert
>>> Einstein
>>>
>>>
>>>
>>> On Tue, Jul 26, 2011 at 12:08 AM, Qamar Ashraf <life.object at gmail.com>wrote:
>>>
>>>> Hello,
>>>> I am working on my new version of theme. Please help me about,
>>>>
>>>> *CSS3 Properties*
>>>>
>>>> background: -moz-linear-gradient(#252525, #0a0a0a);
>>>> background: -o-linear-gradient(#252525, #0a0a0a);
>>>> background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#252525),
>>>> to(#0a0a0a));
>>>> background: -webkit-linear-gradient(#252525, #0a0a0a);
>>>> -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
>>>> -moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
>>>>
>>>> etc....
>>>>
>>>> *Q#1:* Will these be "OK" in the Theme Validation process ?
>>>>
>>>> *require_once / include_once vs locate_template( array( 'file.php' ),
>>>> true, false );*
>>>>
>>>> *Q#2:* Can i use require_once instead of locate_template ?
>>>>
>>>> *Q#3: *What is requirement of submitting Child Themes, if the parent is
>>>> already approved in the WordPress Free Themes directory ?
>>>>
>>>> Thanks
>>>>
>>>> --
>>>> Regards
>>>> Qamar Ashraf
>>>> www.tutorialchip.com
>>>> @lifeobject
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>
>>
>
>
> --
> Regards
> Qamar Ashraf
> www.tutorialchip.com
> @lifeobject1
>
>
> _______________________________________________
> 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/20110726/f7cf2f39/attachment-0001.htm>


More information about the theme-reviewers mailing list