Top Navigation Menu

How to Create Canvas Child Theme – Create an eCommerce Store

How to Create a WordPress Child Theme for Canvas

Create a custom Child Theme for the Canvas WordPress theme. We will need the child theme to extend and customize some functionality of the Canvas theme. Specifically we want to be able to manage and sort our images we add to the media library and we want to change the title that appears as the default “Product Description” on the description tab to the title of the product.

Create an eCommerce Store Part 3 > Part 4A

Links used in this video are below this description.

In this video we will:

  • Create a custom child theme
  • Enqueue our new Child Theme
  • Add some custom functions to functions.php
  • Add a media library management plugin that will allow us to create categories for our images and other media files so we can better manage and find our images quickly.
  • Install and test our new custom canvas child theme.

Course Links

Get the Media Library Categories Premium Plugin for WordPress

Download the Custom Child Theme files or get the code snippets for it by clicking on the Video Course materials tab.

Get a free copy of the Canvas theme.

Visit for Free Web & Graphic Design Video Tutorials

Download the complete child theme used in the video part 3.

Code Snippets for Create Canvas Child Theme – Part 3 of the Video Series

Download Custom Canvas Child Theme used in Part 3.

Or add this to your CHILD style.css

/*  Theme Name: Canvas Child Theme  Author:  Author URI:  Theme URI:  Template: canvas  Description: Custom child theme of the Canvas theme.  Version: 1.0.0  License: GNU General Public License 2.0  */    /**Add Custom CSS Below**/

And add this part in your CHILD functions.php

function child_styles() {  wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); } add_action( 'wp_enqueue_scripts', 'child_styles' ); add_filter( 'wpmediacategory_taxonomy', function(){ return 'category_media'; } ); // Change the description tab heading to product name Add to your Child functions.php add_filter( 'woocommerce_product_description_heading', 'wc_change_product_description_tab_heading', 10, 1 ); function wc_change_product_description_tab_heading( $title ) {  global $post;  return $post->post_title; }


No comments yet.

Leave a Reply