Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: 0.5
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (20 sloc) 0.881 kB
<?php
/**
* Secondary Menu Template
*
* Displays the Secondary Menu if it has active menu items.
*
* @package Prototype
* @subpackage Template
*/
if ( has_nav_menu( 'secondary' ) ) : ?>
<?php do_atomic( 'before_menu_secondary' ); // prototype_before_menu_secondary ?>
<div id="menu-secondary" class="menu-container">
<div class="wrap">
<?php do_atomic( 'open_menu_secondary' ); // prototype_open_menu_secondary ?>
<?php wp_nav_menu( array( 'theme_location' => 'secondary', 'container_class' => 'menu', 'menu_class' => '', 'menu_id' => 'menu-secondary-items', 'fallback_cb' => '' ) ); ?>
<?php do_atomic( 'close_menu_secondary' ); // prototype_close_menu_secondary ?>
</div>
</div><!-- #menu-secondary .menu-container -->
<?php do_atomic( 'after_menu_secondary' ); // prototype_after_menu_secondary ?>
<?php endif; ?>
Jump to Line
Something went wrong with that request. Please try again.