Guest User

Untitled

a guest
Feb 20th, 2021
36
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. $consultstreet_cta_disabled = get_theme_mod('consultstreet_cta_disabled', true);
  3. $consultstreet_cta_area_subtitle = get_theme_mod('consultstreet_cta_area_subtitle', 'Do you have any questions?');
  4. $consultstreet_cta_area_des = get_theme_mod('consultstreet_cta_area_des', 'How can we help your business? Because many people love our free consultation for growing their businesses which gives the user complete freedom to set up a business.');
  5. $consultstreet_cta_button_text = get_theme_mod('consultstreet_cta_button_text', 'Contact Us');
  6. $consultstreet_cta_button_link = get_theme_mod('consultstreet_cta_button_link', '#');
  7. $consultstreet_cta_open_new_tab_disabled = get_theme_mod('consultstreet_cta_open_new_tab_disabled', true);
  8. $consultstreet_cta_front_container_size = get_theme_mod('consultstreet_cta_front_container_size', 'container');
  9. $consultstreet_cta_area_before_content = get_theme_mod('consultstreet_cta_area_before_content');
  10. $consultstreet_cta_area_after_content = get_theme_mod('consultstreet_cta_area_after_content');
  11. if($consultstreet_cta_area_before_content != null):
  12. echo do_shortcode($consultstreet_cta_area_before_content);
  13. endif;
  14. if($consultstreet_cta_disabled == true): ?>
  15. <!--Call to Action Section-->
  16. <section class="theme-cta" id="theme-cta">
  17. <div class="theme-cta-overlay"></div>
  18.  
  19. <div class="<?php echo $consultstreet_cta_front_container_size; ?>">
  20. <div class="row">
  21.  
  22. <div class="col-lg-12 col-md-12 col-sm-12">
  23. <div class="cta-block text-center">
  24. <?php if($consultstreet_cta_area_subtitle != null): ?>
  25. <h2 class="title text-white"><?php echo $consultstreet_cta_area_subtitle; ?></h2>
  26. <?php endif; ?>
  27. <?php if($consultstreet_cta_area_des != null): ?>
  28. <p class="text-white"><?php echo $consultstreet_cta_area_des; ?></p>
  29. <?php endif; ?>
  30. <?php if($consultstreet_cta_button_text != null): ?>
  31. <div class="mx-auto mt-3">
  32. <?php echo do_shortcode($consultstreet_cta_button_text); ?>
  33. </div>
  34. <?php endif; ?>
  35. </div>
  36. </div>
  37.  
  38. </div>
  39. </div>
  40. </section>
  41. <!--/End of Call to Action Section-->
  42. <?php endif;
  43. if($consultstreet_cta_area_after_content != null):
  44. echo do_shortcode($consultstreet_cta_area_after_content);
  45. endif;
  46. ?>
RAW Paste Data