| Server IP : 104.21.73.115 / Your IP : 216.73.216.222 Web Server : Apache System : Linux vps42439 6.8.0-136-generic #136~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 3 16:29:11 UTC x86_64 User : dh_7hi3h9 ( 6349477) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/dh_7hi3h9/regalflower.com/wp-content/themes/temp_thestory/ |
Upload File : |
<?php
/**
* Footer template - this file content is displayed on every page after the main content.
*/
?>
</div>
<?php
do_action('pexeto_after_content_container');
global $pexeto_page;
$show_footer = (isset($pexeto_page['show_footer']) && $pexeto_page['show_footer']==false) ? false : true;
if($show_footer){
?>
<footer id="footer" class="center">
<?php do_action('pexeto_before_footer'); ?>
<?php if(pexeto_option('show_scroll_btn')){ ?>
<div class="scroll-to-top"><span></span></div>
<?php } ?>
<?php if(pexeto_option('show_ca')){
$ca_use_po = pexeto_option('ca_use_po');
$ca_title = $ca_use_po ? __( 'Call to action section title', 'pexeto' ) : pexeto_option('ca_title');
$ca_desc = $ca_use_po ? __( 'Call to action section description', 'pexeto' ) : pexeto_option('ca_desc');
$ca_btn_text = $ca_use_po ? __( 'Call to action button text', 'pexeto' ) : pexeto_option('ca_btn_text');
//PRINT THE CALL TO ACTION SECTION
?>
<div id="footer-cta">
<div class="section-boxed">
<div class="footer-cta-first"><h5><?php echo $ca_title; ?></h5></div>
<div class="footer-cta-disc"><p><?php echo $ca_desc; ?></p></div>
<?php
if(pexeto_option('ca_btn_link') || $ca_btn_text){
$ca_target = pexeto_option('ca_btn_link_open')=='new' ? ' target="_blank"':'';
?>
<div class="footer-cta-button">
<a href="<?php echo esc_url(pexeto_option('ca_btn_link')); ?>" class="button"<?php echo $ca_target; ?>><?php echo $ca_btn_text; ?></a>
</div>
<?php } ?>
<div class="clear"></div>
</div>
</div>
<?php }
//PRINT THE FOOTER COLUMNS
$footer_layout = pexeto_option("footer_layout");
$sidebar_numbers = array("one", "two", "three", "four");
$column_num = intval($footer_layout);
if($footer_layout!="no-footer"){ ?>
<div class="cols-wrapper footer-widgets section-boxed cols-<?php echo $column_num; ?>">
<?php
if($column_num>0){
for($i=1; $i<=$column_num; $i++){
$number = $sidebar_numbers[$i-1];
$add_class = $i==$column_num ? ' nomargin':'';
?><div class="col<?php echo $add_class; ?>"><?php
dynamic_sidebar("footer-".$number);
?></div><?php
}
}
?>
</div>
<?php
}
?>
<div class="footer-bottom">
<div class="section-boxed">
<?php do_action('pexeto_footer'); ?>
<span class="copyrights">
<?php if(pexeto_option('footer_copyright')=='custom'){
echo pexeto_option('footer_copyright_text');
}else{ ?>
© <?php echo __( 'Copyright', 'pexeto' ).' ';
bloginfo('name');
}
?>
</span>
<div class="footer-nav">
<?php wp_nav_menu(array('theme_location' => 'pexeto_footer_menu', 'fallback_cb'=>'pexeto_no_footer_menu', 'depth'=>1)); ?>
</div>
<?php locate_template( array( 'includes/social-icons.php' ), true, false ); ?>
</div>
</div>
<?php do_action('pexeto_after_footer'); ?>
</footer> <!-- end #footer-->
<?php } //end if show footer
?>
</div> <!-- end #main-container -->
<!-- FOOTER ENDS -->
<?php
wp_footer();
?>
</body>
</html>