Created
October 25, 2015 06:58
-
-
Save generatepress/684a063c2423266de7e7 to your computer and use it in GitHub Desktop.
Move the navigation in the left sidebar below the widgets
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
add_action( 'after_setup_theme','generate_move_left_sidebar_menu' ); | |
function generate_move_left_sidebar_menu() | |
{ | |
remove_action( 'generate_before_left_sidebar_content', 'generate_add_secondary_navigation_before_left_sidebar', 7 ); | |
add_action( 'generate_after_left_sidebar_content', 'generate_add_secondary_navigation_before_left_sidebar', 7 ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment