get_gallery();
$thumb_image_size = opalestate_get_option( 'opalestate_thumbnail_size', 'medium' );
$single_image_size = opalestate_get_option( 'featured_image_size', 'full' );
if ( isset( $galleries ) && $galleries ):
?>
1,
'spaceBetween' => 0,
'loop' => true,
'autoHeight' => 1,
'pagination' => 0,
'effect' => 'slide',
'breakpoints' => [ 1024 => [ "slidesPerView" => 1 ] ],
'thumbnails_nav' => "#swiper-pagination-images",
'navigation' => [
'nextEl' => '.swiper-button-next',
'prevEl' => '.swiper-button-prev',
],
];
$columns = apply_filters( 'opalestate_thumbnail_nav_column', 5 );
$datanav = [
'slidesPerView' => $columns,
'spaceBetween' => 10,
'effect' => 'slide',
'slideToClickedSlide' => true,
'touchRatio' => 0.2,
'loop' => false,
'breakpoints' => [ 1024 => [ "slidesPerView" => 5 ], 768 => [ "slidesPerView" => 3 ], 0 => [ "slidesPerView" => 3 ] ],
'navigation' => [
'nextEl' => '.swiper-button-next',
'prevEl' => '.swiper-button-prev',
],
];
?>