[theme-reviewers] Child theme support in the theme...

Philip M. Hofer (Frumph) philip at frumph.net
Tue May 28 11:02:08 UTC 2013


You don’t need to make any changes to the style.css of the main theme, the ONLY thing you need to worry about is using the following functions where necessary

get_template_part
http://codex.wordpress.org/Function_Reference/get_template_part

get_template_directory() get_template_directory_uri()
// So you can specifically point to the main theme’s directories if specifically needed to call something from there

get_stylesheet_directory() get_stylesheet_directory_ui()
// either the main theme if child theme doesn’t exist OR if a child theme exists use that directory first






From: priyanshu mittal 
Sent: Tuesday, May 28, 2013 3:53 AM
To: theme-reviewers at lists.wordpress.org 
Subject: [theme-reviewers] Child theme support in the theme...

Is that mandatory to support child themes while making a custom wordpress.org theme. Also if yes How can i enable this support.. Or what changes do I need to make in style.css.



--------------------------------------------------------------------------------
_______________________________________________
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/20130528/a5b2d562/attachment.html>


More information about the theme-reviewers mailing list