Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 32 lines (21 sloc) 0.889 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
<?php
/**
* Subsidiary Menu Template
*
* Displays the Subsidiary Menu if it has active menu items.
*
* @package Path
* @subpackage Template
* @since 0.1.0
*/

if ( has_nav_menu( 'subsidiary' ) ) : ?>

<?php do_atomic( 'before_menu_subsidiary' ); // path_before_menu_subsidiary ?>

<nav id="menu-subsidiary" class="menu-container">

<div class="wrap">

<?php do_atomic( 'open_menu_subsidiary' ); // path_open_menu_subsidiary ?>

<?php wp_nav_menu( array( 'theme_location' => 'subsidiary', 'container_class' => 'menu', 'menu_class' => '', 'menu_id' => 'menu-subsidiary-items', 'depth' => 1, 'fallback_cb' => '' ) ); ?>

<?php do_atomic( 'close_menu_subsidiary' ); // path_close_menu_subsidiary ?>

</div><!-- .wrap -->

</nav><!-- #menu-subsidiary .menu-container -->

<?php do_atomic( 'after_menu_subsidiary' ); // path_after_menu_subsidiary ?>

<?php endif; ?>
Something went wrong with that request. Please try again.