<?php 
$this->add_render_attribute( 'title', 'class', 'elementor-gt-heading section_title tx-split-text split-in-right' );
?>
<div class="gt-section-title-1 txt-text-anim pera-content headline prthalign">
    <?php if($settings['sub_title_show'] === 'yes'):?>
        <div class="elementor-goyto-sub subtitle cursive-font wow fadeInRight"  data-wow-delay="200ms" 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;?>    
            <?php echo wp_kses($settings['subtitle'], true);?>
        </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">
            <p><?php echo wp_kses($settings['description'], true);?></p>
        </div>
    <?php endif;?>
</div>