<div class="testimonial-content">
    <div class="meta">
        <?php if ( $settings['show_avt'] == 'yes' ): ?>
            <div class="avatar"><img src="<?php echo esc_attr($carousel['avatar']['url']); ?>" alt="image"></div>
        <?php endif; ?>
        <div class="meta-text">
            <?php if ( $settings['show_name'] == 'yes' ): ?>
                <div class="name"><?php echo esc_attr($carousel['name']); ?></div>
            <?php endif; ?>
            <?php if ( $settings['show_position'] == 'yes' ): ?>
                <div class="position"><?php echo esc_attr($carousel['position']); ?></div>
            <?php endif; ?>
        </div>
    </div>
    <?php if ( $settings['show_content'] == 'yes' ): ?>
        <div class="description"><?php echo sprintf( '%1$s', $carousel['description'] ); ?></div>
    <?php endif; ?>
</div>