Skip to content
Newer
Older
100644 31 lines (20 sloc) 851 Bytes
7c50385 Adding the initial Prototype 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 *
839713b Updates galore for the Prototype theme.
greenshady authored
7 * @package Prototype
7c50385 Adding the initial Prototype files and folders.
greenshady authored
8 * @subpackage Template
9 */
10
a1b4520 Updates galore for Prototype.
greenshady authored
11 if ( has_nav_menu( 'primary' ) ) : ?>
7c50385 Adding the initial Prototype files and folders.
greenshady authored
12
b65aeaf Tons of updates to get Prototype ready for release.
greenshady authored
13 <?php do_atomic( 'before_menu_primary' ); // prototype_before_menu_primary ?>
839713b Updates galore for the Prototype theme.
greenshady authored
14
7c50385 Adding the initial Prototype files and folders.
greenshady authored
15 <div id="menu-primary" class="menu-container">
16
17 <div class="wrap">
18
b65aeaf Tons of updates to get Prototype ready for release.
greenshady authored
19 <?php do_atomic( 'open_menu_primary' ); // prototype_open_menu_primary ?>
7c50385 Adding the initial Prototype files and folders.
greenshady authored
20
a1b4520 Updates galore for Prototype.
greenshady authored
21 <?php wp_nav_menu( array( 'theme_location' => 'primary', 'container_class' => 'menu', 'menu_class' => '', 'menu_id' => 'menu-primary-items', 'fallback_cb' => '' ) ); ?>
7c50385 Adding the initial Prototype files and folders.
greenshady authored
22
b65aeaf Tons of updates to get Prototype ready for release.
greenshady authored
23 <?php do_atomic( 'close_menu_primary' ); // prototype_close_menu_primary ?>
7c50385 Adding the initial Prototype files and folders.
greenshady authored
24
25 </div>
26
27 </div><!-- #menu-primary .menu-container -->
28
b65aeaf Tons of updates to get Prototype ready for release.
greenshady authored
29 <?php do_atomic( 'after_menu_primary' ); // prototype_after_menu_primary ?>
839713b Updates galore for the Prototype theme.
greenshady authored
30
7c50385 Adding the initial Prototype files and folders.
greenshady authored
31 <?php endif; ?>
Something went wrong with that request. Please try again.