How do I get my child-theme to work with my theme’s includes folder?

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?

Leave a Comment