[wp-hackers] Hiding Child's Template Theme
scribu
scribu at gmail.com
Mon Mar 30 13:58:32 GMT 2009
On Mon, Mar 30, 2009 at 4:46 PM, Chris Jean <gaarai at gaarai.com> wrote:
> My reasoning for wanting to hide the parent theme is simple: I don't want a
> user to activate the parent theme if the child theme was the one customized
> or built for their needs. Looking at almost any information about building
> child themes has a note about not activating the parent instead of the
> child. So, I can't be the only one that sees the listing of parent themes
> problematic.
>
> I'm thinking of building a patch for core that allows for an entry in the
> theme information that tells WordPress to hide the theme from activation on
> Manage Themes. For example:
>
> Theme Name: Parent Theme
> Theme URI: http://wordpress.org
> Author: Chris
> Author URI: http://site.com
> Version: 1.0
> Description: This is a parent theme and should not be used.
> *Hidden: yes*
>
A pretty good ideea, if I understood it well: If the theme has the "Hidden"
field and there is at least one child theme, then hide it from the Manage
Themes area.
--
http://scribu.net
More information about the wp-hackers
mailing list