Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 32 lines (21 sloc) 1.045 kb
5d69e6a @samikeijonen Add all files.
authored
1 <?php
2 /**
3 * Primary Menu Template
4 *
5 * Displays the Primary Menu if it has active menu items.
6 *
7 * @package Live Wire
8 * @subpackage Template
9 * @since 0.1.0
10 */
11
12 if ( has_nav_menu( 'primary' ) ) : ?>
13
14 <?php do_atomic( 'before_menu_primary' ); // live-wire_before_menu_primary ?>
15
16 <div id="menu-primary" class="menu-container">
17
18 <div class="wrap">
19
20 <?php do_atomic( 'open_menu_primary' ); // live-wire_open_menu_primary ?>
21
22 <?php wp_nav_menu( array( 'theme_location' => 'primary', 'container_class' => 'menu', 'menu_class' => '', 'menu_id' => 'menu-primary-items', 'items_wrap' => '<ul id="%1$s" class="%2$s"><li class="tinynav-select-menu"><a href="#">' . __( 'Primary Navigation...', 'live-wire' ) . '</a></li>%3$s</ul>', 'fallback_cb' => '' ) ); ?>
23
24 <?php do_atomic( 'close_menu_primary' ); // live-wire_close_menu_primary ?>
25
26 </div><!-- .wrap -->
27
28 </div><!-- #menu-primary .menu-container -->
29
30 <?php do_atomic( 'after_menu_primary' ); // live-wire_after_menu_primary ?>
31
32 <?php endif; ?>
Something went wrong with that request. Please try again.