Created
May 21, 2013 15:02
-
-
Save JiveDig/5620501 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// Remove default sidebar text | |
remove_action( 'genesis_sidebar', 'genesis_do_sidebar' ); | |
add_action( 'genesis_sidebar', 'beatminded_do_default_sidebar' ); | |
/** | |
* Echo primary sidebar default content. | |
*/ | |
function beatminded_do_default_sidebar() { | |
if ( ! dynamic_sidebar( 'sidebar' ) ) { | |
echo ''; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment