Skip to content

Instantly share code, notes, and snippets.

@remkus
Last active December 21, 2015 22:39
Show Gist options
  • Save remkus/6376699 to your computer and use it in GitHub Desktop.
Save remkus/6376699 to your computer and use it in GitHub Desktop.
<?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