PluginProbe
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News / 4.0.4
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News v4.0.4
4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 2.3.5 2.3.6 2.4.0 2.4.1 2.4.10 2.4.11 2.4.12 2.4.13 2.4.14 2.4.15 2.4.16 2.4.17 2.4.18 2.4.19 2.4.2 2.4.20 2.4.21 All 88 releases
post-carousel / blocks / includes / column / attributes.php

attributes.php in Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News 4.0.4, at blocks/includes/column/attributes.php

258 lines 5.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Container column block attributes file for Smart Post Show Blocks.
4 *
5 * @package Smart_Post_Show_Pro
6 * @subpackage Smart_Post_Show_Pro/blocks/includes
7 */
8
9 if ( ! defined( 'ABSPATH' ) ) {
10 exit;
11 }
12
13 return array(
14 'uniqueId' => array(
15 'type' => 'string',
16 'default' => '',
17 ),
18 'innerBlockId' => array(
19 'type' => 'string',
20 'default' => '',
21 ),
22 'blockClientId' => array(
23 'type' => 'string',
24 'default' => '',
25 ),
26 'dynamicCss' => array(
27 'type' => 'string',
28 ),
29 'columnWidth' => array(
30 'type' => 'object',
31 'default' => array(
32 'device' => array(
33 'Desktop' => '',
34 'Tablet' => '',
35 'Mobile' => '',
36 ),
37 'unit' => array(
38 'Desktop' => '%',
39 'Tablet' => '%',
40 'Mobile' => '%',
41 ),
42 ),
43 ),
44 'columnBg' => array(
45 'type' => 'object',
46 'default' => array(
47 'color' => array(
48 'style' => 'bgColor',
49 'solidColor' => '',
50 'gradient' => '',
51 ),
52 'hover' => array(
53 'style' => '',
54 'solidColor' => '',
55 'gradient' => '',
56 ),
57 ),
58 ),
59 'columnBgImage' => array(
60 'type' => 'object',
61 'default' => array(),
62 ),
63 'columnBgImageHover' => array(
64 'type' => 'object',
65 'default' => array(),
66 ),
67 'columnBgVideo' => array(
68 'type' => 'object',
69 'default' => array(),
70 ),
71 'columnOverlayType' => array(
72 'type' => 'string',
73 'default' => 'no-overlay',
74 ),
75 'columnOverlayBg' => array(
76 'type' => 'object',
77 'default' => array(
78 'color' => array(
79 'style' => 'bgColor',
80 'solidColor' => '#1E1E1E',
81 'gradient' => '',
82 ),
83 'hover' => array(
84 'style' => 'bgColor',
85 'solidColor' => '',
86 'gradient' => '',
87 ),
88 ),
89 ),
90 'columnOverlayOpacity' => $this->ranger_attribute( 50, 50, 50, '%' ),
91 'columnOverlayBlandMode' => array(
92 'type' => 'string',
93 'default' => 'normal',
94 ),
95 'columnOverlayTypeHover' => array(
96 'type' => 'string',
97 'default' => 'no-overlay',
98 ),
99 'columnOverlayOpacityHover' => $this->ranger_attribute( 50, 50, 50, '%' ),
100 'columnOverlayBlandModeHover' => array(
101 'type' => 'string',
102 'default' => 'normal',
103 ),
104 'columnBorder' => array(
105 'type' => 'object',
106 'default' => array(
107 'style' => 'none',
108 'hoverStyle' => '',
109 'color' => '#E0E0E0',
110 'hoverColor' => '',
111 ),
112 ),
113 'columnBorderWidth' => $this->spacing_attribute( '', '', '', '', 'px', true ),
114 'columnBorderWidthHover' => $this->spacing_attribute( '', '', '', '', 'px', true ),
115 'columnBorderRadius' => $this->spacing_attribute( '', '', '', '', 'px', true ),
116 'columnBorderRadiusHover' => $this->spacing_attribute( '', '', '', '', 'px', true ),
117 'columnBoxShadowEnable' => array(
118 'type' => 'boolean',
119 'default' => false,
120 ),
121 'columnBoxShadow' => array(
122 'type' => 'object',
123 'default' => array(
124 'value' => array(
125 'top' => '',
126 'right' => '',
127 'bottom' => '',
128 'left' => '',
129 ),
130 'unit' => 'outset',
131 'color' => '#ddd',
132 'selectDefault' => 'var(--smart-post-shadow-medium-4dp)',
133 ),
134 ),
135 'columnBoxShadowEnableHover' => array(
136 'type' => 'boolean',
137 'default' => false,
138 ),
139 'columnBoxShadowHover' => array(
140 'type' => 'object',
141 'default' => array(
142 'value' => array(
143 'top' => '',
144 'right' => '',
145 'bottom' => '',
146 'left' => '',
147 ),
148 'unit' => 'outset',
149 'color' => '#ddd',
150 'selectDefault' => 'var(--smart-post-shadow-medium-4dp)',
151 ),
152 ),
153 'columnPadding' => $this->spacing_attribute( 0, 0, 0, 0, 'px', false ),
154 'columnMargin' => $this->spacing_attribute( 0, 0, 0, 0, 'px', false ),
155 'columnZIndex' => array(
156 'type' => 'number',
157 'default' => '',
158 ),
159 'columnWrapperLink' => array(
160 'type' => 'boolean',
161 'default' => false,
162 ),
163 'columnWrapperLinkUrl' => array(
164 'type' => 'string',
165 'default' => '',
166 ),
167 'columnWrapperLinkNewTab' => array(
168 'type' => 'boolean',
169 'default' => false,
170 ),
171 'columnVisibilityHideDesktop' => array(
172 'type' => 'boolean',
173 'default' => false,
174 ),
175 'columnVisibilityHideTablet' => array(
176 'type' => 'boolean',
177 'default' => false,
178 ),
179 'columnVisibilityHideMobile' => array(
180 'type' => 'boolean',
181 'default' => false,
182 ),
183 'columnAdditionalID' => array(
184 'type' => 'string',
185 'default' => '',
186 ),
187 'columnAdditionalClass' => array(
188 'type' => 'string',
189 'default' => '',
190 ),
191 'customCss' => array(
192 'type' => 'string',
193 'default' => '',
194 ),
195 'tempColumnWidth' => array(
196 'type' => 'object',
197 'default' => array(
198 'px' => 0,
199 'pct' => 0,
200 ),
201 ),
202 'parentTempResizeWidth' => array(
203 'type' => 'boolean',
204 'default' => false,
205 ),
206 // 'lock' => array(
207 // 'type' => 'object',
208 // 'default' => array(
209 // 'remove' => true,
210 // 'move' => false,
211 // ),
212 // ),
213 'globalBreakPointData' => array(
214 'type' => 'object',
215 'default' => array(),
216 ),
217 'parentColumnGap' => array(
218 'type' => 'object',
219 'default' => array(
220 'device' => array(
221 'Desktop' => '',
222 'Tablet' => '',
223 'Mobile' => '',
224 ),
225 'unit' => array(
226 'Desktop' => 'px',
227 'Tablet' => 'px',
228 'Mobile' => 'px',
229 ),
230 ),
231 ),
232 'reduceColWidth' => array(
233 'type' => 'object',
234 'default' => array(
235 'device' => array(
236 'Desktop' => '',
237 'Tablet' => '',
238 'Mobile' => '',
239 ),
240 'unit' => array(
241 'Desktop' => 'px',
242 'Tablet' => 'px',
243 'Mobile' => 'px',
244 ),
245 ),
246 ),
247 'parentContainerFlexDirection' => array(
248 'type' => 'object',
249 'default' => array(
250 'device' => array(
251 'Desktop' => '',
252 'Tablet' => '',
253 'Mobile' => '',
254 ),
255 ),
256 ),
257 );
258