Skip to content
Newer
Older
100644 31 lines (20 sloc) 846 Bytes
b32764d Importing the Trending 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 *
c4bc693 Ready for beta 1.
greenshady authored
7 * @package Trending
b32764d Importing the Trending theme files and folders.
greenshady authored
8 * @subpackage Template
9 */
10
11 if ( has_nav_menu( 'primary' ) ) : ?>
12
c4bc693 Ready for beta 1.
greenshady authored
13 <?php do_atomic( 'before_menu_primary' ); // trending_before_menu_primary ?>
b32764d Importing the Trending theme files and folders.
greenshady authored
14
15 <div id="menu-primary" class="menu-container">
16
17 <div class="wrap">
18
c4bc693 Ready for beta 1.
greenshady authored
19 <?php do_atomic( 'open_menu_primary' ); // trending_open_menu_primary ?>
b32764d Importing the Trending theme files and folders.
greenshady authored
20
21 <?php wp_nav_menu( array( 'theme_location' => 'primary', 'container_class' => 'menu', 'menu_class' => '', 'menu_id' => 'menu-primary-items', 'fallback_cb' => '' ) ); ?>
22
c4bc693 Ready for beta 1.
greenshady authored
23 <?php do_atomic( 'close_menu_primary' ); // trending_close_menu_primary ?>
b32764d Importing the Trending theme files and folders.
greenshady authored
24
25 </div>
26
27 </div><!-- #menu-primary .menu-container -->
28
c4bc693 Ready for beta 1.
greenshady authored
29 <?php do_atomic( 'after_menu_primary' ); // trending_after_menu_primary ?>
b32764d Importing the Trending theme files and folders.
greenshady authored
30
31 <?php endif; ?>
Something went wrong with that request. Please try again.