Skip to content

Instantly share code, notes, and snippets.

@jameskoster
Created March 6, 2013 16:32
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save jameskoster/5100664 to your computer and use it in GitHub Desktop.
Save jameskoster/5100664 to your computer and use it in GitHub Desktop.
WooCommerce - declare WooCommerce support in theme
add_action( 'after_setup_theme', 'woocommerce_support' );
function woocommerce_support() {
add_theme_support( 'woocommerce' );
}
@therustmonk
Copy link

Example isn't completed. There isn't <?php ... ?> enclosing block.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment