footer
unknown
plain_text
4 months ago
4.0 kB
8
Indexable
<footer class="site-footer">
<div class="footer-grid">
<!-- Brand -->
<div class="footer-brand">
<?php if ( has_custom_logo() ) : ?>
<?php the_custom_logo(); ?>
<?php else : ?>
<span style="color:#fff;font-family:'Playfair Display',serif;font-size:1.2rem;">BOTTEGA MODERNA</span>
<?php endif; ?>
<p style="margin-top:16px;">
<?php _e( 'Un'esperienza culinaria nel cuore di Trento. Cucina essenziale e ricercata, a due passi dal Duomo.', 'bottega-moderna' ); ?>
</p>
<div class="header-social" style="display:flex;gap:16px;margin-top:20px;">
<?php if ( $ig = bottega_opt('instagram_url') ) : ?>
<a href="<?php echo esc_url( $ig ); ?>" target="_blank" aria-label="Instagram" style="color:rgba(255,255,255,.7);">
<svg width="20" height="20" fill="none" stroke="currentColor" stroke-width="1.8" viewBox="0 0 24 24"><rect x="2" y="2" width="20" height="20" rx="5" ry="5"/><circle cx="12" cy="12" r="4"/><circle cx="17.5" cy="6.5" r="1" fill="currentColor" stroke="none"/></svg>
</a>
<?php endif; ?>
<?php if ( $tt = bottega_opt('tiktok_url') ) : ?>
<a href="<?php echo esc_url( $tt ); ?>" target="_blank" aria-label="TikTok" style="color:rgba(255,255,255,.7);">
<svg width="20" height="20" fill="currentColor" viewBox="0 0 24 24"><path d="M19.59 6.69a4.83 4.83 0 01-3.77-4.25V2h-3.45v13.67a2.89 2.89 0 01-2.88 2.5 2.89 2.89 0 01-2.89-2.89 2.89 2.89 0 012.89-2.89c.28 0 .54.04.79.1V9.01a6.3 6.3 0 00-.79-.05 6.34 6.34 0 00-6.34 6.34 6.34 6.34 0 006.34 6.34 6.34 6.34 0 006.33-6.34V9.07a8.22 8.22 0 004.81 1.54V7.16a4.86 4.86 0 01-1.04-.47z"/></svg>
</a>
<?php endif; ?>
</div>
</div>
<!-- Navigation -->
<div class="footer-col">
<h4><?php _e( 'Navigation', 'bottega-moderna' ); ?></h4>
<ul>
<li><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php _e( 'Home', 'bottega-moderna' ); ?></a></li>
<li><a href="<?php echo esc_url( home_url( '/filosofia' ) ); ?>"><?php _e( 'Filosofia', 'bottega-moderna' ); ?></a></li>
<li><a href="<?php echo esc_url( home_url( '/menu' ) ); ?>"><?php _e( 'Menu', 'bottega-moderna' ); ?></a></li>
<li><a href="<?php echo esc_url( home_url( '/contatti' ) ); ?>"><?php _e( 'Contatti', 'bottega-moderna' ); ?></a></li>
</ul>
</div>
<!-- Hours -->
<div class="footer-col">
<h4><?php _e( 'Orari', 'bottega-moderna' ); ?></h4>
<ul>
<li><?php echo esc_html( bottega_opt( 'lunch_hours', 'Lun–Sab: 12:00–14:30' ) ); ?></li>
<li><?php echo esc_html( bottega_opt( 'dinner_hours', 'Lun–Sab: 19:00–23:00' ) ); ?></li>
</ul>
</div>
<!-- Contact -->
<div class="footer-col">
<h4><?php _e( 'Contatti', 'bottega-moderna' ); ?></h4>
<ul>
<li><?php echo esc_html( bottega_opt( 'address', 'Via Roma 1, Trento' ) ); ?></li>
<li><a href="tel:<?php echo esc_attr( bottega_opt( 'phone' ) ); ?>"><?php echo esc_html( bottega_opt( 'phone', '+39 0461 000000' ) ); ?></a></li>
<li><a href="mailto:<?php echo antispambot( get_option( 'admin_email' ) ); ?>"><?php echo antispambot( get_option( 'admin_email' ) ); ?></a></li>
</ul>
</div>
</div>
<div class="footer-bottom">
<p>© <?php echo date('Y'); ?> Bottega Moderna Bistrot. <?php _e( 'All rights reserved.', 'bottega-moderna' ); ?></p>
<p>
<a href="<?php echo esc_url( get_privacy_policy_url() ); ?>" style="transition:color .3s;"><?php _e( 'Privacy Policy', 'bottega-moderna' ); ?></a>
</p>
</div>
</footer>
<?php wp_footer(); ?>
</body>
</html>
Editor is loading...
Leave a Comment