Skip to content

Instantly share code, notes, and snippets.

@reasonstousegenesis
Last active November 10, 2015 04:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reasonstousegenesis/4f58fc634d1cd141e1af to your computer and use it in GitHub Desktop.
Save reasonstousegenesis/4f58fc634d1cd141e1af to your computer and use it in GitHub Desktop.
Structure of the markup produced by the function genesis_do_nav
<h2 class="screen-reader-text">Main navigation</h2>
<nav class="nav-primary" itemscope itemtype="http://schema.org/SiteNavigationElement">
<div class="wrap">
<ul id="menu-primary-navigation" class="menu genesis-nav-menu menu-primary">
<li class="menu-item">
<a href="" itemprop="url">
<span itemprop="name"><!-- menu item --></span>
</a>
</li>
</ul>
</div>
</nav>
<div id="nav">
<div class="wrap">
<ul id="menu-primary-navigation" class="menu genesis-nav-menu menu-primary">
<li class="menu-item">
<a href="" itemprop="url"><!-- menu item --></a>
</li>
</ul>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment