Server IP : 172.24.0.40 / Your IP : 216.73.216.10 Web Server : Apache System : Linux dbweb26.ust.edu.ph 4.18.0-513.5.1.el8_9.x86_64 #1 SMP Fri Sep 29 05:21:10 EDT 2023 x86_64 User : apache ( 48) PHP Version : 8.2.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/tomas/public_html/wp-content/themes/arilewp/ |
Upload File : |
<?php /** * The sidebar containing the footer widget area * * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials * * @package arilewp */ if ( ! is_active_sidebar( 'footer-sidebar-one' ) && ! is_active_sidebar( 'footer-sidebar-two' ) && ! is_active_sidebar( 'footer-sidebar-three' ) && ! is_active_sidebar( 'footer-sidebar-four' ) ) { return; } $arilewp_footer_widgets_coloumn_layout = get_theme_mod('arilewp_footer_widgets_coloumn_layout', '4'); $arilewp_footer_widgets_coloumn_layout = 12/$arilewp_footer_widgets_coloumn_layout; ?> <?php // call the footer-one sidebar. if ( is_active_sidebar( 'footer-sidebar-one' ) ) : ?> <div class="col-lg-<?php echo esc_attr($arilewp_footer_widgets_coloumn_layout); ?> col-md-6 col-sm-12"> <?php dynamic_sidebar( 'footer-sidebar-one' ); ?> </div> <?php endif; ?> <?php // call the footer-two sidebar. if ( is_active_sidebar( 'footer-sidebar-two' ) ) : ?> <div class="col-lg-<?php echo esc_attr($arilewp_footer_widgets_coloumn_layout); ?> col-md-6 col-sm-12"> <?php dynamic_sidebar( 'footer-sidebar-two' ); ?> </div> <?php endif; ?> <?php // call the footer-three sidebar. if ( is_active_sidebar( 'footer-sidebar-three' ) ) : ?> <div class="col-lg-<?php echo esc_attr($arilewp_footer_widgets_coloumn_layout); ?> col-md-6 col-sm-12"> <?php dynamic_sidebar( 'footer-sidebar-three' ); ?> </div> <?php endif; ?> <?php // call the footer-four sidebar. if ( is_active_sidebar( 'footer-sidebar-four' ) ) : ?> <div class="col-lg-<?php echo esc_attr($arilewp_footer_widgets_coloumn_layout); ?> col-md-6 col-sm-12"> <?php dynamic_sidebar( 'footer-sidebar-four' ); ?> </div> <?php endif; ?>