Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: ceeb427718
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (20 sloc) 0.905 kb
<?php
/**
* Subsidiary Menu Template
*
* Displays the Subsidiary Menu if it has active menu items.
*
* @package Trending
* @subpackage Template
*/
if ( has_nav_menu( 'subsidiary' ) ) : ?>
<?php do_atomic( 'before_menu_subsidiary' ); // trending_before_menu_subsidiary ?>
<div id="menu-subsidiary" class="menu-container">
<div class="wrap">
<?php do_atomic( 'open_menu_subsidiary' ); // trending_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' ); // trending_close_menu_subsidiary ?>
</div>
</div><!-- #menu-subsidiary .menu-container -->
<?php do_atomic( 'after_menu_subsidiary' ); // trending_after_menu_subsidiary ?>
<?php endif; ?>
Jump to Line
Something went wrong with that request. Please try again.