<?php if( $subtitle_text != '' ): ?>
	<?php if( $animation_effect != '' ): ?>
		<<?php echo esc_attr( $subtitle_tag ); ?> class="subtitle wow <?php echo esc_attr( $animation_effect ); ?>" style="<?php echo esc_attr( $subtitle_color ); ?>" data-wow-delay="<?php echo esc_attr( $animation_duration ); ?>"><?php echo wp_kses_post( $subtitle_text ); ?></<?php echo esc_attr( $subtitle_tag ); ?>>
	<?php else: ?>
		<<?php echo esc_attr( $subtitle_tag ); ?> class="subtitle" style="<?php echo esc_attr( $subtitle_color ); ?>"><?php echo wp_kses_post( $subtitle_text ); ?></<?php echo esc_attr( $subtitle_tag ); ?>>
	<?php endif; ?>
<?php endif; ?>