Last active
December 21, 2015 22:39
-
-
Save remkus/6376699 to your computer and use it in GitHub Desktop.
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 | |
remove_action( 'genesis_sidebar', 'ss_do_sidebar' ); | |
remove_action( 'genesis_sidebar', 'genesis_do_sidebar' ); | |
add_action( 'genesis_sidebar', 'befrank_nieuwsbericht_sidebar' ); | |
/** | |
* Replace default sidebar with news specific | |
*/ | |
function befrank_nieuwsbericht_sidebar() { | |
dynamic_sidebar( 'nieuwsbericht-sidebar' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment