Skip to content

Instantly share code, notes, and snippets.

@kaskad88
Created April 19, 2019 11:58
Show Gist options
  • Save kaskad88/c0f7f4bf80d22bf63dfd00045e62f31e to your computer and use it in GitHub Desktop.
Save kaskad88/c0f7f4bf80d22bf63dfd00045e62f31e to your computer and use it in GitHub Desktop.
Modify navigation_markup_template
add_filter( 'navigation_markup_template', '__your_prefix_modify_navigation_markup_template' );
function __your_prefix_modify_navigation_markup_template() {
$template = '
<nav class="navigation %1$s" role="navigation">
<div class="nav-links">%3$s</div>
</nav>';
return $template;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment