Version Description
- Fixed - The taxonomy filter not reflecting custom taxonomies in grid widget.
- Fixed - The taxonomy list in posts carousel not displaying custom taxonomies.
Download this release
Release Info
Developer | livemesh |
Plugin | Livemesh SiteOrigin Widgets |
Version | 1.4.7 |
Comparing to | |
See all releases |
Code changes from version 1.4.6 to 1.4.7
admin/views/documentation.php
CHANGED
@@ -1274,6 +1274,13 @@ else {
|
|
1274 |
<!-- Updates panel -->
|
1275 |
<div id="updates-panel" class="panel-left">
|
1276 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1277 |
<h4>1.4.6</h4>
|
1278 |
|
1279 |
<ul>
|
1274 |
<!-- Updates panel -->
|
1275 |
<div id="updates-panel" class="panel-left">
|
1276 |
|
1277 |
+
<h4>1.4.7</h4>
|
1278 |
+
|
1279 |
+
<ul>
|
1280 |
+
<li>Fixed - The taxonomy filter not reflecting custom taxonomies in grid widget.</li>
|
1281 |
+
<li>Fixed - The taxonomy list in posts carousel not displaying custom taxonomies.</li>
|
1282 |
+
</ul>
|
1283 |
+
|
1284 |
<h4>1.4.6</h4>
|
1285 |
|
1286 |
<ul>
|
includes/widgets/lsow-portfolio-widget/lsow-portfolio-widget.php
CHANGED
@@ -19,6 +19,69 @@ class LSOW_Portfolio_Widget extends SiteOrigin_Widget {
|
|
19 |
'help' => LSOW_PLUGIN_HELP_URL. '#grid-widget'
|
20 |
),
|
21 |
array(),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
array(
|
23 |
'title' => array(
|
24 |
'type' => 'text',
|
@@ -182,64 +245,8 @@ class LSOW_Portfolio_Widget extends SiteOrigin_Widget {
|
|
182 |
),
|
183 |
)
|
184 |
),
|
185 |
-
)
|
186 |
-
);
|
187 |
-
}
|
188 |
-
|
189 |
-
function initialize() {
|
190 |
-
|
191 |
-
$this->register_frontend_scripts(
|
192 |
-
array(
|
193 |
-
array(
|
194 |
-
'lsow-isotope',
|
195 |
-
LSOW_PLUGIN_URL . 'assets/js/isotope.pkgd' . LSOW_JS_SUFFIX . '.js',
|
196 |
-
array('jquery'),
|
197 |
-
LSOW_VERSION
|
198 |
-
),
|
199 |
-
array(
|
200 |
-
'lsow-imagesloaded',
|
201 |
-
LSOW_PLUGIN_URL . 'assets/js/imagesloaded.pkgd' . LSOW_JS_SUFFIX . '.js',
|
202 |
-
array('jquery'),
|
203 |
-
LSOW_VERSION
|
204 |
-
),
|
205 |
-
)
|
206 |
-
);
|
207 |
-
|
208 |
-
$this->register_frontend_styles(
|
209 |
-
array(
|
210 |
-
|
211 |
-
array(
|
212 |
-
'lsow-frontend-styles',
|
213 |
-
LSOW_PLUGIN_URL . 'assets/css/lsow-frontend.css',
|
214 |
-
array(),
|
215 |
-
LSOW_VERSION
|
216 |
-
),
|
217 |
|
218 |
-
array(
|
219 |
-
'lsow-icomoon-styles',
|
220 |
-
LSOW_PLUGIN_URL . 'assets/css/icomoon.css',
|
221 |
-
array(),
|
222 |
-
LSOW_VERSION
|
223 |
-
),
|
224 |
-
)
|
225 |
-
);
|
226 |
-
|
227 |
-
$this->register_frontend_scripts(array(
|
228 |
-
array(
|
229 |
-
'lsow-portfolio',
|
230 |
-
plugin_dir_url(__FILE__) . 'js/portfolio' . LSOW_JS_SUFFIX . '.js',
|
231 |
-
array('jquery')
|
232 |
-
)
|
233 |
-
)
|
234 |
-
);
|
235 |
-
|
236 |
-
$this->register_frontend_styles(array(
|
237 |
-
array(
|
238 |
-
'lsow-portfolio',
|
239 |
-
plugin_dir_url(__FILE__) . 'css/style.css'
|
240 |
-
)
|
241 |
-
)
|
242 |
-
);
|
243 |
}
|
244 |
|
245 |
function modify_form($form) {
|
19 |
'help' => LSOW_PLUGIN_HELP_URL. '#grid-widget'
|
20 |
),
|
21 |
array(),
|
22 |
+
false,
|
23 |
+
plugin_dir_path(__FILE__)
|
24 |
+
);
|
25 |
+
}
|
26 |
+
|
27 |
+
function initialize() {
|
28 |
+
|
29 |
+
$this->register_frontend_scripts(
|
30 |
+
array(
|
31 |
+
array(
|
32 |
+
'lsow-isotope',
|
33 |
+
LSOW_PLUGIN_URL . 'assets/js/isotope.pkgd' . LSOW_JS_SUFFIX . '.js',
|
34 |
+
array('jquery'),
|
35 |
+
LSOW_VERSION
|
36 |
+
),
|
37 |
+
array(
|
38 |
+
'lsow-imagesloaded',
|
39 |
+
LSOW_PLUGIN_URL . 'assets/js/imagesloaded.pkgd' . LSOW_JS_SUFFIX . '.js',
|
40 |
+
array('jquery'),
|
41 |
+
LSOW_VERSION
|
42 |
+
),
|
43 |
+
)
|
44 |
+
);
|
45 |
+
|
46 |
+
$this->register_frontend_styles(
|
47 |
+
array(
|
48 |
+
|
49 |
+
array(
|
50 |
+
'lsow-frontend-styles',
|
51 |
+
LSOW_PLUGIN_URL . 'assets/css/lsow-frontend.css',
|
52 |
+
array(),
|
53 |
+
LSOW_VERSION
|
54 |
+
),
|
55 |
+
|
56 |
+
array(
|
57 |
+
'lsow-icomoon-styles',
|
58 |
+
LSOW_PLUGIN_URL . 'assets/css/icomoon.css',
|
59 |
+
array(),
|
60 |
+
LSOW_VERSION
|
61 |
+
),
|
62 |
+
)
|
63 |
+
);
|
64 |
+
|
65 |
+
$this->register_frontend_scripts(array(
|
66 |
+
array(
|
67 |
+
'lsow-portfolio',
|
68 |
+
plugin_dir_url(__FILE__) . 'js/portfolio' . LSOW_JS_SUFFIX . '.js',
|
69 |
+
array('jquery')
|
70 |
+
)
|
71 |
+
)
|
72 |
+
);
|
73 |
+
|
74 |
+
$this->register_frontend_styles(array(
|
75 |
+
array(
|
76 |
+
'lsow-portfolio',
|
77 |
+
plugin_dir_url(__FILE__) . 'css/style.css'
|
78 |
+
)
|
79 |
+
)
|
80 |
+
);
|
81 |
+
}
|
82 |
+
|
83 |
+
function get_widget_form() {
|
84 |
+
return
|
85 |
array(
|
86 |
'title' => array(
|
87 |
'type' => 'text',
|
245 |
),
|
246 |
)
|
247 |
),
|
248 |
+
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
249 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
250 |
}
|
251 |
|
252 |
function modify_form($form) {
|
includes/widgets/lsow-posts-carousel-widget/lsow-posts-carousel-widget.php
CHANGED
@@ -19,226 +19,8 @@ class LSOW_Posts_Carousel_Widget extends SiteOrigin_Widget {
|
|
19 |
'help' => LSOW_PLUGIN_HELP_URL. '#post-carousel'
|
20 |
),
|
21 |
array(),
|
22 |
-
|
23 |
-
|
24 |
-
'type' => 'text',
|
25 |
-
'label' => __('Title', 'livemesh-so-widgets'),
|
26 |
-
),
|
27 |
-
|
28 |
-
'posts' => array(
|
29 |
-
'type' => 'posts',
|
30 |
-
'label' => __('Posts query', 'livemesh-so-widgets'),
|
31 |
-
),
|
32 |
-
|
33 |
-
'settings' => array(
|
34 |
-
'type' => 'section',
|
35 |
-
'label' => __('General Settings', 'livemesh-so-widgets'),
|
36 |
-
'fields' => array(
|
37 |
-
|
38 |
-
'taxonomy_chosen' => array(
|
39 |
-
'type' => 'select',
|
40 |
-
'label' => __('Choose the taxonomy to display info.', 'livemesh-so-widgets'),
|
41 |
-
'description' => __('Choose the taxonomy to use for display of taxonomy information for posts/custom post types.', 'livemesh-so-widgets'),
|
42 |
-
'options' => lsow_get_taxonomies_map(),
|
43 |
-
'default' => 'category',
|
44 |
-
),
|
45 |
-
|
46 |
-
'image_linkable' => array(
|
47 |
-
'type' => 'checkbox',
|
48 |
-
'label' => __('Link Images to Posts?', 'livemesh-so-widgets'),
|
49 |
-
'default' => true
|
50 |
-
),
|
51 |
-
|
52 |
-
'display_title' => array(
|
53 |
-
'type' => 'checkbox',
|
54 |
-
'label' => __('Display posts title below the post item?', 'livemesh-so-widgets'),
|
55 |
-
'default' => true
|
56 |
-
),
|
57 |
-
|
58 |
-
'display_summary' => array(
|
59 |
-
'type' => 'checkbox',
|
60 |
-
'label' => __('Display post excerpt/summary below the post item?', 'livemesh-so-widgets'),
|
61 |
-
'default' => true
|
62 |
-
),
|
63 |
-
|
64 |
-
'post_meta' => array(
|
65 |
-
'type' => 'section',
|
66 |
-
'label' => __('Post Meta', 'livemesh-so-widgets'),
|
67 |
-
'fields' => array(
|
68 |
-
|
69 |
-
'display_author' => array(
|
70 |
-
'type' => 'checkbox',
|
71 |
-
'label' => __('Display post author info below the post item?', 'livemesh-so-widgets'),
|
72 |
-
'default' => false
|
73 |
-
),
|
74 |
-
|
75 |
-
'display_post_date' => array(
|
76 |
-
'type' => 'checkbox',
|
77 |
-
'label' => __('Display post date info below the post item?', 'livemesh-so-widgets'),
|
78 |
-
'default' => false
|
79 |
-
),
|
80 |
-
|
81 |
-
'display_taxonomy' => array(
|
82 |
-
'type' => 'checkbox',
|
83 |
-
'label' => __('Display taxonomy info below the post item?', 'livemesh-so-widgets'),
|
84 |
-
'default' => false
|
85 |
-
),
|
86 |
-
|
87 |
-
)
|
88 |
-
|
89 |
-
),
|
90 |
-
)
|
91 |
-
),
|
92 |
-
|
93 |
-
'carousel_settings' => array(
|
94 |
-
'type' => 'section',
|
95 |
-
'label' => __('Carousel Settings', 'livemesh-so-widgets'),
|
96 |
-
'fields' => array(
|
97 |
-
|
98 |
-
'arrows' => array(
|
99 |
-
'type' => 'checkbox',
|
100 |
-
'label' => __('Prev/Next Arrows?', 'livemesh-so-widgets'),
|
101 |
-
'default' => true
|
102 |
-
),
|
103 |
-
|
104 |
-
'dots' => array(
|
105 |
-
'type' => 'checkbox',
|
106 |
-
'label' => __('Show dot indicators for navigation?', 'livemesh-so-widgets'),
|
107 |
-
),
|
108 |
-
|
109 |
-
'autoplay' => array(
|
110 |
-
'type' => 'checkbox',
|
111 |
-
'label' => __('Autoplay?', 'livemesh-so-widgets'),
|
112 |
-
'description' => __('Should the carousel autoplay as in a slideshow.', 'livemesh-so-widgets'),
|
113 |
-
'default' => false
|
114 |
-
),
|
115 |
-
|
116 |
-
|
117 |
-
'autoplay_speed' => array(
|
118 |
-
'type' => 'number',
|
119 |
-
'label' => __('Autoplay speed in ms', 'livemesh-so-widgets'),
|
120 |
-
'default' => 3000
|
121 |
-
),
|
122 |
-
|
123 |
-
|
124 |
-
'animation_speed' => array(
|
125 |
-
'type' => 'number',
|
126 |
-
'label' => __('Autoplay animation speed in ms', 'livemesh-so-widgets'),
|
127 |
-
'default' => 300
|
128 |
-
),
|
129 |
-
|
130 |
-
'pause_on_hover' => array(
|
131 |
-
'type' => 'checkbox',
|
132 |
-
'label' => __('Pause on mouse hover?', 'livemesh-so-widgets'),
|
133 |
-
'default' => true
|
134 |
-
),
|
135 |
-
|
136 |
-
'display_columns' => array(
|
137 |
-
'type' => 'slider',
|
138 |
-
'label' => __('Columns per row', 'livemesh-so-widgets'),
|
139 |
-
'min' => 1,
|
140 |
-
'max' => 5,
|
141 |
-
'integer' => true,
|
142 |
-
'default' => 3
|
143 |
-
),
|
144 |
-
|
145 |
-
'scroll_columns' => array(
|
146 |
-
'type' => 'slider',
|
147 |
-
'label' => __('Columns to scroll', 'livemesh-so-widgets'),
|
148 |
-
'min' => 1,
|
149 |
-
'max' => 5,
|
150 |
-
'integer' => true,
|
151 |
-
'default' => 3
|
152 |
-
),
|
153 |
-
|
154 |
-
'gutter' => array(
|
155 |
-
'type' => 'number',
|
156 |
-
'label' => __('Gutter', 'livemesh-so-widgets'),
|
157 |
-
'description' => __('Space between columns.', 'livemesh-so-widgets'),
|
158 |
-
'default' => 10
|
159 |
-
),
|
160 |
-
|
161 |
-
'responsive' => array(
|
162 |
-
'type' => 'section',
|
163 |
-
'label' => __('Responsive', 'livemesh-so-widgets'),
|
164 |
-
'hide' => true,
|
165 |
-
'fields' => array(
|
166 |
-
'tablet' => array(
|
167 |
-
'type' => 'section',
|
168 |
-
'label' => __('Tablet', 'livemesh-so-widgets'),
|
169 |
-
'fields' => array(
|
170 |
-
'display_columns' => array(
|
171 |
-
'type' => 'slider',
|
172 |
-
'label' => __('Columns per row', 'livemesh-so-widgets'),
|
173 |
-
'min' => 1,
|
174 |
-
'max' => 5,
|
175 |
-
'integer' => true,
|
176 |
-
'default' => 2
|
177 |
-
),
|
178 |
-
'scroll_columns' => array(
|
179 |
-
'type' => 'slider',
|
180 |
-
'label' => __('Columns to scroll', 'livemesh-so-widgets'),
|
181 |
-
'min' => 1,
|
182 |
-
'max' => 5,
|
183 |
-
'integer' => true,
|
184 |
-
'default' => 2
|
185 |
-
),
|
186 |
-
'gutter' => array(
|
187 |
-
'type' => 'number',
|
188 |
-
'label' => __('Gutter', 'livemesh-so-widgets'),
|
189 |
-
'description' => __('Space between columns.', 'livemesh-so-widgets'),
|
190 |
-
'default' => 10
|
191 |
-
),
|
192 |
-
'width' => array(
|
193 |
-
'type' => 'text',
|
194 |
-
'label' => __('Resolution', 'livemesh-so-widgets'),
|
195 |
-
'description' => __('The resolution to treat as a tablet resolution.', 'livemesh-so-widgets'),
|
196 |
-
'default' => 800,
|
197 |
-
'sanitize' => 'intval',
|
198 |
-
)
|
199 |
-
)
|
200 |
-
),
|
201 |
-
'mobile' => array(
|
202 |
-
'type' => 'section',
|
203 |
-
'label' => __('Mobile Phone', 'livemesh-so-widgets'),
|
204 |
-
'fields' => array(
|
205 |
-
'display_columns' => array(
|
206 |
-
'type' => 'slider',
|
207 |
-
'label' => __('Columns per row', 'livemesh-so-widgets'),
|
208 |
-
'min' => 1,
|
209 |
-
'max' => 5,
|
210 |
-
'integer' => true,
|
211 |
-
'default' => 1
|
212 |
-
),
|
213 |
-
'scroll_columns' => array(
|
214 |
-
'type' => 'slider',
|
215 |
-
'label' => __('Columns to scroll', 'livemesh-so-widgets'),
|
216 |
-
'min' => 1,
|
217 |
-
'max' => 5,
|
218 |
-
'integer' => true,
|
219 |
-
'default' => 1
|
220 |
-
),
|
221 |
-
'gutter' => array(
|
222 |
-
'type' => 'number',
|
223 |
-
'label' => __('Gutter', 'livemesh-so-widgets'),
|
224 |
-
'description' => __('Space between columns.', 'livemesh-so-widgets'),
|
225 |
-
'default' => 10
|
226 |
-
),
|
227 |
-
'width' => array(
|
228 |
-
'type' => 'text',
|
229 |
-
'label' => __('Resolution', 'livemesh-so-widgets'),
|
230 |
-
'description' => __('The resolution to treat as a mobile resolution.', 'livemesh-so-widgets'),
|
231 |
-
'default' => 480,
|
232 |
-
'sanitize' => 'intval',
|
233 |
-
)
|
234 |
-
)
|
235 |
-
)
|
236 |
-
|
237 |
-
)
|
238 |
-
),
|
239 |
-
)
|
240 |
-
),
|
241 |
-
)
|
242 |
);
|
243 |
}
|
244 |
|
@@ -289,7 +71,230 @@ class LSOW_Posts_Carousel_Widget extends SiteOrigin_Widget {
|
|
289 |
);
|
290 |
}
|
291 |
|
292 |
-
function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
293 |
$form['settings']['fields']['taxonomy_chosen']['options'] = lsow_get_taxonomies_map();
|
294 |
return $form;
|
295 |
}
|
19 |
'help' => LSOW_PLUGIN_HELP_URL. '#post-carousel'
|
20 |
),
|
21 |
array(),
|
22 |
+
false,
|
23 |
+
plugin_dir_path(__FILE__)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
);
|
25 |
}
|
26 |
|
71 |
);
|
72 |
}
|
73 |
|
74 |
+
function get_widget_form() {
|
75 |
+
return array(
|
76 |
+
'title' => array(
|
77 |
+
'type' => 'text',
|
78 |
+
'label' => __('Title', 'livemesh-so-widgets'),
|
79 |
+
),
|
80 |
+
|
81 |
+
'posts' => array(
|
82 |
+
'type' => 'posts',
|
83 |
+
'label' => __('Posts query', 'livemesh-so-widgets'),
|
84 |
+
),
|
85 |
+
|
86 |
+
'settings' => array(
|
87 |
+
'type' => 'section',
|
88 |
+
'label' => __('General Settings', 'livemesh-so-widgets'),
|
89 |
+
'fields' => array(
|
90 |
+
|
91 |
+
'taxonomy_chosen' => array(
|
92 |
+
'type' => 'select',
|
93 |
+
'label' => __('Choose the taxonomy to display info.', 'livemesh-so-widgets'),
|
94 |
+
'description' => __('Choose the taxonomy to use for display of taxonomy information for posts/custom post types.', 'livemesh-so-widgets'),
|
95 |
+
'options' => lsow_get_taxonomies_map(),
|
96 |
+
'default' => 'category',
|
97 |
+
),
|
98 |
+
|
99 |
+
'image_linkable' => array(
|
100 |
+
'type' => 'checkbox',
|
101 |
+
'label' => __('Link Images to Posts?', 'livemesh-so-widgets'),
|
102 |
+
'default' => true
|
103 |
+
),
|
104 |
+
|
105 |
+
'display_title' => array(
|
106 |
+
'type' => 'checkbox',
|
107 |
+
'label' => __('Display posts title below the post item?', 'livemesh-so-widgets'),
|
108 |
+
'default' => true
|
109 |
+
),
|
110 |
+
|
111 |
+
'display_summary' => array(
|
112 |
+
'type' => 'checkbox',
|
113 |
+
'label' => __('Display post excerpt/summary below the post item?', 'livemesh-so-widgets'),
|
114 |
+
'default' => true
|
115 |
+
),
|
116 |
+
|
117 |
+
'post_meta' => array(
|
118 |
+
'type' => 'section',
|
119 |
+
'label' => __('Post Meta', 'livemesh-so-widgets'),
|
120 |
+
'fields' => array(
|
121 |
+
|
122 |
+
'display_author' => array(
|
123 |
+
'type' => 'checkbox',
|
124 |
+
'label' => __('Display post author info below the post item?', 'livemesh-so-widgets'),
|
125 |
+
'default' => false
|
126 |
+
),
|
127 |
+
|
128 |
+
'display_post_date' => array(
|
129 |
+
'type' => 'checkbox',
|
130 |
+
'label' => __('Display post date info below the post item?', 'livemesh-so-widgets'),
|
131 |
+
'default' => false
|
132 |
+
),
|
133 |
+
|
134 |
+
'display_taxonomy' => array(
|
135 |
+
'type' => 'checkbox',
|
136 |
+
'label' => __('Display taxonomy info below the post item?', 'livemesh-so-widgets'),
|
137 |
+
'default' => false
|
138 |
+
),
|
139 |
+
|
140 |
+
)
|
141 |
+
|
142 |
+
),
|
143 |
+
)
|
144 |
+
),
|
145 |
+
|
146 |
+
'carousel_settings' => array(
|
147 |
+
'type' => 'section',
|
148 |
+
'label' => __('Carousel Settings', 'livemesh-so-widgets'),
|
149 |
+
'fields' => array(
|
150 |
+
|
151 |
+
'arrows' => array(
|
152 |
+
'type' => 'checkbox',
|
153 |
+
'label' => __('Prev/Next Arrows?', 'livemesh-so-widgets'),
|
154 |
+
'default' => true
|
155 |
+
),
|
156 |
+
|
157 |
+
'dots' => array(
|
158 |
+
'type' => 'checkbox',
|
159 |
+
'label' => __('Show dot indicators for navigation?', 'livemesh-so-widgets'),
|
160 |
+
),
|
161 |
+
|
162 |
+
'autoplay' => array(
|
163 |
+
'type' => 'checkbox',
|
164 |
+
'label' => __('Autoplay?', 'livemesh-so-widgets'),
|
165 |
+
'description' => __('Should the carousel autoplay as in a slideshow.', 'livemesh-so-widgets'),
|
166 |
+
'default' => false
|
167 |
+
),
|
168 |
+
|
169 |
+
|
170 |
+
'autoplay_speed' => array(
|
171 |
+
'type' => 'number',
|
172 |
+
'label' => __('Autoplay speed in ms', 'livemesh-so-widgets'),
|
173 |
+
'default' => 3000
|
174 |
+
),
|
175 |
+
|
176 |
+
|
177 |
+
'animation_speed' => array(
|
178 |
+
'type' => 'number',
|
179 |
+
'label' => __('Autoplay animation speed in ms', 'livemesh-so-widgets'),
|
180 |
+
'default' => 300
|
181 |
+
),
|
182 |
+
|
183 |
+
'pause_on_hover' => array(
|
184 |
+
'type' => 'checkbox',
|
185 |
+
'label' => __('Pause on mouse hover?', 'livemesh-so-widgets'),
|
186 |
+
'default' => true
|
187 |
+
),
|
188 |
+
|
189 |
+
'display_columns' => array(
|
190 |
+
'type' => 'slider',
|
191 |
+
'label' => __('Columns per row', 'livemesh-so-widgets'),
|
192 |
+
'min' => 1,
|
193 |
+
'max' => 5,
|
194 |
+
'integer' => true,
|
195 |
+
'default' => 3
|
196 |
+
),
|
197 |
+
|
198 |
+
'scroll_columns' => array(
|
199 |
+
'type' => 'slider',
|
200 |
+
'label' => __('Columns to scroll', 'livemesh-so-widgets'),
|
201 |
+
'min' => 1,
|
202 |
+
'max' => 5,
|
203 |
+
'integer' => true,
|
204 |
+
'default' => 3
|
205 |
+
),
|
206 |
+
|
207 |
+
'gutter' => array(
|
208 |
+
'type' => 'number',
|
209 |
+
'label' => __('Gutter', 'livemesh-so-widgets'),
|
210 |
+
'description' => __('Space between columns.', 'livemesh-so-widgets'),
|
211 |
+
'default' => 10
|
212 |
+
),
|
213 |
+
|
214 |
+
'responsive' => array(
|
215 |
+
'type' => 'section',
|
216 |
+
'label' => __('Responsive', 'livemesh-so-widgets'),
|
217 |
+
'hide' => true,
|
218 |
+
'fields' => array(
|
219 |
+
'tablet' => array(
|
220 |
+
'type' => 'section',
|
221 |
+
'label' => __('Tablet', 'livemesh-so-widgets'),
|
222 |
+
'fields' => array(
|
223 |
+
'display_columns' => array(
|
224 |
+
'type' => 'slider',
|
225 |
+
'label' => __('Columns per row', 'livemesh-so-widgets'),
|
226 |
+
'min' => 1,
|
227 |
+
'max' => 5,
|
228 |
+
'integer' => true,
|
229 |
+
'default' => 2
|
230 |
+
),
|
231 |
+
'scroll_columns' => array(
|
232 |
+
'type' => 'slider',
|
233 |
+
'label' => __('Columns to scroll', 'livemesh-so-widgets'),
|
234 |
+
'min' => 1,
|
235 |
+
'max' => 5,
|
236 |
+
'integer' => true,
|
237 |
+
'default' => 2
|
238 |
+
),
|
239 |
+
'gutter' => array(
|
240 |
+
'type' => 'number',
|
241 |
+
'label' => __('Gutter', 'livemesh-so-widgets'),
|
242 |
+
'description' => __('Space between columns.', 'livemesh-so-widgets'),
|
243 |
+
'default' => 10
|
244 |
+
),
|
245 |
+
'width' => array(
|
246 |
+
'type' => 'text',
|
247 |
+
'label' => __('Resolution', 'livemesh-so-widgets'),
|
248 |
+
'description' => __('The resolution to treat as a tablet resolution.', 'livemesh-so-widgets'),
|
249 |
+
'default' => 800,
|
250 |
+
'sanitize' => 'intval',
|
251 |
+
)
|
252 |
+
)
|
253 |
+
),
|
254 |
+
'mobile' => array(
|
255 |
+
'type' => 'section',
|
256 |
+
'label' => __('Mobile Phone', 'livemesh-so-widgets'),
|
257 |
+
'fields' => array(
|
258 |
+
'display_columns' => array(
|
259 |
+
'type' => 'slider',
|
260 |
+
'label' => __('Columns per row', 'livemesh-so-widgets'),
|
261 |
+
'min' => 1,
|
262 |
+
'max' => 5,
|
263 |
+
'integer' => true,
|
264 |
+
'default' => 1
|
265 |
+
),
|
266 |
+
'scroll_columns' => array(
|
267 |
+
'type' => 'slider',
|
268 |
+
'label' => __('Columns to scroll', 'livemesh-so-widgets'),
|
269 |
+
'min' => 1,
|
270 |
+
'max' => 5,
|
271 |
+
'integer' => true,
|
272 |
+
'default' => 1
|
273 |
+
),
|
274 |
+
'gutter' => array(
|
275 |
+
'type' => 'number',
|
276 |
+
'label' => __('Gutter', 'livemesh-so-widgets'),
|
277 |
+
'description' => __('Space between columns.', 'livemesh-so-widgets'),
|
278 |
+
'default' => 10
|
279 |
+
),
|
280 |
+
'width' => array(
|
281 |
+
'type' => 'text',
|
282 |
+
'label' => __('Resolution', 'livemesh-so-widgets'),
|
283 |
+
'description' => __('The resolution to treat as a mobile resolution.', 'livemesh-so-widgets'),
|
284 |
+
'default' => 480,
|
285 |
+
'sanitize' => 'intval',
|
286 |
+
)
|
287 |
+
)
|
288 |
+
)
|
289 |
+
|
290 |
+
)
|
291 |
+
),
|
292 |
+
)
|
293 |
+
),
|
294 |
+
);
|
295 |
+
}
|
296 |
+
|
297 |
+
function modify_form($form) {
|
298 |
$form['settings']['fields']['taxonomy_chosen']['options'] = lsow_get_taxonomies_map();
|
299 |
return $form;
|
300 |
}
|
livemesh-so-widgets.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* Author URI: http://portfoliotheme.org/
|
8 |
* License: GPL3
|
9 |
* License URI: https://www.gnu.org/licenses/gpl-3.0.txt
|
10 |
-
* Version: 1.4.
|
11 |
* Text Domain: livemesh-so-widgets
|
12 |
* Domain Path: languages
|
13 |
*
|
@@ -92,7 +92,7 @@ if (!class_exists('Livemesh_SiteOrigin_Widgets')) :
|
|
92 |
|
93 |
// Plugin version
|
94 |
if (!defined('LSOW_VERSION')) {
|
95 |
-
define('LSOW_VERSION', '1.4.
|
96 |
}
|
97 |
|
98 |
// Plugin Folder Path
|
7 |
* Author URI: http://portfoliotheme.org/
|
8 |
* License: GPL3
|
9 |
* License URI: https://www.gnu.org/licenses/gpl-3.0.txt
|
10 |
+
* Version: 1.4.7
|
11 |
* Text Domain: livemesh-so-widgets
|
12 |
* Domain Path: languages
|
13 |
*
|
92 |
|
93 |
// Plugin version
|
94 |
if (!defined('LSOW_VERSION')) {
|
95 |
+
define('LSOW_VERSION', '1.4.7');
|
96 |
}
|
97 |
|
98 |
// Plugin Folder Path
|
readme.txt
CHANGED
@@ -3,9 +3,9 @@ Author URI: http://portfoliotheme.org
|
|
3 |
Plugin URI: http://portfoliotheme.org/siteorigin-widgets
|
4 |
Contributors: livemesh
|
5 |
Tags: widget, siteorigin, siteorigin widgets bundle, siteorigin page builder, siteorigin addons, grid, gallery, video background, portfolio, carousel, shortcode, tabs, admin, plugin, page
|
6 |
-
Requires at least: 4.
|
7 |
-
Tested up to: 4.
|
8 |
-
Stable Tag: 1.4.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -114,6 +114,10 @@ Pls install and activate the <a href="https://wordpress.org/plugins/portfolio-po
|
|
114 |
|
115 |
== Changelog ==
|
116 |
|
|
|
|
|
|
|
|
|
117 |
= 1.4.6 =
|
118 |
* Fixed - Translation of published date on the grid.
|
119 |
* Fixed - Shortcodes not being processed in hero header widget.
|
3 |
Plugin URI: http://portfoliotheme.org/siteorigin-widgets
|
4 |
Contributors: livemesh
|
5 |
Tags: widget, siteorigin, siteorigin widgets bundle, siteorigin page builder, siteorigin addons, grid, gallery, video background, portfolio, carousel, shortcode, tabs, admin, plugin, page
|
6 |
+
Requires at least: 4.3
|
7 |
+
Tested up to: 4.7
|
8 |
+
Stable Tag: 1.4.7
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
114 |
|
115 |
== Changelog ==
|
116 |
|
117 |
+
= 1.4.7 =
|
118 |
+
* Fixed - The taxonomy filter not reflecting custom taxonomies in grid widget.
|
119 |
+
* Fixed - The taxonomy list in posts carousel not displaying custom taxonomies.
|
120 |
+
|
121 |
= 1.4.6 =
|
122 |
* Fixed - Translation of published date on the grid.
|
123 |
* Fixed - Shortcodes not being processed in hero header widget.
|