Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 31 lines (20 sloc) 0.851 kB
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 *
7 * @package Prototype
8 * @subpackage Template
9 */
10
11 if ( has_nav_menu( 'primary' ) ) : ?>
12
13 <?php do_atomic( 'before_menu_primary' ); // prototype_before_menu_primary ?>
14
15 <div id="menu-primary" class="menu-container">
16
17 <div class="wrap">
18
19 <?php do_atomic( 'open_menu_primary' ); // prototype_open_menu_primary ?>
20
21 <?php wp_nav_menu( array( 'theme_location' => 'primary', 'container_class' => 'menu', 'menu_class' => '', 'menu_id' => 'menu-primary-items', 'fallback_cb' => '' ) ); ?>
22
23 <?php do_atomic( 'close_menu_primary' ); // prototype_close_menu_primary ?>
24
25 </div>
26
27 </div><!-- #menu-primary .menu-container -->
28
29 <?php do_atomic( 'after_menu_primary' ); // prototype_after_menu_primary ?>
30
31 <?php endif; ?>
Something went wrong with that request. Please try again.