HEX
Server: Apache/2.4.65 (Debian)
System: Linux wordpress-7cb4c6b6f6-qgbk2 5.15.0-131-generic #141-Ubuntu SMP Fri Jan 10 21:18:28 UTC 2025 x86_64
User: www-data (33)
PHP: 8.3.27
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/jet-elements/templates/jet-carousel/global/index.php
<?php
/**
 * Advanced carousel template
 */
$layout      = $this->get_settings_for_display( 'item_layout' );
$equal_cols  = $this->get_settings_for_display( 'equal_height_cols' );
$cols_class  = ( 'true' === $equal_cols ) ? ' jet-equal-cols' : '';
$items_order = $this->get_settings_for_display( 'items_order' );

?><div class="jet-carousel-wrap<?php echo esc_attr( $cols_class ); ?>">
	<?php
		if ( isset( $items_order ) && 'true' === $items_order ) {
			$this->_get_global_looped_template( esc_attr( $layout ) . '/items', 'items_list', array( $this, '_random_items_order' ) ); 
		} else {
			$this->_get_global_looped_template( esc_attr( $layout ) . '/items', 'items_list' ); 
		}
	?>
</div>