Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: 1.1
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (17 sloc) 0.663 kB
<?php
/**
* Primary Menu Template
*
* Displays the Primary Menu if it has active menu items.
*
* @package Hybrid
* @subpackage Template
* @link http://themehybrid.com/themes/hybrid/menus
*/
if ( has_nav_menu( 'primary' ) ) : ?>
<div id="primary-menu" class="menu-container">
<?php do_atomic( 'before_primary_menu' ); // hybrid_before_primary_menu ?>
<?php wp_nav_menu( array( 'theme_location' => 'primary', 'container_class' => 'menu', 'menu_class' => '', 'fallback_cb' => '' ) ); ?>
<?php do_atomic( 'after_primary_menu' ); // hybrid_after_primary_menu ?>
</div><!-- #primary-menu .menu-container -->
<?php endif; ?>
Jump to Line
Something went wrong with that request. Please try again.