-
-
Save surefirewebserv/a72608f5fa85c1a3f91a to your computer and use it in GitHub Desktop.
Genesis Theme Support
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
<?php | |
//* Do NOT include the opening php tag | |
//* Add support for structural wraps | |
add_theme_support( 'genesis-structural-wraps', array( | |
'header', | |
'nav', | |
'subnav', | |
'site-inner', | |
'footer-widgets', | |
'footer' | |
) ); | |
//* Add Viewport meta tag for mobile browsers (requires HTML5 theme support) | |
add_theme_support( 'genesis-responsive-viewport' ); | |
//* Add custom header support (I personally hate this one) */ | |
add_theme_support( 'genesis-custom-header', array( 'width' => 960, 'height' => 100, 'textcolor' => '444', 'admin_header_callback' => 'minimum_admin_style' ) ); | |
//** Add support for post formats */ | |
add_theme_support( 'post-formats', array( 'aside', 'chat', 'gallery', 'image', 'link', 'quote', 'status', 'video', 'audio' )); | |
//** Add support for post format images */ | |
add_theme_support( 'genesis-post-format-images' ); | |
//** Footer Widgets **/ | |
add_theme_support( 'genesis-footer-widgets', 6 ); | |
//** Custom Background **/ | |
add_theme_support( 'custom-background' ); | |
//** HTML 5 **/ | |
add_theme_support( 'html5', array( 'comment-list', 'comment-form', 'search-form', 'gallery', 'caption' ) ); | |
//** theme color scheme selection theme option **/ | |
add_theme_support( | |
'genesis-style-selector', array( | |
'bfg-red' => 'Red', | |
'bfg-orange' => 'Orange' | |
) | |
); | |
//** Woocommmerce **/ | |
add_theme_support( 'genesis-connect-woocommerce' ); | |
//** Menus **/ | |
add_theme_support('genesis-menus', array( | |
'primary' => 'Primary Menu', | |
'secondary' => 'Secondary Menu', | |
) | |
); | |
// New to me... | |
add_theme_support( 'genesis-after-entry-widget-area' ); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment