Last active
December 13, 2015 23:09
-
-
Save billerickson/4989908 to your computer and use it in GitHub Desktop.
update tabbing
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 | |
/** | |
* Template Name: Landing | |
* | |
* @package BE_Genesis_Child | |
* @since 1.0.0 | |
* @link https://github.com/billerickson/BE-Genesis-Child | |
* @author Bill Erickson <bill@billerickson.net> | |
* @copyright Copyright (c) 2011, Bill Erickson | |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License | |
* | |
*/ | |
// Full Width | |
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' ); | |
// No Nav Extras in Menu (ex: search) | |
add_filter( 'genesis_pre_get_option_nav_extras_enable', '__return_false' ); | |
/** | |
* No Header Right widget area | |
* | |
* @param array $widgets | |
* @return array $widgets | |
*/ | |
function be_remove_header_right( $widgets ) { | |
$widgets['header-right'] = array(); | |
return $widgets; | |
} | |
add_filter( 'sidebars_widgets', 'be_remove_header_right' ); | |
genesis(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment