Bo Framework Logo

Digital Agency Hire

Fixed: WooCommerce 3.4 – Sub Categories Not Displaying

20th August 2018

I’m currently in the early stages of building a custom WooCommerce website and I spent this evening tearing my hair out because my theme wouldn’t display subcategories.

WooCommerce Subcategory settings in the Customiser.

WooCommerce Subcategory settings in the Customiser

Despite having the Category Display set to Show Subcategories in the Theme Customiser the category archive was showing the single products instead.

Switching back to the default Twenty Seventeen theme it worked as normal so the problem could be isolated to my theme files.

After a lot of frantic Googling I found a lot of people had the same problem but no one had posted a solution (due it being a problem with everyone’s individual themes rather than WooCommerce itself).

In the end it turns out I’d simply forgotten to actually declare WooCommerce support for my theme!

If you’re having the same problem simply remember to add the following line to your functions.php file:

add_theme_support( 'woocommerce' );

I hope that helps!

Paul Jardine Web Design

About Paul Jardine Web Design

Paul Jardine, freelance web designerI’m a friendly and creative freelance website designer and developer based in Stockport just outside of Manchester.

I have over 9 years experience working with digital agencies in Manchester and now operate on a freelance basis, offering web design and development services to private clients, digital agencies and charities around the UK and internationally.

I have also worked as a guest tutor at the University of Salford, where I taught a web design and development module.

Read more

Related Blogs

  • Launching the Beginner’s Guide to SEO Workshop for Small Businesses

    I ran my first website workshop teaching the owners of small businesses the basics to Search Engine Optimisation.

    Read more
  • Get the Most From Your Website in 2019

    My mission for 2019 is to help you get the most from your online presence, both in terms of building high quality, professional websites and teaching you how best to use them after the live launch.

    Read more
View all blogs

House Phone Envelope Menu Instagram