Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: 0.3
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 31 lines (20 sloc) 0.846 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
<?php
/**
* Primary Menu Template
*
* Displays the Primary Menu if it has active menu items.
*
* @package Trending
* @subpackage Template
*/

if ( has_nav_menu( 'primary' ) ) : ?>

<?php do_atomic( 'before_menu_primary' ); // trending_before_menu_primary ?>

<div id="menu-primary" class="menu-container">

<div class="wrap">

<?php do_atomic( 'open_menu_primary' ); // trending_open_menu_primary ?>

<?php wp_nav_menu( array( 'theme_location' => 'primary', 'container_class' => 'menu', 'menu_class' => '', 'menu_id' => 'menu-primary-items', 'fallback_cb' => '' ) ); ?>

<?php do_atomic( 'close_menu_primary' ); // trending_close_menu_primary ?>

</div>

</div><!-- #menu-primary .menu-container -->

<?php do_atomic( 'after_menu_primary' ); // trending_after_menu_primary ?>

<?php endif; ?>
Something went wrong with that request. Please try again.