Skip to content

Instantly share code, notes, and snippets.

@marcosnakamine
Forked from jameskoster/functions.php
Last active March 10, 2017 13:18
Show Gist options
  • Save marcosnakamine/32c1c0f082182c2ad5b28d9c199786ee to your computer and use it in GitHub Desktop.
Save marcosnakamine/32c1c0f082182c2ad5b28d9c199786ee to your computer and use it in GitHub Desktop.
WooCommerce - Declare support in theme
<?php
add_action( 'after_setup_theme', 'woocommerce_support' );
function woocommerce_support() {
add_theme_support( 'woocommerce' );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment