Skip to content

Instantly share code, notes, and snippets.

@webonaut
Last active August 29, 2015 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save webonaut/9846839b2acbbd071442 to your computer and use it in GitHub Desktop.
Save webonaut/9846839b2acbbd071442 to your computer and use it in GitHub Desktop.
WooCommerce - WC-Support im Theme erklären
// Beschreibung: Fügt einem Theme WooCommerce-Unterstützung hinzu;
// Speicherort: functions.php
// Quelle: http://docs.woothemes.com/document/third-party-custom-theme-compatibility
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