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/contact.php

<?php $subscribe_switch = get_theme_mod('subscribe_switch', true) ?>
<?php $subscribe_title = get_theme_mod('subscribe_title', "Do you have a question, an idea, or a project you need help with? Contact us!") ?>
<?php $subscribe_marquee = get_theme_mod('subscribe_marquee', "LET'S TALK") ?>
<?php $contact_btn_link_select = get_theme_mod('contact_btn_link_select', "on") ?>
<?php $contact_btn_pages = get_theme_mod('header_btn_pages', "") ?>
<?php $contact_btn_url = get_theme_mod('contact_btn_url', "") ?>
<?php $contact_btn_text = get_theme_mod('contact_btn_text', "Contact Form") ?>



<?php $is_it_invisible_subscribe_section  = function_exists('get_field') ? get_field("is_it_invisible_subscribe_section") : ""; ?>

<?php if (!empty($subscribe_switch)) : ?>
     <?php if ($is_it_invisible_subscribe_section !== true) : ?>
          <section class="contact_box pb_120 xs_pb_80">
               <div class="section_heading section_heading_2">
                    <div class="container-fluid">
                         <h2>
                              <?php echo petrix_kses($subscribe_marquee) ?> <span><?php echo petrix_kses($subscribe_marquee) ?></span> <?php echo petrix_kses($subscribe_marquee) ?>
                              <span><?php echo petrix_kses($subscribe_marquee) ?></span>
                         </h2>
                    </div>
               </div>
               <div class="container mt_105 xs_mt_65">
                    <div class="row">
                         <div class="col-xl-10 m-auto">
                              <div class="contact_box_text">
                                   <h2 class="has-animation">
                                        <?php echo petrix_kses($subscribe_title) ?>
                                   </h2>
                                   <?php if ($contact_btn_link_select !== 'off') : ?>
                                        <?php if ($contact_btn_link_select !== 'url') : ?>
                                             <a href="<?php echo esc_url(get_permalink($contact_btn_url)) ?>" class="btn_hover contact_btn">
                                                  <?php echo petrix_kses($contact_btn_text) ?>
                                             </a>
                                        <?php else : ?>
                                             <a href="<?php echo esc_url($contact_btn_url) ?>" class="btn_hover contact_btn">
                                                  <?php echo petrix_kses($contact_btn_text) ?>
                                             </a>
                                        <?php endif ?>
                                   <?php endif ?>
                              </div>
                         </div>
                    </div>
               </div>
          </section>
     <?php endif ?>
<?php endif ?>