PluginProbe
Clever Fox / 29.4
Clever Fox v29.4
30.1 30.0 29.9 29.8 29.7 29.4 29.3 5.2 5.3 5.4 5.5 5.6 5.7 5.8 5.9 6.0 6.1 6.2 6.3 6.4 6.5 6.6 6.7 6.8 6.9 All 465 releases
clever-fox / inc / belltech / sections / section-cta.php

section-cta.php in Clever Fox 29.4, at inc/belltech/sections/section-cta.php

56 lines 2.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) exit;
3 if ( ! function_exists( 'metasoft_belltech_lite_cta' ) ) :
4 function metasoft_belltech_lite_cta() {
5 $metasoft_belltech_cta_hs = get_theme_mod('cta_hs','1');
6 $metasoft_belltech_cta_title = get_theme_mod('cta_title',__('Need Emergency <span>Plumbing Service?</span> Call us at','clever-fox'));
7 $metasoft_belltech_cta_description = get_theme_mod('cta_description',__('24 hours, 7 days a week, 365 days a year','clever-fox'));
8 $metasoft_belltech_cta_btn_lbl1 = get_theme_mod('cta_btn_lbl1',__('Contact With Us','clever-fox'));
9 $metasoft_belltech_cta_btn_link1 = get_theme_mod('cta_btn_link1');
10 $metasoft_belltech_cta_btn_second_ttl = get_theme_mod('cta_btn_second_ttl',__('or','clever-fox'));
11 $metasoft_belltech_cta_btn_lbl2 = get_theme_mod('cta_btn_lbl2',__('+1 (088) 456 888 (24/7)','clever-fox'));
12 $metasoft_belltech_cta_btn_link2 = get_theme_mod('cta_btn_link2');
13 $metasoft_belltech_cta_btn2_icon = get_theme_mod('cta_btn2_icon','fa-bell');
14 if($metasoft_belltech_cta_hs =='1'){
15 ?>
16 <!-- Call to Action Start -->
17 <section id="cta-wrapper" class="cta-wrapper home-cta home-cta-3">
18 <div id="particles-js2"></div>
19 <div class="container">
20 <div class="row">
21 <div class="col-lg-6 col-sm-12 text-lg-left text-center head">
22 <?php if ( ! empty( $metasoft_belltech_cta_title ) ) : ?>
23 <h2><?php echo wp_kses_post($metasoft_belltech_cta_title); ?></h2>
24 <?php endif; ?>
25 <?php if ( ! empty( $metasoft_belltech_cta_description ) ) : ?>
26 <p><?php echo wp_kses_post($metasoft_belltech_cta_description); ?></p>
27 <?php endif; ?>
28 </div>
29 <div class="col-lg-6 col-sm-12 text-lg-right text-center my-lg-auto mt-4">
30
31 <div class="learn-more">
32 <?php if ( ! empty( $metasoft_belltech_cta_btn2_icon ) ) : ?>
33 <div class="cta-icon-box">
34 <i class="fa <?php echo esc_attr($metasoft_belltech_cta_btn2_icon); ?>"></i>
35 </div>
36 <?php endif; ?>
37 <a href="<?php echo esc_url($metasoft_belltech_cta_btn_link2); ?>"><?php echo esc_html($metasoft_belltech_cta_btn_lbl2); ?></a>
38 <div class="or"><?php echo esc_html($metasoft_belltech_cta_btn_second_ttl); ?></div>
39 </div>
40
41 <?php if ( ! empty( $metasoft_belltech_cta_btn_lbl1 ) ) : ?>
42 <a href="<?php echo esc_url($metasoft_belltech_cta_btn_link1); ?>" class="btn btn-border-white btn-like-icon first"><?php echo esc_html($metasoft_belltech_cta_btn_lbl1); ?> <span class="bticn"><i class="fa fa-angle-right"></i></span></a>
43 <?php endif; ?>
44 </div>
45 </div>
46 </div>
47 </section>
48 <?php
49 }}
50 endif;
51 if ( function_exists( 'metasoft_belltech_lite_cta' ) ) {
52 $cleverfox_section_priority = apply_filters( 'metasoft_section_priority', 12, 'metasoft_belltech_lite_cta' );
53 add_action( 'metasoft_sections', 'metasoft_belltech_lite_cta', absint( $cleverfox_section_priority ) );
54 }
55 ?>
56 <!-- Call to Action End -->