Skip to content
Newer
Older
100644 28 lines (19 sloc) 861 Bytes
5d69e6a @samikeijonen Add all files.
authored
1 <?php
2 /**
3 * Subsidiary Menu Template
4 *
5 * Displays the Subsidiary Menu if it has active menu items.
6 *
7 * @package Live Wire
8 * @subpackage Template
9 * @since 0.1.0
10 */
11
12 if ( has_nav_menu( 'subsidiary' ) ) : ?>
13
14 <?php do_atomic( 'before_menu_subsidiary' ); // live-wire_before_menu_subsidiary ?>
15
16 <div id="menu-subsidiary" class="menu-container">
17
18 <?php do_atomic( 'open_menu_subsidiary' ); // live-wire_open_menu_subsidiary ?>
19
20 <?php wp_nav_menu( array( 'theme_location' => 'subsidiary', 'container_class' => 'menu', 'menu_class' => '', 'menu_id' => 'menu-subsidiary-items', 'depth' => 1, 'fallback_cb' => '' ) ); ?>
21
22 <?php do_atomic( 'close_menu_subsidiary' ); // live-wire_close_menu_subsidiary ?>
23
24 </div><!-- #menu-subsidiary .menu-container -->
25
26 <?php do_atomic( 'after_menu_subsidiary' ); // live-wire_after_menu_subsidiary ?>
27
28 <?php endif; ?>
Something went wrong with that request. Please try again.