array( 'backIcon' => brandy_swiper_navigation_icon(), 'nextIcon' => brandy_swiper_navigation_icon( 'next' ), 'data' => array( 'a11y' => array( 'slideRole' => null, 'containerRole' => null, ), 'direction' => 'horizontal', 'spaceBetween' => 30, 'breakpoints' => array( '1200' => array( 'slidesPerView' => 4, ), '800' => array( 'slidesPerView' => 3, ), '600' => array( 'slidesPerView' => 2, ), '400' => array( 'slidesPerView' => 1, ), ), ), ), ); return $data; } public function enqueue_scripts() { wp_enqueue_script( 'brandy/wp-post-template', BRANDY_TEMPLATE_URL . '/inc/Blocks/Assets/post-template.js', array( 'jquery' ), BRANDY_SCRIPT_VERSION, true ); } }