Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have built my own theme, which integrates quite well with WooCommerce, but I want to know how to properly get rid of the notification on top of my theme that said my theme didn't support WooCommerce / properly declare support (going a bit further than just clicking away the message).

share|improve this question
    
wanted to answer my own question q&a style, but wpse won't let me... –  Ewout Mar 10 '13 at 12:09
    
Any error messages when you try to answer? Maybe there's a reputation threshold and you'll need to wait a couple of hours. But, please, come back later and do it :) –  brasofilo Mar 10 '13 at 12:43
    
Good find. I was just configuring a theme to work with WooCommerce yesterday and can't believe I missed that add_theme_support() idea. Though you can also just dismiss the notice and it will go away permanently. –  helgatheviking Mar 10 '13 at 13:17

1 Answer 1

up vote 3 down vote accepted

Digging into the code that generates the notification (current_theme_supports('woocommerce')) gives the answer: place add_theme_support( 'woocommerce' ); in your functions.php

simple!

share|improve this answer

Your Answer

 
discard

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.