Your IP : 216.73.216.5


Current Path : /home/theafprt/khurram.com/wp-content/themes/petrix/template-parts/
Upload File :
Current File : /home/theafprt/khurram.com/wp-content/themes/petrix/template-parts/footer.php

<?php $footer_switch = get_theme_mod('footer_switch', true) ?>
<?php $copyright_switch = get_theme_mod('copyright_switch', true) ?>
<?php $copyright_social_switch = get_theme_mod('copyright_social_switch', true) ?>
<?php $footer_info_switch = get_theme_mod('footer_info_switch', true) ?>
<?php $copyright_text = get_theme_mod('copyright_text', "Copyright © 2024 Petrix. All rights reserved.") ?>
<?php $copyright_menu_select = get_theme_mod('copyright_menu_select', "") ?>
<?php $footer_social_icon_repeate = get_theme_mod('footer_social_icon_repeate', []) ?>
<?php $info_repeate = get_theme_mod('info_repeate', []) ?>

<?php if (!empty($footer_switch)) : ?>
     <footer style="background: url(images/golden_bg.jpg)" id="footer">
          <?php if (!empty($footer_info_switch)) : ?>
               <div class="footer_heading">
                    <div class="container">
                         <ul class="m-0 p-0">
                              <?php foreach ($info_repeate as $item) : ?>
                                   <li class="mb-0 ">
                                        <a class="mb-0" href="<?php print esc_url($item['info_link']) ?>"><?php echo petrix_kses($item['info_title']) ?></a>
                                   </li>
                              <?php endforeach; ?>
                         </ul>
                    </div>
               </div>
          <?php endif ?>
          <?php if (!empty($copyright_social_switch)) : ?>
               <div class="footer_link">
                    <div class="container">
                         <ul class="ps-0">
                              <?php foreach ($footer_social_icon_repeate as $item) : ?>
                                   <li class="fade_bottom" data-trigerId="footer">
                                        <a class="mb-0" href="<?php print esc_url($item['social_link']) ?>" data-cursor='<i class="<?php echo esc_attr($item['social_icon'])  ?>"></i>'><?php echo petrix_kses($item['social_title']) ?></a>
                                   </li>
                              <?php endforeach; ?>
                         </ul>
                    </div>
               </div>
          <?php endif ?>
          <?php if (!empty($footer_switch)) : ?>
               <div class="footer_copyright">
                    <div class="container">
                         <div class="footer_copyright_text">
                              <p class="mb-0"><?php echo petrix_kses($copyright_text) ?></p>
                              <?php if (!empty($copyright_menu_select)) : ?>
                                   <?php wp_nav_menu(array(
                                        'menu' => $copyright_menu_select,
                                        'menu_class'      => 'm-0 p-0',
                                        'add_a_class'     => 'text_hover_animaiton',
                                   )); ?>
                              <?php endif ?>
                              <a class="scroll_button" href="#"><i class="fa-light fa-arrow-up"></i></a>
                         </div>
                    </div>
               </div>
          <?php endif ?>
     </footer>
<?php endif ?>