Skip to content

Instantly share code, notes, and snippets.

@jameskoster
Created June 1, 2015 09:14
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jameskoster/0b90216dcccce9e4daaa to your computer and use it in GitHub Desktop.
Save jameskoster/0b90216dcccce9e4daaa to your computer and use it in GitHub Desktop.
Storefront - add primary navigation wrapper
add_action( 'storefront_header', 'jk_primary_navigation_wrapper', 45 );
add_action( 'storefront_header', 'jk_primary_navigation_wrapper_close', 65 );
function jk_primary_navigation_wrapper() {
echo '<section class="jk-primary-navigation">';
}
function jk_primary_navigation_wrapper_close() {
echo '</section>';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment