<div class="elementpress-testimonial-slider" <?php echo \ElementPress\Utils::render($wrapper_data); ?>>
	<?php foreach ($testimonials as $testimonial): ?>
		<div class="elementpress-testimonial-inner">
			<div class="elementpress-single-testimonial-slider epress_testimonial_style_2">
				<div class="elementpress-commentor-content">
					<?php
						if (isset($testimonial['client_logo']) && sizeof($testimonial['client_logo']) > 0) {
						$clientLogo = isset($testimonial['client_logo']['url']) ? $testimonial['client_logo']['url'] : '';
						$clientLogo_hover = isset($testimonial['client_logo_active']['url']) ? $testimonial['client_logo_active']['url'] : '';
					?>
						<div class="elementpress-client_logo">
							<?php if(isset($clientLogo) && $clientLogo !=null):?>
							<?php if (isset($testimonial['client_logo_active']) && sizeof($testimonial['client_logo_active']) > 0 && $testimonial['use_hover_logo'] == 'yes') : ?>
							<img src="<?php echo esc_url($clientLogo_hover); ?>" class="elementpress-testimonial-client-active-logo" alt="<?php esc_attr_e("Client Hover Logo", "elementpress");?>">
							<?php endif; ?>
							<img src="<?php echo esc_url($clientLogo); ?>" class="elementpress-testimonial-client-logo" alt="<?php esc_attr_e("Client Logo", "elementpress");?>">
							<?php endif; ?>
						</div>
					<?php
						}
						if ( isset($testimonial['review']) && !empty($testimonial['review'])) : ?>
						<p><?php echo isset($testimonial['review']) ? esc_html($testimonial['review']) : ''; ?></p>
					<?php endif;  ?>
					<?php if ( 'yes' == $epress_testimonial_title_separetor ): ?>
						<span class="elementpress-border-hr"></span>
					<?php endif; ?>
					<span class="elementpress-profile-info">
						<strong class="elementpress-author-name"><?php echo isset($testimonial['client_name']) ? esc_html($testimonial['client_name']) : ''; ?></strong>
						<span class="elementpress-author-des"><?php echo isset($testimonial['designation']) ? esc_html($testimonial['designation']) : ''; ?></span>
					</span>
				</div>
				<?php if(isset($epress_testimonial_wartermark_enable) && $epress_testimonial_wartermark_enable == 'yes'):?>
					<div class="elementpress-watermark-icon <?php if ($epress_testimonial_wartermark_custom_position == 'yes') : ?> epress_watermark_icon_custom_position <?php endif; ?>">
						<i class="<?php esc_attr_e( isset($epress_testimonial_wartermark) ? $epress_testimonial_wartermark : 'icon icon-quote');?>"></i>
					</div>
				<?php endif;?>
			</div>
		</div>
	<?php endforeach; ?>
</div>