| Server IP : 51.91.236.193 / Your IP : 216.73.216.224 Web Server : Apache System : Linux webm010.cluster128.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : institutah ( 16501) PHP Version : 7.2.34 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/institutah/www/wp-content/themes/makali/ |
Upload File : |
<?php
/**
* The template for displaying the footer
*
* Contains footer content and the closing of the #main and #page div elements.
*
* @package WordPress
* @subpackage Makali_Theme
* @since Makali 1.0
*/
$makali_opt = get_option( 'makali_opt' );
?>
<?php if(isset($makali_opt['footer_layout']) && $makali_opt['footer_layout']!=''){
$footer_class = str_replace(' ', '-', strtolower($makali_opt['footer_layout']));
} else {
$footer_class = '';
} ?>
<div class="footer <?php echo esc_html($footer_class);?>">
<div class="footer-inner">
<?php
if ( isset($makali_opt['footer_layout']) && $makali_opt['footer_layout']!="" ) {
$jscomposer_templates_args = array(
'orderby' => 'title',
'order' => 'ASC',
'post_type' => 'templatera',
'post_status' => 'publish',
'posts_per_page' => 100,
'suppress_filters' => false,
);
$jscomposer_templates = get_posts( $jscomposer_templates_args );
if(count($jscomposer_templates) > 0) {
foreach($jscomposer_templates as $jscomposer_template){
if($jscomposer_template->post_title == $makali_opt['footer_layout']){
echo do_shortcode($jscomposer_template->post_content);
}
}
}
} else { ?>
<div class="footer-default">
<div class="container">
<div class="widget-copyright">
<?php esc_html_e( "Copyright", 'makali' ); ?> <a href="<?php echo esc_url( home_url( '/' ) ) ?>"> <?php echo get_bloginfo('name') ?></a> <?php echo date('Y') ?>. <?php esc_html_e( "All Rights Reserved", 'makali' ); ?>
</div>
</div>
</div>
<?php
}
?>
</div>
</div>
</div><!-- .page -->
</div><!-- .wrapper -->
<!--<div class="makali_loading"></div>-->
<?php if ( isset($makali_opt['back_to_top']) && $makali_opt['back_to_top'] ) { ?>
<div id="back-top"></div>
<?php } ?>
<?php wp_footer(); ?>
<?php if($makali_opt['page_layout']=='box_body') { ?>
</div>
<?php } ?>
</body>
</html>