GhostManSec
Server: Apache
System: Linux webm019.cluster130.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: exhehbu (1008962)
PHP: 8.0.30
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/exhehbu/wp/wp-content/themes/revolution/vc_templates/thb_content_carousel.php
<?php function thb_content_carousel( $atts, $content = null ) {
	$atts = vc_map_get_attributes( 'thb_content_carousel', $atts );
	extract( $atts );

	$rand      = wp_rand( 0, 1000 );
	$i         = 0;
	$classes[] = 'row';
	$classes[] = 'thb-content-carousel thb-carousel';
	$classes[] = $thb_margins;
	$classes[] = $thb_overflow;
	$classes[] = $extra_class;
	$classes[] = 'true' === $thb_navigation ? 'center-arrows' : false;

	ob_start();

	?>
		<div class="<?php echo esc_attr( implode( ' ', $classes ) ); ?>" id="content-carousel-<?php echo esc_attr( $rand ); ?>" data-columns="<?php echo esc_attr( $thb_columns ); ?>" data-autoplay="<?php echo esc_attr( $autoplay ); ?>" data-autoplay-speed="<?php echo esc_attr( $autoplay_speed ); ?>" data-pagination="<?php echo esc_attr( $thb_pagination ); ?>" data-infinite="false" data-navigation="<?php echo esc_attr( $thb_navigation ); ?>">
			<?php echo do_shortcode( $content ); ?>
		</div>

	<?php

	$out = ob_get_clean();

	wp_reset_query();
	wp_reset_postdata();

	return $out;
}
thb_add_short( 'thb_content_carousel', 'thb_content_carousel' );