Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 36 lines (25 sloc) 1.125 kb
0c012232 »
2012-06-05 Bring in the initial files and folders.
1 <?php
2 /**
3 * Subsidiary Menu Template
4 *
5 * Displays the Subsidiary Menu if it has active menu items.
6 *
8ab6ce25 »
2012-08-26 Copy/Paste fail. Update all instances of @package MyLife to @package
7 * @package Picturesque
0c012232 »
2012-06-05 Bring in the initial files and folders.
8 * @subpackage Template
9 * @since 0.1.0
10 * @author Justin Tadlock <justin@justintadlock.com>
d8e7a878 »
2012-07-10 Many, many changes getting this theme ready.
11 * @copyright Copyright (c) 2012, Justin Tadlock
12 * @link http://themehybrid.com/themes/picturesque
0c012232 »
2012-06-05 Bring in the initial files and folders.
13 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
14 */
15
16 if ( has_nav_menu( 'subsidiary' ) ) : ?>
17
18 <?php do_atomic( 'before_menu_subsidiary' ); // picturesque_before_menu_subsidiary ?>
19
d8e7a878 »
2012-07-10 Many, many changes getting this theme ready.
20 <nav id="menu-subsidiary" class="menu-container">
0c012232 »
2012-06-05 Bring in the initial files and folders.
21
22 <div class="wrap">
23
24 <?php do_atomic( 'open_menu_subsidiary' ); // picturesque_open_menu_subsidiary ?>
25
26 <?php wp_nav_menu( array( 'theme_location' => 'subsidiary', 'container_class' => 'menu', 'menu_class' => '', 'menu_id' => 'menu-subsidiary-items', 'depth' => 1, 'fallback_cb' => '' ) ); ?>
27
28 <?php do_atomic( 'close_menu_subsidiary' ); // picturesque_close_menu_subsidiary ?>
29
30 </div>
31
d8e7a878 »
2012-07-10 Many, many changes getting this theme ready.
32 </nav><!-- #menu-subsidiary .menu-container -->
0c012232 »
2012-06-05 Bring in the initial files and folders.
33
34 <?php do_atomic( 'after_menu_subsidiary' ); // picturesque_after_menu_subsidiary ?>
35
36 <?php endif; ?>
Something went wrong with that request. Please try again.