Skip to content

Instantly share code, notes, and snippets.

@DanielSantoro
Created October 29, 2014 14:03
Show Gist options
  • Save DanielSantoro/75fd6fc0ed820c71e5a0 to your computer and use it in GitHub Desktop.
Save DanielSantoro/75fd6fc0ed820c71e5a0 to your computer and use it in GitHub Desktop.
Move Canvas Theme Navigation to Top
// Moves Main Navigation to the top of the header
add_action( 'wp', 'tweak_nav_layout' );
function tweak_nav_layout() {
remove_action( 'woo_header_after','woo_nav', 10 );
add_action( 'woo_header_before','woo_nav', 10 );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment