|
Server IP : 10.131.40.8 / Your IP : 216.73.216.37 Web Server : Apache System : Linux webd008.cluster131.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64 User : ludmqhh ( 137773) PHP Version : 8.4.10 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0705) : /home/l/u/d/ludmqhh/www/hotel-forum/wp-content/themes/hotello/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
/**
* The template for displaying the footer
*
* Contains the closing of the #content div and all content after.
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package Hotel
*/
?>
</div><!-- .container -->
</div><!-- #content -->
<?php
$active_footer = false;
$sidebars_count = hotello_get_sidebars_cols_count();
$total_widgets = wp_get_sidebars_widgets();
if ($sidebars_count > 0) :
foreach (range(1, $sidebars_count) as $sidebar_number) :
$footer_widgets = !empty($total_widgets['footer_' . $sidebar_number]) ? count($total_widgets['footer_' . $sidebar_number]) : 0;
$sidebar_id = 'footer_' . $sidebar_number;
if (is_active_sidebar($sidebar_id) && $footer_widgets):
$active_footer = true;
endif;
endforeach; ?>
<?php endif; ?>
<footer class="stm-footer <?php if (!$active_footer) { echo esc_attr('stm-footer__no_widgets'); } ?>">
<?php get_template_part('resources/partials/footer/main'); ?>
</footer><!-- #colophon -->
</div><!-- #page -->
<?php
get_template_part('resources/partials/modals/main');
get_template_part('resources/partials/footer/scroll_top');
wp_footer(); ?>
</body>
</html>
