2017-01-12 23:10:07 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* The template for displaying the footer
|
|
|
|
*
|
|
|
|
* Contains the closing of the #content div and all content after
|
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Twenty_Sixteen
|
|
|
|
* @since Twenty Sixteen 1.0
|
|
|
|
*/
|
|
|
|
?>
|
|
|
|
|
|
|
|
</div><!-- .site-content -->
|
|
|
|
|
|
|
|
<?php /*<footer id="colophon" class="site-footer" role="contentinfo">
|
|
|
|
<?php if ( has_nav_menu( 'primary' ) ) : ?>
|
|
|
|
<nav class="main-navigation" role="navigation" aria-label="<?php esc_attr_e( 'Footer Primary Menu', 'twentysixteen' ); ?>">
|
|
|
|
<?php
|
|
|
|
wp_nav_menu( array(
|
|
|
|
'theme_location' => 'primary',
|
|
|
|
'menu_class' => 'primary-menu',
|
|
|
|
) );
|
|
|
|
?>
|
|
|
|
</nav><!-- .main-navigation -->
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
|
|
<?php if ( has_nav_menu( 'social' ) ) : ?>
|
|
|
|
<nav class="social-navigation" role="navigation" aria-label="<?php esc_attr_e( 'Footer Social Links Menu', 'twentysixteen' ); ?>">
|
|
|
|
<?php
|
|
|
|
wp_nav_menu( array(
|
|
|
|
'theme_location' => 'social',
|
|
|
|
'menu_class' => 'social-links-menu',
|
|
|
|
'depth' => 1,
|
|
|
|
'link_before' => '<span class="screen-reader-text">',
|
|
|
|
'link_after' => '</span>',
|
|
|
|
) );
|
|
|
|
?>
|
|
|
|
</nav><!-- .social-navigation -->
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
|
|
</footer><!-- .site-footer --> */ ?>
|
|
|
|
</div><!-- .site-inner -->
|
|
|
|
</div><!-- .site -->
|
2017-04-11 07:22:35 +00:00
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
// Displays and hides the top header bar on page scroll.
|
|
|
|
jQuery(document).ready(function($) {
|
|
|
|
$(window).on("scroll", function() {
|
|
|
|
var fromTop = $(window).scrollTop();
|
|
|
|
$('#header-bar').toggleClass("show", (fromTop > 200));
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
2017-01-12 23:10:07 +00:00
|
|
|
|
|
|
|
<?php wp_footer(); ?>
|
|
|
|
</body>
|
|
|
|
</html>
|