Server : LiteSpeed System : Linux webbox1.ncrdns.net 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64 User : rahcos ( 1533) PHP Version : 8.4.23 Disable Function : NONE Directory : /home/rahcos/.trash/wp-content/themes/hara/elementor_templates/ |
<?php
/**
* Templates Name: Elementor
* Widget: Testimonials
*/
extract($settings);
if (empty($testimonials) || !is_array($testimonials)) {
return;
}
$this->add_render_attribute('item', 'class', 'item');
$this->add_render_attribute('wrapper', 'class', $layout_style);
$this->settings_layout();
?>
<div <?php echo $this->get_render_attribute_string('wrapper'); ?>>
<?php $this->render_element_heading(); ?>
<div <?php echo $this->get_render_attribute_string('row'); ?>>
<?php foreach ($testimonials as $item) : ?>
<div <?php echo $this->get_render_attribute_string('item'); ?>>
<?php
switch ($layout_style) {
case 'style1':
$this->render_item_style1($item);
break;
case 'style2':
$this->render_item_style2($item);
break;
case 'style3':
$this->render_item_style3($item);
break;
default:
$this->render_item_style1($item);
break;
}
?>
</div>
<?php endforeach; ?>
</div>
</div>