get_gallery(); $image_size = opalestate_get_option( 'opalestate_thumbnail_size' ); if ( ! empty( $galleries ) && isset( $galleries ) ): ?> 1, 'spaceBetween' => 0, 'effect' => 'fade', 'loop' => true, 'pagination' => 0, 'breakpoints' => [ 1024 => [ "slidesPerView" => 1 ] ], ]; $columns = apply_filters( 'opalestate_thumbnail_nav_column', 5 ); $src = wp_get_attachment_url( get_post_thumbnail_id() ); $show = 9; $items = array_chunk( $galleries, $show ); if ( count( $items[0] ) < $show ) { for ( $i = count( $items[0] ); $i < $show; $i++ ) { $items[0][ $i ] = 'none'; } $hasMore = false; } else { $hasMore = true; } // echo '
' . print_r( $items,1 );die;
		?>