Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 24 lines (17 sloc) 0.663 kB
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revi…
greenshady authored
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
9 * @link http://themehybrid.com/themes/hybrid/menus
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revi…
greenshady authored
10 */
11
779262b Get rid of a ton of deprecated Hybrid Core calls and start bringing t…
greenshady authored
12 if ( has_nav_menu( 'primary' ) ) : ?>
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revi…
greenshady authored
13
14 <div id="primary-menu" class="menu-container">
15
4e2f5ed Mostly CSS compression and .dev.css file additions. A few minor code…
greenshady authored
16 <?php do_atomic( 'before_primary_menu' ); // hybrid_before_primary_menu ?>
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revi…
greenshady authored
17
779262b Get rid of a ton of deprecated Hybrid Core calls and start bringing t…
greenshady authored
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 revi…
greenshady authored
19
4e2f5ed Mostly CSS compression and .dev.css file additions. A few minor code…
greenshady authored
20 <?php do_atomic( 'after_primary_menu' ); // hybrid_after_primary_menu ?>
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revi…
greenshady authored
21
22 </div><!-- #primary-menu .menu-container -->
23
24 <?php endif; ?>
Something went wrong with that request. Please try again.