<?php
/*
Theme Name: Parsa
Author: Mihancode
Description: Online teaching and Sale course with WooCommerce.
Version: 1.1.0
Tags: teaching, study, studying, classes, courses, education, education center, learning center, tutoring, learning, lessons, instructor, teacher, mentor
Text Domain: Parsa
*/
defined( 'ABSPATH' ) || exit;
global $parsa_opt;

 if ($parsa_opt['active_elementor_footer']) {
  get_template_part('template/footers/elementor-footer');
} else {


$footer_template = 'parsa-' . $parsa_opt['footer-template'];
get_template_part( "template/footers/$footer_template" );
 }
 wp_footer();
?>


</body>
</html>
<?php if ($parsa_opt['contact_sticky']) { ?>
  <?php include_once 'inc/popup-contact-form.php'; ?>
<div class="fixed-contact-button">
    <a class="btn_contact"><i class="fas fa-<?php echo $parsa_opt['icon_contact_sticky']; ?>"></i></a> 
</div>
<?php } ?>

<?php if (!$parsa_opt['contact_sticky']) { ?>
<style>
  #parsaChatBtn {bottom: 35px;}
</style>
<?php } ?>

<?php if ($parsa_opt['floating_notification']) { ?>
<?php include_once 'inc/floating-notification.php'; ?>
<?php } ?>

<?php if ($parsa_opt['floating_chat']) { ?>
<?php include_once 'inc/floating-chat.php'; ?>
<?php } ?>

<?php if ($parsa_opt['active_mobile_toolbar']) { ?>
<?php if (class_exists('WooCommerce') && !is_product() ) { ?>
<?php include_once 'inc/mobile-toolbar.php'; ?>
<?php }} ?>

<?php if ($parsa_opt['backtotop_sticky']) { ?>
<button id="backToTop" title="بازگشت به بالا"><i class="fal fa-angle-up"></i></button>
<?php } ?>