Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 27 lines (18 sloc) 0.678 kb
217f7fd Importing the News theme files and folders.
greenshady authored
1 <?php
2 /**
3 * Primary Menu Template
4 *
5 * Displays the Primary Menu if it has active menu items.
6 *
7 * @package News
8 * @subpackage Template
9 */
10
11 if ( has_nav_menu( 'primary' ) ) : ?>
12
13 <div id="menu-primary" class="menu-container">
14
15 <div class="wrap">
16
17 <?php do_atomic( 'before_menu_primary' ); // Before primary menu hook ?>
18
19 <?php wp_nav_menu( array( 'theme_location' => 'primary', 'container_class' => 'menu', 'menu_class' => '', 'menu_id' => 'menu-primary-items', 'fallback_cb' => '' ) ); ?>
20
21 <?php do_atomic( 'after_menu_primary' ); // After primary menu hook ?>
22
23 </div>
24
25 </div><!-- #menu-primary .menu-container -->
26
27 <?php endif; ?>
Something went wrong with that request. Please try again.