Esempio n. 1
0
    ?>
">
		<div class="container">
			<a class="skip-link screen-reader-text" href="#site-content"><?php 
    esc_html_e('Skip to content', 'make');
    ?>
</a>
			<?php 
    // Search form
    if (1 === $show_search) {
        get_search_form();
    }
    ?>
			<?php 
    // Social links
    ttfmake_maybe_show_social_links('header');
    ?>
			<?php 
    // Header text; shown only if there is no header menu
    if ((!empty($header_text) || ttfmake_is_preview()) && empty($header_bar_menu)) {
        ?>
				<span class="header-text">
				<?php 
        echo ttfmake_sanitize_text($header_text);
        ?>
				</span>
			<?php 
    }
    ?>
			<?php 
    echo $header_bar_menu;
Esempio n. 2
0
	<div class="container">
		<?php 
// Footer widget areas
if (true === $has_active_sidebar) {
    ?>
		<div class="footer-widget-container columns-<?php 
    echo esc_attr($sidebar_count);
    ?>
">
			<?php 
    $current_sidebar = 1;
    while ($current_sidebar <= $sidebar_count) {
        get_sidebar('footer-' . $current_sidebar);
        $current_sidebar++;
    }
    ?>
		</div>
		<?php 
}
?>

		<?php 
// Footer text and credit line
get_template_part('partials/footer', 'credit');
?>

		<?php 
ttfmake_maybe_show_social_links('footer');
?>
	</div>
</footer>