[theme-reviewers] Option to create child theme from theme option

Chip Bennett chip at chipbennett.net
Tue Jan 21 23:03:18 UTC 2014


When Themes start getting into file operations - such as writing files to
wp-content/themes/child-theme-slug - we are clearly veering away from Theme
territory. A theme that has the ability to create its own Child Theme,
including parsing the dynamic CSS files for that Child theme - starts to be
less of a Theme, and more of an application platform.

IMHO, putting all that functionality into a Theme is a similar pitfall to
making every possible component of the Theme configurable via Theme option,
and defeats the purpose of the Child Theme concept. As laudable as it is to
try to make things as easy as possible for Child Theme developers, at some
point, someone working with a Child Theme needs to have a modicum of
understanding of the CSS, HTML, and PHP code being modified. In the long
run, we're not really helping end users by taking all of that out of their
hands; we help them more by facilitating their self-education in the
languages and tools needed to create a Child Theme.


On Tue, Jan 21, 2014 at 5:35 PM, Bass Jobsen <bass at w3masters.nl> wrote:

> Do Plugin territory mean: write a plugin and don't include it with your
> theme?
>
> If you never thought about a child theme create function before. But when
> i look to my own theme is sounds useful and theme specific.
>
> 1) child themes of my theme requires (or at least recommend) theme
> specific files s.a. less/custom.less
> 2) my theme is intend to create child themes
>
> a plugin can't solve 1, unless add a "file list to copy" in my theme for
> this plugin.
>
> Mocht u / je nog vragen hebben, dan kun(t) u / je altijd contact opnemen.
> Ik ben het best bereikbaar via de e-mail.
>
> groetjes Bass,
> W3masters, Orthen
> --
> Passief inkomen?
> http://www.passieveinkomsten.nl/nl/websites/passieveinkomsten/samenvatting/
> Passieve inkomsten zijn inkomsten waarvoor je niet hoeft te werken ( =
> tijd ruilen voor geld ).
> Korting (cashback) op al je (online) aankopen?
> http://www.euroclix.nl/index?SRef=AicLyP,
> http://www.spaarbron.nl/signup.php?r=79245/email  en / of
> http://nl.splinq.com/register?ref=1192098888
> Het "nieuwe goudzoeken" is begonnen, doe ook mee:
> https://allop.triplemining.com/register
> Nieuw logo nodig voor uw website of evenement?
> http://www.logo-ontwikkeling.nl/
>
>
> 2014/1/21 Chip Bennett <chip at chipbennett.net>
>
>> A custom page/custom query creator is *definitely* Plugin territory.
>>
>>
>> On Tue, Jan 21, 2014 at 3:47 PM, emin ozlem <eminozlem at gmail.com> wrote:
>>
>>>  I think this shouldnt fall into plugin territory since there would be
>>> no content loss upon deactiivation. If we are to exclude every
>>> "functionality" from themes, what are the purpose of themes, just picking
>>> colors ?
>>>
>>> For example I was preparing a "custom page creator", you would choose
>>> from select boxes as such;
>>> I want to create a page that displays "posts | custom_p_type" from
>>> "cat1-cat2" ordered by"ID | date" etc... you get the idea.
>>>
>>> Creating page-templates are a pain for the average user. This
>>> "functionality" i am planning not only makes it easier; but also prevents
>>> data loss. Because the creator wont create new page-* files but instead it
>>> will use the default page.php file and get the query parameters from an
>>> option.
>>>
>>> Would that too also fall into plugin territory ?
>>>
>>>
>>> 2014/1/21 Emil Uzelac <emil at uzelac.me>
>>>
>>>> This seems like plugin-territory to me.
>>>>
>>>>
>>>> On Tue, Jan 21, 2014 at 1:29 PM, Faishal Saiyed <
>>>> saiyedfaishal at gmail.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I am reviewing one theme and they give one section call *"One-Click
>>>>> Child Themes" *in theme option. using that setting i can create child
>>>>> theme by providing name.
>>>>>
>>>>> I will create that name directory in wp-content theme directory and
>>>>> create 3 files
>>>>> 1. style.css
>>>>> 2. screenshoot.png
>>>>> 3. function.php
>>>>>
>>>>> I feel like it is not part of presentation , it is a part of
>>>>> functionality.
>>>>>
>>>>> But i want other theme-reviewers suggestion on same.
>>>>>
>>>>>
>>>>> --
>>>>> Faishal Saiyed
>>>>> Web: about.me <http://about.me/faishal>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>
>>>
>>
>> _______________________________________________
>> 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/20140121/f46580b0/attachment-0001.html>


More information about the theme-reviewers mailing list