Version Description
- December 12 2016 =
- Fixed bug with rendering font fields
Download this release
Release Info
Developer | iamadi |
Plugin | Widgets for SiteOrigin |
Version | 1.3.2 |
Comparing to | |
See all releases |
Code changes from version 1.3.1 to 1.3.2
- readme.txt +5 -2
- widgets-for-siteorigin.php +2 -2
- widgets/ink-alrt-widget/ink-alrt-widget.php +6 -5
- widgets/ink-ardn-widget/ink-ardn-widget.php +6 -5
- widgets/ink-blgs-widget/ink-blgs-widget.php +11 -13
- widgets/ink-btns-widget/ink-btns-widget.php +6 -5
- widgets/ink-fard-widget/ink-fard-widget.php +8 -10
- widgets/ink-mbox-widget/ink-mbox-widget.php +8 -10
- widgets/ink-ptfl-widget/ink-ptfl-widget.php +11 -13
- widgets/ink-tabb-widget/ink-tabb-widget.php +6 -5
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: iamadi
|
3 |
Tags: bundle, widget, button, alert, accordion, audio, video, blog, divider, person, portfolio, tabs, testimonial, siteorigin
|
4 |
Requires at least: 3.9
|
5 |
-
Tested up to: 4.
|
6 |
-
Stable tag: 1.3.
|
7 |
License: GPLv3 or later
|
8 |
|
9 |
A collection of highly customizable and thoughtfully crafted widgets. Built on top of the SiteOrigin Widgets Bundle.
|
@@ -88,6 +88,9 @@ Once installed, you can choose to Active/Deactivate widget from Plugins -> SiteO
|
|
88 |
|
89 |
== Changelog ==
|
90 |
|
|
|
|
|
|
|
91 |
= 1.3.1 - November 29 2016 =
|
92 |
* Removed unnecessary font-family: inherit; property.
|
93 |
* Added option to customize date format in blog widget.
|
2 |
Contributors: iamadi
|
3 |
Tags: bundle, widget, button, alert, accordion, audio, video, blog, divider, person, portfolio, tabs, testimonial, siteorigin
|
4 |
Requires at least: 3.9
|
5 |
+
Tested up to: 4.7
|
6 |
+
Stable tag: 1.3.2
|
7 |
License: GPLv3 or later
|
8 |
|
9 |
A collection of highly customizable and thoughtfully crafted widgets. Built on top of the SiteOrigin Widgets Bundle.
|
88 |
|
89 |
== Changelog ==
|
90 |
|
91 |
+
= 1.3.2 - December 12 2016 =
|
92 |
+
* Fixed bug with rendering font fields
|
93 |
+
|
94 |
= 1.3.1 - November 29 2016 =
|
95 |
* Removed unnecessary font-family: inherit; property.
|
96 |
* Added option to customize date format in blog widget.
|
widgets-for-siteorigin.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Widgets for SiteOrigin
|
5 |
* Plugin URI: http://widgets.wpinked.com/
|
6 |
* Description: A collection of highly customizable and thoughtfully crafted widgets. Built on top of the SiteOrigin Widgets Bundle.
|
7 |
-
* Version: 1.3.
|
8 |
* Author: wpinked
|
9 |
* Author URI: widgets.wpinked.com
|
10 |
* License: GPL-2.0+
|
@@ -18,7 +18,7 @@
|
|
18 |
*
|
19 |
*/
|
20 |
|
21 |
-
define( 'INKED_SO_VER', '1.3.
|
22 |
|
23 |
// Allow JS suffix to be pre-set
|
24 |
if( !defined( 'INKED_JS_SUFFIX' ) ) {
|
4 |
* Plugin Name: Widgets for SiteOrigin
|
5 |
* Plugin URI: http://widgets.wpinked.com/
|
6 |
* Description: A collection of highly customizable and thoughtfully crafted widgets. Built on top of the SiteOrigin Widgets Bundle.
|
7 |
+
* Version: 1.3.2
|
8 |
* Author: wpinked
|
9 |
* Author URI: widgets.wpinked.com
|
10 |
* License: GPL-2.0+
|
18 |
*
|
19 |
*/
|
20 |
|
21 |
+
define( 'INKED_SO_VER', '1.3.2' );
|
22 |
|
23 |
// Allow JS suffix to be pre-set
|
24 |
if( !defined( 'INKED_JS_SUFFIX' ) ) {
|
widgets/ink-alrt-widget/ink-alrt-widget.php
CHANGED
@@ -176,13 +176,14 @@ class Inked_Alert_SO_Widget extends SiteOrigin_Widget {
|
|
176 |
|
177 |
}
|
178 |
|
179 |
-
function
|
180 |
-
if( empty( $instance ) ) return;
|
181 |
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
}
|
|
|
186 |
}
|
187 |
|
188 |
}
|
176 |
|
177 |
}
|
178 |
|
179 |
+
function get_google_font_fields( $instance ) {
|
180 |
+
if( empty( $instance ) || ! function_exists( 'wpinked_pro_so_widgets' ) ) return array();
|
181 |
|
182 |
+
$fonts = array();
|
183 |
+
if ( $instance['styling']['font'] ) {
|
184 |
+
$fonts[] = $instance['styling']['font'];
|
185 |
}
|
186 |
+
return $fonts;
|
187 |
}
|
188 |
|
189 |
}
|
widgets/ink-ardn-widget/ink-ardn-widget.php
CHANGED
@@ -274,13 +274,14 @@ class Inked_Accordion_SO_Widget extends SiteOrigin_Widget {
|
|
274 |
return $less_variables;
|
275 |
}
|
276 |
|
277 |
-
function
|
278 |
-
if( empty( $instance ) ) return;
|
279 |
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
}
|
|
|
284 |
}
|
285 |
|
286 |
}
|
274 |
return $less_variables;
|
275 |
}
|
276 |
|
277 |
+
function get_google_font_fields( $instance ) {
|
278 |
+
if( empty( $instance ) || ! function_exists( 'wpinked_pro_so_widgets' ) ) return array();
|
279 |
|
280 |
+
$fonts = array();
|
281 |
+
if ( $instance['styling']['title-font'] ) {
|
282 |
+
$fonts[] = $instance['styling']['title-font'];
|
283 |
}
|
284 |
+
return $fonts;
|
285 |
}
|
286 |
|
287 |
}
|
widgets/ink-blgs-widget/ink-blgs-widget.php
CHANGED
@@ -841,21 +841,19 @@ class Inked_Blog_SO_Widget extends SiteOrigin_Widget {
|
|
841 |
}
|
842 |
|
843 |
function get_google_font_fields( $instance ) {
|
844 |
-
if( empty( $instance ) ) return;
|
845 |
|
846 |
-
|
847 |
-
|
848 |
-
|
849 |
-
|
850 |
-
|
851 |
-
|
852 |
-
|
853 |
-
|
854 |
-
|
855 |
-
$fonts[] = $instance['styling']['btn-font'];
|
856 |
-
}
|
857 |
-
return $fonts;
|
858 |
}
|
|
|
859 |
}
|
860 |
|
861 |
}
|
841 |
}
|
842 |
|
843 |
function get_google_font_fields( $instance ) {
|
844 |
+
if( empty( $instance ) || ! function_exists( 'wpinked_pro_so_widgets' ) ) return array();
|
845 |
|
846 |
+
$fonts = array();
|
847 |
+
if ( $instance['styling']['title-font'] ) {
|
848 |
+
$fonts[] = $instance['styling']['title-font'];
|
849 |
+
}
|
850 |
+
if ( $instance['styling']['meta-font'] ) {
|
851 |
+
$fonts[] = $instance['styling']['meta-font'];
|
852 |
+
}
|
853 |
+
if ( $instance['styling']['btn-font'] ) {
|
854 |
+
$fonts[] = $instance['styling']['btn-font'];
|
|
|
|
|
|
|
855 |
}
|
856 |
+
return $fonts;
|
857 |
}
|
858 |
|
859 |
}
|
widgets/ink-btns-widget/ink-btns-widget.php
CHANGED
@@ -229,13 +229,14 @@ class Inked_Buttons_SO_Widget extends SiteOrigin_Widget {
|
|
229 |
|
230 |
}
|
231 |
|
232 |
-
function
|
233 |
-
if( empty( $instance ) ) return;
|
234 |
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
}
|
|
|
239 |
}
|
240 |
|
241 |
}
|
229 |
|
230 |
}
|
231 |
|
232 |
+
function get_google_font_fields( $instance ) {
|
233 |
+
if( empty( $instance ) || ! function_exists( 'wpinked_pro_so_widgets' ) ) return array();
|
234 |
|
235 |
+
$fonts = array();
|
236 |
+
if ( $instance['styling']['font'] ) {
|
237 |
+
$fonts[] = $instance['styling']['font'];
|
238 |
}
|
239 |
+
return $fonts;
|
240 |
}
|
241 |
|
242 |
}
|
widgets/ink-fard-widget/ink-fard-widget.php
CHANGED
@@ -366,18 +366,16 @@ class Inked_Filter_Accordion_SO_Widget extends SiteOrigin_Widget {
|
|
366 |
}
|
367 |
|
368 |
function get_google_font_fields( $instance ) {
|
369 |
-
if( empty( $instance ) ) return;
|
370 |
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
$fonts[] = $instance['styling']['type-font'];
|
378 |
-
}
|
379 |
-
return $fonts;
|
380 |
}
|
|
|
381 |
}
|
382 |
|
383 |
}
|
366 |
}
|
367 |
|
368 |
function get_google_font_fields( $instance ) {
|
369 |
+
if( empty( $instance ) || ! function_exists( 'wpinked_pro_so_widgets' ) ) return array();
|
370 |
|
371 |
+
$fonts = array();
|
372 |
+
if ( $instance['styling']['title-font'] ) {
|
373 |
+
$fonts[] = $instance['styling']['title-font'];
|
374 |
+
}
|
375 |
+
if ( $instance['styling']['type-font'] ) {
|
376 |
+
$fonts[] = $instance['styling']['type-font'];
|
|
|
|
|
|
|
377 |
}
|
378 |
+
return $fonts;
|
379 |
}
|
380 |
|
381 |
}
|
widgets/ink-mbox-widget/ink-mbox-widget.php
CHANGED
@@ -383,18 +383,16 @@ class Inked_Media_Box_SO_Widget extends SiteOrigin_Widget {
|
|
383 |
}
|
384 |
|
385 |
function get_google_font_fields( $instance ) {
|
386 |
-
if( empty( $instance ) ) return;
|
387 |
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
$fonts[] = $instance['styling']['btn-font'];
|
395 |
-
}
|
396 |
-
return $fonts;
|
397 |
}
|
|
|
398 |
}
|
399 |
|
400 |
}
|
383 |
}
|
384 |
|
385 |
function get_google_font_fields( $instance ) {
|
386 |
+
if( empty( $instance ) || ! function_exists( 'wpinked_pro_so_widgets' ) ) return array();
|
387 |
|
388 |
+
$fonts = array();
|
389 |
+
if ( $instance['styling']['title-font'] ) {
|
390 |
+
$fonts[] = $instance['styling']['title-font'];
|
391 |
+
}
|
392 |
+
if ( $instance['styling']['btn-font'] ) {
|
393 |
+
$fonts[] = $instance['styling']['btn-font'];
|
|
|
|
|
|
|
394 |
}
|
395 |
+
return $fonts;
|
396 |
}
|
397 |
|
398 |
}
|
widgets/ink-ptfl-widget/ink-ptfl-widget.php
CHANGED
@@ -312,21 +312,19 @@ class Inked_Folio_SO_Widget extends SiteOrigin_Widget {
|
|
312 |
}
|
313 |
|
314 |
function get_google_font_fields( $instance ) {
|
315 |
-
if( empty( $instance ) ) return;
|
316 |
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
$fonts[] = $instance['styling']['p-cats-font'];
|
327 |
-
}
|
328 |
-
return $fonts;
|
329 |
}
|
|
|
330 |
}
|
331 |
|
332 |
}
|
312 |
}
|
313 |
|
314 |
function get_google_font_fields( $instance ) {
|
315 |
+
if( empty( $instance ) || ! function_exists( 'wpinked_pro_so_widgets' ) ) return array();
|
316 |
|
317 |
+
$fonts = array();
|
318 |
+
if ( $instance['styling']['type-font'] ) {
|
319 |
+
$fonts[] = $instance['styling']['type-font'];
|
320 |
+
}
|
321 |
+
if ( $instance['styling']['p-title-font'] ) {
|
322 |
+
$fonts[] = $instance['styling']['p-title-font'];
|
323 |
+
}
|
324 |
+
if ( $instance['styling']['p-cats-font'] ) {
|
325 |
+
$fonts[] = $instance['styling']['p-cats-font'];
|
|
|
|
|
|
|
326 |
}
|
327 |
+
return $fonts;
|
328 |
}
|
329 |
|
330 |
}
|
widgets/ink-tabb-widget/ink-tabb-widget.php
CHANGED
@@ -249,13 +249,14 @@ class Inked_Tabs_SO_Widget extends SiteOrigin_Widget {
|
|
249 |
|
250 |
}
|
251 |
|
252 |
-
function
|
253 |
-
if( empty( $instance ) ) return;
|
254 |
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
}
|
|
|
259 |
}
|
260 |
|
261 |
}
|
249 |
|
250 |
}
|
251 |
|
252 |
+
function get_google_font_fields( $instance ) {
|
253 |
+
if( empty( $instance ) || ! function_exists( 'wpinked_pro_so_widgets' ) ) return array();
|
254 |
|
255 |
+
$fonts = array();
|
256 |
+
if ( $instance['styling']['tab-font'] ) {
|
257 |
+
$fonts[] = $instance['styling']['tab-font'];
|
258 |
}
|
259 |
+
return $fonts;
|
260 |
}
|
261 |
|
262 |
}
|