| Server IP : 77.50.203.18 / Your IP : 192.168.0.10 Web Server : Apache/2.4.62 (CentOS Stream) OpenSSL/3.5.7 mpm-itk/2.4.7-04 PHP/8.4.23 System : Linux web2 5.14.0-722.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 6 09:07:51 UTC 2026 x86_64 User : warsnews.ru ( 1001) PHP Version : 8.4.23 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/ifwar.ru/www/wp-content/plugins/clever-fox/inc/evita/sections/ |
Upload File : |
<?php
if ( ! defined( 'ABSPATH' ) ) exit;
if ( ! function_exists( 'cleverfox_evita_lite_cta' ) ) :
function cleverfox_evita_lite_cta() {
$evita_cta_hs = get_theme_mod('cta_hs','1');
$evita_cta_title = get_theme_mod('cta_title',__('Freelance Work','clever-fox'));
$evita_cta_subtitle = get_theme_mod('cta_subtitle',__('<span class="primary_color">I Am</span> Available For','clever-fox'));
$evita_cta_description = get_theme_mod('cta_description',__('There are many variations of passages of Lorem Ipsum available but the majority have suffered injected humour dummy now.','clever-fox'));
$evita_cta_btn = get_theme_mod('cta_btn_label',__('Contact Us','clever-fox'));
$evita_cta_btn_link = get_theme_mod('cta_btn_link','#');
$evita_cta_image = get_theme_mod('cta_image',CLEVERFOX_PLUGIN_URL .'/inc/evita/images/cta1.png');
if($evita_cta_hs=='1'):
?>
<!--===// start: CTA
=================================-->
<section class="section-cta home-cta">
<div class="nt-container">
<div class="nt-columns-area">
<div class="nt-column-7 nt-sm-column-6">
<div class="content-cta">
<div class="section-title">
<?php if(!empty($evita_cta_subtitle)){ ?>
<h5>
<?php echo wp_kses_post($evita_cta_subtitle); ?>
</h5>
<?php } ?>
<?php if(!empty($evita_cta_title)){ ?>
<h2>
<?php echo esc_html($evita_cta_title); ?>
</h2>
<?php } ?>
<?php if(!empty($evita_cta_description)){ ?>
<p>
<?php echo esc_html($evita_cta_description); ?>
</p>
<?php } ?>
<?php if(!empty($evita_cta_btn)){ ?>
<a href="<?php echo esc_url($evita_cta_btn_link); ?>" class="main-btn"><?php echo esc_html($evita_cta_btn); ?> <i class="fa fa-user"></i></a>
<?php } ?>
</div>
</div>
</div>
<div class="nt-column-5 nt-sm-column-6">
<?php if(!empty($evita_cta_image)){ ?>
<div class="image-side">
<div class="image-cta">
<img src="<?php echo esc_url($evita_cta_image) ?>" alt="<?php echo esc_attr__('Image','clever-fox'); ?>">
</div>
</div>
<?php } ?>
</div>
</div>
</div>
</section>
<!--===// end: CTA
=================================-->
<?php
endif; }
endif;
if ( function_exists( 'cleverfox_evita_lite_cta' ) ) {
$cleverfox_section_priority = apply_filters( 'evita_section_priority', 15, 'cleverfox_evita_lite_cta' );
add_action( 'evita_sections', 'cleverfox_evita_lite_cta', absint( $cleverfox_section_priority ) );
}