Unregistering a Sidebar in Child Theme

It should be possible to use the after_setup_theme hook to unregister the sidebar you don’t want like this:

function go_away_extra_sidebar(){
    unregister_sidebar( 'Footer' );
}

add_action( 'after_setup_theme', 'go_away_extra_sidebar' );

Happy Coding,

Kuchenundkakao

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)