<?php

if ( ! defined( 'ABSPATH' ) ) {
	// Exit if accessed directly.
	exit;
}

if ( ! empty( $item_author ) ) {
	?>
	<div class="qodef-e-author">
		<<?php echo qi_addons_for_elementor_framework_sanitize_tags( $item_author_tag ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> class="qodef-e-author-name"><?php echo esc_html( $item_author ); ?></<?php echo qi_addons_for_elementor_framework_sanitize_tags( $item_author_tag ); ?>>
		<?php if ( ! empty( $item_author_occupation ) ) { ?>
			<span class="qodef-e-author-job"><?php echo esc_html( $item_author_occupation ); ?></span>
		<?php } ?>
	</div>
<?php } ?>
