WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an existing parent theme and a child theme. I have a need for one theme that has the power of the parent theme and the design of the child theme.

Is there anyway to quickly combine these two themes to make one standalone theme??

share|improve this question
It could be as easy as copying the child template files to the parent theme, but a lot is going to depend on the construction of the parent and the child. I don't think there is a generic answer to this question. – s_ha_dum Apr 27 '14 at 16:10
I tried combining the style sheets and that seem to work however there are some design elements that are not displaying correctly. – Kmb40 Apr 28 '14 at 11:27
up vote 1 down vote accepted

This can be really tricky, but this should shed some light on this topic. Before you start, CREATE A BACK-UP OF BOTH THEMES

Why are child themes created? The number one answer is for customization of a parent theme. So this should be your starting point when combining a parent and child theme. It should be noted that it would be easier to copy from the child theme to the parent. Also, delete anything from the child theme as soon as you are done with it (copied to or modified in the parent theme) to keep confusion out of the equation.

I should first start by searching and deleting/adding/modifying all the styles from the parent's style.css that is in the child theme's style.css. It is time consuming, but the worthwhile. If you start and work your way through methodically, you should not miss any styles. This part might be the biggest headache

Secondly should be templates, and also the easiest. Templates in child themes are modified templates from the parent theme, so these can simply be just copied and pasted to the parent theme. No special needs here.

Lastly would be function files, usually this would just be functions.php. You should work your way through and find all instances of remove in the child functions.php, and from there manually remove the function/action/hook from the parent functions.php. You should do the same for any function that modifies a parent function, but here you need to replace the parent function with the child function. All other new functions can simply just be copied and pasted

Care should also be take when working with functions.php. Most good parent themes' functions are wrapped in an if ( ! function_exists( 'name_of_function' ) ) statement. In the child theme, these functions wrapped in the conditional can simply just be overwritten in child themes. These functions in the parent can simply just be replaced with the child.

This should give you some kind of guideline to get started

share|improve this answer
This indeed does appear to provide the level of detail that I was looking for and gets me started. Thank you. – Kmb40 May 1 '14 at 9:35
Glad this is of help. Please accept my answer then by clicking on the check mark below the up/down arrows. This will not only help you, but others visiting this question as well – Pieter Goosen May 1 '14 at 9:37
Done. Thanks again for providing value. That is what makes the Stack Network great. – Kmb40 May 2 '14 at 10:16
I would agree with you there +1 – Pieter Goosen May 2 '14 at 10:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.