<?php 
    $this->add_render_attribute( 'title', 'class', 'elementor-gt-heading section_title tx-split-text split-in-right' );
?>
<div class="gt-section-title-2 headline pera-content prthalign">
    <?php if($settings['sub_title_show'] === 'yes'):?>
        <div class="subtitle d-inline-block cursive-font-2 text-uppercase wow fadeInRight"  data-wow-delay="300ms" data-wow-duration="1000ms">
            <?php if(!empty($settings['title_shape']['url'])):?>
                <img src="<?php echo esc_url($settings['title_shape']['url']);?>" alt="<?php if(!empty($settings['title_shape']['alt'])){ echo esc_attr($settings['title_shape']['alt']);}?>"> 
            <?php endif;?>  
            <span><?php echo wp_kses($settings['subtitle'], true);?></span>
            <?php if(!empty($settings['title_shape']['url'])):?>
                <img src="<?php echo esc_url($settings['title_shape']['url']);?>" alt="<?php if(!empty($settings['title_shape']['alt'])){ echo esc_attr($settings['title_shape']['alt']);}?>"> 
            <?php endif;?>  
        </div>
    <?php endif;?>
    <?php printf('<%1$s %2$s>%3$s</%1$s>',
        tag_escape($settings['title_tag']),
        $this->get_render_attribute_string('title'),
        $settings['title']
    ); ?>
    <?php if($settings['desc_show'] === 'yes'):?>
        <div class="elementor-gt-desc">
            <?php echo wpautop($settings['description']);?>
        </div>
    <?php endif;?>
</div>