} ?> <?php do_action('bp_before_footer'); ?> <div id="footer"> <p class="fl"><?php echo of_get_option('footer_text', 'Copyright © 2011. All Rights Reserved'); ?> </p> <?php nxt_nav_menu(array('theme_location' => 'footer-menu', 'container' => false)); ?> <?php do_action('bp_footer'); ?> </div><!-- #footer --> <?php do_action('bp_after_footer'); ?> <?php } ?>
</a></h1> <h2 class="site-description"><?php bloginfo('description'); ?> </h2> <h3 class="nav-toggle"><a href="#navigation"><?php _e('Navigation', 'woothemes'); ?> </a></h3> </hgroup> <nav id="navigation" role="navigation"> <?php if (function_exists('has_nav_menu') && has_nav_menu('primary-menu')) { nxt_nav_menu(array('depth' => 6, 'sort_column' => 'menu_order', 'container' => 'ul', 'menu_id' => 'main-nav', 'menu_class' => 'nav fl', 'theme_location' => 'primary-menu')); } else { ?> <ul id="main-nav" class="nav fl"> <?php if (is_page()) { $highlight = 'page_item'; } else { $highlight = 'page_item current_page_item'; } ?> <li class="<?php echo $highlight; ?> "><a href="<?php echo home_url('/');
<div class="container"> <div id="footer-widgets" class="clearfix"> <?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer')) { ?> <?php } ?> </div> <!-- end #footer-widgets --> <div id="footer-bottom" class="clearfix"> <?php $menuClass = 'bottom-nav'; $footerNav = ''; if (function_exists('nxt_nav_menu')) { $footerNav = nxt_nav_menu(array('theme_location' => 'footer-menu', 'container' => '', 'fallback_cb' => '', 'menu_class' => $menuClass, 'echo' => false, 'depth' => '1')); } if ($footerNav == '') { show_page_menu($menuClass); } else { echo $footerNav; } ?> <p id="copyright"><?php esc_html_e('Designed by', 'Modest'); ?> <a href="http://www.elegantthemes.com">Elegant NXTClass Themes</a> | <?php esc_html_e('Powered by', 'Modest'); ?> <a href="http://www.opensource.nxtclass.tk">NXTClass</a></p>
<?php /** * Infinity Theme: top menu template * * @author Bowe Frankema <*****@*****.**> * @link http://infinity.presscrew.com/ * @copyright Copyright (C) 2010-2011 Bowe Frankema * @license http://www.gnu.org/licenses/gpl.html GPLv2 or later * @package Infinity * @subpackage templates * @since 1.0 */ if (!has_nav_menu('footer-menu')) { return; } ?> <nav id="footer-menu" role="navigation"> <?php do_action('open_footer_menu'); nxt_nav_menu(array('theme_location' => 'footer-menu')); do_action('close_footer_menu'); ?> </nav>
function widget($args, $instance) { // Get menu $nav_menu = !empty($instance['nav_menu']) ? nxt_get_nav_menu_object($instance['nav_menu']) : false; if (!$nav_menu) { return; } $instance['title'] = apply_filters('widget_title', empty($instance['title']) ? '' : $instance['title'], $instance, $this->id_base); echo $args['before_widget']; if (!empty($instance['title'])) { echo $args['before_title'] . $instance['title'] . $args['after_title']; } nxt_nav_menu(array('fallback_cb' => '', 'menu' => $nav_menu)); echo $args['after_widget']; }
</div> </div><!-- #header --> <?php do_action('bp_after_header'); ?> <div class="clear"></div> <div id="nav"> <div class="grid"> <?php nxt_nav_menu(array('theme_location' => 'main-menu')); ?> </div> </div><!-- #nav --> <?php do_action('bp_before_container'); ?> <?php } ?> <div id="content" class="grid">
echo date('Y'); ?> . <?php _e('All Rights Reserved.', 'woothemes'); ?> </p> <?php } ?> </div> <div id="credit" class="col-right"> <?php if (function_exists('has_nav_menu') && has_nav_menu('footer-menu')) { nxt_nav_menu(array('depth' => 1, 'sort_column' => 'menu_order', 'container' => 'ul', 'menu_id' => 'footer-nav', 'menu_class' => 'nav', 'theme_location' => 'footer-menu')); } elseif (isset($woo_options['woo_footer_right']) && $woo_options['woo_footer_right'] == 'true') { echo stripslashes($woo_options['woo_footer_right_text']); } else { ?> <p><?php _e('Powered by', 'woothemes'); ?> <a href="http://www.nxtclass.org">NXTClass</a>. <?php _e('Designed by', 'woothemes'); ?> <a href="<?php echo isset($woo_options['woo_footer_aff_link']) && !empty($woo_options['woo_footer_aff_link']) ? esc_url($woo_options['woo_footer_aff_link']) : 'http://www.woothemes.com'; ?> "><img src="<?php echo get_template_directory_uri();
<?php nxt_nonce_field('bp_search_form'); ?> </form><!-- #search-form --> <?php do_action('bp_search_login_bar'); ?> </div><!-- .padder --> </div><!-- #search-bar --> <div id="navigation" role="navigation"> <?php nxt_nav_menu(array('container' => false, 'menu_id' => 'nav', 'theme_location' => 'primary', 'fallback_cb' => 'bp_dtheme_main_nav')); ?> </div> <?php do_action('bp_header'); ?> </div><!-- #header --> <?php do_action('bp_after_header'); ?> <?php do_action('bp_before_container'); ?>
</a> </div> <?php /* Blog branding section using the name and description */ ?> <div id="branding"> <h2 id="blog-name"><a href="<?php echo home_url(); ?> "><?php bloginfo('name'); ?> </a></h2> <h3 id="blog-subtitle"><?php bloginfo('description'); ?> </h3> </div> <?php /* The list of all pages on the site */ ?> <?php nxt_nav_menu(array('menu_class' => 'page-navigation', 'theme_location' => 'primary_nav')); ?> </div> <div id="body">
/** * Display a nav menu using a custom walker * * @author Marshall Sorenson <*****@*****.**> * @package Infinity * @subpackage base * @see nxt_nav_menu() * @param string $theme_location Theme location, 'theme_location' arg passed to nxt_nav_menu()\ */ function infinity_base_nav_menu($theme_location) { nxt_nav_menu(array('theme_location' => $theme_location, 'menu_class' => 'sf-menu', 'container' => '', 'fallback_cb' => 'infinity_base_page_menu', 'walker' => new Infinity_Base_Walker_Nav_Menu())); }
$logo = get_option('modest_logo') != '' ? get_option('modest_logo') : get_bloginfo('template_directory') . '/images/' . $logo_additional_path . 'logo.png'; ?> <img src="<?php echo esc_url($logo); ?> " alt="<?php bloginfo('name'); ?> " id="logo"/> </a> <?php $menuClass = 'nav'; $menuID = 'top-menu'; $primaryNav = ''; if (function_exists('nxt_nav_menu')) { $primaryNav = nxt_nav_menu(array('theme_location' => 'primary-menu', 'container' => '', 'fallback_cb' => '', 'menu_class' => $menuClass, 'menu_id' => $menuID, 'echo' => false)); } if ($primaryNav == '') { ?> <ul id="<?php echo $menuID; ?> " class="<?php echo $menuClass; ?> "> <?php if (get_option('modest_home_link') == 'on') { ?> <li <?php if (is_home()) {