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 am using the Canvas WordPress theme (by WooThemes.com) and successfully made a child-theme to override my CSS. However, I would also like to apply the same child-theme principles to my theme's "includes" folder which contains a variety of .php files. Any idea how I can go about doing this?

share|improve this question
up vote 1 down vote accepted

Depending on how Canvas calls in those files, you might not be able to do this.

If they're using locate template or something similar (get_template_part, for instance), you'll just need to create your own includes folder in the child theme and name the files the same as their couterparts in the parent theme.

If the parent theme uses require or require_once (or include/include_once), there's not going to be an easy way to override those parent theme files.

What are you trying to replace?

share|improve this answer
Also, assuming you paid for this theme, why not ask on the Woo Theme's support forum? – chrisguitarguy Aug 16 '11 at 20:20
Thanks for the reply. I am trying to modify the WooTabs widget. I was able to modify the CSS and other theme .php files via a child theme (these files sit in the parent theme's root directory level), but whenever I try to modify anything in the child theme that is below this directory level it doesn't seem to work..I tried creating an includes folder in the child theme and duplicating the respective folder structure but no go. – Matt Aug 16 '11 at 23:09
Parent -> Child inheritance doesn't apply to files below the root level of the theme, assuming the Woo theme operates on the same principles as regular WordPress themes. – t31os Aug 16 '11 at 23:22
@t31os - any workarounds you can think of or am I stuck just modifying the original file? – Matt Aug 17 '11 at 0:32
@Christopher Davis -- I do see this bit of code in index.php regarding get_template_part: <?php get_template_part( 'loop', 'index' ); ?> – Matt Aug 17 '11 at 1:03

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.