Skip to content
Newer
Older
100644 24 lines (17 sloc) 659 Bytes
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revis…
greenshady authored Apr 7, 2010
1 <?php
2 /**
3 * Primary Menu Template
4 *
5 * Displays the Primary Menu if it has active menu items.
6 *
7 * @package Hybrid
8 * @subpackage Template
a27065a More massive updates and cleanup.
greenshady authored Dec 29, 2010
9 * @link http://themehybrid.com/themes/hybrid/menus
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revis…
greenshady authored Apr 7, 2010
10 */
11
779262b Get rid of a ton of deprecated Hybrid Core calls and start bringing t…
greenshady authored Oct 20, 2010
12 if ( has_nav_menu( 'primary' ) ) : ?>
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revis…
greenshady authored Apr 7, 2010
13
14 <div id="primary-menu" class="menu-container">
15
779262b Get rid of a ton of deprecated Hybrid Core calls and start bringing t…
greenshady authored Oct 20, 2010
16 <?php do_atomic( 'before_primary_menu' ); // Before primary menu hook ?>
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revis…
greenshady authored Apr 7, 2010
17
779262b Get rid of a ton of deprecated Hybrid Core calls and start bringing t…
greenshady authored Oct 20, 2010
18 <?php wp_nav_menu( array( 'theme_location' => 'primary', 'container_class' => 'menu', 'menu_class' => '', 'fallback_cb' => '' ) ); ?>
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revis…
greenshady authored Apr 7, 2010
19
779262b Get rid of a ton of deprecated Hybrid Core calls and start bringing t…
greenshady authored Oct 20, 2010
20 <?php do_atomic( 'after_primary_menu' ); // After primary menu hook ?>
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revis…
greenshady authored Apr 7, 2010
21
22 </div><!-- #primary-menu .menu-container -->
23
24 <?php endif; ?>
Something went wrong with that request. Please try again.