PluginProbe
GutSlider – All in One Slider and Carousel Blocks for Gutenberg / trunk
GutSlider – All in One Slider and Carousel Blocks for Gutenberg vtrunk
3.1.0 3.0.0 2.13.2 2.13.1 2.13.0 trunk 1.0.0 2.1.0 2.10.0 2.10.1 2.11.0 2.11.1 2.11.2 2.11.3 2.11.4 2.12.0 2.2.1 2.2.2 2.3.0 2.4.0 2.5.1 2.5.3 2.5.4 2.5.5 2.6.1 All 56 releases
slider-blocks / includes / Api / blocks.php

blocks.php in GutSlider – All in One Slider and Carousel Blocks for Gutenberg trunk, at includes/Api/blocks.php

216 lines 7.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Default block definitions for GutSlider.
4 *
5 * Returns the complete list of available slider blocks with their
6 * metadata. This file is used by both the API and block registration
7 * systems to determine which blocks are available.
8 *
9 * @package GutSlider\Api
10 * @since 1.0.0
11 *
12 * @return array<int, array<string, mixed>> Array of block definition arrays.
13 */
14
15 if ( ! defined( 'ABSPATH' ) ) {
16 exit;
17 }
18
19 return apply_filters(
20 'gutslider_blocks',
21 array(
22 array(
23 'name' => 'content-slider',
24 'title' => __( 'Static', 'slider-blocks' ),
25 'description' => __( 'Create slider with static content like Image, text, button.', 'slider-blocks' ),
26 'is_pro' => false,
27 'demo_slug' => 'static',
28 'active' => true,
29 ),
30 array(
31 'name' => 'marquee',
32 'title' => __( 'Marquee', 'slider-blocks' ),
33 'description' => __( 'Create amazing marquee with any type of content.', 'slider-blocks' ),
34 'is_pro' => false,
35 'demo_slug' => 'marquee',
36 'active' => true,
37 ),
38 array(
39 'name' => 'any-content',
40 'title' => __( 'Flexible', 'slider-blocks' ),
41 'description' => __( 'Create slider with any type of content.', 'slider-blocks' ),
42 'is_pro' => false,
43 'demo_slug' => 'flexible',
44 'active' => true,
45 ),
46 array(
47 'name' => 'testimonial-slider',
48 'title' => __( 'Testimonial', 'slider-blocks' ),
49 'description' => __( 'Create amazing testimonial slider.', 'slider-blocks' ),
50 'is_pro' => false,
51 'demo_slug' => 'testimonial',
52 'active' => true,
53 ),
54 array(
55 'name' => 'photo-carousel',
56 'title' => __( 'Photo Carousel', 'slider-blocks' ),
57 'description' => __( 'Create amazing photos carousel with lightbox.', 'slider-blocks' ),
58 'is_pro' => false,
59 'demo_slug' => 'photo',
60 'active' => true,
61 ),
62 array(
63 'name' => 'logo-carousel',
64 'title' => __( 'Brand Logos', 'slider-blocks' ),
65 'description' => __( 'Create clients logos carousel with amazing styles.', 'slider-blocks' ),
66 'is_pro' => false,
67 'demo_slug' => 'brand-logos',
68 'active' => true,
69 ),
70 array(
71 'name' => 'before-after',
72 'title' => __( 'Before After', 'slider-blocks' ),
73 'description' => __( 'Create photos comparision before after slider.', 'slider-blocks' ),
74 'is_pro' => false,
75 'demo_slug' => 'before-after',
76 'active' => true,
77 ),
78 array(
79 'name' => 'videos-carousel',
80 'title' => __( 'Videos', 'slider-blocks' ),
81 'description' => __( 'Create videos carousel from video sharing platform e.g YouTube', 'slider-blocks' ),
82 'is_pro' => false,
83 'demo_slug' => 'videos',
84 'active' => true,
85 ),
86 array(
87 'name' => 'post-slider',
88 'title' => __( 'Blog Post', 'slider-blocks' ),
89 'description' => __( 'Create dynamic content slider or carousel using blog posts.', 'slider-blocks' ),
90 'is_pro' => false,
91 'demo_slug' => 'post-slider',
92 'active' => true,
93 ),
94 array(
95 'name' => 'shader-slider',
96 'title' => __( 'Shader Slider', 'slider-blocks' ),
97 'description' => __( 'Interactive shader slider for static and dynamic content.', 'slider-blocks' ),
98 'is_pro' => true,
99 'demo_slug' => 'shader-slider',
100 'active' => true,
101 ),
102 array(
103 'name' => 'shutters-slider',
104 'title' => __( 'Shutters Slider', 'slider-blocks' ),
105 'description' => __( 'Interactive shutters slider for static and dynamic content.', 'slider-blocks' ),
106 'is_pro' => true,
107 'demo_slug' => 'shutters-slider',
108 'active' => true,
109 ),
110 array(
111 'name' => 'slicer-slider',
112 'title' => __( 'Slicer Slider', 'slider-blocks' ),
113 'description' => __( 'Interactive slicer slider for static and dynamic content.', 'slider-blocks' ),
114 'is_pro' => true,
115 'demo_slug' => 'slicer-slider',
116 'active' => true,
117 ),
118 array(
119 'name' => 'fashion-slider',
120 'title' => __( 'Fashion Slider', 'slider-blocks' ),
121 'description' => __( 'Interactive fashion slider for static and dynamic content.', 'slider-blocks' ),
122 'is_pro' => true,
123 'demo_slug' => 'fashion-slider',
124 'active' => true,
125 ),
126 array(
127 'name' => 'triple-slider',
128 'title' => __( 'Triple Slider', 'slider-blocks' ),
129 'description' => __( 'Interactive triple slider for static and dynamic content.', 'slider-blocks' ),
130 'is_pro' => true,
131 'demo_slug' => 'triple-slider',
132 'active' => true,
133 ),
134 array(
135 'name' => 'spring-carousel',
136 'title' => __( 'Spring Carousel', 'slider-blocks' ),
137 'description' => __( 'Interactive spring carousel for static and dynamic content.', 'slider-blocks' ),
138 'is_pro' => true,
139 'demo_slug' => 'spring-carousel',
140 'active' => true,
141 ),
142 array(
143 'name' => 'panorama-carousel',
144 'title' => __( 'Panorama Carousel', 'slider-blocks' ),
145 'description' => __( 'Interactive panorama carousel for static and dynamic content.', 'slider-blocks' ),
146 'is_pro' => true,
147 'demo_slug' => 'panorama-carousel',
148 'active' => true,
149 ),
150 array(
151 'name' => 'three-d-carousel',
152 'title' => __( '3D Carousel', 'slider-blocks' ),
153 'description' => __( 'Interactive 3D carousel for static and dynamic content.', 'slider-blocks' ),
154 'is_pro' => true,
155 'demo_slug' => '3d-carousel',
156 'active' => true,
157 ),
158 array(
159 'name' => 'card-slider',
160 'title' => __( 'Card Slider', 'slider-blocks' ),
161 'description' => __( 'Interactive card slider for static and dynamic content.', 'slider-blocks' ),
162 'is_pro' => true,
163 'demo_slug' => 'card-slider',
164 'active' => true,
165 ),
166 array(
167 'name' => 'marquee-carousel',
168 'title' => __( 'Marquee Carousel', 'slider-blocks' ),
169 'description' => __( 'Interactive marquee carousel for static and dynamic content.', 'slider-blocks' ),
170 'is_pro' => true,
171 'demo_slug' => 'marquee-carousel',
172 'active' => true,
173 ),
174 array(
175 'name' => 'material-carousel',
176 'title' => __( 'Material Carousel', 'slider-blocks' ),
177 'description' => __( 'Interactive material carousel for static and dynamic content.', 'slider-blocks' ),
178 'is_pro' => true,
179 'demo_slug' => 'material',
180 'active' => true,
181 ),
182 array(
183 'name' => 'tinder-slider',
184 'title' => __( 'Tinder Slider', 'slider-blocks' ),
185 'description' => __( 'Interactive tinder slider for static and dynamic content.', 'slider-blocks' ),
186 'is_pro' => true,
187 'demo_slug' => 'tinder-slider',
188 'active' => true,
189 ),
190 array(
191 'name' => 'hover-slider',
192 'title' => __( 'Hover Slider', 'slider-blocks' ),
193 'description' => __( 'Interactive hover slider for static and dynamic content.', 'slider-blocks' ),
194 'is_pro' => true,
195 'demo_slug' => 'hover-slider',
196 'active' => true,
197 ),
198 array(
199 'name' => 'product-carousel',
200 'title' => __( 'Woo Product Carousel', 'slider-blocks' ),
201 'description' => __( 'Showcase WooCommerce products in a responsive carousel.', 'slider-blocks' ),
202 'is_pro' => true,
203 'demo_slug' => 'product-carousel',
204 'active' => true,
205 ),
206 array(
207 'name' => 'product-categories-carousel',
208 'title' => __( 'Woo Categories Carousel', 'slider-blocks' ),
209 'description' => __( 'Showcase WooCommerce product categories in a responsive carousel.', 'slider-blocks' ),
210 'is_pro' => true,
211 'demo_slug' => 'product-categories-carousel',
212 'active' => true,
213 ),
214 )
215 );
216