<footer id="colophon" class="site-footer" role="contentinfo"> <?php if (is_active_sidebar('footer-widget-area')) { ?> <div id="footer-sidebar" class="footer-widget-area" role="complementary"> <?php dynamic_sidebar('footer-widget-area'); ?> </div><!-- #primary-sidebar --> <?php } ?> <div class="footer-text-area"> <div class="site-info"> <?php $footer_copyright = listable_get_option('footer_copyright'); if ($footer_copyright) { ?> <div class="site-copyright-area"> <?php echo $footer_copyright; ?> </div> <?php } ?> <?php $args = array('theme_location' => 'footer_menu', 'container' => '', 'container_class' => '', 'menu_class' => 'footer-menu', 'depth' => 1, 'fallback_cb' => null); wp_nav_menu($args); ?> </div><!-- .site-info -->
function listable_load_custom_js_footer() { $custom_js = listable_get_option('custom_js_footer'); if (!empty($custom_js)) { //first lets test is the js code is clean or has <script> tags and such //if we have <script> tags than we will not enclose it in anything - raw output if (strpos($custom_js, '</script>') !== false) { echo $custom_js . "\n"; } else { echo "<script type=\"text/javascript\">\n;(function(\$){\n" . $custom_js . "\n})(jQuery);\n</script>\n"; } } }
?> data-mapbox-token="<?php echo listable_get_option('mapbox_token', ''); ?> " data-mapbox-style="<?php echo listable_get_option('mapbox_style', ''); ?> "> <div id="page" class="hfeed site"> <a class="skip-link screen-reader-text" href="#content"><?php esc_html_e('Skip to content', 'listable'); ?> </a> <header id="masthead" class="site-header <?php if (is_page_template('page-templates/front_page.php') && listable_get_option('header_transparent', true) == true) { echo 'header--transparent'; } ?> " role="banner"> <?php if (function_exists('jetpack_has_site_logo') && jetpack_has_site_logo()) { // display the Site Logo if present ?> <div class="site-branding site-branding--image"> <?php jetpack_the_site_logo(); ?> </div> <?php } elseif (is_front_page() && is_home()) {