</div> <!-- #container -->
<div id="push"></div>
</div><!-- #wrapper -->
<?php do_action( 'bp_after_container' ) ?>
<?php do_action( 'bp_before_footer' ) ?>
<div id="footer">
<div id="colophon">
<div class="footer-widget">
<?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar('Footer #1') ) : ?>
<?php endif; ?>
</div>
<div class="footer-widget">
<?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar('Footer #2') ) : ?>
<?php endif; ?>
</div>
<div class="footer-widget">
<?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar('Footer #3') ) : ?>
<?php endif; ?>
</div>
<div class="footer-widget last">
<?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar('Footer #4') ) : ?>
<?php endif; ?>
</div>
<div class="clear"></div>
<!--<removes footer link> -->
<div id="footer-links">
<?php //wp_list_pages('exclude=10,520,22,14'); ?>
<?php //wp_list_pages('depth=1&sort_column=menu_order&exclude=10,114&title_li=' . ('') . '' ); ?>
<ul class="footer-menu">
<?php if ( has_nav_menu( 'secondary-menu' ) ) { ?>
<?php wp_nav_menu( array( 'container' => false, 'menu_id' => 'nav', 'theme_location' => 'secondary-menu', 'items_wrap' => '%3$s' ) ); ?>
<?php } else { ?>
<?php wp_list_pages( 'title_li=&depth=3&exclude=10,520,22,14,538,543' . bp_dtheme_page_on_front() ); ?>
<?php } ?>
</ul>
</div>
<div id="credits">
<p>Copyright © <?php echo date('Y'); ?> <?php bloginfo('name'); ?><!-- · <a href="http://www.buddyboss.com/" target="_blank">BuddyPress Themes by BuddyBoss</a> · --> <?php //wp_loginout( $redirect ); ?></p>
</div>
<?php do_action( 'bp_footer' ) ?>
</div>
</div><!-- #footer -->
<?php do_action( 'bp_after_footer' ) ?>
<!-- required to load the BuddyBar -->
<?php wp_footer(); ?>
<!-- append buddyboss_wall log if needed -->
<?php if (BUDDY_BOSS_WALL_DEBUG):?>
<div class="buddyboss_log">
<?php buddy_boss_dump_log();?>
</div>
<?php endif;?>
</body>
</html>