Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 28 lines (19 sloc) 0.844 kB
217f7fd Importing the News theme files and folders.
greenshady authored
1 <?php
2 /**
3 * Subsidiary Menu Template
4 *
5 * Displays the Subsidiary Menu if it has active menu items. Note that this template uses the #menu-footer ID
6 * so that it will be backwards compatible with version 0.1 of the News theme.
7 *
8 * @package News
9 * @subpackage Template
10 */
11
12 if ( has_nav_menu( 'subsidiary' ) ) : ?>
13
14 <div id="menu-footer" class="menu-container">
15
16 <div class="wrap">
17
18 <?php do_atomic( 'before_menu_subsidiary' ); // Before subsidiary menu hook ?>
19
20 <?php wp_nav_menu( array( 'theme_location' => 'subsidiary', 'container_class' => 'menu', 'menu_class' => '', 'menu_id' => 'menu-footer-items', 'depth' => 1, 'fallback_cb' => '' ) ); ?>
21
22 <?php do_atomic( 'after_menu_subsidiary' ); // After subsidiary menu hook ?>
23
24 </div>
25
26 </div><!-- #menu-footer .menu-container -->
27
28 <?php endif; ?>
Something went wrong with that request. Please try again.