Created
November 1, 2015 01:37
-
-
Save joedooley/396e1f41ecd1641aa611 to your computer and use it in GitHub Desktop.
Add Theme Support Function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'after_setup_theme', 'woocommerce_support' ); | |
function woocommerce_support() { | |
//* Enable Support for WooCommerce | |
add_theme_support( 'woocommerce' ); | |
//* Add html5 markup structure | |
add_theme_support( 'html5' ); | |
//* Add viewport meta tag for mobile browsers | |
add_theme_support( 'genesis-responsive-viewport' ); | |
//* Add support for structural wraps | |
add_theme_support( 'genesis-structural-wraps', array( 'subnav','header','after-slider-widgets','logo-slider','footer-widgets' ) ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment