How to declare WooCommerce support in your theme

How to declare WooCommerce support in your theme featured image
(Last Updated On: December 12, 2017)

Received a WooCommerce help SOS through our contact form, so here is the simple answer to a question we’ve been asked more than once!

[HINT if you came here looking for actual WooCommerce Support <- visit the link! i.e. if you wanted help and support with your wc project]

If you have WordPress + WooCommerce installed, and your theme doesn’t explicitly say it “supports WooCommerce” you’ll get a nag screen at the top that says something along the lines of “your theme doesn’t declare woocommerce support … ” blah blah.

You can click remove, but if you have other admins (perhaps multiple store managers, or even a client website) you might think “let’s get rid of this notice, its not necessary at all, my theme is beautiful and amazing, I just want to remove that!”.

Basically, you want to declare WooCommerce support in your theme (or, at least, the theme you are using).

How to declare WooCommerce support in your theme

  1. Open your theme (or child theme) functions.php file
  2. Edit it to add add_theme_support( 'woocommerce' );
  3. Save your functions.php file

Done!

Leave a comment below if this worked / didn’t work for you.

1 thought on “How to declare WooCommerce support in your theme

Leave a Reply

Your email address will not be published. Required fields are marked *

Silicon Dales