HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ns3133907 6.8.0-86-generic #87-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 18:03:36 UTC 2025 x86_64
User: cssnetorguk (1024)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: /home/dothetest.co.uk/public_html/wp-content/themes/matthew-magazine-blog/footer.php
<?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 Matthew_Magazine_Blog
 */

?>
<!-- start footer -->
<footer class="footer mt-5" itemscope="" itemtype="https://schema.org/WPFooter">
    <div class="container">
        <div class="row">
            <div class="col-12">
                <div class="footer__inner">
                    <div class="row">
                        <?php
                            $widget_active = matthew_magazine_blog_footer_is_widget();
                            $col = !empty($widget_active) ? 12/count($widget_active):12;
                        ?>
                        <?php if(!empty($widget_active)): ?>
                            <?php foreach($widget_active as $v): ?>
                                <div class="col-12 col-md-6 col-lg-<?php echo esc_attr($col); ?> mb-3">
                                    <?php dynamic_sidebar( 'footer-' . $v ); ?>
                                </div>
                            <?php endforeach; ?>
                        <?php endif; ?>
                    </div>
                    <div class="row">
                        <div class="col-12">
                            <?php
                                if(is_active_sidebar( 'footer-above' )) {
                                    dynamic_sidebar( 'footer-above' );
                                }
                            ?>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</footer>

<div id="progress"><span id="progress-value"><i class=""></i></span></div>
<!-- end footer -->

<?php wp_footer(); ?>

</body>
</html>