Version Description
- 11 July 2018 =
- Contact: Add dedicated textarea height.
- Social Media Buttons: Adds WhatsApp social network.
- Features: Allow icon size to use a different unit of measurement.
- Repeater field: Update editor id in media buttons when duplicating item with TinyMCE editor.
- Posts field: taxonomy description.
- Price Table: Disable equalized row heights on mobile.
- Beaver Builder: Force icon fonts.
- Slider widgets: Added autoplay option for background videos.
- Maps: Renamed Google maps script to more sensible
sow.google-map.js
- Editor: Prevent errors when visual editing is disabled for a user.
- Optimized images.
- Accordion/tabs: Trigger 'setup_widgets' to ensure any widgets in panels are initialized correctly.
- Contact: Use 'From' email address if there is no email field in the form.
- Hero: Filter out the align field in the button sub-widget form.
- Testimonials: Switch mobile and tablet resolution width field descriptions.
- Posts field: Allow clearing dates.
- Font field: Use correct value for 'Helvetica Neue' and added 'Arial' option.
- TA: Additional setting to allow clearing the default background colors.
- Contact: Allow a value of '0' for required fields and subject values.
Download this release
Release Info
Developer | gpriday |
Plugin | SiteOrigin Widgets Bundle |
Version | 1.12.0 |
Comparing to | |
See all releases |
Code changes from version 1.11.8 to 1.12.0
- admin/images/icon-back.png +0 -0
- admin/images/icon-front.png +0 -0
- admin/images/icon-gear.png +0 -0
- base/base.php +4 -1
- base/css/img/arrow-down.png +0 -0
- base/css/img/arrow-right.png +0 -0
- base/css/img/bundle-icon.png +0 -0
- base/css/img/close-white.png +0 -0
- base/css/img/close.png +0 -0
- base/css/img/loading.gif +0 -0
- base/css/img/order-asc.png +0 -0
- base/css/img/order-desc.png +0 -0
- base/css/img/ordering-icons.png +0 -0
- base/css/img/thumbnail-placeholder.png +0 -0
- base/css/img/wpspin_light-2x.gif +0 -0
- base/css/img/wpspin_light.gif +0 -0
- base/inc/fields/js/date-range-field.js +31 -21
- base/inc/fields/js/date-range-field.min.js +1 -1
- base/inc/fields/js/tinymce-field.js +4 -2
- base/inc/fields/js/tinymce-field.min.js +1 -1
- base/inc/fields/posts.class.php +189 -188
- base/inc/fields/tinymce.class.php +65 -57
- base/inc/fields/widget.class.php +71 -60
- base/inc/video.php +96 -0
- base/inc/widgets/base-slider.class.php +12 -4
- base/js/admin.js +9 -0
- base/js/admin.min.js +1 -1
- base/siteorigin-widget.class.php +14 -9
- compat/beaver-builder/styles.css +6 -6
- js/slider/jquery.slider.js +266 -267
- js/slider/jquery.slider.min.js +1 -1
- js/{sow.google.map.js → sow.google-map.js} +5 -12
- js/sow.google-map.min.js +1 -0
- js/sow.google.map.min.js +0 -1
- js/sow.jquery.fittext.js +71 -68
- js/sow.jquery.fittext.min.js +1 -1
- lang/so-widgets-bundle.pot +758 -755
- readme.txt +23 -2
- so-widgets-bundle.php +3 -3
- widgets/accordion/assets/banner.svg +1 -18
- widgets/accordion/js/accordion.js +6 -0
- widgets/accordion/js/accordion.min.js +1 -1
- widgets/button/assets/banner.svg +1 -30
- widgets/contact/assets/banner.svg +1 -43
- widgets/contact/contact.php +15 -5
- widgets/contact/styles/default.less +9 -1
- widgets/cta/assets/banner.svg +1 -33
- widgets/cta/css/style.css +1 -1
- widgets/cta/cta.php +22 -0
- widgets/cta/styles/default.less +8 -4
- widgets/editor/assets/banner.svg +1 -38
- widgets/features/assets/banner.svg +1 -56
- widgets/features/images/containers/explode.svg +1 -8
- widgets/features/images/containers/frame.svg +1 -7
- widgets/features/images/containers/hex.svg +1 -7
- widgets/features/images/containers/octagon.svg +1 -8
- widgets/features/images/containers/round.svg +1 -7
- widgets/features/images/containers/rounded-hex.svg +1 -10
- widgets/features/images/containers/rounded-square.svg +1 -7
- widgets/features/images/containers/rounded-sticker.svg +1 -12
- widgets/features/images/containers/square.svg +1 -7
- widgets/features/images/containers/sticker.svg +1 -9
- widgets/features/tpl/default.php +1 -1
- widgets/google-map/assets/banner.svg +1 -44
- widgets/headline/assets/banner.svg +1 -38
- widgets/hero/assets/banner.svg +1 -16
- widgets/hero/hero.php +9 -1
- widgets/icon/assets/banner.svg +1 -21
- widgets/image-grid/assets/banner.svg +1 -31
- widgets/image/assets/banner.svg +1 -36
- widgets/layout-slider/assets/banner.svg +1 -18
- widgets/layout-slider/layout-slider.php +314 -314
- widgets/layout-slider/styles/default.less +59 -59
- widgets/post-carousel/assets/banner.svg +1 -44
- widgets/post-carousel/css/images/carousel-loader.gif +0 -0
- widgets/price-table/assets/banner.svg +1 -36
- widgets/price-table/js/pricetable.js +46 -46
- widgets/price-table/styles/atom.less +238 -233
- widgets/simple-masonry/assets/banner.svg +1 -20
- widgets/simple-masonry/js/simple-masonry.js +86 -80
- widgets/simple-masonry/js/simple-masonry.min.js +1 -1
- widgets/slider/assets/banner.svg +1 -40
- widgets/social-media-buttons/assets/banner.svg +1 -39
- widgets/social-media-buttons/data/networks.php +283 -277
- widgets/tabs/assets/banner.svg +1 -17
- widgets/tabs/js/tabs.js +6 -0
- widgets/tabs/js/tabs.min.js +1 -1
- widgets/taxonomy/assets/banner.svg +1 -17
- widgets/testimonial/assets/banner.svg +1 -41
- widgets/testimonial/testimonial.php +2 -2
- widgets/video/assets/banner.svg +1 -36
- widgets/video/css/controls-skin.png +0 -0
- widgets/video/tpl/default.php +55 -53
- widgets/video/video.php +280 -346
admin/images/icon-back.png
CHANGED
Binary file
|
admin/images/icon-front.png
CHANGED
Binary file
|
admin/images/icon-gear.png
CHANGED
Binary file
|
base/base.php
CHANGED
@@ -11,6 +11,7 @@ include plugin_dir_path(__FILE__).'inc/array-utils.php';
|
|
11 |
include plugin_dir_path(__FILE__).'inc/attachments.php';
|
12 |
include plugin_dir_path(__FILE__).'inc/actions.php';
|
13 |
include plugin_dir_path(__FILE__).'inc/shortcode.php';
|
|
|
14 |
|
15 |
/**
|
16 |
* @param $css
|
@@ -93,7 +94,8 @@ function siteorigin_widget_get_icon($icon_value, $icon_styles = false) {
|
|
93 |
function siteorigin_widget_get_font($font_value) {
|
94 |
|
95 |
$web_safe = array(
|
96 |
-
'
|
|
|
97 |
'Lucida Grande' => 'Lucida, Verdana, sans-serif',
|
98 |
'Georgia' => '"Times New Roman", Times, serif',
|
99 |
'Courier New' => 'Courier, mono',
|
@@ -201,6 +203,7 @@ function siteorigin_widgets_is_google_webfont( $font_value ) {
|
|
201 |
function siteorigin_widgets_font_families( ){
|
202 |
// Add the default fonts
|
203 |
$font_families = array(
|
|
|
204 |
'Helvetica Neue' => 'Helvetica Neue',
|
205 |
'Lucida Grande' => 'Lucida Grande',
|
206 |
'Georgia' => 'Georgia',
|
11 |
include plugin_dir_path(__FILE__).'inc/attachments.php';
|
12 |
include plugin_dir_path(__FILE__).'inc/actions.php';
|
13 |
include plugin_dir_path(__FILE__).'inc/shortcode.php';
|
14 |
+
include plugin_dir_path(__FILE__).'inc/video.php';
|
15 |
|
16 |
/**
|
17 |
* @param $css
|
94 |
function siteorigin_widget_get_font($font_value) {
|
95 |
|
96 |
$web_safe = array(
|
97 |
+
'Arial' => 'Arial, "Helvetica Neue", Helvetica, sans-serif',
|
98 |
+
'Helvetica Neue' => '"Helvetica Neue", Helvetica, Arial, sans-serif',
|
99 |
'Lucida Grande' => 'Lucida, Verdana, sans-serif',
|
100 |
'Georgia' => '"Times New Roman", Times, serif',
|
101 |
'Courier New' => 'Courier, mono',
|
203 |
function siteorigin_widgets_font_families( ){
|
204 |
// Add the default fonts
|
205 |
$font_families = array(
|
206 |
+
'Arial' => 'Arial',
|
207 |
'Helvetica Neue' => 'Helvetica Neue',
|
208 |
'Lucida Grande' => 'Lucida Grande',
|
209 |
'Georgia' => 'Georgia',
|
base/css/img/arrow-down.png
CHANGED
Binary file
|
base/css/img/arrow-right.png
CHANGED
Binary file
|
base/css/img/bundle-icon.png
CHANGED
Binary file
|
base/css/img/close-white.png
CHANGED
Binary file
|
base/css/img/close.png
CHANGED
Binary file
|
base/css/img/loading.gif
CHANGED
Binary file
|
base/css/img/order-asc.png
CHANGED
Binary file
|
base/css/img/order-desc.png
CHANGED
Binary file
|
base/css/img/ordering-icons.png
CHANGED
Binary file
|
base/css/img/thumbnail-placeholder.png
CHANGED
Binary file
|
base/css/img/wpspin_light-2x.gif
CHANGED
Binary file
|
base/css/img/wpspin_light.gif
CHANGED
Binary file
|
base/inc/fields/js/date-range-field.js
CHANGED
@@ -12,36 +12,46 @@
|
|
12 |
if ( $dateRangeField.find( '[class*="sowb-specific-date"]' ).length > 0 ) {
|
13 |
var createPikadayInput = function ( inputName, initVal ) {
|
14 |
var $field = $dateRangeField.find( '.' + inputName + '-picker' );
|
15 |
-
var
|
16 |
-
|
17 |
-
|
18 |
-
toString: function( date, format ) {
|
19 |
var day = date.getDate();
|
20 |
day = day < 10 ? '0' + day.toString() : day.toString();
|
21 |
var month = date.getMonth() + 1;
|
22 |
month = month < 10 ? '0' + month.toString() : month.toString();
|
23 |
var year = date.getFullYear();
|
24 |
return year + '-' + month + '-' + day;
|
25 |
-
}
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
} );
|
42 |
|
43 |
-
// We trigger the change event on the hidden value field, so prevent 'change' from individual date inputs.
|
44 |
$field.change( function ( event ) {
|
|
|
|
|
|
|
|
|
45 |
event.preventDefault();
|
46 |
return false;
|
47 |
} );
|
12 |
if ( $dateRangeField.find( '[class*="sowb-specific-date"]' ).length > 0 ) {
|
13 |
var createPikadayInput = function ( inputName, initVal ) {
|
14 |
var $field = $dateRangeField.find( '.' + inputName + '-picker' );
|
15 |
+
var dateToString = function ( date, format ) {
|
16 |
+
var dateString = '';
|
17 |
+
if ( ! isNaN( date.valueOf() ) ) {
|
|
|
18 |
var day = date.getDate();
|
19 |
day = day < 10 ? '0' + day.toString() : day.toString();
|
20 |
var month = date.getMonth() + 1;
|
21 |
month = month < 10 ? '0' + month.toString() : month.toString();
|
22 |
var year = date.getFullYear();
|
23 |
return year + '-' + month + '-' + day;
|
24 |
+
}
|
25 |
+
|
26 |
+
return dateString;
|
27 |
+
};
|
28 |
+
var parse = function ( dateString, format ) {
|
29 |
+
var parts = dateString.split( '-' );
|
30 |
+
var day = parseInt( parts[ 2 ] );
|
31 |
+
var month = parseInt( parts[ 1 ] ) - 1;
|
32 |
+
var year = parseInt( parts[ 0 ] );
|
33 |
+
return new Date( year, month, day );
|
34 |
+
};
|
35 |
+
var updateValField = function ( date ) {
|
36 |
+
var curVal = valField.val() === '' ? {} : JSON.parse( valField.val() );
|
37 |
+
curVal[ inputName ] = dateToString( date );
|
38 |
+
$field.val( curVal[ inputName ] );
|
39 |
+
valField.val( JSON.stringify( curVal ) );
|
40 |
+
valField.trigger( 'change', { silent: true } );
|
41 |
+
};
|
42 |
+
var picker = new Pikaday( {
|
43 |
+
field: $field[ 0 ],
|
44 |
+
blurFieldOnSelect: false,
|
45 |
+
toString: dateToString,
|
46 |
+
parse: parse,
|
47 |
+
onSelect: updateValField,
|
48 |
} );
|
49 |
|
|
|
50 |
$field.change( function ( event ) {
|
51 |
+
var dateVal = parse( $field.val() );
|
52 |
+
updateValField( dateVal );
|
53 |
+
|
54 |
+
// We trigger the change event on the hidden value field, so prevent 'change' from individual date inputs.
|
55 |
event.preventDefault();
|
56 |
return false;
|
57 |
} );
|
base/inc/fields/js/date-range-field.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(
|
1 |
+
!function(e){e(document).on("sowsetupformfield",".siteorigin-widget-field-type-date-range",function(t){var i=e(this),a=i.find('input[type="hidden"][class="siteorigin-widget-input"]');if(!i.data("initialized")){if(i.find('[class*="sowb-specific-date"]').length>0){var n=function(e,t){var n=i.find("."+e+"-picker"),r=function(e,t){if(!isNaN(e.valueOf())){var i=e.getDate();i=i<10?"0"+i.toString():i.toString();var a=e.getMonth()+1;a=a<10?"0"+a.toString():a.toString();return e.getFullYear()+"-"+a+"-"+i}return""},l=function(e,t){var i=e.split("-"),a=parseInt(i[2]),n=parseInt(i[1])-1,r=parseInt(i[0]);return new Date(r,n,a)},s=function(t){var i=""===a.val()?{}:JSON.parse(a.val());i[e]=r(t),n.val(i[e]),a.val(JSON.stringify(i)),a.trigger("change",{silent:!0})},f=new Pikaday({field:n[0],blurFieldOnSelect:!1,toString:r,parse:l,onSelect:s});return n.change(function(e){var t=l(n.val());return s(t),e.preventDefault(),!1}),t&&n.val(t),f}.bind(this),r=""===a.val()?{after:"",before:""}:JSON.parse(a.val()),l=n("after",r.after),s=n("before",r.before);a.change(function(e,t){if(!t||!t.silent){var i=""===a.val()?{after:"",before:""}:JSON.parse(a.val());l.setDate(i.after),s.setDate(i.before)}})}else i.find(".sowb-relative-date").length>0&&i.find(".sowb-relative-date").each(function(){var t=e(this).data("name");e(this).change(function(){var i=""===a.val()?{}:JSON.parse(a.val());i.hasOwnProperty(t)||(i[t]={}),i[t].value=e(this).find("> input").val(),i[t].unit=e(this).find("> select").val(),a.val(JSON.stringify(i)),a.trigger("change",{silent:!0})}.bind(this)),a.change(function(i,n){if(!n||!n.silent){var r=""===a.val()?{from:{},to:{}}:JSON.parse(a.val());r.hasOwnProperty(t)&&(e(this).find("> input").val(r[t].value),e(this).find("> select").val(r[t].unit))}}.bind(this))});i.data("initialized",!0)}})}(jQuery);
|
base/inc/fields/js/tinymce-field.js
CHANGED
@@ -33,8 +33,10 @@
|
|
33 |
} );
|
34 |
}
|
35 |
};
|
36 |
-
|
37 |
-
|
|
|
|
|
38 |
$( document ).on( 'wp-before-tinymce-init', function ( event, init ) {
|
39 |
if ( init.selector === settings.tinymce.selector ) {
|
40 |
var mediaButtons = $container.data( 'mediaButtons' );
|
33 |
} );
|
34 |
}
|
35 |
};
|
36 |
+
|
37 |
+
if ( settings.tinymce ) {
|
38 |
+
settings.tinymce = $.extend( {}, settings.tinymce, { selector: '#' + id, setup: setupEditor } );
|
39 |
+
}
|
40 |
$( document ).on( 'wp-before-tinymce-init', function ( event, init ) {
|
41 |
if ( init.selector === settings.tinymce.selector ) {
|
42 |
var mediaButtons = $container.data( 'mediaButtons' );
|
base/inc/fields/js/tinymce-field.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(i){var e=function(e){if(!e.data("initialized")){var t,n=e.find(".siteorigin-widget-tinymce-container"),o=n.data("editorSettings");if(o.wpautopToggleField){var r=n.closest(".siteorigin-widget-form");t=r.find(o.wpautopToggleField),o.tinymce.wpautop=t.is(":checked")}var d=n.find("textarea"),s=d.attr("id"),a=function(i){i.on("change",function(){window.tinymce.get(s).save(),d.trigger("change")}),t&&(t.off("change"),t.on("change",function(){wp.editor.remove(s),o.tinymce.wpautop=t.is(":checked"),wp.editor.initialize(s,o)}))};if(o.tinymce=i.extend({},o.tinymce,{selector:"#"+s,setup:a}),i(document).on("wp-before-tinymce-init",function(i,t){if(t.selector===o.tinymce.selector){var r=n.data("mediaButtons");e.find(".wp-editor-tabs").before(r.html)}}),i(document).on("tinymce-editor-setup",function(){e.find(".wp-editor-wrap").hasClass(o.selectedEditor+"-active")||setTimeout(function(){window.switchEditors.go(s)},10)}),wp.editor.remove(s),d.is(":visible"))wp.editor.initialize(s,o);else var c=setInterval(function(){d.is(":visible")&&(wp.editor.initialize(s,o),clearInterval(c))},500);e.on("click",function(t){var n=i(t.target),r=n.hasClass("switch-tmce")?"tmce":"html";if("tmce"===r){var a=window.tinymce.get(s);if(n.hasClass("wp-switch-editor")&&null!==a){var c=d.val();-1!==c.search("<")&&-1===c.search(">")&&(c=c.replace(/</g,""),d.val(c)),a.setContent(window.switchEditors.wpautop(c))}}o.selectedEditor=r,e.find(".siteorigin-widget-tinymce-selected-editor").val(r)}),e.data("initialized",!0)}};i(document).on("sowsetupformfield",".siteorigin-widget-field-type-tinymce",function(){var t=i(this),n=t.closest(".siteorigin-widget-field-repeater-item-form");n.length>0?n.is(":visible")?e(t):n.on("slideToggleOpenComplete",function(){n.is(":visible")&&(e(t),n.off("slideToggleOpenComplete"))}):e(t)}),i(document).on("sortstop",function(t,n){var o;o=n.item.is(".siteorigin-widget-field-repeater-item")?n.item.find("> .siteorigin-widget-field-repeater-item-form"):n.item.find(".siteorigin-widget-form"),o.find(".siteorigin-widget-field-type-tinymce").each(function(){i(this).data("initialized",null),e(i(this))})})}(jQuery);
|
1 |
+
!function(i){var e=function(e){if(!e.data("initialized")){var t,n=e.find(".siteorigin-widget-tinymce-container"),o=n.data("editorSettings");if(o.wpautopToggleField){var r=n.closest(".siteorigin-widget-form");t=r.find(o.wpautopToggleField),o.tinymce.wpautop=t.is(":checked")}var d=n.find("textarea"),s=d.attr("id"),a=function(i){i.on("change",function(){window.tinymce.get(s).save(),d.trigger("change")}),t&&(t.off("change"),t.on("change",function(){wp.editor.remove(s),o.tinymce.wpautop=t.is(":checked"),wp.editor.initialize(s,o)}))};if(o.tinymce&&(o.tinymce=i.extend({},o.tinymce,{selector:"#"+s,setup:a})),i(document).on("wp-before-tinymce-init",function(i,t){if(t.selector===o.tinymce.selector){var r=n.data("mediaButtons");e.find(".wp-editor-tabs").before(r.html)}}),i(document).on("tinymce-editor-setup",function(){e.find(".wp-editor-wrap").hasClass(o.selectedEditor+"-active")||setTimeout(function(){window.switchEditors.go(s)},10)}),wp.editor.remove(s),d.is(":visible"))wp.editor.initialize(s,o);else var c=setInterval(function(){d.is(":visible")&&(wp.editor.initialize(s,o),clearInterval(c))},500);e.on("click",function(t){var n=i(t.target),r=n.hasClass("switch-tmce")?"tmce":"html";if("tmce"===r){var a=window.tinymce.get(s);if(n.hasClass("wp-switch-editor")&&null!==a){var c=d.val();-1!==c.search("<")&&-1===c.search(">")&&(c=c.replace(/</g,""),d.val(c)),a.setContent(window.switchEditors.wpautop(c))}}o.selectedEditor=r,e.find(".siteorigin-widget-tinymce-selected-editor").val(r)}),e.data("initialized",!0)}};i(document).on("sowsetupformfield",".siteorigin-widget-field-type-tinymce",function(){var t=i(this),n=t.closest(".siteorigin-widget-field-repeater-item-form");n.length>0?n.is(":visible")?e(t):n.on("slideToggleOpenComplete",function(){n.is(":visible")&&(e(t),n.off("slideToggleOpenComplete"))}):e(t)}),i(document).on("sortstop",function(t,n){var o;o=n.item.is(".siteorigin-widget-field-repeater-item")?n.item.find("> .siteorigin-widget-field-repeater-item-form"):n.item.find(".siteorigin-widget-form"),o.find(".siteorigin-widget-field-type-tinymce").each(function(){i(this).data("initialized",null),e(i(this))})})}(jQuery);
|
base/inc/fields/posts.class.php
CHANGED
@@ -1,188 +1,189 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/**
|
4 |
-
* Class SiteOrigin_Widget_Field_Posts
|
5 |
-
*/
|
6 |
-
class SiteOrigin_Widget_Field_Posts extends SiteOrigin_Widget_Field_Container_Base {
|
7 |
-
|
8 |
-
public function __construct( $base_name, $element_id, $element_name, $field_options, SiteOrigin_Widget $for_widget, $parent_container = array() ) {
|
9 |
-
parent::__construct( $base_name, $element_id, $element_name, $field_options, $for_widget, $parent_container );
|
10 |
-
|
11 |
-
$types = get_post_types( array( 'public' => true ), 'objects' );
|
12 |
-
$type_options = array( '_all' => __( 'All', 'so-widgets-bundle' ) );
|
13 |
-
|
14 |
-
foreach ( $types as $id => $type ) {
|
15 |
-
$type_options[ $id ] = $type->labels->name;
|
16 |
-
}
|
17 |
-
|
18 |
-
$this->fields = array(
|
19 |
-
|
20 |
-
'post_type' => array(
|
21 |
-
'type' => 'select',
|
22 |
-
'label' => __( 'Post type', 'so-widgets-bundle' ),
|
23 |
-
'multiple' => true,
|
24 |
-
'options' => $type_options,
|
25 |
-
'default' => 'post'
|
26 |
-
),
|
27 |
-
|
28 |
-
'post__in' => array(
|
29 |
-
'type' => 'autocomplete',
|
30 |
-
'label' => __( 'Post in', 'so-widgets-bundle' ),
|
31 |
-
'source' => 'posts',
|
32 |
-
),
|
33 |
-
|
34 |
-
'tax_query' => array(
|
35 |
-
'type' => 'autocomplete',
|
36 |
-
'label' => __( 'Taxonomies', 'so-widgets-bundle' ),
|
37 |
-
'source' => 'terms',
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
'
|
43 |
-
'
|
44 |
-
|
45 |
-
'
|
46 |
-
|
47 |
-
|
48 |
-
'
|
49 |
-
'
|
50 |
-
|
51 |
-
'
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
'
|
58 |
-
'
|
59 |
-
'
|
60 |
-
|
61 |
-
'
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
'
|
68 |
-
'
|
69 |
-
'
|
70 |
-
|
71 |
-
'
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
'
|
78 |
-
'
|
79 |
-
|
80 |
-
'
|
81 |
-
'
|
82 |
-
'
|
83 |
-
'
|
84 |
-
'
|
85 |
-
'
|
86 |
-
'
|
87 |
-
'
|
88 |
-
'
|
89 |
-
'
|
90 |
-
'
|
91 |
-
'
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
'
|
99 |
-
'
|
100 |
-
|
101 |
-
'
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
'
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
'
|
114 |
-
'
|
115 |
-
|
116 |
-
'
|
117 |
-
'
|
118 |
-
'
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
'
|
125 |
-
'
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
$
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Class SiteOrigin_Widget_Field_Posts
|
5 |
+
*/
|
6 |
+
class SiteOrigin_Widget_Field_Posts extends SiteOrigin_Widget_Field_Container_Base {
|
7 |
+
|
8 |
+
public function __construct( $base_name, $element_id, $element_name, $field_options, SiteOrigin_Widget $for_widget, $parent_container = array() ) {
|
9 |
+
parent::__construct( $base_name, $element_id, $element_name, $field_options, $for_widget, $parent_container );
|
10 |
+
|
11 |
+
$types = get_post_types( array( 'public' => true ), 'objects' );
|
12 |
+
$type_options = array( '_all' => __( 'All', 'so-widgets-bundle' ) );
|
13 |
+
|
14 |
+
foreach ( $types as $id => $type ) {
|
15 |
+
$type_options[ $id ] = $type->labels->name;
|
16 |
+
}
|
17 |
+
|
18 |
+
$this->fields = array(
|
19 |
+
|
20 |
+
'post_type' => array(
|
21 |
+
'type' => 'select',
|
22 |
+
'label' => __( 'Post type', 'so-widgets-bundle' ),
|
23 |
+
'multiple' => true,
|
24 |
+
'options' => $type_options,
|
25 |
+
'default' => 'post'
|
26 |
+
),
|
27 |
+
|
28 |
+
'post__in' => array(
|
29 |
+
'type' => 'autocomplete',
|
30 |
+
'label' => __( 'Post in', 'so-widgets-bundle' ),
|
31 |
+
'source' => 'posts',
|
32 |
+
),
|
33 |
+
|
34 |
+
'tax_query' => array(
|
35 |
+
'type' => 'autocomplete',
|
36 |
+
'label' => __( 'Taxonomies', 'so-widgets-bundle' ),
|
37 |
+
'source' => 'terms',
|
38 |
+
'description' => __( 'Taxonomies are groups such as categories, tags, posts and products.', 'so-widgets-bundle' ),
|
39 |
+
),
|
40 |
+
|
41 |
+
'date_type' => array(
|
42 |
+
'type' => 'radio',
|
43 |
+
'label' => __( 'Date selection type', 'so-widgets-bundle' ),
|
44 |
+
'options' => array(
|
45 |
+
'specific' => __( 'Specific', 'so-widgets-bundle' ),
|
46 |
+
'relative' => __( 'Relative', 'so-widgets-bundle' ),
|
47 |
+
),
|
48 |
+
'description' => __( 'Select a range between specific dates or relative to the current date.', 'so-widgets-bundle' ),
|
49 |
+
'default' => 'specific',
|
50 |
+
'state_emitter' => array(
|
51 |
+
'callback' => 'select',
|
52 |
+
'args' => array( 'date_type' )
|
53 |
+
),
|
54 |
+
),
|
55 |
+
|
56 |
+
'date_query' => array(
|
57 |
+
'type' => 'date-range',
|
58 |
+
'label' => __( 'Dates', 'so-widgets-bundle' ),
|
59 |
+
'date_type' => 'specific',
|
60 |
+
'state_handler' => array(
|
61 |
+
'date_type[specific]' => array('show'),
|
62 |
+
'_else[date_type]' => array('hide'),
|
63 |
+
),
|
64 |
+
),
|
65 |
+
|
66 |
+
'date_query_relative' => array(
|
67 |
+
'type' => 'date-range',
|
68 |
+
'label' => __( 'Dates', 'so-widgets-bundle' ),
|
69 |
+
'date_type' => 'relative',
|
70 |
+
'state_handler' => array(
|
71 |
+
'date_type[relative]' => array('show'),
|
72 |
+
'_else[date_type]' => array('hide'),
|
73 |
+
),
|
74 |
+
),
|
75 |
+
|
76 |
+
'orderby' => array(
|
77 |
+
'type' => 'select',
|
78 |
+
'label' => __( 'Order by', 'so-widgets-bundle' ),
|
79 |
+
'options' => array(
|
80 |
+
'none' => __( 'No order', 'so-widgets-bundle' ),
|
81 |
+
'ID' => __( 'Post ID', 'so-widgets-bundle' ),
|
82 |
+
'author' => __( 'Author', 'so-widgets-bundle' ),
|
83 |
+
'title' => __( 'Title', 'so-widgets-bundle' ),
|
84 |
+
'date' => __( 'Published date', 'so-widgets-bundle' ),
|
85 |
+
'modified' => __( 'Modified date', 'so-widgets-bundle' ),
|
86 |
+
'parent' => __( 'By parent', 'so-widgets-bundle' ),
|
87 |
+
'rand' => __( 'Random order', 'so-widgets-bundle' ),
|
88 |
+
'comment_count' => __( 'Comment count', 'so-widgets-bundle' ),
|
89 |
+
'menu_order' => __( 'Menu order', 'so-widgets-bundle' ),
|
90 |
+
'meta_value' => __( 'By meta value', 'so-widgets-bundle' ),
|
91 |
+
'meta_value_num' => __( 'By numeric meta value', 'so-widgets-bundle' ),
|
92 |
+
'post__in' => __( 'By include order', 'so-widgets-bundle' ),
|
93 |
+
),
|
94 |
+
'default' => 'date',
|
95 |
+
),
|
96 |
+
|
97 |
+
'order' => array(
|
98 |
+
'type' => 'radio',
|
99 |
+
'label' => __( 'Order direction', 'so-widgets-bundle' ),
|
100 |
+
'options' => array(
|
101 |
+
'ASC' => __( 'Ascending', 'so-widgets-bundle' ),
|
102 |
+
'DESC' => __( 'Descending', 'so-widgets-bundle' ),
|
103 |
+
),
|
104 |
+
'default' => 'DESC',
|
105 |
+
),
|
106 |
+
|
107 |
+
'posts_per_page' => array(
|
108 |
+
'type' => 'number',
|
109 |
+
'label' => __( 'Posts per page', 'so-widgets-bundle' ),
|
110 |
+
),
|
111 |
+
|
112 |
+
'sticky' => array(
|
113 |
+
'type' => 'select',
|
114 |
+
'label' => __( 'Sticky posts', 'so-widgets-bundle' ),
|
115 |
+
'options' => array(
|
116 |
+
'' => __( 'Default', 'so-widgets-bundle' ),
|
117 |
+
'ignore' => __( 'Ignore sticky', 'so-widgets-bundle' ),
|
118 |
+
'exclude' => __( 'Exclude sticky', 'so-widgets-bundle' ),
|
119 |
+
'only' => __( 'Only sticky', 'so-widgets-bundle' ),
|
120 |
+
),
|
121 |
+
),
|
122 |
+
|
123 |
+
'additional' => array(
|
124 |
+
'type' => 'text',
|
125 |
+
'label' => __( 'Additional', 'so-widgets-bundle' ),
|
126 |
+
'description' => __( 'Additional query arguments. See <a href="http://codex.wordpress.org/Function_Reference/query_posts" target="_blank" rel="noopener noreferrer">query_posts</a>.', 'so-widgets-bundle' ),
|
127 |
+
),
|
128 |
+
);
|
129 |
+
}
|
130 |
+
|
131 |
+
protected function render_field_label( $value, $instance ) {
|
132 |
+
?><div class="posts-container-label-wrapper<?php if ( $this->state == 'open' ) {
|
133 |
+
echo ' siteorigin-widget-section-visible';
|
134 |
+
} ?>"><?php
|
135 |
+
parent::render_field_label( $value, $instance );
|
136 |
+
?><span class="sow-current-count"><?php echo esc_html( siteorigin_widget_post_selector_count_posts( $value ) )?></span>
|
137 |
+
</div><?php
|
138 |
+
}
|
139 |
+
|
140 |
+
protected function render_field( $value, $instance ) {
|
141 |
+
$value = wp_parse_args( $value );
|
142 |
+
|
143 |
+
if( !empty( $value['post_type'] ) ) {
|
144 |
+
$value['post_type'] = strpos( $value['post_type'], ',' ) !== false ? explode( ',', $value['post_type'] ) : $value['post_type'];
|
145 |
+
}
|
146 |
+
|
147 |
+
if ( $this->collapsible ) {
|
148 |
+
?><div class="siteorigin-widget-section <?php if ( $this->state == 'closed' ) {
|
149 |
+
echo 'siteorigin-widget-section-hide';
|
150 |
+
} ?>"><?php
|
151 |
+
}
|
152 |
+
|
153 |
+
$this->create_and_render_sub_fields( $value, array( 'name' => $this->base_name, 'type' => 'composite' ) );
|
154 |
+
|
155 |
+
if ( $this->collapsible ) {
|
156 |
+
?></div><?php
|
157 |
+
}
|
158 |
+
}
|
159 |
+
|
160 |
+
public function enqueue_scripts() {
|
161 |
+
wp_enqueue_script(
|
162 |
+
'so-posts-selector-field',
|
163 |
+
plugin_dir_url( __FILE__ ) . 'js/posts-field' . SOW_BUNDLE_JS_SUFFIX . '.js',
|
164 |
+
array( 'jquery' ),
|
165 |
+
SOW_BUNDLE_VERSION,
|
166 |
+
true
|
167 |
+
);
|
168 |
+
}
|
169 |
+
|
170 |
+
protected function sanitize_field_input( $value, $instance ) {
|
171 |
+
// Special handling for the 'additional' args field.
|
172 |
+
if ( ! empty( $value['additional'] ) ) {
|
173 |
+
$value['additional'] = urlencode( $value['additional'] );
|
174 |
+
}
|
175 |
+
$value = parent::sanitize_field_input( $value, $instance );
|
176 |
+
$result = '';
|
177 |
+
foreach ( $value as $key => $item ) {
|
178 |
+
if ( ! empty( $item ) ) {
|
179 |
+
if ( is_array( $item ) ) {
|
180 |
+
$item = implode( ',', $item );
|
181 |
+
}
|
182 |
+
$result .= ( empty( $result ) ? '' : '&' ) . $key . '=' . $item;
|
183 |
+
}
|
184 |
+
}
|
185 |
+
|
186 |
+
return $result;
|
187 |
+
}
|
188 |
+
|
189 |
+
}
|
base/inc/fields/tinymce.class.php
CHANGED
@@ -329,42 +329,72 @@ class SiteOrigin_Widget_Field_TinyMCE extends SiteOrigin_Widget_Field_Text_Input
|
|
329 |
return;
|
330 |
}
|
331 |
|
332 |
-
$
|
333 |
|
334 |
-
$
|
335 |
-
'toolbar1' => apply_filters( 'mce_buttons', $this->mce_buttons, $this->element_id ),
|
336 |
-
'toolbar2' => apply_filters( 'mce_buttons_2', $this->mce_buttons_2, $this->element_id ),
|
337 |
-
'toolbar3' => apply_filters( 'mce_buttons_3',$this->mce_buttons_3, $this->element_id ),
|
338 |
-
'toolbar4' => apply_filters( 'mce_buttons_4',$this->mce_buttons_4, $this->element_id ),
|
339 |
-
'plugins' => array_unique( apply_filters( 'tiny_mce_plugins', $this->mce_plugins ) ),
|
340 |
-
);
|
341 |
-
|
342 |
-
foreach ( $tmce_settings as $name => $setting ) {
|
343 |
-
$tmce_settings[ $name ] = is_array( $setting ) ? implode( ',', $setting ) : '';
|
344 |
-
}
|
345 |
-
|
346 |
-
$tmce_settings['external_plugins'] = array_unique( apply_filters( 'mce_external_plugins', $this->mce_external_plugins ) );
|
347 |
-
|
348 |
-
$suffix = SCRIPT_DEBUG ? '' : '.min';
|
349 |
-
$version = 'ver=' . get_bloginfo( 'version' );
|
350 |
-
// Default stylesheets
|
351 |
-
$mce_css = includes_url( "css/dashicons$suffix.css?$version" ) . ',' .
|
352 |
-
includes_url( "js/tinymce/skins/wordpress/wp-content.css?$version" );
|
353 |
|
354 |
-
$
|
|
|
|
|
355 |
|
356 |
-
if (
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
361 |
}
|
362 |
}
|
363 |
|
364 |
-
$
|
365 |
}
|
366 |
-
$mce_css = trim( apply_filters( 'mce_css', $mce_css ), ' ,' );
|
367 |
-
$tmce_settings['content_css'] = $mce_css;
|
368 |
|
369 |
$qt_settings = apply_filters(
|
370 |
'quicktags_settings',
|
@@ -375,43 +405,21 @@ class SiteOrigin_Widget_Field_TinyMCE extends SiteOrigin_Widget_Field_Text_Input
|
|
375 |
$qt_settings['buttons'] = ! empty( $qt_settings['buttons'] ) ? $qt_settings['buttons'] : array();
|
376 |
$qt_settings['buttons'] = is_array( $qt_settings['buttons'] ) ? implode( ',', $qt_settings['buttons'] ) : '';
|
377 |
|
378 |
-
$settings = array(
|
379 |
-
'
|
380 |
-
'tinymce' => array(
|
381 |
-
'wp_skip_init' => strpos( $this->element_id, '__i__' ) != false ||
|
382 |
-
strpos( $this->element_id, '_id_' ) != false,
|
383 |
-
'wpautop' => ! empty( $this->wpautop ),
|
384 |
-
),
|
385 |
-
'quicktags' => array(
|
386 |
-
'buttons' => $qt_settings['buttons'],
|
387 |
-
),
|
388 |
);
|
389 |
|
390 |
-
$tmce_settings = apply_filters( 'tiny_mce_before_init', $tmce_settings, $this->element_id );
|
391 |
-
|
392 |
-
foreach ( $tmce_settings as $name => $setting ) {
|
393 |
-
unset( $jdec );
|
394 |
-
if ( ! empty( $tmce_settings[ $name ] ) ) {
|
395 |
-
// Attempt to decode setting as JSON. For back compat with filters used by WP editor.
|
396 |
-
if ( is_string( $setting ) ) {
|
397 |
-
$jdec = json_decode( $setting, true );
|
398 |
-
}
|
399 |
-
$settings['tinymce'][ $name ] = empty( $jdec ) ? $setting : $jdec;
|
400 |
-
}
|
401 |
-
}
|
402 |
-
|
403 |
$value = apply_filters( 'the_editor_content', $value, $this->selected_editor );
|
404 |
|
405 |
if ( false !== stripos( $value, 'textarea' ) ) {
|
406 |
$value = preg_replace( '%</textarea%i', '</textarea', $value );
|
407 |
}
|
408 |
|
409 |
-
|
410 |
-
$media_buttons = $this->render_media_buttons( $this->element_id );
|
411 |
-
|
412 |
?><div class="siteorigin-widget-tinymce-container"
|
413 |
-
|
414 |
-
|
|
|
|
|
415 |
<textarea id="<?php echo esc_attr( $this->element_id ) ?>"
|
416 |
name="<?php echo esc_attr( $this->element_name ) ?>"
|
417 |
<?php if ( isset( $this->editor_height ) ) : ?>
|
329 |
return;
|
330 |
}
|
331 |
|
332 |
+
$user_can_richedit = user_can_richedit();
|
333 |
|
334 |
+
$selected_editor = $user_can_richedit && in_array( $this->selected_editor, array( 'tinymce', 'tmce' ) ) ? 'tmce' : 'html';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
335 |
|
336 |
+
$settings = array(
|
337 |
+
'selectedEditor' => $selected_editor,
|
338 |
+
);
|
339 |
|
340 |
+
if ( $user_can_richedit ) {
|
341 |
+
|
342 |
+
$tmce_settings = array(
|
343 |
+
'toolbar1' => apply_filters( 'mce_buttons', $this->mce_buttons, $this->element_id ),
|
344 |
+
'toolbar2' => apply_filters( 'mce_buttons_2', $this->mce_buttons_2, $this->element_id ),
|
345 |
+
'toolbar3' => apply_filters( 'mce_buttons_3',$this->mce_buttons_3, $this->element_id ),
|
346 |
+
'toolbar4' => apply_filters( 'mce_buttons_4',$this->mce_buttons_4, $this->element_id ),
|
347 |
+
'plugins' => array_unique( apply_filters( 'tiny_mce_plugins', $this->mce_plugins ) ),
|
348 |
+
);
|
349 |
+
|
350 |
+
foreach ( $tmce_settings as $name => $setting ) {
|
351 |
+
$tmce_settings[ $name ] = is_array( $setting ) ? implode( ',', $setting ) : '';
|
352 |
+
}
|
353 |
+
|
354 |
+
$tmce_settings['external_plugins'] = array_unique( apply_filters( 'mce_external_plugins', $this->mce_external_plugins ) );
|
355 |
+
|
356 |
+
$suffix = SCRIPT_DEBUG ? '' : '.min';
|
357 |
+
$version = 'ver=' . get_bloginfo( 'version' );
|
358 |
+
// Default stylesheets
|
359 |
+
$mce_css = includes_url( "css/dashicons$suffix.css?$version" ) . ',' .
|
360 |
+
includes_url( "js/tinymce/skins/wordpress/wp-content.css?$version" );
|
361 |
+
|
362 |
+
$editor_styles = get_editor_stylesheets();
|
363 |
+
|
364 |
+
if ( ! empty( $editor_styles ) ) {
|
365 |
+
// Force urlencoding of commas.
|
366 |
+
foreach ( $editor_styles as $key => $url ) {
|
367 |
+
if ( strpos( $url, ',' ) !== false ) {
|
368 |
+
$editor_styles[ $key ] = str_replace( ',', '%2C', $url );
|
369 |
+
}
|
370 |
+
}
|
371 |
+
|
372 |
+
$mce_css .= ',' . implode( ',', $editor_styles );
|
373 |
+
}
|
374 |
+
$mce_css = trim( apply_filters( 'mce_css', $mce_css ), ' ,' );
|
375 |
+
$tmce_settings['content_css'] = $mce_css;
|
376 |
+
|
377 |
+
$settings['tinymce'] = array(
|
378 |
+
'wp_skip_init' => strpos( $this->element_id, '__i__' ) != false ||
|
379 |
+
strpos( $this->element_id, '_id_' ) != false,
|
380 |
+
'wpautop' => ! empty( $this->wpautop ),
|
381 |
+
);
|
382 |
+
|
383 |
+
$tmce_settings = apply_filters( 'tiny_mce_before_init', $tmce_settings, $this->element_id );
|
384 |
+
|
385 |
+
foreach ( $tmce_settings as $name => $setting ) {
|
386 |
+
unset( $jdec );
|
387 |
+
if ( ! empty( $tmce_settings[ $name ] ) ) {
|
388 |
+
// Attempt to decode setting as JSON. For back compat with filters used by WP editor.
|
389 |
+
if ( is_string( $setting ) ) {
|
390 |
+
$jdec = json_decode( $setting, true );
|
391 |
+
}
|
392 |
+
$settings['tinymce'][ $name ] = empty( $jdec ) ? $setting : $jdec;
|
393 |
}
|
394 |
}
|
395 |
|
396 |
+
$media_buttons = $this->render_media_buttons( $this->element_id );
|
397 |
}
|
|
|
|
|
398 |
|
399 |
$qt_settings = apply_filters(
|
400 |
'quicktags_settings',
|
405 |
$qt_settings['buttons'] = ! empty( $qt_settings['buttons'] ) ? $qt_settings['buttons'] : array();
|
406 |
$qt_settings['buttons'] = is_array( $qt_settings['buttons'] ) ? implode( ',', $qt_settings['buttons'] ) : '';
|
407 |
|
408 |
+
$settings['quicktags'] = array(
|
409 |
+
'buttons' => $qt_settings['buttons'],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
410 |
);
|
411 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
412 |
$value = apply_filters( 'the_editor_content', $value, $this->selected_editor );
|
413 |
|
414 |
if ( false !== stripos( $value, 'textarea' ) ) {
|
415 |
$value = preg_replace( '%</textarea%i', '</textarea', $value );
|
416 |
}
|
417 |
|
|
|
|
|
|
|
418 |
?><div class="siteorigin-widget-tinymce-container"
|
419 |
+
<?php if ( ! empty( $media_buttons ) ) : ?>
|
420 |
+
data-media-buttons="<?php echo esc_attr( json_encode( array( 'html' => $media_buttons ) ) ) ?>"
|
421 |
+
<?php endif; ?>
|
422 |
+
data-editor-settings="<?php echo esc_attr( json_encode( $settings ) ) ?>">
|
423 |
<textarea id="<?php echo esc_attr( $this->element_id ) ?>"
|
424 |
name="<?php echo esc_attr( $this->element_name ) ?>"
|
425 |
<?php if ( isset( $this->editor_height ) ) : ?>
|
base/inc/fields/widget.class.php
CHANGED
@@ -1,60 +1,71 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/**
|
4 |
-
* Class SiteOrigin_Widget_Field_Widget
|
5 |
-
*/
|
6 |
-
class SiteOrigin_Widget_Field_Widget extends SiteOrigin_Widget_Field_Container_Base {
|
7 |
-
/**
|
8 |
-
* The class name of the widget to be included.
|
9 |
-
*
|
10 |
-
* @access protected
|
11 |
-
* @var string
|
12 |
-
*/
|
13 |
-
protected $class;
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Class SiteOrigin_Widget_Field_Widget
|
5 |
+
*/
|
6 |
+
class SiteOrigin_Widget_Field_Widget extends SiteOrigin_Widget_Field_Container_Base {
|
7 |
+
/**
|
8 |
+
* The class name of the widget to be included.
|
9 |
+
*
|
10 |
+
* @access protected
|
11 |
+
* @var string
|
12 |
+
*/
|
13 |
+
protected $class;
|
14 |
+
/**
|
15 |
+
* A filter for the widget's form fields. In some cases we may want to filter some fields out of a sub-widget form.
|
16 |
+
*
|
17 |
+
* @access protected
|
18 |
+
* @var callable
|
19 |
+
*/
|
20 |
+
protected $form_filter;
|
21 |
+
|
22 |
+
public function __construct( $base_name, $element_id, $element_name, $field_options, SiteOrigin_Widget $for_widget, $parent_container = array() ) {
|
23 |
+
parent::__construct( $base_name, $element_id, $element_name, $field_options, $for_widget, $parent_container );
|
24 |
+
|
25 |
+
if( isset( $this->class ) ) {
|
26 |
+
if( class_exists( $this->class ) ) {
|
27 |
+
/* @var $sub_widget SiteOrigin_Widget */
|
28 |
+
$sub_widget = new $this->class;
|
29 |
+
if( is_a( $sub_widget, 'SiteOrigin_Widget' ) ) {
|
30 |
+
if ( ! empty( $this->form_filter ) && is_callable( $this->form_filter ) ) {
|
31 |
+
$this->fields = call_user_func( $this->form_filter, $sub_widget->form_options( $this->for_widget ) );
|
32 |
+
} else {
|
33 |
+
$this->fields = $sub_widget->form_options( $this->for_widget );
|
34 |
+
}
|
35 |
+
}
|
36 |
+
}
|
37 |
+
}
|
38 |
+
}
|
39 |
+
|
40 |
+
protected function render_field( $value, $instance ) {
|
41 |
+
|
42 |
+
echo '<div class="siteorigin-widget-widget">';
|
43 |
+
if ( $this->collapsible ) {
|
44 |
+
?><div class="siteorigin-widget-section <?php if( $this->state == 'closed' ) echo 'siteorigin-widget-section-hide'; ?>"><?php
|
45 |
+
}
|
46 |
+
|
47 |
+
if( ! class_exists( $this->class ) ) {
|
48 |
+
printf( __( '%s does not exist', 'so-widgets-bundle' ), $this->class );
|
49 |
+
if ( $this->collapsible ) {
|
50 |
+
echo '</div>';
|
51 |
+
}
|
52 |
+
return;
|
53 |
+
}
|
54 |
+
|
55 |
+
/* @var $sub_widget SiteOrigin_Widget */
|
56 |
+
$sub_widget = new $this->class;
|
57 |
+
if( ! is_a( $sub_widget, 'SiteOrigin_Widget' ) ) {
|
58 |
+
printf( __( '%s is not a SiteOrigin Widget', 'so-widgets-bundle' ), $this->class );
|
59 |
+
if ( $this->collapsible ) {
|
60 |
+
echo '</div>';
|
61 |
+
}
|
62 |
+
return;
|
63 |
+
}
|
64 |
+
$this->create_and_render_sub_fields( $value, array( 'name' => $this->base_name, 'type' => 'widget' ) );
|
65 |
+
if ( $this->collapsible ) {
|
66 |
+
?></div><?php
|
67 |
+
}
|
68 |
+
echo '</div>';
|
69 |
+
}
|
70 |
+
|
71 |
+
}
|
base/inc/video.php
ADDED
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* This class handles video related functionality.
|
5 |
+
*
|
6 |
+
* Class SiteOrigin_Video
|
7 |
+
*/
|
8 |
+
|
9 |
+
class SiteOrigin_Video {
|
10 |
+
|
11 |
+
/**
|
12 |
+
* Check whether it's possible to oEmbed by testing if a provider URL can be obtained.
|
13 |
+
*
|
14 |
+
* @param string $url The URL of the video to be embedded.
|
15 |
+
*
|
16 |
+
* @return bool Whether it's possible to embed this video.
|
17 |
+
*/
|
18 |
+
function can_oembed( $url ) {
|
19 |
+
$wp_oembed = new WP_oEmbed();
|
20 |
+
$provider = $wp_oembed->get_provider( $url, array( 'discover' => false ) );
|
21 |
+
|
22 |
+
return ! empty( $provider );
|
23 |
+
}
|
24 |
+
|
25 |
+
/**
|
26 |
+
* Gets a video source embed
|
27 |
+
*
|
28 |
+
* @param string $src The URL of the video.
|
29 |
+
* @param bool $autoplay Whether to start playing the video automatically once loaded. ( YouTube only )
|
30 |
+
* @param bool $related_videos Whether to show related videos after the video has finished playing. ( YouTube only )
|
31 |
+
*
|
32 |
+
* @return false|mixed|null|string|string[]
|
33 |
+
*/
|
34 |
+
function get_video_oembed( $src, $autoplay = false, $related_videos = true ) {
|
35 |
+
if ( empty( $src ) ) {
|
36 |
+
return '';
|
37 |
+
}
|
38 |
+
|
39 |
+
global $content_width;
|
40 |
+
|
41 |
+
$video_width = ! empty( $content_width ) ? $content_width : 640;
|
42 |
+
|
43 |
+
$hash = md5( serialize( array(
|
44 |
+
'src' => $src,
|
45 |
+
'width' => $video_width,
|
46 |
+
'autoplay' => $autoplay,
|
47 |
+
) ) );
|
48 |
+
|
49 |
+
$html = get_transient( 'sow-vid-embed[' . $hash . ']' );
|
50 |
+
if ( empty( $html ) ) {
|
51 |
+
$html = wp_oembed_get( $src, array( 'width' => $video_width ) );
|
52 |
+
|
53 |
+
if ( $autoplay ) {
|
54 |
+
$html = preg_replace_callback( '/src=["\'](http[^"\']*)["\']/', array(
|
55 |
+
$this,
|
56 |
+
'autoplay_callback'
|
57 |
+
), $html );
|
58 |
+
}
|
59 |
+
|
60 |
+
if ( empty( $related_videos ) ) {
|
61 |
+
$html = preg_replace_callback( '/src=["\'](http[^"\']*)["\']/', array(
|
62 |
+
$this,
|
63 |
+
'remove_related_videos'
|
64 |
+
), $html );
|
65 |
+
}
|
66 |
+
|
67 |
+
if ( ! empty( $html ) ) {
|
68 |
+
set_transient( 'sow-vid-embed[' . $hash . ']', $html, 30 * 86400 );
|
69 |
+
}
|
70 |
+
}
|
71 |
+
|
72 |
+
return $html;
|
73 |
+
}
|
74 |
+
|
75 |
+
/**
|
76 |
+
* The preg_replace callback that adds autoplay.
|
77 |
+
*
|
78 |
+
* @param $match
|
79 |
+
*
|
80 |
+
* @return mixed
|
81 |
+
*/
|
82 |
+
function autoplay_callback( $match ) {
|
83 |
+
return str_replace( $match[1], add_query_arg( 'autoplay', 1, $match[1] ), $match[0] );
|
84 |
+
}
|
85 |
+
|
86 |
+
/**
|
87 |
+
* The preg_replace callback that adds the rel param for YouTube videos.
|
88 |
+
*
|
89 |
+
* @param $match
|
90 |
+
*
|
91 |
+
* @return mixed
|
92 |
+
*/
|
93 |
+
function remove_related_videos( $match ) {
|
94 |
+
return str_replace( $match[1], add_query_arg( 'rel', 0, $match[1] ), $match[0] );
|
95 |
+
}
|
96 |
+
}
|
base/inc/widgets/base-slider.class.php
CHANGED
@@ -115,6 +115,13 @@ abstract class SiteOrigin_Widget_Base_Slider extends SiteOrigin_Widget {
|
|
115 |
'optional' => 'true',
|
116 |
'description' => __('An external URL of the video. Overrides video file.', 'so-widgets-bundle')
|
117 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
118 |
|
119 |
'format' => array(
|
120 |
'type' => 'select',
|
@@ -307,6 +314,7 @@ abstract class SiteOrigin_Widget_Base_Slider extends SiteOrigin_Widget {
|
|
307 |
if( empty( $videos ) ) return;
|
308 |
$video_element = '<video class="' . esc_attr( implode( ',', $classes ) ) . '" autoplay loop muted playsinline>';
|
309 |
|
|
|
310 |
foreach( $videos as $video ) {
|
311 |
if( empty( $video['file'] ) && empty ( $video['url'] ) ) continue;
|
312 |
// If video is an external file, try and display it using oEmbed
|
@@ -315,13 +323,13 @@ abstract class SiteOrigin_Widget_Base_Slider extends SiteOrigin_Widget {
|
|
315 |
if ( ! empty( $video['height'] ) ) {
|
316 |
$args['height'] = $video['height'];
|
317 |
}
|
318 |
-
$
|
319 |
|
320 |
// Check if we can oEmbed the video or not
|
321 |
-
if(
|
322 |
$video_file = sow_esc_url( $video['url'] );
|
323 |
-
}else{
|
324 |
-
echo $
|
325 |
continue;
|
326 |
}
|
327 |
}
|
115 |
'optional' => 'true',
|
116 |
'description' => __('An external URL of the video. Overrides video file.', 'so-widgets-bundle')
|
117 |
),
|
118 |
+
|
119 |
+
'autoplay' => array(
|
120 |
+
'type' => 'checkbox',
|
121 |
+
'label' => __( 'Autoplay', 'so-widgets-bundle' ),
|
122 |
+
'default' => false,
|
123 |
+
'description' => __( 'Currently only for YouTube videos.', 'so-widgets-bundle' ),
|
124 |
+
),
|
125 |
|
126 |
'format' => array(
|
127 |
'type' => 'select',
|
314 |
if( empty( $videos ) ) return;
|
315 |
$video_element = '<video class="' . esc_attr( implode( ',', $classes ) ) . '" autoplay loop muted playsinline>';
|
316 |
|
317 |
+
$so_video = new SiteOrigin_Video();
|
318 |
foreach( $videos as $video ) {
|
319 |
if( empty( $video['file'] ) && empty ( $video['url'] ) ) continue;
|
320 |
// If video is an external file, try and display it using oEmbed
|
323 |
if ( ! empty( $video['height'] ) ) {
|
324 |
$args['height'] = $video['height'];
|
325 |
}
|
326 |
+
$can_oembed = $so_video->can_oembed( $video['url'] );
|
327 |
|
328 |
// Check if we can oEmbed the video or not
|
329 |
+
if( ! $can_oembed ) {
|
330 |
$video_file = sow_esc_url( $video['url'] );
|
331 |
+
} else {
|
332 |
+
echo $so_video->get_video_oembed( $video['url'], ! empty( $video['autoplay'] ) );
|
333 |
continue;
|
334 |
}
|
335 |
}
|
base/js/admin.js
CHANGED
@@ -826,6 +826,15 @@ var sowbForms = window.sowbForms || {};
|
|
826 |
}
|
827 |
|
828 |
$inputElement.attr('id', newId);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
829 |
$copyItem.find('label[for=' + id + ']').attr('for', newId);
|
830 |
$copyItem.find('[id*=' + id + ']').each(function () {
|
831 |
var oldIdAttr = $(this).attr('id');
|
826 |
}
|
827 |
|
828 |
$inputElement.attr('id', newId);
|
829 |
+
if ( $inputElement.is( '.wp-editor-area' ) ) {
|
830 |
+
var tmceContainer = $inputElement.closest( '.siteorigin-widget-tinymce-container' );
|
831 |
+
var mediaButtons = tmceContainer.data( 'media-buttons' );
|
832 |
+
if ( mediaButtons && mediaButtons.html ) {
|
833 |
+
var idRegExp = new RegExp( id, 'g');
|
834 |
+
mediaButtons.html = mediaButtons.html.replace( idRegExp, newId );
|
835 |
+
tmceContainer.data( 'media-buttons', mediaButtons );
|
836 |
+
}
|
837 |
+
}
|
838 |
$copyItem.find('label[for=' + id + ']').attr('for', newId);
|
839 |
$copyItem.find('[id*=' + id + ']').each(function () {
|
840 |
var oldIdAttr = $(this).attr('id');
|
base/js/admin.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
var sowbForms=window.sowbForms||{};!function(e){e.fn.sowSetupForm=function(){return e(this).each(function(i,t){var r,n=e(t),a=!0,s=e("body"),o=n.find("input[name]");if(o.length&&-1!==o.attr("name").indexOf("__i__"))return this;if(n.is(".siteorigin-widget-form-main")){if(!0===n.data("sow-form-setup"))return!0;if(s.hasClass("widgets-php")&&!n.is(":visible")&&0===n.closest(".panel-dialog").length)return!0;n.on("sowstatechange",function(i,t,r){n.find("[data-state-handler]").each(function(){var i=e(this),n=e.extend({},i.data("state-handler"),a?i.data("state-handler-initial"):{});if(0===Object.keys(n).length)return!0;var s,o,d,l,g,f,c={},p=sowbForms.getContainerFieldId(i,"repeater",".siteorigin-widget-field-repeater-item");if(!1!==p){var u={};for(var m in n)u[m.replace("{$repeater}",p)]=n[m];n=u}var w=sowbForms.getContainerFieldId(i,"widget",".siteorigin-widget-widget");if(!1!==w){var v={};for(var h in n){var b=h.match(/_else\[(.*)\]|(.*)\[(.*)\]/),y="";y=b&&b.length&&void 0===b[1]?b[2]+"_"+w+"["+b[3]+"]":"_else["+b[1]+"_"+w+"]",v[y]=n[h]}n=v}for(var F in n)if(g=!1,null!==(s=F.match(/^([a-zA-Z0-9_-]+)(\[([a-zA-Z0-9_\-,]+)\])?(\[\])?$/))){if(o={group:"default",name:"",multi:!1},void 0!==s[2]?(o.group=s[1],o.name=s[3]):o.name=s[0],o.multi=void 0!==s[4],"_else"===o.group)o.group=o.name,o.name="",g=o.group===t&&void 0===c[o.group];else{f=o.name.split(",").map(function(e){return e.trim()});for(var k=0;k<f.length&&!(g=o.group===t&&f[k]===r);k++);}if(g){d=n[F],o.multi||(d=[d]);for(var k=0;k<d.length;k++)l=void 0!==d[k][1]&&Boolean(d[k][1])?i.find(d[k][1]):i,l[d[k][0]].apply(l,void 0!==d[k][2]?d[k][2]:[]);c[o.group]=!0}}})}),n.sowSetupPreview(),r=n;var d=n.find(".siteorigin-widget-teaser");d.find(".dashicons-dismiss").click(function(){var i=e(this);e.get(i.data("dismiss-url")),d.slideUp("normal",function(){d.remove()})});var l=n.find("> .siteorigin-widgets-form-id").val(),g=n.find("> .siteorigin-widgets-form-timestamp"),f=parseInt(g.val()||0),c=JSON.parse(sessionStorage.getItem(l));if(c)if(c._sow_form_timestamp>f){var p=e('<div class="siteorigin-widget-form-notification"><span>'+soWidgets.backup.newerVersion+'</span><a class="button button-small so-backup-restore">'+soWidgets.backup.restore+'</a><a class="button button-small so-backup-dismiss">'+soWidgets.backup.dismiss+"</a><div><small>"+soWidgets.backup.replaceWarning+"</small></div></div>");n.prepend(p),p.find(".so-backup-restore").click(function(){sowbForms.setWidgetFormValues(r,c),p.slideUp("fast",function(){p.remove()})}),p.find(".so-backup-dismiss").click(function(){p.slideUp("fast",function(){sessionStorage.removeItem(l),p.remove()})})}else sessionStorage.removeItem(l);n.change(function(){g.val((new Date).getTime());var e=sowbForms.getWidgetFormValues(n);sessionStorage.setItem(l,JSON.stringify(e))})}else r=n.closest(".siteorigin-widget-form-main");r.find("> .siteorigin-widgets-form-id").val();var u=n.find("> .siteorigin-widget-field");u.find("> .siteorigin-widget-section").sowSetupForm();var m=u.find("> .siteorigin-widget-widget");m.find("> .siteorigin-widget-section").sowSetupForm(),m.filter(":not(:has(> .siteorigin-widget-section))").sowSetupForm(),u.find(".siteorigin-widget-input").each(function(i,t){null===e(t).data("original-name")&&e(t).data("original-name",e(t).attr("name"))}),u.find("> .siteorigin-widget-field-repeater").sowSetupRepeater(),n.find(".siteorigin-widget-field-repeater-item").sowSetupRepeaterItems(),u.find("> .siteorigin-widget-input-color").each(function(){var i=e(this),t={change:function(i,t){setTimeout(function(){e(i.target).trigger("change")},100)}};i.data("defaultColor")&&(t.defaultColor=i.data("defaultColor")),i.wpColorPicker(t)});var w=function(){e(this).toggleClass("siteorigin-widget-section-visible"),e(this).parent().find("> .siteorigin-widget-section, > .siteorigin-widget-widget > .siteorigin-widget-section").slideToggle("fast",function(){if(e(window).resize(),e(this).find("> .siteorigin-widget-field-container-state").val(e(this).is(":visible")?"open":"closed"),e(this).is(":visible")){e(this).find("> .siteorigin-widget-field").trigger("sowsetupformfield")}})};u.filter(".siteorigin-widget-field-type-widget, .siteorigin-widget-field-type-section").find("> label").click(w),u.filter(".siteorigin-widget-field-type-posts").find(".posts-container-label-wrapper").click(w),u.filter(".siteorigin-widget-field-type-slider").each(function(){var i=e(this),t=i.find('input[type="number"]'),r=i.find(".siteorigin-widget-value-slider");r.slider({max:parseFloat(t.attr("max")),min:parseFloat(t.attr("min")),step:parseFloat(t.attr("step")),value:parseFloat(t.val()),slide:function(e,i){t.val(parseFloat(i.value)),t.trigger("change")},change:function(e,t){i.find(".siteorigin-widget-slider-value").html(t.value)}}),t.change(function(e,i){i&&i.silent||r.slider("value",parseFloat(t.val()))})}),u.filter(".siteorigin-widget-field-type-link").each(function(){var i=e(this),t=null,r=function(){null!==t&&t.abort();var r=i.find(".content-text-search"),n=r.val(),a=r.data("postTypes"),s=i.find("ul.posts").empty().addClass("loading");e.get(soWidgets.ajaxurl,{action:"so_widgets_search_posts",query:n,postTypes:a},function(i){for(var t=0;t<i.length;t++)""===i[t].label&&(i[t].label=" "),s.append(e("<li>").addClass("post").html(i[t].label+"<span>("+i[t].type+")</span>").data(i[t]));s.removeClass("loading")})};i.find(".select-content-button, .button-close").click(function(t){t.preventDefault(),e(this).blur();var n=i.find(".existing-content-selector");n.toggle(),n.is(":visible")&&0===n.find("ul.posts li").length&&r()}),i.on("click",".posts li",function(t){t.preventDefault();var r=e(this);i.find("input.siteorigin-widget-input").val("post: "+r.data("value")),i.find(".existing-content-selector").toggle()});var n=null;i.find(".content-text-search").keyup(function(){null!==n&&clearTimeout(n),n=setTimeout(function(){r()},500)})}),void 0!==jQuery.fn.soPanelsSetupBuilderWidget&&u.filter(".siteorigin-widget-field-type-builder").each(function(){e(this).find("> .siteorigin-page-builder-field").each(function(){var i=e(this);i.soPanelsSetupBuilderWidget({builderType:i.data("type")})})});var v=function(){var i=e(this),t=i.closest("[data-state-emitter]").data("state-emitter");if(void 0!==t){var n={default:""};void 0===t.length&&(t=[t]);for(var a=0;a<t.length;a++)n=function(t,r){if(void 0===sowEmitters[t.callback]||"_"===t.callback.substr(0,1))return r;var n=sowbForms.getContainerFieldId(i,"repeater",".siteorigin-widget-field-repeater-item");!1!==n&&(t.args=t.args.map(function(e){return e.replace("{$repeater}",n)}));var a=sowbForms.getContainerFieldId(i,"widget",".siteorigin-widget-widget");!1===a||t.hasOwnProperty("widgetFieldId")||(t.widgetFieldId=a,t.args=t.args.map(function(e){return e+"_"+a}));var s=i.is('[type="checkbox"]')?i.is(":checked"):i.val();return e.extend(r,sowEmitters[t.callback](s,t.args))}(t[a],n);var s=r.data("states");void 0===s&&(s={default:""});for(var o in n)void 0!==s[o]&&n[o]===s[o]||(s[o]=n[o],r.trigger("sowstatechange",[o,n[o]]));r.data("states",s)}};u.filter("[data-state-emitter]").each(function(){var i=e(this).find(".siteorigin-widget-input");i.on("keyup change",v),i.each(function(){var i=e(this);i.is(":radio")?i.is(":checked")&&v.call(i[0]):v.call(i[0])})}),n.trigger("sowsetupform",u).data("sow-form-setup",!0),u.trigger("sowsetupformfield"),n.find(".siteorigin-widget-field-repeater-item").trigger("updateFieldPositions"),(s.hasClass("wp-customizer")||s.hasClass("widgets-php"))&&n.closest(".ui-sortable").on("sortstop",function(e,i){i.item.find(".siteorigin-widget-form").find("> .siteorigin-widget-field").trigger("sowsetupformfield")}),a=!1})},e.fn.sowSetupPreview=function(){var i=e(this);i.siblings(".siteorigin-widget-preview").find("> a").click(function(t){t.preventDefault();var r=sowbForms.getWidgetFormValues(i),n=e(e("#so-widgets-bundle-tpl-preview-dialog").html().trim()).appendTo("body");n.find('input[name="data"]').val(JSON.stringify(r)),n.find('input[name="class"]').val(i.data("class")),n.find("iframe").on("load",function(){e(this).css("visibility","visible")}),n.find("form").submit(),n.find(".close").click(function(){n.remove()})})},e.fn.sowSetupRepeater=function(){return e(this).each(function(i,t){var r=e(t),n=r.find(".siteorigin-widget-field-repeater-items"),a=r.data("repeater-name");n.bind("updateFieldPositions",function(){var i=e(this),t=i.find("> .siteorigin-widget-field-repeater-item");t.each(function(i,t){e(t).find(".siteorigin-widget-input").each(function(t,r){var n=e(r).data("repeater-positions");void 0===n&&(n={}),n[a]=i,e(r).data("repeater-positions",n)})}),i.find(".siteorigin-widget-input").each(function(i,t){var r=e(t),n=r.data("repeater-positions");if(void 0!==n){var a=r.attr("data-original-name");if(a||(r.attr("data-original-name",r.attr("name")),a=r.attr("name")),!a)return;if(n)for(var s in n)a=a.replace("#"+s+"#",n[s]);r.attr("name",a)}}),i.data("initialSetup")||(i.find(".siteorigin-widget-input").each(function(i,t){var r=e(t);r.prop("checked",r.prop("defaultChecked"))}),i.data("initialSetup",!0));var n=r.data("scroll-count")?parseInt(r.data("scroll-count")):0;if(n>0&&t.length>n){var s=t.first().outerHeight();i.css("max-height",s*n).css("overflow","auto")}else i.css("max-height","").css("overflow","")}),n.sortable({handle:".siteorigin-widget-field-repeater-item-top",items:"> .siteorigin-widget-field-repeater-item",update:function(){n.find('input[type="radio"].siteorigin-widget-input').attr("name",""),n.trigger("updateFieldPositions"),r.trigger("change")},sortstop:function(i,t){if(t.item.is(".siteorigin-widget-field-repeater-item"))t.item.find("> .siteorigin-widget-field-repeater-item-form").each(function(){e(this).find("> .siteorigin-widget-field").trigger("sowsetupformfield")});else{t.item.find(".siteorigin-widget-form").find("> .siteorigin-widget-field").trigger("sowsetupformfield")}r.trigger("change")}}),n.trigger("updateFieldPositions"),r.find("> .siteorigin-widget-field-repeater-add").disableSelection().click(function(i){i.preventDefault(),r.closest(".siteorigin-widget-field-repeater").sowAddRepeaterItem().find("> .siteorigin-widget-field-repeater-items").slideDown("fast",function(){e(window).resize()})}),r.find("> .siteorigin-widget-field-repeater-top > .siteorigin-widget-field-repeater-expand").click(function(i){i.preventDefault(),r.closest(".siteorigin-widget-field-repeater").find("> .siteorigin-widget-field-repeateritems-").slideToggle("fast",function(){e(window).resize()})})})},e.fn.sowAddRepeaterItem=function(){return e(this).each(function(i,t){var r=e(t),n=r.find("> .siteorigin-widget-field-repeater-items").children().length+1,a=e("<div>"+r.find("> .siteorigin-widget-field-repeater-item-html").html()+"</div>");a.find(".siteorigin-widget-input[data-name]").each(function(){var i=e(this);0===i.closest(".siteorigin-widget-field-repeater-item-html").length&&i.attr("name",e(this).data("name"))});var s=a.html().replace(/_id_/g,n),o=void 0!==r.attr("readonly"),d=e('<div class="siteorigin-widget-field-repeater-item ui-draggable" />').append(e('<div class="siteorigin-widget-field-repeater-item-top" />').append(e('<div class="siteorigin-widget-field-expand" />')).append(o?"":e('<div class="siteorigin-widget-field-copy" />')).append(o?"":e('<div class="siteorigin-widget-field-remove" />')).append(e("<h4 />").html(r.data("item-name")))).append(e('<div class="siteorigin-widget-field-repeater-item-form" />').html(s));r.find("> .siteorigin-widget-field-repeater-items").append(d).sortable("refresh").trigger("updateFieldPositions"),d.sowSetupRepeaterItems(),d.hide().slideDown("fast",function(){e(window).resize()}),r.trigger("change")})},e.fn.sowRemoveRepeaterItem=function(){return e(this).each(function(i,t){var r=e(this).closest(".siteorigin-widget-field-repeater-items");e(this).remove(),r.sortable("refresh").trigger("updateFieldPositions"),e(t).trigger("change")})},e.fn.sowSetupRepeaterItems=function(){return e(this).each(function(i,t){var r=e(t);if(void 0===r.data("sowrepeater-actions-setup")){var n=r.closest(".siteorigin-widget-field-repeater"),a=r.find("> .siteorigin-widget-field-repeater-item-top"),s=n.data("item-label");if(s&&s.selector){var o=function(){var e=s.hasOwnProperty("valueMethod")&&s.valueMethod?s.valueMethod:"val",i=r.find(s.selector)[e]();i&&(i.length>80&&(i=i.substr(0,79)+"..."),a.find("h4").text(i))};o();var d=s.hasOwnProperty("updateEvent")&&s.updateEvent?s.updateEvent:"change";r.bind(d,o)}a.click(function(i){"siteorigin-widget-field-remove"!==i.target.className&&"siteorigin-widget-field-copy"!==i.target.className&&(i.preventDefault(),e(this).closest(".siteorigin-widget-field-repeater-item").find(".siteorigin-widget-field-repeater-item-form").eq(0).slideToggle("fast",function(){if(e(window).resize(),e(this).is(":visible")){e(this).trigger("slideToggleOpenComplete");e(this).find("> .siteorigin-widget-field").trigger("sowsetupformfield")}else e(this).trigger("slideToggleCloseComplete")}))}),a.find(".siteorigin-widget-field-remove").click(function(i,t){i.preventDefault();var n=e(this).closest(".siteorigin-widget-field-repeater-items"),a=e(this).closest(".siteorigin-widget-field-repeater-item"),s=function(){a.remove(),n.sortable("refresh").trigger("updateFieldPositions"),e(window).resize()};t&&t.silent?s():confirm(soWidgets.sure)&&a.slideUp("fast",s),r.trigger("change")}),a.find(".siteorigin-widget-field-copy").click(function(i){i.preventDefault();var t=e(this).closest(".siteorigin-widget-form-main"),n=e(this).closest(".siteorigin-widget-field-repeater-item"),a=n.clone(),s=n.closest(".siteorigin-widget-field-repeater-items"),o=s.children().length,d={};a.find("*[name]").each(function(){var i=e(this),s=i.attr("id"),l=i.attr("name");if(i.is("textarea")&&i.parent().is(".wp-editor-container")&&"undefined"!=typeof tinymce){i.parent().empty().append(i),i.css("display","");var g=tinymce.get(s);g&&i.val(g.getContent())}else if(i.is(".wp-color-picker")){var f=i.closest(".wp-picker-container"),c=i.closest(".siteorigin-widget-field");f.remove(),c.append(i.remove())}else{var p=s?n.find("#"+s):n.find('[name="'+l+'"]');p.length&&null!=p.val()&&i.val(p.val())}if(s){var u,m,w;if(i.is('[type="radio"]')){m=s.replace(/-\d+-\d+$/,"");var v=s.replace(/-\d+$/,"");if(!d[m]){var h={};d[m]=t.find(".siteorigin-widget-input[id^="+m+"]").not("[id*=_id_]").filter(function(i,t){var r=e(t).attr("name");return!h[r]&&(h[r]=!0,!0)}).length+1}var b=m+"-"+d[m];w=b+s.match(/-\d+$/)[0],a.find("label[for="+v+"]").attr("for",b)}else u=new RegExp("-\\d+$"),m=s.replace(u,""),d[m]||(d[m]=t.find(".siteorigin-widget-input[id^="+m+"]").not("[id*=_id_]").length+1),w=m+"-"+d[m]++;i.attr("id",w),a.find("label[for="+s+"]").attr("for",w),a.find("[id*="+s+"]").each(function(){var i=e(this).attr("id"),t=i.replace(s,w);e(this).attr("id",t)}),"undefined"!=typeof tinymce&&tinymce.get(w)&&tinymce.get(w).remove()}var y=n.parents(".siteorigin-widget-field-repeater").length,F=e("body");(F.hasClass("wp-customizer")||F.hasClass("widgets-php"))&&0===r.closest(".panel-dialog").length&&(y+=1);var k=l.replace(new RegExp("((?:.*?\\[\\d+\\]){"+(y-1).toString()+"})?(.*?\\[)\\d+(\\])"),"$1$2"+o.toString()+"$3");i.attr("name",k),i.data("original-name",k)}),s.append(a).sortable("refresh").trigger("updateFieldPositions"),a.sowSetupRepeaterItems(),a.hide().slideDown("fast",function(){e(window).resize()}),r.trigger("change")}),r.find("> .siteorigin-widget-field-repeater-item-form").sowSetupForm(),r.data("sowrepeater-actions-setup",!0)}})},sowbForms.getContainerFieldId=function(e,i,t){var r=i+"FieldId";this.hasOwnProperty(r)||(this[r]=1);var n=e.closest(t);if(n.length){var a=n.data("field-id");return void 0===a&&(a=this[r]++),n.data("field-id",a),a}return!1},sowbForms.getWidgetFieldVariable=function(e,i,t){var r=window.sow_field_javascript_variables[e];i=i.replace(/\[#.*?#\]/g,"");for(var n=/[a-zA-Z0-9\-]+(?:\[c?[0-9]+\])?\[(.*)\]/.exec(i)[1],a=n.split("]["),s=a.length?r:null;a.length;)s=s[a.shift()];return s[t]},sowbForms.fetchWidgetVariable=function(i,t,r){window.sowVars=window.sowVars||{},void 0===window.sowVars[t]?e.post(soWidgets.ajaxurl,{action:"sow_get_javascript_variables",widget:t,key:i},function(e){window.sowVars[t]=e,r(window.sowVars[t][i])}):r(window.sowVars[t][i])},sowbForms.getWidgetFormValues=function(i){if(_.isUndefined(i))return null;var t={};return i.find("*[name]").each(function(){var i=e(this);try{var r=/[a-zA-Z0-9\-]+\[[a-zA-Z0-9]+\]\[(.*)\]/.exec(i.attr("name"));if(_.isEmpty(r))return!0;r=r[1];var n=r.split("][");n=n.map(function(e){return!isNaN(parseFloat(e))&&isFinite(e)?parseInt(e):e});var a=t,s=null,o=_.isString(i.attr("type"))?i.attr("type").toLowerCase():null;if("checkbox"===o)s=!!i.is(":checked")&&(""===i.val()||i.val());else if("radio"===o){if(!i.is(":checked"))return;s=i.val()}else if("SELECT"===i.prop("tagName")){var d=i.find("option:selected");1===d.length?s=i.find("option:selected").val():d.length>1&&(s=_.map(i.find("option:selected"),function(i,t){return e(i).val()}))}else s=i.val();for(var l=0;l<n.length;l++)l===n.length-1?""===n[l]?a.push(s):a[n[l]]=s:(_.isUndefined(a[n[l]])&&(_.isNumber(n[l+1])||""===n[l+1]?a[n[l]]=[]:a[n[l]]={}),a=a[n[l]])}catch(e){console.error("Field ["+i.attr("name")+"] could not be processed and was skipped - "+e.message)}}),t},sowbForms.setWidgetFormValues=function(i,t,r){r=r||!1;var n=0,a=function(i,t){10!=++n&&i.find("> .siteorigin-widget-field-type-repeater").each(function(){var i=e(this).find("> .siteorigin-widget-field-repeater"),n=i.data("repeaterName"),s=t.hasOwnProperty(n)?t[n]:null;if(s&&Array.isArray(s)){var o=i.find("> .siteorigin-widget-field-repeater-items > .siteorigin-widget-field-repeater-item"),d=s.length,l=o.length;if(d>l)for(var g=0;g<d-l;g++)i.find("> .siteorigin-widget-field-repeater-add").click();else if(!r&&d<l)for(var f=d;f<l;f++){var c=e(o.eq(f));c.find("> .siteorigin-widget-field-repeater-item-top").find(".siteorigin-widget-field-remove").trigger("click",{silent:!0})}o=i.find("> .siteorigin-widget-field-repeater-items > .siteorigin-widget-field-repeater-item");for(var p=0;p<o.length;p++)o.eq(p).find("> .siteorigin-widget-field-repeater-item-form"),a(o.eq(p).find("> .siteorigin-widget-field-repeater-item-form"),s[p])}})};a(i,t),i.find("*[name]").each(function(){var i=e(this),n=/[a-zA-Z0-9\-]+\[[a-zA-Z0-9]+\]\[(.*)\]/.exec(i.attr("name"));if(void 0===n||null===n)return!0;n=n[1];var a=n.split("][");a=a.map(function(e){return!isNaN(parseFloat(e))&&isFinite(e)?parseInt(e):e});for(var s,o=t,d=0;d<a.length;d++){if(!o.hasOwnProperty(a[d])){if(r)return!0;break}d===a.length-1?s=o[a[d]]:o=o[a[d]]}if("checkbox"===i.attr("type"))i.prop("checked",s);else if("radio"===i.attr("type"))i.prop("checked",s===i.val());else if("TEXTAREA"===i.prop("tagName")&&i.hasClass("wp-editor-area")){var l=null;"undefined"!=typeof tinyMCE&&(l=tinyMCE.get(i.attr("id"))),null===l||"function"!=typeof l.getContent||l.isHidden()?i.val(s):l.setContent(s)}else i.val(s);i.trigger("change")})},e(".widgets-holder-wrap").on("click",".widget:has(.siteorigin-widget-form-main) .widget-top",function(){var i=e(this).closest(".widget").find(".siteorigin-widget-form-main");setTimeout(function(){i.sowSetupForm()},200)}),e("body").hasClass("wp-customizer")&&e(document).on("widget-added",function(e,i){i.find(".siteorigin-widget-form").sowSetupForm()}),e(document).on("open_dialog",function(i,t){if(t.$el.find(".so-panels-dialog").is(".so-panels-dialog-edit-widget")){e(i.target).find(".siteorigin-widget-form-main").find("> .siteorigin-widget-field").trigger("sowsetupformfield")}}),e(function(){e(document).trigger("sowadminloaded")})}(jQuery);var sowEmitters={_match:function(e,i){void 0===i&&(i=".*");var t=new RegExp("^([a-zA-Z0-9_-]+)(\\[([a-zA-Z0-9_-]+)\\])? *: *("+i+") *$"),r=t.exec(e);if(null===r)return!1;var n="",a="default";return void 0!==r[3]?(a=r[1],n=r[3]):n=r[1],{match:r[4].trim(),group:a,state:n}},_checker:function(e,i,t,r){var n={};void 0===i.length&&(i=[i]);for(var a,s=0;s<i.length;s++)!1!==(a=sowEmitters._match(i[s],t))&&("_true"===a.match||r(e,i,a.match))&&(n[a.group]=a.state);return n},select:function(e,i){void 0===i.length&&(i=[i]);for(var t={},r=0;r<i.length;r++)""===i[r]&&(i[r]="default"),t[i[r]]=e;return t},conditional:function(val,args){return sowEmitters._checker(val,args,"[^;{}]*",function(val,args,match){return eval(match)})},in:function(e,i){return sowEmitters._checker(e,i,"[^;{}]*",function(e,i,t){return-1!==t.split(",").map(function(e){return e.trim()}).indexOf(e)})}};window.sowbForms=sowbForms;
|
1 |
+
var sowbForms=window.sowbForms||{};!function(e){e.fn.sowSetupForm=function(){return e(this).each(function(i,t){var r,n=e(t),a=!0,s=e("body"),o=n.find("input[name]");if(o.length&&-1!==o.attr("name").indexOf("__i__"))return this;if(n.is(".siteorigin-widget-form-main")){if(!0===n.data("sow-form-setup"))return!0;if(s.hasClass("widgets-php")&&!n.is(":visible")&&0===n.closest(".panel-dialog").length)return!0;n.on("sowstatechange",function(i,t,r){n.find("[data-state-handler]").each(function(){var i=e(this),n=e.extend({},i.data("state-handler"),a?i.data("state-handler-initial"):{});if(0===Object.keys(n).length)return!0;var s,o,d,l,g,f,c={},p=sowbForms.getContainerFieldId(i,"repeater",".siteorigin-widget-field-repeater-item");if(!1!==p){var u={};for(var m in n)u[m.replace("{$repeater}",p)]=n[m];n=u}var w=sowbForms.getContainerFieldId(i,"widget",".siteorigin-widget-widget");if(!1!==w){var v={};for(var h in n){var b=h.match(/_else\[(.*)\]|(.*)\[(.*)\]/),y="";y=b&&b.length&&void 0===b[1]?b[2]+"_"+w+"["+b[3]+"]":"_else["+b[1]+"_"+w+"]",v[y]=n[h]}n=v}for(var F in n)if(g=!1,null!==(s=F.match(/^([a-zA-Z0-9_-]+)(\[([a-zA-Z0-9_\-,]+)\])?(\[\])?$/))){if(o={group:"default",name:"",multi:!1},void 0!==s[2]?(o.group=s[1],o.name=s[3]):o.name=s[0],o.multi=void 0!==s[4],"_else"===o.group)o.group=o.name,o.name="",g=o.group===t&&void 0===c[o.group];else{f=o.name.split(",").map(function(e){return e.trim()});for(var k=0;k<f.length&&!(g=o.group===t&&f[k]===r);k++);}if(g){d=n[F],o.multi||(d=[d]);for(var k=0;k<d.length;k++)l=void 0!==d[k][1]&&Boolean(d[k][1])?i.find(d[k][1]):i,l[d[k][0]].apply(l,void 0!==d[k][2]?d[k][2]:[]);c[o.group]=!0}}})}),n.sowSetupPreview(),r=n;var d=n.find(".siteorigin-widget-teaser");d.find(".dashicons-dismiss").click(function(){var i=e(this);e.get(i.data("dismiss-url")),d.slideUp("normal",function(){d.remove()})});var l=n.find("> .siteorigin-widgets-form-id").val(),g=n.find("> .siteorigin-widgets-form-timestamp"),f=parseInt(g.val()||0),c=JSON.parse(sessionStorage.getItem(l));if(c)if(c._sow_form_timestamp>f){var p=e('<div class="siteorigin-widget-form-notification"><span>'+soWidgets.backup.newerVersion+'</span><a class="button button-small so-backup-restore">'+soWidgets.backup.restore+'</a><a class="button button-small so-backup-dismiss">'+soWidgets.backup.dismiss+"</a><div><small>"+soWidgets.backup.replaceWarning+"</small></div></div>");n.prepend(p),p.find(".so-backup-restore").click(function(){sowbForms.setWidgetFormValues(r,c),p.slideUp("fast",function(){p.remove()})}),p.find(".so-backup-dismiss").click(function(){p.slideUp("fast",function(){sessionStorage.removeItem(l),p.remove()})})}else sessionStorage.removeItem(l);n.change(function(){g.val((new Date).getTime());var e=sowbForms.getWidgetFormValues(n);sessionStorage.setItem(l,JSON.stringify(e))})}else r=n.closest(".siteorigin-widget-form-main");r.find("> .siteorigin-widgets-form-id").val();var u=n.find("> .siteorigin-widget-field");u.find("> .siteorigin-widget-section").sowSetupForm();var m=u.find("> .siteorigin-widget-widget");m.find("> .siteorigin-widget-section").sowSetupForm(),m.filter(":not(:has(> .siteorigin-widget-section))").sowSetupForm(),u.find(".siteorigin-widget-input").each(function(i,t){null===e(t).data("original-name")&&e(t).data("original-name",e(t).attr("name"))}),u.find("> .siteorigin-widget-field-repeater").sowSetupRepeater(),n.find(".siteorigin-widget-field-repeater-item").sowSetupRepeaterItems(),u.find("> .siteorigin-widget-input-color").each(function(){var i=e(this),t={change:function(i,t){setTimeout(function(){e(i.target).trigger("change")},100)}};i.data("defaultColor")&&(t.defaultColor=i.data("defaultColor")),i.wpColorPicker(t)});var w=function(){e(this).toggleClass("siteorigin-widget-section-visible"),e(this).parent().find("> .siteorigin-widget-section, > .siteorigin-widget-widget > .siteorigin-widget-section").slideToggle("fast",function(){if(e(window).resize(),e(this).find("> .siteorigin-widget-field-container-state").val(e(this).is(":visible")?"open":"closed"),e(this).is(":visible")){e(this).find("> .siteorigin-widget-field").trigger("sowsetupformfield")}})};u.filter(".siteorigin-widget-field-type-widget, .siteorigin-widget-field-type-section").find("> label").click(w),u.filter(".siteorigin-widget-field-type-posts").find(".posts-container-label-wrapper").click(w),u.filter(".siteorigin-widget-field-type-slider").each(function(){var i=e(this),t=i.find('input[type="number"]'),r=i.find(".siteorigin-widget-value-slider");r.slider({max:parseFloat(t.attr("max")),min:parseFloat(t.attr("min")),step:parseFloat(t.attr("step")),value:parseFloat(t.val()),slide:function(e,i){t.val(parseFloat(i.value)),t.trigger("change")},change:function(e,t){i.find(".siteorigin-widget-slider-value").html(t.value)}}),t.change(function(e,i){i&&i.silent||r.slider("value",parseFloat(t.val()))})}),u.filter(".siteorigin-widget-field-type-link").each(function(){var i=e(this),t=null,r=function(){null!==t&&t.abort();var r=i.find(".content-text-search"),n=r.val(),a=r.data("postTypes"),s=i.find("ul.posts").empty().addClass("loading");e.get(soWidgets.ajaxurl,{action:"so_widgets_search_posts",query:n,postTypes:a},function(i){for(var t=0;t<i.length;t++)""===i[t].label&&(i[t].label=" "),s.append(e("<li>").addClass("post").html(i[t].label+"<span>("+i[t].type+")</span>").data(i[t]));s.removeClass("loading")})};i.find(".select-content-button, .button-close").click(function(t){t.preventDefault(),e(this).blur();var n=i.find(".existing-content-selector");n.toggle(),n.is(":visible")&&0===n.find("ul.posts li").length&&r()}),i.on("click",".posts li",function(t){t.preventDefault();var r=e(this);i.find("input.siteorigin-widget-input").val("post: "+r.data("value")),i.find(".existing-content-selector").toggle()});var n=null;i.find(".content-text-search").keyup(function(){null!==n&&clearTimeout(n),n=setTimeout(function(){r()},500)})}),void 0!==jQuery.fn.soPanelsSetupBuilderWidget&&u.filter(".siteorigin-widget-field-type-builder").each(function(){e(this).find("> .siteorigin-page-builder-field").each(function(){var i=e(this);i.soPanelsSetupBuilderWidget({builderType:i.data("type")})})});var v=function(){var i=e(this),t=i.closest("[data-state-emitter]").data("state-emitter");if(void 0!==t){var n={default:""};void 0===t.length&&(t=[t]);for(var a=0;a<t.length;a++)n=function(t,r){if(void 0===sowEmitters[t.callback]||"_"===t.callback.substr(0,1))return r;var n=sowbForms.getContainerFieldId(i,"repeater",".siteorigin-widget-field-repeater-item");!1!==n&&(t.args=t.args.map(function(e){return e.replace("{$repeater}",n)}));var a=sowbForms.getContainerFieldId(i,"widget",".siteorigin-widget-widget");!1===a||t.hasOwnProperty("widgetFieldId")||(t.widgetFieldId=a,t.args=t.args.map(function(e){return e+"_"+a}));var s=i.is('[type="checkbox"]')?i.is(":checked"):i.val();return e.extend(r,sowEmitters[t.callback](s,t.args))}(t[a],n);var s=r.data("states");void 0===s&&(s={default:""});for(var o in n)void 0!==s[o]&&n[o]===s[o]||(s[o]=n[o],r.trigger("sowstatechange",[o,n[o]]));r.data("states",s)}};u.filter("[data-state-emitter]").each(function(){var i=e(this).find(".siteorigin-widget-input");i.on("keyup change",v),i.each(function(){var i=e(this);i.is(":radio")?i.is(":checked")&&v.call(i[0]):v.call(i[0])})}),n.trigger("sowsetupform",u).data("sow-form-setup",!0),u.trigger("sowsetupformfield"),n.find(".siteorigin-widget-field-repeater-item").trigger("updateFieldPositions"),(s.hasClass("wp-customizer")||s.hasClass("widgets-php"))&&n.closest(".ui-sortable").on("sortstop",function(e,i){i.item.find(".siteorigin-widget-form").find("> .siteorigin-widget-field").trigger("sowsetupformfield")}),a=!1})},e.fn.sowSetupPreview=function(){var i=e(this);i.siblings(".siteorigin-widget-preview").find("> a").click(function(t){t.preventDefault();var r=sowbForms.getWidgetFormValues(i),n=e(e("#so-widgets-bundle-tpl-preview-dialog").html().trim()).appendTo("body");n.find('input[name="data"]').val(JSON.stringify(r)),n.find('input[name="class"]').val(i.data("class")),n.find("iframe").on("load",function(){e(this).css("visibility","visible")}),n.find("form").submit(),n.find(".close").click(function(){n.remove()})})},e.fn.sowSetupRepeater=function(){return e(this).each(function(i,t){var r=e(t),n=r.find(".siteorigin-widget-field-repeater-items"),a=r.data("repeater-name");n.bind("updateFieldPositions",function(){var i=e(this),t=i.find("> .siteorigin-widget-field-repeater-item");t.each(function(i,t){e(t).find(".siteorigin-widget-input").each(function(t,r){var n=e(r).data("repeater-positions");void 0===n&&(n={}),n[a]=i,e(r).data("repeater-positions",n)})}),i.find(".siteorigin-widget-input").each(function(i,t){var r=e(t),n=r.data("repeater-positions");if(void 0!==n){var a=r.attr("data-original-name");if(a||(r.attr("data-original-name",r.attr("name")),a=r.attr("name")),!a)return;if(n)for(var s in n)a=a.replace("#"+s+"#",n[s]);r.attr("name",a)}}),i.data("initialSetup")||(i.find(".siteorigin-widget-input").each(function(i,t){var r=e(t);r.prop("checked",r.prop("defaultChecked"))}),i.data("initialSetup",!0));var n=r.data("scroll-count")?parseInt(r.data("scroll-count")):0;if(n>0&&t.length>n){var s=t.first().outerHeight();i.css("max-height",s*n).css("overflow","auto")}else i.css("max-height","").css("overflow","")}),n.sortable({handle:".siteorigin-widget-field-repeater-item-top",items:"> .siteorigin-widget-field-repeater-item",update:function(){n.find('input[type="radio"].siteorigin-widget-input').attr("name",""),n.trigger("updateFieldPositions"),r.trigger("change")},sortstop:function(i,t){if(t.item.is(".siteorigin-widget-field-repeater-item"))t.item.find("> .siteorigin-widget-field-repeater-item-form").each(function(){e(this).find("> .siteorigin-widget-field").trigger("sowsetupformfield")});else{t.item.find(".siteorigin-widget-form").find("> .siteorigin-widget-field").trigger("sowsetupformfield")}r.trigger("change")}}),n.trigger("updateFieldPositions"),r.find("> .siteorigin-widget-field-repeater-add").disableSelection().click(function(i){i.preventDefault(),r.closest(".siteorigin-widget-field-repeater").sowAddRepeaterItem().find("> .siteorigin-widget-field-repeater-items").slideDown("fast",function(){e(window).resize()})}),r.find("> .siteorigin-widget-field-repeater-top > .siteorigin-widget-field-repeater-expand").click(function(i){i.preventDefault(),r.closest(".siteorigin-widget-field-repeater").find("> .siteorigin-widget-field-repeateritems-").slideToggle("fast",function(){e(window).resize()})})})},e.fn.sowAddRepeaterItem=function(){return e(this).each(function(i,t){var r=e(t),n=r.find("> .siteorigin-widget-field-repeater-items").children().length+1,a=e("<div>"+r.find("> .siteorigin-widget-field-repeater-item-html").html()+"</div>");a.find(".siteorigin-widget-input[data-name]").each(function(){var i=e(this);0===i.closest(".siteorigin-widget-field-repeater-item-html").length&&i.attr("name",e(this).data("name"))});var s=a.html().replace(/_id_/g,n),o=void 0!==r.attr("readonly"),d=e('<div class="siteorigin-widget-field-repeater-item ui-draggable" />').append(e('<div class="siteorigin-widget-field-repeater-item-top" />').append(e('<div class="siteorigin-widget-field-expand" />')).append(o?"":e('<div class="siteorigin-widget-field-copy" />')).append(o?"":e('<div class="siteorigin-widget-field-remove" />')).append(e("<h4 />").html(r.data("item-name")))).append(e('<div class="siteorigin-widget-field-repeater-item-form" />').html(s));r.find("> .siteorigin-widget-field-repeater-items").append(d).sortable("refresh").trigger("updateFieldPositions"),d.sowSetupRepeaterItems(),d.hide().slideDown("fast",function(){e(window).resize()}),r.trigger("change")})},e.fn.sowRemoveRepeaterItem=function(){return e(this).each(function(i,t){var r=e(this).closest(".siteorigin-widget-field-repeater-items");e(this).remove(),r.sortable("refresh").trigger("updateFieldPositions"),e(t).trigger("change")})},e.fn.sowSetupRepeaterItems=function(){return e(this).each(function(i,t){var r=e(t);if(void 0===r.data("sowrepeater-actions-setup")){var n=r.closest(".siteorigin-widget-field-repeater"),a=r.find("> .siteorigin-widget-field-repeater-item-top"),s=n.data("item-label");if(s&&s.selector){var o=function(){var e=s.hasOwnProperty("valueMethod")&&s.valueMethod?s.valueMethod:"val",i=r.find(s.selector)[e]();i&&(i.length>80&&(i=i.substr(0,79)+"..."),a.find("h4").text(i))};o();var d=s.hasOwnProperty("updateEvent")&&s.updateEvent?s.updateEvent:"change";r.bind(d,o)}a.click(function(i){"siteorigin-widget-field-remove"!==i.target.className&&"siteorigin-widget-field-copy"!==i.target.className&&(i.preventDefault(),e(this).closest(".siteorigin-widget-field-repeater-item").find(".siteorigin-widget-field-repeater-item-form").eq(0).slideToggle("fast",function(){if(e(window).resize(),e(this).is(":visible")){e(this).trigger("slideToggleOpenComplete");e(this).find("> .siteorigin-widget-field").trigger("sowsetupformfield")}else e(this).trigger("slideToggleCloseComplete")}))}),a.find(".siteorigin-widget-field-remove").click(function(i,t){i.preventDefault();var n=e(this).closest(".siteorigin-widget-field-repeater-items"),a=e(this).closest(".siteorigin-widget-field-repeater-item"),s=function(){a.remove(),n.sortable("refresh").trigger("updateFieldPositions"),e(window).resize()};t&&t.silent?s():confirm(soWidgets.sure)&&a.slideUp("fast",s),r.trigger("change")}),a.find(".siteorigin-widget-field-copy").click(function(i){i.preventDefault();var t=e(this).closest(".siteorigin-widget-form-main"),n=e(this).closest(".siteorigin-widget-field-repeater-item"),a=n.clone(),s=n.closest(".siteorigin-widget-field-repeater-items"),o=s.children().length,d={};a.find("*[name]").each(function(){var i=e(this),s=i.attr("id"),l=i.attr("name");if(i.is("textarea")&&i.parent().is(".wp-editor-container")&&"undefined"!=typeof tinymce){i.parent().empty().append(i),i.css("display","");var g=tinymce.get(s);g&&i.val(g.getContent())}else if(i.is(".wp-color-picker")){var f=i.closest(".wp-picker-container"),c=i.closest(".siteorigin-widget-field");f.remove(),c.append(i.remove())}else{var p=s?n.find("#"+s):n.find('[name="'+l+'"]');p.length&&null!=p.val()&&i.val(p.val())}if(s){var u,m,w;if(i.is('[type="radio"]')){m=s.replace(/-\d+-\d+$/,"");var v=s.replace(/-\d+$/,"");if(!d[m]){var h={};d[m]=t.find(".siteorigin-widget-input[id^="+m+"]").not("[id*=_id_]").filter(function(i,t){var r=e(t).attr("name");return!h[r]&&(h[r]=!0,!0)}).length+1}var b=m+"-"+d[m];w=b+s.match(/-\d+$/)[0],a.find("label[for="+v+"]").attr("for",b)}else u=new RegExp("-\\d+$"),m=s.replace(u,""),d[m]||(d[m]=t.find(".siteorigin-widget-input[id^="+m+"]").not("[id*=_id_]").length+1),w=m+"-"+d[m]++;if(i.attr("id",w),i.is(".wp-editor-area")){var y=i.closest(".siteorigin-widget-tinymce-container"),F=y.data("media-buttons");if(F&&F.html){var u=new RegExp(s,"g");F.html=F.html.replace(u,w),y.data("media-buttons",F)}}a.find("label[for="+s+"]").attr("for",w),a.find("[id*="+s+"]").each(function(){var i=e(this).attr("id"),t=i.replace(s,w);e(this).attr("id",t)}),"undefined"!=typeof tinymce&&tinymce.get(w)&&tinymce.get(w).remove()}var k=n.parents(".siteorigin-widget-field-repeater").length,_=e("body");(_.hasClass("wp-customizer")||_.hasClass("widgets-php"))&&0===r.closest(".panel-dialog").length&&(k+=1);var C=l.replace(new RegExp("((?:.*?\\[\\d+\\]){"+(k-1).toString()+"})?(.*?\\[)\\d+(\\])"),"$1$2"+o.toString()+"$3");i.attr("name",C),i.data("original-name",C)}),s.append(a).sortable("refresh").trigger("updateFieldPositions"),a.sowSetupRepeaterItems(),a.hide().slideDown("fast",function(){e(window).resize()}),r.trigger("change")}),r.find("> .siteorigin-widget-field-repeater-item-form").sowSetupForm(),r.data("sowrepeater-actions-setup",!0)}})},sowbForms.getContainerFieldId=function(e,i,t){var r=i+"FieldId";this.hasOwnProperty(r)||(this[r]=1);var n=e.closest(t);if(n.length){var a=n.data("field-id");return void 0===a&&(a=this[r]++),n.data("field-id",a),a}return!1},sowbForms.getWidgetFieldVariable=function(e,i,t){var r=window.sow_field_javascript_variables[e];i=i.replace(/\[#.*?#\]/g,"");for(var n=/[a-zA-Z0-9\-]+(?:\[c?[0-9]+\])?\[(.*)\]/.exec(i)[1],a=n.split("]["),s=a.length?r:null;a.length;)s=s[a.shift()];return s[t]},sowbForms.fetchWidgetVariable=function(i,t,r){window.sowVars=window.sowVars||{},void 0===window.sowVars[t]?e.post(soWidgets.ajaxurl,{action:"sow_get_javascript_variables",widget:t,key:i},function(e){window.sowVars[t]=e,r(window.sowVars[t][i])}):r(window.sowVars[t][i])},sowbForms.getWidgetFormValues=function(i){if(_.isUndefined(i))return null;var t={};return i.find("*[name]").each(function(){var i=e(this);try{var r=/[a-zA-Z0-9\-]+\[[a-zA-Z0-9]+\]\[(.*)\]/.exec(i.attr("name"));if(_.isEmpty(r))return!0;r=r[1];var n=r.split("][");n=n.map(function(e){return!isNaN(parseFloat(e))&&isFinite(e)?parseInt(e):e});var a=t,s=null,o=_.isString(i.attr("type"))?i.attr("type").toLowerCase():null;if("checkbox"===o)s=!!i.is(":checked")&&(""===i.val()||i.val());else if("radio"===o){if(!i.is(":checked"))return;s=i.val()}else if("SELECT"===i.prop("tagName")){var d=i.find("option:selected");1===d.length?s=i.find("option:selected").val():d.length>1&&(s=_.map(i.find("option:selected"),function(i,t){return e(i).val()}))}else s=i.val();for(var l=0;l<n.length;l++)l===n.length-1?""===n[l]?a.push(s):a[n[l]]=s:(_.isUndefined(a[n[l]])&&(_.isNumber(n[l+1])||""===n[l+1]?a[n[l]]=[]:a[n[l]]={}),a=a[n[l]])}catch(e){console.error("Field ["+i.attr("name")+"] could not be processed and was skipped - "+e.message)}}),t},sowbForms.setWidgetFormValues=function(i,t,r){r=r||!1;var n=0,a=function(i,t){10!=++n&&i.find("> .siteorigin-widget-field-type-repeater").each(function(){var i=e(this).find("> .siteorigin-widget-field-repeater"),n=i.data("repeaterName"),s=t.hasOwnProperty(n)?t[n]:null;if(s&&Array.isArray(s)){var o=i.find("> .siteorigin-widget-field-repeater-items > .siteorigin-widget-field-repeater-item"),d=s.length,l=o.length;if(d>l)for(var g=0;g<d-l;g++)i.find("> .siteorigin-widget-field-repeater-add").click();else if(!r&&d<l)for(var f=d;f<l;f++){var c=e(o.eq(f));c.find("> .siteorigin-widget-field-repeater-item-top").find(".siteorigin-widget-field-remove").trigger("click",{silent:!0})}o=i.find("> .siteorigin-widget-field-repeater-items > .siteorigin-widget-field-repeater-item");for(var p=0;p<o.length;p++)o.eq(p).find("> .siteorigin-widget-field-repeater-item-form"),a(o.eq(p).find("> .siteorigin-widget-field-repeater-item-form"),s[p])}})};a(i,t),i.find("*[name]").each(function(){var i=e(this),n=/[a-zA-Z0-9\-]+\[[a-zA-Z0-9]+\]\[(.*)\]/.exec(i.attr("name"));if(void 0===n||null===n)return!0;n=n[1];var a=n.split("][");a=a.map(function(e){return!isNaN(parseFloat(e))&&isFinite(e)?parseInt(e):e});for(var s,o=t,d=0;d<a.length;d++){if(!o.hasOwnProperty(a[d])){if(r)return!0;break}d===a.length-1?s=o[a[d]]:o=o[a[d]]}if("checkbox"===i.attr("type"))i.prop("checked",s);else if("radio"===i.attr("type"))i.prop("checked",s===i.val());else if("TEXTAREA"===i.prop("tagName")&&i.hasClass("wp-editor-area")){var l=null;"undefined"!=typeof tinyMCE&&(l=tinyMCE.get(i.attr("id"))),null===l||"function"!=typeof l.getContent||l.isHidden()?i.val(s):l.setContent(s)}else i.val(s);i.trigger("change")})},e(".widgets-holder-wrap").on("click",".widget:has(.siteorigin-widget-form-main) .widget-top",function(){var i=e(this).closest(".widget").find(".siteorigin-widget-form-main");setTimeout(function(){i.sowSetupForm()},200)}),e("body").hasClass("wp-customizer")&&e(document).on("widget-added",function(e,i){i.find(".siteorigin-widget-form").sowSetupForm()}),e(document).on("open_dialog",function(i,t){if(t.$el.find(".so-panels-dialog").is(".so-panels-dialog-edit-widget")){e(i.target).find(".siteorigin-widget-form-main").find("> .siteorigin-widget-field").trigger("sowsetupformfield")}}),e(function(){e(document).trigger("sowadminloaded")})}(jQuery);var sowEmitters={_match:function(e,i){void 0===i&&(i=".*");var t=new RegExp("^([a-zA-Z0-9_-]+)(\\[([a-zA-Z0-9_-]+)\\])? *: *("+i+") *$"),r=t.exec(e);if(null===r)return!1;var n="",a="default";return void 0!==r[3]?(a=r[1],n=r[3]):n=r[1],{match:r[4].trim(),group:a,state:n}},_checker:function(e,i,t,r){var n={};void 0===i.length&&(i=[i]);for(var a,s=0;s<i.length;s++)!1!==(a=sowEmitters._match(i[s],t))&&("_true"===a.match||r(e,i,a.match))&&(n[a.group]=a.state);return n},select:function(e,i){void 0===i.length&&(i=[i]);for(var t={},r=0;r<i.length;r++)""===i[r]&&(i[r]="default"),t[i[r]]=e;return t},conditional:function(val,args){return sowEmitters._checker(val,args,"[^;{}]*",function(val,args,match){return eval(match)})},in:function(e,i){return sowEmitters._checker(e,i,"[^;{}]*",function(e,i,t){return-1!==t.split(",").map(function(e){return e.trim()}).indexOf(e)})}};window.sowbForms=sowbForms;
|
base/siteorigin-widget.class.php
CHANGED
@@ -441,7 +441,7 @@ abstract class SiteOrigin_Widget extends WP_Widget {
|
|
441 |
|
442 |
// Filter the instance specifically for the form
|
443 |
$instance = apply_filters('siteorigin_widgets_form_instance_' . $this->id_base, $instance, $this);
|
444 |
-
|
445 |
// `more_entropy` adds a period to the id.
|
446 |
$id = str_replace( '.', '', uniqid( rand(), true ) );
|
447 |
$form_id = 'siteorigin_widget_form_' . md5( $id );
|
@@ -1093,14 +1093,19 @@ abstract class SiteOrigin_Widget extends WP_Widget {
|
|
1093 |
* @return string
|
1094 |
*/
|
1095 |
function get_style_hash( $instance ) {
|
1096 |
-
|
1097 |
-
|
1098 |
-
|
1099 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1100 |
}
|
1101 |
-
$version = property_exists( $this, 'version' ) ? $this->version : '';
|
1102 |
|
1103 |
-
return
|
1104 |
}
|
1105 |
|
1106 |
/**
|
@@ -1227,7 +1232,7 @@ abstract class SiteOrigin_Widget extends WP_Widget {
|
|
1227 |
$instance,
|
1228 |
$this
|
1229 |
);
|
1230 |
-
|
1231 |
foreach ( $f_scripts as $f_script ) {
|
1232 |
if ( ! wp_script_is( $f_script[0] ) ) {
|
1233 |
wp_enqueue_script(
|
@@ -1264,7 +1269,7 @@ abstract class SiteOrigin_Widget extends WP_Widget {
|
|
1264 |
$instance,
|
1265 |
$this
|
1266 |
);
|
1267 |
-
|
1268 |
foreach ( $f_styles as $f_style ) {
|
1269 |
if ( ! wp_style_is( $f_style[0] ) ) {
|
1270 |
wp_enqueue_style(
|
441 |
|
442 |
// Filter the instance specifically for the form
|
443 |
$instance = apply_filters('siteorigin_widgets_form_instance_' . $this->id_base, $instance, $this);
|
444 |
+
|
445 |
// `more_entropy` adds a period to the id.
|
446 |
$id = str_replace( '.', '', uniqid( rand(), true ) );
|
447 |
$form_id = 'siteorigin_widget_form_' . md5( $id );
|
1093 |
* @return string
|
1094 |
*/
|
1095 |
function get_style_hash( $instance ) {
|
1096 |
+
$style_hash = apply_filters('siteorigin_widgets_widget_style_hash', '', $this);
|
1097 |
+
if( empty( $style_hash ) ) {
|
1098 |
+
if( method_exists( $this, 'get_style_hash_variables' ) ) {
|
1099 |
+
$vars = apply_filters( 'siteorigin_widgets_hash_variables_' . $this->id_base, $this->get_style_hash_variables( $instance ), $instance, $this );
|
1100 |
+
} else {
|
1101 |
+
$vars = apply_filters( 'siteorigin_widgets_less_variables_' . $this->id_base, $this->get_less_variables( $instance ), $instance, $this );
|
1102 |
+
}
|
1103 |
+
$version = property_exists( $this, 'version' ) ? $this->version : '';
|
1104 |
+
|
1105 |
+
$style_hash = substr( md5( json_encode( $vars ) . $version ), 0, 12 );
|
1106 |
}
|
|
|
1107 |
|
1108 |
+
return $style_hash;
|
1109 |
}
|
1110 |
|
1111 |
/**
|
1232 |
$instance,
|
1233 |
$this
|
1234 |
);
|
1235 |
+
|
1236 |
foreach ( $f_scripts as $f_script ) {
|
1237 |
if ( ! wp_script_is( $f_script[0] ) ) {
|
1238 |
wp_enqueue_script(
|
1269 |
$instance,
|
1270 |
$this
|
1271 |
);
|
1272 |
+
|
1273 |
foreach ( $f_styles as $f_style ) {
|
1274 |
if ( ! wp_style_is( $f_style[0] ) ) {
|
1275 |
wp_enqueue_style(
|
compat/beaver-builder/styles.css
CHANGED
@@ -90,27 +90,27 @@
|
|
90 |
}
|
91 |
.fl-lightbox .siteorigin-widget-form .sow-icon-elegantline,
|
92 |
.siteorigin-widgets-query-builder.media-modal .sow-icon-elegantline {
|
93 |
-
font-family: 'sow-elegantline';
|
94 |
}
|
95 |
.fl-lightbox .siteorigin-widget-form .sow-icon-fontawesome,
|
96 |
.siteorigin-widgets-query-builder.media-modal .sow-icon-fontawesome {
|
97 |
-
font-family: 'sow-fontawesome';
|
98 |
}
|
99 |
.fl-lightbox .siteorigin-widget-form .sow-icon-genericons,
|
100 |
.siteorigin-widgets-query-builder.media-modal .sow-icon-genericons {
|
101 |
-
font-family: 'sow-genericons';
|
102 |
}
|
103 |
.fl-lightbox .siteorigin-widget-form .sow-icon-icomoon,
|
104 |
.siteorigin-widgets-query-builder.media-modal .sow-icon-icomoon {
|
105 |
-
font-family: 'sow-icomoon';
|
106 |
}
|
107 |
.fl-lightbox .siteorigin-widget-form .sow-icon-ionicons,
|
108 |
.siteorigin-widgets-query-builder.media-modal .sow-icon-ionicons {
|
109 |
-
font-family: 'sow-ionicons';
|
110 |
}
|
111 |
.fl-lightbox .siteorigin-widget-form .sow-icon-typicons,
|
112 |
.siteorigin-widgets-query-builder.media-modal .sow-icon-typicons {
|
113 |
-
font-family: 'sow-typicons';
|
114 |
}
|
115 |
.fl-lightbox .siteorigin-widget-form .button,
|
116 |
.siteorigin-widgets-query-builder.media-modal .button,
|
90 |
}
|
91 |
.fl-lightbox .siteorigin-widget-form .sow-icon-elegantline,
|
92 |
.siteorigin-widgets-query-builder.media-modal .sow-icon-elegantline {
|
93 |
+
font-family: 'sow-elegantline' !important;
|
94 |
}
|
95 |
.fl-lightbox .siteorigin-widget-form .sow-icon-fontawesome,
|
96 |
.siteorigin-widgets-query-builder.media-modal .sow-icon-fontawesome {
|
97 |
+
font-family: 'sow-fontawesome' !important;
|
98 |
}
|
99 |
.fl-lightbox .siteorigin-widget-form .sow-icon-genericons,
|
100 |
.siteorigin-widgets-query-builder.media-modal .sow-icon-genericons {
|
101 |
+
font-family: 'sow-genericons' !important;
|
102 |
}
|
103 |
.fl-lightbox .siteorigin-widget-form .sow-icon-icomoon,
|
104 |
.siteorigin-widgets-query-builder.media-modal .sow-icon-icomoon {
|
105 |
+
font-family: 'sow-icomoon' !important;
|
106 |
}
|
107 |
.fl-lightbox .siteorigin-widget-form .sow-icon-ionicons,
|
108 |
.siteorigin-widgets-query-builder.media-modal .sow-icon-ionicons {
|
109 |
+
font-family: 'sow-ionicons' !important;
|
110 |
}
|
111 |
.fl-lightbox .siteorigin-widget-form .sow-icon-typicons,
|
112 |
.siteorigin-widgets-query-builder.media-modal .sow-icon-typicons {
|
113 |
+
font-family: 'sow-typicons' !important;
|
114 |
}
|
115 |
.fl-lightbox .siteorigin-widget-form .button,
|
116 |
.siteorigin-widgets-query-builder.media-modal .button,
|
js/slider/jquery.slider.js
CHANGED
@@ -1,267 +1,266 @@
|
|
1 |
-
/* globals jQuery, sowb */
|
2 |
-
|
3 |
-
var sowb = window.sowb || {};
|
4 |
-
|
5 |
-
sowb.SiteOriginSlider = function($) {
|
6 |
-
return {
|
7 |
-
playSlideVideo: function(el) {
|
8 |
-
$(el).find('video').each(function(){
|
9 |
-
if(typeof this.play !== 'undefined') {
|
10 |
-
this.play();
|
11 |
-
}
|
12 |
-
});
|
13 |
-
},
|
14 |
-
|
15 |
-
pauseSlideVideo: function(el) {
|
16 |
-
$(el).find('video').each(function(){
|
17 |
-
if(typeof this.pause !== 'undefined') {
|
18 |
-
this.pause();
|
19 |
-
}
|
20 |
-
});
|
21 |
-
},
|
22 |
-
|
23 |
-
setupActiveSlide: function(slider, newActive, speed){
|
24 |
-
// Start by setting up the active sentinel
|
25 |
-
var
|
26 |
-
sentinel = $(slider).find('.cycle-sentinel'),
|
27 |
-
active = $(newActive),
|
28 |
-
video = active.find('video.sow-background-element');
|
29 |
-
|
30 |
-
if( speed == undefined ) {
|
31 |
-
sentinel.css( 'height', active.outerHeight() );
|
32 |
-
}
|
33 |
-
else {
|
34 |
-
sentinel.animate( {height: active.outerHeight()}, speed );
|
35 |
-
}
|
36 |
-
|
37 |
-
if( video.length ) {
|
38 |
-
|
39 |
-
// Resize the video so it fits in the current slide
|
40 |
-
var
|
41 |
-
slideRatio = active.outerWidth() / active.outerHeight(),
|
42 |
-
videoRatio = video.outerWidth() / video.outerHeight();
|
43 |
-
|
44 |
-
if( slideRatio > videoRatio ) {
|
45 |
-
video.css( {
|
46 |
-
'width' : '100%',
|
47 |
-
'height' : 'auto'
|
48 |
-
} );
|
49 |
-
}
|
50 |
-
else {
|
51 |
-
video.css( {
|
52 |
-
'width' : 'auto',
|
53 |
-
'height' : '100%'
|
54 |
-
} );
|
55 |
-
}
|
56 |
-
|
57 |
-
video.css( {
|
58 |
-
'margin-left' : -Math.ceil(video.width()/2),
|
59 |
-
'margin-top' : -Math.ceil(video.height()/2)
|
60 |
-
} );
|
61 |
-
}
|
62 |
-
},
|
63 |
-
};
|
64 |
-
};
|
65 |
-
|
66 |
-
|
67 |
-
jQuery( function($){
|
68 |
-
sowb.setupSliders = sowb.setupSlider = function() {
|
69 |
-
var siteoriginSlider = new sowb.SiteOriginSlider($);
|
70 |
-
|
71 |
-
$('.sow-slider-images').each(function(){
|
72 |
-
var $$ = $(this);
|
73 |
-
var $p = $$.siblings('.sow-slider-pagination');
|
74 |
-
var $base = $$.closest('.sow-slider-base');
|
75 |
-
var $n = $base.find('.sow-slide-nav');
|
76 |
-
var $slides = $$.find('.sow-slider-image');
|
77 |
-
var settings = $$.data('settings');
|
78 |
-
|
79 |
-
$slides.each(function( index, el) {
|
80 |
-
var $slide = $(el);
|
81 |
-
var urlData = $slide.data('url');
|
82 |
-
|
83 |
-
if( urlData !== undefined && urlData.hasOwnProperty( 'url' ) ) {
|
84 |
-
$slide.click(function(event) {
|
85 |
-
|
86 |
-
event.preventDefault();
|
87 |
-
var sliderWindow = window.open(
|
88 |
-
urlData.url,
|
89 |
-
urlData.hasOwnProperty( 'new_window' ) && urlData.new_window ? '_blank' : '_self'
|
90 |
-
);
|
91 |
-
sliderWindow.opener = null;
|
92 |
-
} );
|
93 |
-
$slide.find( 'a' ).click( function ( event ) {
|
94 |
-
event.stopPropagation();
|
95 |
-
} );
|
96 |
-
}
|
97 |
-
});
|
98 |
-
|
99 |
-
var setupSlider = function() {
|
100 |
-
|
101 |
-
// If we're inside a fittext wrapper, wait for it to complete, before setting up the slider.
|
102 |
-
var fitTextWrapper = $$.closest('.so-widget-fittext-wrapper');
|
103 |
-
if ( fitTextWrapper.length > 0 && ! fitTextWrapper.data('fitTextDone') ) {
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
}
|
109 |
-
|
110 |
-
// Show everything for this slider
|
111 |
-
$base.show();
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
'
|
166 |
-
'
|
167 |
-
'
|
168 |
-
'swipe' :
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
var
|
229 |
-
var
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
window.sowb = sowb;
|
1 |
+
/* globals jQuery, sowb */
|
2 |
+
|
3 |
+
var sowb = window.sowb || {};
|
4 |
+
|
5 |
+
sowb.SiteOriginSlider = function($) {
|
6 |
+
return {
|
7 |
+
playSlideVideo: function(el) {
|
8 |
+
$(el).find('video').each(function(){
|
9 |
+
if(typeof this.play !== 'undefined') {
|
10 |
+
this.play();
|
11 |
+
}
|
12 |
+
});
|
13 |
+
},
|
14 |
+
|
15 |
+
pauseSlideVideo: function(el) {
|
16 |
+
$(el).find('video').each(function(){
|
17 |
+
if(typeof this.pause !== 'undefined') {
|
18 |
+
this.pause();
|
19 |
+
}
|
20 |
+
});
|
21 |
+
},
|
22 |
+
|
23 |
+
setupActiveSlide: function(slider, newActive, speed){
|
24 |
+
// Start by setting up the active sentinel
|
25 |
+
var
|
26 |
+
sentinel = $(slider).find('.cycle-sentinel'),
|
27 |
+
active = $(newActive),
|
28 |
+
video = active.find('video.sow-background-element');
|
29 |
+
|
30 |
+
if( speed == undefined ) {
|
31 |
+
sentinel.css( 'height', active.outerHeight() );
|
32 |
+
}
|
33 |
+
else {
|
34 |
+
sentinel.animate( {height: active.outerHeight()}, speed );
|
35 |
+
}
|
36 |
+
|
37 |
+
if( video.length ) {
|
38 |
+
|
39 |
+
// Resize the video so it fits in the current slide
|
40 |
+
var
|
41 |
+
slideRatio = active.outerWidth() / active.outerHeight(),
|
42 |
+
videoRatio = video.outerWidth() / video.outerHeight();
|
43 |
+
|
44 |
+
if( slideRatio > videoRatio ) {
|
45 |
+
video.css( {
|
46 |
+
'width' : '100%',
|
47 |
+
'height' : 'auto'
|
48 |
+
} );
|
49 |
+
}
|
50 |
+
else {
|
51 |
+
video.css( {
|
52 |
+
'width' : 'auto',
|
53 |
+
'height' : '100%'
|
54 |
+
} );
|
55 |
+
}
|
56 |
+
|
57 |
+
video.css( {
|
58 |
+
'margin-left' : -Math.ceil(video.width()/2),
|
59 |
+
'margin-top' : -Math.ceil(video.height()/2)
|
60 |
+
} );
|
61 |
+
}
|
62 |
+
},
|
63 |
+
};
|
64 |
+
};
|
65 |
+
|
66 |
+
|
67 |
+
jQuery( function($){
|
68 |
+
sowb.setupSliders = sowb.setupSlider = function() {
|
69 |
+
var siteoriginSlider = new sowb.SiteOriginSlider($);
|
70 |
+
|
71 |
+
$('.sow-slider-images').each(function(){
|
72 |
+
var $$ = $(this);
|
73 |
+
var $p = $$.siblings('.sow-slider-pagination');
|
74 |
+
var $base = $$.closest('.sow-slider-base');
|
75 |
+
var $n = $base.find('.sow-slide-nav');
|
76 |
+
var $slides = $$.find('.sow-slider-image');
|
77 |
+
var settings = $$.data('settings');
|
78 |
+
|
79 |
+
$slides.each(function( index, el) {
|
80 |
+
var $slide = $(el);
|
81 |
+
var urlData = $slide.data('url');
|
82 |
+
|
83 |
+
if( urlData !== undefined && urlData.hasOwnProperty( 'url' ) ) {
|
84 |
+
$slide.click(function(event) {
|
85 |
+
|
86 |
+
event.preventDefault();
|
87 |
+
var sliderWindow = window.open(
|
88 |
+
urlData.url,
|
89 |
+
urlData.hasOwnProperty( 'new_window' ) && urlData.new_window ? '_blank' : '_self'
|
90 |
+
);
|
91 |
+
sliderWindow.opener = null;
|
92 |
+
} );
|
93 |
+
$slide.find( 'a' ).click( function ( event ) {
|
94 |
+
event.stopPropagation();
|
95 |
+
} );
|
96 |
+
}
|
97 |
+
});
|
98 |
+
|
99 |
+
var setupSlider = function() {
|
100 |
+
|
101 |
+
// If we're inside a fittext wrapper, wait for it to complete, before setting up the slider.
|
102 |
+
var fitTextWrapper = $$.closest('.so-widget-fittext-wrapper');
|
103 |
+
if ( fitTextWrapper.length > 0 && ! fitTextWrapper.data('fitTextDone') ) {
|
104 |
+
fitTextWrapper.on('fitTextDone', function () {
|
105 |
+
setupSlider();
|
106 |
+
});
|
107 |
+
return;
|
108 |
+
}
|
109 |
+
|
110 |
+
// Show everything for this slider
|
111 |
+
$base.show();
|
112 |
+
|
113 |
+
var resizeFrames = function () {
|
114 |
+
$$.find( '.sow-slider-image' ).each( function () {
|
115 |
+
var $i = $( this );
|
116 |
+
$i.css( 'height', $i.find( '.sow-slider-image-wrapper' ).outerHeight() );
|
117 |
+
} );
|
118 |
+
};
|
119 |
+
// Setup each of the slider frames
|
120 |
+
$(window).on('resize panelsStretchRows', resizeFrames ).resize();
|
121 |
+
|
122 |
+
// Set up the Cycle with videos
|
123 |
+
$$
|
124 |
+
.on({
|
125 |
+
'cycle-after' : function(event, optionHash, outgoingSlideEl, incomingSlideEl, forwardFlag){
|
126 |
+
var $$ = $(this);
|
127 |
+
siteoriginSlider.playSlideVideo(incomingSlideEl);
|
128 |
+
siteoriginSlider.setupActiveSlide( $$, incomingSlideEl );
|
129 |
+
$( incomingSlideEl ).trigger('sowSlideCycleAfter');
|
130 |
+
},
|
131 |
+
|
132 |
+
'cycle-before' : function(event, optionHash, outgoingSlideEl, incomingSlideEl, forwardFlag) {
|
133 |
+
var $$ = $(this);
|
134 |
+
$p.find('> li').removeClass('sow-active').eq(optionHash.slideNum-1).addClass('sow-active');
|
135 |
+
siteoriginSlider.pauseSlideVideo(outgoingSlideEl);
|
136 |
+
siteoriginSlider.setupActiveSlide($$, incomingSlideEl, optionHash.speed);
|
137 |
+
$( incomingSlideEl ).trigger('sowSlideCycleBefore');
|
138 |
+
},
|
139 |
+
|
140 |
+
'cycle-initialized' : function(event, optionHash){
|
141 |
+
siteoriginSlider.playSlideVideo( $(this).find('.cycle-slide-active') );
|
142 |
+
siteoriginSlider.setupActiveSlide( $$, optionHash.slides[0] );
|
143 |
+
|
144 |
+
$p.find('>li').removeClass('sow-active').eq(0).addClass('sow-active');
|
145 |
+
$( this ).find('.cycle-slide-active').trigger( 'sowSlideInitial' );
|
146 |
+
|
147 |
+
if(optionHash.slideCount <= 1) {
|
148 |
+
// Special case when there is only one slide
|
149 |
+
$p.hide();
|
150 |
+
$n.hide();
|
151 |
+
}
|
152 |
+
|
153 |
+
$(window).resize();
|
154 |
+
|
155 |
+
setTimeout(function() {
|
156 |
+
resizeFrames();
|
157 |
+
siteoriginSlider.setupActiveSlide( $$, optionHash.slides[0] );
|
158 |
+
// Ensure we keep auto-height functionality, but we don't want the duplicated content.
|
159 |
+
$$.find('.cycle-sentinel').empty();
|
160 |
+
}, 200);
|
161 |
+
}
|
162 |
+
})
|
163 |
+
.cycle( {
|
164 |
+
'slides' : '> .sow-slider-image',
|
165 |
+
'speed' : settings.speed,
|
166 |
+
'timeout' : settings.timeout,
|
167 |
+
'swipe' : settings.swipe,
|
168 |
+
'swipe-fx' : 'scrollHorz'
|
169 |
+
} ) ;
|
170 |
+
|
171 |
+
$$ .find('video.sow-background-element').on('loadeddata', function(){
|
172 |
+
siteoriginSlider.setupActiveSlide( $$, $$.find( '.cycle-slide-active' ) );
|
173 |
+
} );
|
174 |
+
|
175 |
+
// Set up showing and hiding navs
|
176 |
+
$p.add($n).hide();
|
177 |
+
if( !$base.hasClass('sow-slider-is-mobile') && $slides.length > 1 ) {
|
178 |
+
|
179 |
+
var toHide = false;
|
180 |
+
$base
|
181 |
+
.mouseenter(function(){
|
182 |
+
$p.add($n).clearQueue().fadeIn(150);
|
183 |
+
toHide = false;
|
184 |
+
})
|
185 |
+
.mouseleave(function(){
|
186 |
+
toHide = true;
|
187 |
+
setTimeout(function(){
|
188 |
+
if( toHide ) {
|
189 |
+
$p.add($n).clearQueue().fadeOut(150);
|
190 |
+
}
|
191 |
+
toHide = false;
|
192 |
+
}, 750);
|
193 |
+
});
|
194 |
+
}
|
195 |
+
|
196 |
+
// Resize the sentinel when ever the window is resized
|
197 |
+
$( window ).resize( function(){
|
198 |
+
siteoriginSlider.setupActiveSlide( $$, $$.find( '.cycle-slide-active' ) );
|
199 |
+
} );
|
200 |
+
|
201 |
+
// Setup clicks on the pagination
|
202 |
+
$p.find( '> li > a' ).click( function(e){
|
203 |
+
e.preventDefault();
|
204 |
+
$$.cycle( 'goto', $(this).data('goto') );
|
205 |
+
} );
|
206 |
+
|
207 |
+
// Clicking on the next and previous navigation buttons
|
208 |
+
$n.find( '> a' ).click( function(e){
|
209 |
+
e.preventDefault();
|
210 |
+
$$.cycle( $(this).data('action') );
|
211 |
+
} );
|
212 |
+
|
213 |
+
$base.keydown(
|
214 |
+
function(event) {
|
215 |
+
if(event.which === 37) {
|
216 |
+
//left
|
217 |
+
$$.cycle('prev');
|
218 |
+
}
|
219 |
+
else if (event.which === 39) {
|
220 |
+
//right
|
221 |
+
$$.cycle('next');
|
222 |
+
}
|
223 |
+
}
|
224 |
+
);
|
225 |
+
};
|
226 |
+
|
227 |
+
var images = $$.find('img');
|
228 |
+
var imagesLoaded = 0;
|
229 |
+
var sliderLoaded = false;
|
230 |
+
|
231 |
+
// Preload all the images, when they're loaded, then display the slider
|
232 |
+
images.each( function(){
|
233 |
+
var $i = $(this);
|
234 |
+
if( this.complete ) {
|
235 |
+
imagesLoaded++;
|
236 |
+
}
|
237 |
+
else {
|
238 |
+
$(this).one('load', function(){
|
239 |
+
imagesLoaded++;
|
240 |
+
|
241 |
+
if(imagesLoaded === images.length && !sliderLoaded) {
|
242 |
+
setupSlider();
|
243 |
+
sliderLoaded = true;
|
244 |
+
}
|
245 |
+
})
|
246 |
+
// Reset src attribute to force 'load' event for cached images in IE9 and IE10.
|
247 |
+
.attr('src', $(this).attr('src'));
|
248 |
+
}
|
249 |
+
|
250 |
+
if(imagesLoaded === images.length && !sliderLoaded) {
|
251 |
+
setupSlider();
|
252 |
+
sliderLoaded = true;
|
253 |
+
}
|
254 |
+
} );
|
255 |
+
|
256 |
+
if(images.length === 0) {
|
257 |
+
setupSlider();
|
258 |
+
}
|
259 |
+
});
|
260 |
+
};
|
261 |
+
sowb.setupSliders();
|
262 |
+
|
263 |
+
$( sowb ).on( 'setup_widgets', sowb.setupSliders );
|
264 |
+
} );
|
265 |
+
|
266 |
+
window.sowb = sowb;
|
|
js/slider/jquery.slider.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
var sowb=window.sowb||{};sowb.SiteOriginSlider=function(e){return{playSlideVideo:function(i){e(i).find("video").each(function(){void 0!==this.play&&this.play()})},pauseSlideVideo:function(i){e(i).find("video").each(function(){void 0!==this.pause&&this.pause()})},setupActiveSlide:function(i,t,s){var n=e(i).find(".cycle-sentinel"),o=e(t),d=o.find("video.sow-background-element");if(void 0==s?n.css("height",o.outerHeight()):n.animate({height:o.outerHeight()},s),d.length){o.outerWidth()/o.outerHeight()>d.outerWidth()/d.outerHeight()?d.css({width:"100%",height:"auto"}):d.css({width:"auto",height:"100%"}),d.css({"margin-left":-Math.ceil(d.width()/2),"margin-top":-Math.ceil(d.height()/2)})}}}},jQuery(function(e){sowb.setupSliders=sowb.setupSlider=function(){var i=new sowb.SiteOriginSlider(e);e(".sow-slider-images").each(function(){var t=e(this),s=t.siblings(".sow-slider-pagination"),n=t.closest(".sow-slider-base"),o=n.find(".sow-slide-nav"),d=t.find(".sow-slider-image"),c=t.data("settings");d.each(function(i,t){var s=e(t),n=s.data("url");void 0!==n&&n.hasOwnProperty("url")&&(s.click(function(e){e.preventDefault(),window.open(n.url,n.hasOwnProperty("new_window")&&n.new_window?"_blank":"_self").opener=null}),s.find("a").click(function(e){e.stopPropagation()}))});var l=function(){var a=t.closest(".so-widget-fittext-wrapper");if(a.length>0&&!a.data("fitTextDone"))return void a.on("fitTextDone",function(){l()});
|
1 |
+
var sowb=window.sowb||{};sowb.SiteOriginSlider=function(e){return{playSlideVideo:function(i){e(i).find("video").each(function(){void 0!==this.play&&this.play()})},pauseSlideVideo:function(i){e(i).find("video").each(function(){void 0!==this.pause&&this.pause()})},setupActiveSlide:function(i,t,s){var n=e(i).find(".cycle-sentinel"),o=e(t),d=o.find("video.sow-background-element");if(void 0==s?n.css("height",o.outerHeight()):n.animate({height:o.outerHeight()},s),d.length){o.outerWidth()/o.outerHeight()>d.outerWidth()/d.outerHeight()?d.css({width:"100%",height:"auto"}):d.css({width:"auto",height:"100%"}),d.css({"margin-left":-Math.ceil(d.width()/2),"margin-top":-Math.ceil(d.height()/2)})}}}},jQuery(function(e){sowb.setupSliders=sowb.setupSlider=function(){var i=new sowb.SiteOriginSlider(e);e(".sow-slider-images").each(function(){var t=e(this),s=t.siblings(".sow-slider-pagination"),n=t.closest(".sow-slider-base"),o=n.find(".sow-slide-nav"),d=t.find(".sow-slider-image"),c=t.data("settings");d.each(function(i,t){var s=e(t),n=s.data("url");void 0!==n&&n.hasOwnProperty("url")&&(s.click(function(e){e.preventDefault(),window.open(n.url,n.hasOwnProperty("new_window")&&n.new_window?"_blank":"_self").opener=null}),s.find("a").click(function(e){e.stopPropagation()}))});var l=function(){var a=t.closest(".so-widget-fittext-wrapper");if(a.length>0&&!a.data("fitTextDone"))return void a.on("fitTextDone",function(){l()});n.show();var r=function(){t.find(".sow-slider-image").each(function(){var i=e(this);i.css("height",i.find(".sow-slider-image-wrapper").outerHeight())})};if(e(window).on("resize panelsStretchRows",r).resize(),t.on({"cycle-after":function(t,s,n,o,d){var c=e(this);i.playSlideVideo(o),i.setupActiveSlide(c,o),e(o).trigger("sowSlideCycleAfter")},"cycle-before":function(t,n,o,d,c){var l=e(this);s.find("> li").removeClass("sow-active").eq(n.slideNum-1).addClass("sow-active"),i.pauseSlideVideo(o),i.setupActiveSlide(l,d,n.speed),e(d).trigger("sowSlideCycleBefore")},"cycle-initialized":function(n,d){i.playSlideVideo(e(this).find(".cycle-slide-active")),i.setupActiveSlide(t,d.slides[0]),s.find(">li").removeClass("sow-active").eq(0).addClass("sow-active"),e(this).find(".cycle-slide-active").trigger("sowSlideInitial"),d.slideCount<=1&&(s.hide(),o.hide()),e(window).resize(),setTimeout(function(){r(),i.setupActiveSlide(t,d.slides[0]),t.find(".cycle-sentinel").empty()},200)}}).cycle({slides:"> .sow-slider-image",speed:c.speed,timeout:c.timeout,swipe:c.swipe,"swipe-fx":"scrollHorz"}),t.find("video.sow-background-element").on("loadeddata",function(){i.setupActiveSlide(t,t.find(".cycle-slide-active"))}),s.add(o).hide(),!n.hasClass("sow-slider-is-mobile")&&d.length>1){var u=!1;n.mouseenter(function(){s.add(o).clearQueue().fadeIn(150),u=!1}).mouseleave(function(){u=!0,setTimeout(function(){u&&s.add(o).clearQueue().fadeOut(150),u=!1},750)})}e(window).resize(function(){i.setupActiveSlide(t,t.find(".cycle-slide-active"))}),s.find("> li > a").click(function(i){i.preventDefault(),t.cycle("goto",e(this).data("goto"))}),o.find("> a").click(function(i){i.preventDefault(),t.cycle(e(this).data("action"))}),n.keydown(function(e){37===e.which?t.cycle("prev"):39===e.which&&t.cycle("next")})},a=t.find("img"),r=0,u=!1;a.each(function(){e(this);this.complete?r++:e(this).one("load",function(){++r!==a.length||u||(l(),u=!0)}).attr("src",e(this).attr("src")),r!==a.length||u||(l(),u=!0)}),0===a.length&&l()})},sowb.setupSliders(),e(sowb).on("setup_widgets",sowb.setupSliders)}),window.sowb=sowb;
|
js/{sow.google.map.js → sow.google-map.js}
RENAMED
@@ -75,17 +75,6 @@ sowb.SiteOriginGoogleMap = function($) {
|
|
75 |
this.showMarkers(options.markerPositions, map, options);
|
76 |
this.showDirections(options.directions, map, options);
|
77 |
|
78 |
-
// If the Google Maps element is hidden it won't display properly. This is an attempt to make it display by
|
79 |
-
// calling resize when a custom 'show' event is fired. The 'show' event is something we fire in a few widgets
|
80 |
-
// like Accordion and Tabs and in future any widgets which might show and hide content using `display:none;`.
|
81 |
-
if ( $( element ).is( ':hidden' ) ) {
|
82 |
-
var $visParent = $( element ).closest( ':visible' );
|
83 |
-
$visParent.find( '> :hidden' ).on( 'show', function () {
|
84 |
-
google.maps.event.trigger(map, 'resize');
|
85 |
-
map.setCenter(location);
|
86 |
-
} );
|
87 |
-
}
|
88 |
-
|
89 |
},
|
90 |
|
91 |
linkAutocompleteField: function (autocomplete, autocompleteElement, map, options) {
|
@@ -337,7 +326,7 @@ sowb.SiteOriginGoogleMap = function($) {
|
|
337 |
this.getLocation( address ).done(
|
338 |
function ( location ) {
|
339 |
this.showMap( $$.get( 0 ), location, options );
|
340 |
-
$$.data( 'initialized' );
|
341 |
}.bind( this )
|
342 |
).fail( function () {
|
343 |
$$.append( '<div><p><strong>' + soWidgetsGoogleMap.geocode.noResults + '</strong></p></div>' );
|
@@ -416,6 +405,9 @@ jQuery(function ($) {
|
|
416 |
var apiKey;
|
417 |
$('.sow-google-map-canvas').each(function(index, element) {
|
418 |
var $this = $(element);
|
|
|
|
|
|
|
419 |
var mapOptions = $this.data( 'options' );
|
420 |
if ( mapOptions) {
|
421 |
if( typeof mapOptions.libraries !== 'undefined' && mapOptions.libraries !== null ) {
|
@@ -425,6 +417,7 @@ jQuery(function ($) {
|
|
425 |
apiKey = mapOptions.apiKey;
|
426 |
}
|
427 |
}
|
|
|
428 |
});
|
429 |
|
430 |
var mapsApiLoaded = typeof window.google !== 'undefined' && typeof window.google.maps !== 'undefined';
|
75 |
this.showMarkers(options.markerPositions, map, options);
|
76 |
this.showDirections(options.directions, map, options);
|
77 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
},
|
79 |
|
80 |
linkAutocompleteField: function (autocomplete, autocompleteElement, map, options) {
|
326 |
this.getLocation( address ).done(
|
327 |
function ( location ) {
|
328 |
this.showMap( $$.get( 0 ), location, options );
|
329 |
+
$$.data( 'initialized', true );
|
330 |
}.bind( this )
|
331 |
).fail( function () {
|
332 |
$$.append( '<div><p><strong>' + soWidgetsGoogleMap.geocode.noResults + '</strong></p></div>' );
|
405 |
var apiKey;
|
406 |
$('.sow-google-map-canvas').each(function(index, element) {
|
407 |
var $this = $(element);
|
408 |
+
if ( ! $this.is( ':visible' ) || $this.data( 'apiInitialized' ) ) {
|
409 |
+
return $this;
|
410 |
+
}
|
411 |
var mapOptions = $this.data( 'options' );
|
412 |
if ( mapOptions) {
|
413 |
if( typeof mapOptions.libraries !== 'undefined' && mapOptions.libraries !== null ) {
|
417 |
apiKey = mapOptions.apiKey;
|
418 |
}
|
419 |
}
|
420 |
+
$this.data( 'apiInitialized', true );
|
421 |
});
|
422 |
|
423 |
var mapsApiLoaded = typeof window.google !== 'undefined' && typeof window.google.maps !== 'undefined';
|
js/sow.google-map.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
function soGoogleMapInitialize(){new sowb.SiteOriginGoogleMap(jQuery).initMaps()}var sowb=window.sowb||{};sowb.SiteOriginGoogleMap=function(e){return{DEFAULT_LOCATIONS:["Addo Elephant National Park, R335, Addo","Cape Town, Western Cape, South Africa","San Francisco Bay Area, CA, United States","New York, NY, United States"],showMap:function(e,o,t){var i=Number(t.zoom);i||(i=14);var a={zoom:i,scrollwheel:t.scrollZoom,draggable:t.draggable,disableDefaultUI:t.disableUi,zoomControl:t.zoomControl,panControl:t.panControl,center:o,mapTypeControlOptions:{mapTypeIds:[google.maps.MapTypeId.ROADMAP,google.maps.MapTypeId.SATELLITE,"user_map_style"]}},n=new google.maps.Map(e,a),s={name:t.mapName},r=t.mapStyles;if(r){var l=new google.maps.StyledMapType(r,s);n.mapTypes.set("user_map_style",l),n.setMapTypeId("user_map_style")}if(t.markerAtCenter&&(this.centerMarker=new google.maps.Marker({position:o,map:n,draggable:t.markersDraggable,icon:t.markerIcon,title:""})),t.keepCentered){var d;google.maps.event.addDomListener(n,"idle",function(){d=n.getCenter()}),google.maps.event.addDomListener(window,"resize",function(){n.setCenter(d)})}this.linkAutocompleteField(t.autocomplete,t.autocompleteElement,n,t),this.showMarkers(t.markerPositions,n,t),this.showDirections(t.directions,n,t)},linkAutocompleteField:function(o,t,i,a){if(o&&t){var n=function(e){this.inputAddress!==e&&(this.inputAddress=e,this.getLocation(this.inputAddress).done(function(e){i.setZoom(15),i.setCenter(e),this.centerMarker&&(this.centerMarker.setPosition(e),this.centerMarker.setTitle(this.inputAddress))}.bind(this)))}.bind(this),s=e(t);o.addListener("place_changed",function(){var e=o.getPlace();i.setZoom(15),e.geometry&&(i.setCenter(e.geometry.location),this.centerMarker&&this.centerMarker.setPosition(e.geometry.location))}.bind(this)),google.maps.event.addDomListener(t,"keypress",function(e){"13"===(e.keyCode||e.which)&&e.preventDefault()}),s.focusin(function(){if(!this.resultsObserver){var o=document.querySelector(".pac-container");this.resultsObserver=new MutationObserver(function(){var o=e(e(".pac-item").get(0)),t=o.find(".pac-item-query").text(),i=o.find("span").not("[class]").text(),a=t+(i?", "+i:"");a&&n(a)});var t={attributes:!0,childList:!0,characterData:!0};this.resultsObserver.observe(o,t)}}.bind(this));var r=function(e){this.getGeocoder().geocode({location:e},function(o,t){if(t===google.maps.GeocoderStatus.OK&&o.length>0){var i=o[0].formatted_address;s.val(i),this.centerMarker&&(this.centerMarker.setPosition(e),this.centerMarker.setTitle(i))}}.bind(this))}.bind(this);i.addListener("click",function(e){r(e.latLng)}),this.centerMarker.addListener("dragend",function(e){r(e.latLng)})}},showMarkers:function(e,o,t){if(e&&e.length){this.infoWindows=[];for(var i=[],a=0;a<e.length;a++){var n=parseInt(a/10);i.length===n&&(i[n]=[]),i[n][a%10]=e[a]}var s=function(e,i){var a=0;e.forEach(function(n){this.getLocation(n.place).done(function(r){var l=t.markerIcon;n.custom_marker_icon&&(l=n.custom_marker_icon);var d=new google.maps.Marker({position:r,map:o,draggable:t.markersDraggable,icon:l,title:""});if(n.hasOwnProperty("info")&&n.info){var c={content:n.info};n.hasOwnProperty("info_max_width")&&n.info_max_width&&(c.maxWidth=n.info_max_width);var p=t.markerInfoDisplay;c.disableAutoPan="always"===p;var g=new google.maps.InfoWindow(c);this.infoWindows.push(g);var h=p;"always"===p&&(h="click",g.open(o,d)),d.addListener(h,function(){g.open(o,d),"always"===p||t.markerInfoMultiple||this.infoWindows.forEach(function(e){e!==g&&e.close()})}.bind(this)),"mouseover"===p&&d.addListener("mouseout",function(){setTimeout(function(){g.close()},100)})}++a===e.length&&i.length&&s(i.shift(),i)}.bind(this))}.bind(this))}.bind(this);s(i.shift(),i)}},showDirections:function(e,o){if(e){e.waypoints&&e.waypoints.length&&e.waypoints.map(function(e){e.stopover=Boolean(e.stopover)});var t=new google.maps.DirectionsRenderer;t.setMap(o);(new google.maps.DirectionsService).route({origin:e.origin,destination:e.destination,travelMode:e.travelMode.toUpperCase(),avoidHighways:e.avoidHighways,avoidTolls:e.avoidTolls,waypoints:e.waypoints,optimizeWaypoints:e.optimizeWaypoints},function(o,i){i===google.maps.DirectionsStatus.OK&&(t.setOptions({preserveViewport:e.preserveViewport}),t.setDirections(o))})}},initMaps:function(){var o=e(".sow-google-map-autocomplete"),t=new e.Deferred;0===o.length?t.resolve():o.each(function(o,i){if(void 0===google.maps.places)return void t.reject('Sorry, we couldn\'t load the "places" library due to another plugin, so the autocomplete feature is not available.');var a=new google.maps.places.Autocomplete(i,{types:["address"]}),n=e(i).siblings(".sow-google-map-canvas");if(n.length>0){var s=n.data("options");s.autocomplete=a,s.autocompleteElement=i,this.getLocation(s.address).done(function(e){this.showMap(n.get(0),e,s),n.data("initialized",!0),t.resolve()}.bind(this)).fail(function(){n.append("<div><p><strong>"+soWidgetsGoogleMap.geocode.noResults+"</strong></p></div>"),t.reject()})}}.bind(this)),t.always(function(){e(".sow-google-map-canvas").each(function(o,t){var i=e(t);if(i.data("initialized"))return!0;var a=i.data("options"),n=a.address;if(!n){var s=a.markerPositions;s&&s.length&&(n=s[0].place)}this.getLocation(n).done(function(e){this.showMap(i.get(0),e,a),i.data("initialized",!0)}.bind(this)).fail(function(){i.append("<div><p><strong>"+soWidgetsGoogleMap.geocode.noResults+"</strong></p></div>")})}.bind(this))}.bind(this)).fail(function(e){console.log(e)})},getGeocoder:function(){return this._geocoder||(this._geocoder=new google.maps.Geocoder),this._geocoder},getLocation:function(o){var t,i=new e.Deferred,a={address:o};if(o&&o.indexOf(",")>-1){var n=o.split(",");n&&2===n.length&&(t=new google.maps.LatLng(n[0],n[1]),isNaN(t.lat())||isNaN(t.lng())||(a={location:{lat:t.lat(),lng:t.lng()}}))}if(a.hasOwnProperty("location"))i.resolve(a.location);else if(a.hasOwnProperty("address")){if(!a.address){var s=parseInt(Math.random()*this.DEFAULT_LOCATIONS.length);a.address=this.DEFAULT_LOCATIONS[s]}var r=function(e,o){o===google.maps.GeocoderStatus.OK?i.resolve(e[0].geometry.location):o===google.maps.GeocoderStatus.OVER_QUERY_LIMIT?setTimeout(function(){this.getGeocoder().geocode.call(this,a,r)}.bind(this),100):o===google.maps.GeocoderStatus.ZERO_RESULTS&&i.reject(o)}.bind(this);this.getGeocoder().geocode(a,r)}return i}}},jQuery(function(e){sowb.setupGoogleMaps=function(){var o,t=[];if(e(".sow-google-map-canvas").each(function(i,a){var n=e(a);if(!n.is(":visible")||n.data("apiInitialized"))return n;var s=n.data("options");s&&(void 0!==s.libraries&&null!==s.libraries&&(t=t.concat(s.libraries)),!o&&s.apiKey&&(o=s.apiKey)),n.data("apiInitialized",!0)}),void 0!==window.google&&void 0!==window.google.maps)soGoogleMapInitialize();else{var i="https://maps.googleapis.com/maps/api/js?callback=soGoogleMapInitialize";if(t&&t.length&&(i+="&libraries="+t.join(",")),o&&(i+="&key="+o),window.console&&window.console.error){var a=window.console.error;sowb.onLoadMapsApiError=function(o){var t=o.match(/^Google Maps API (error|warning): ([^\s]*)\s([^\s]*)(?:\s(.*))?/);t&&t.length&&t[0]&&e(".sow-google-map-canvas").each(function(o,t){var i=e(t);if(i.data("fallbackImage")){var a=i.data("fallbackImage");a.hasOwnProperty("img")&&i.append(a.img)}}),a.apply(window.console,arguments)},window.console.error=sowb.onLoadMapsApiError}e("body").append('<script async type="text/javascript" src="'+i+'">')}},sowb.setupGoogleMaps(),e(sowb).on("setup_widgets",sowb.setupGoogleMaps)}),window.sowb=sowb;
|
js/sow.google.map.min.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
function soGoogleMapInitialize(){new sowb.SiteOriginGoogleMap(jQuery).initMaps()}var sowb=window.sowb||{};sowb.SiteOriginGoogleMap=function(e){return{DEFAULT_LOCATIONS:["Addo Elephant National Park, R335, Addo","Cape Town, Western Cape, South Africa","San Francisco Bay Area, CA, United States","New York, NY, United States"],showMap:function(o,t,i){var n=Number(i.zoom);n||(n=14);var a={zoom:n,scrollwheel:i.scrollZoom,draggable:i.draggable,disableDefaultUI:i.disableUi,zoomControl:i.zoomControl,panControl:i.panControl,center:t,mapTypeControlOptions:{mapTypeIds:[google.maps.MapTypeId.ROADMAP,google.maps.MapTypeId.SATELLITE,"user_map_style"]}},s=new google.maps.Map(o,a),r={name:i.mapName},l=i.mapStyles;if(l){var d=new google.maps.StyledMapType(l,r);s.mapTypes.set("user_map_style",d),s.setMapTypeId("user_map_style")}if(i.markerAtCenter&&(this.centerMarker=new google.maps.Marker({position:t,map:s,draggable:i.markersDraggable,icon:i.markerIcon,title:""})),i.keepCentered){var c;google.maps.event.addDomListener(s,"idle",function(){c=s.getCenter()}),google.maps.event.addDomListener(window,"resize",function(){s.setCenter(c)})}if(this.linkAutocompleteField(i.autocomplete,i.autocompleteElement,s,i),this.showMarkers(i.markerPositions,s,i),this.showDirections(i.directions,s,i),e(o).is(":hidden")){e(o).closest(":visible").find("> :hidden").on("show",function(){google.maps.event.trigger(s,"resize"),s.setCenter(t)})}},linkAutocompleteField:function(o,t,i,n){if(o&&t){var a=function(e){this.inputAddress!==e&&(this.inputAddress=e,this.getLocation(this.inputAddress).done(function(e){i.setZoom(15),i.setCenter(e),this.centerMarker&&(this.centerMarker.setPosition(e),this.centerMarker.setTitle(this.inputAddress))}.bind(this)))}.bind(this),s=e(t);o.addListener("place_changed",function(){var e=o.getPlace();i.setZoom(15),e.geometry&&(i.setCenter(e.geometry.location),this.centerMarker&&this.centerMarker.setPosition(e.geometry.location))}.bind(this)),google.maps.event.addDomListener(t,"keypress",function(e){"13"===(e.keyCode||e.which)&&e.preventDefault()}),s.focusin(function(){if(!this.resultsObserver){var o=document.querySelector(".pac-container");this.resultsObserver=new MutationObserver(function(){var o=e(e(".pac-item").get(0)),t=o.find(".pac-item-query").text(),i=o.find("span").not("[class]").text(),n=t+(i?", "+i:"");n&&a(n)});var t={attributes:!0,childList:!0,characterData:!0};this.resultsObserver.observe(o,t)}}.bind(this));var r=function(e){this.getGeocoder().geocode({location:e},function(o,t){if(t===google.maps.GeocoderStatus.OK&&o.length>0){var i=o[0].formatted_address;s.val(i),this.centerMarker&&(this.centerMarker.setPosition(e),this.centerMarker.setTitle(i))}}.bind(this))}.bind(this);i.addListener("click",function(e){r(e.latLng)}),this.centerMarker.addListener("dragend",function(e){r(e.latLng)})}},showMarkers:function(e,o,t){if(e&&e.length){this.infoWindows=[];for(var i=[],n=0;n<e.length;n++){var a=parseInt(n/10);i.length===a&&(i[a]=[]),i[a][n%10]=e[n]}var s=function(e,i){var n=0;e.forEach(function(a){this.getLocation(a.place).done(function(r){var l=t.markerIcon;a.custom_marker_icon&&(l=a.custom_marker_icon);var d=new google.maps.Marker({position:r,map:o,draggable:t.markersDraggable,icon:l,title:""});if(a.hasOwnProperty("info")&&a.info){var c={content:a.info};a.hasOwnProperty("info_max_width")&&a.info_max_width&&(c.maxWidth=a.info_max_width);var p=t.markerInfoDisplay;c.disableAutoPan="always"===p;var g=new google.maps.InfoWindow(c);this.infoWindows.push(g);var h=p;"always"===p&&(h="click",g.open(o,d)),d.addListener(h,function(){g.open(o,d),"always"===p||t.markerInfoMultiple||this.infoWindows.forEach(function(e){e!==g&&e.close()})}.bind(this)),"mouseover"===p&&d.addListener("mouseout",function(){setTimeout(function(){g.close()},100)})}++n===e.length&&i.length&&s(i.shift(),i)}.bind(this))}.bind(this))}.bind(this);s(i.shift(),i)}},showDirections:function(e,o){if(e){e.waypoints&&e.waypoints.length&&e.waypoints.map(function(e){e.stopover=Boolean(e.stopover)});var t=new google.maps.DirectionsRenderer;t.setMap(o);(new google.maps.DirectionsService).route({origin:e.origin,destination:e.destination,travelMode:e.travelMode.toUpperCase(),avoidHighways:e.avoidHighways,avoidTolls:e.avoidTolls,waypoints:e.waypoints,optimizeWaypoints:e.optimizeWaypoints},function(o,i){i===google.maps.DirectionsStatus.OK&&(t.setOptions({preserveViewport:e.preserveViewport}),t.setDirections(o))})}},initMaps:function(){var o=e(".sow-google-map-autocomplete"),t=new e.Deferred;0===o.length?t.resolve():o.each(function(o,i){if(void 0===google.maps.places)return void t.reject('Sorry, we couldn\'t load the "places" library due to another plugin, so the autocomplete feature is not available.');var n=new google.maps.places.Autocomplete(i,{types:["address"]}),a=e(i).siblings(".sow-google-map-canvas");if(a.length>0){var s=a.data("options");s.autocomplete=n,s.autocompleteElement=i,this.getLocation(s.address).done(function(e){this.showMap(a.get(0),e,s),a.data("initialized",!0),t.resolve()}.bind(this)).fail(function(){a.append("<div><p><strong>"+soWidgetsGoogleMap.geocode.noResults+"</strong></p></div>"),t.reject()})}}.bind(this)),t.always(function(){e(".sow-google-map-canvas").each(function(o,t){var i=e(t);if(i.data("initialized"))return!0;var n=i.data("options"),a=n.address;if(!a){var s=n.markerPositions;s&&s.length&&(a=s[0].place)}this.getLocation(a).done(function(e){this.showMap(i.get(0),e,n),i.data("initialized")}.bind(this)).fail(function(){i.append("<div><p><strong>"+soWidgetsGoogleMap.geocode.noResults+"</strong></p></div>")})}.bind(this))}.bind(this)).fail(function(e){console.log(e)})},getGeocoder:function(){return this._geocoder||(this._geocoder=new google.maps.Geocoder),this._geocoder},getLocation:function(o){var t,i=new e.Deferred,n={address:o};if(o&&o.indexOf(",")>-1){var a=o.split(",");a&&2===a.length&&(t=new google.maps.LatLng(a[0],a[1]),isNaN(t.lat())||isNaN(t.lng())||(n={location:{lat:t.lat(),lng:t.lng()}}))}if(n.hasOwnProperty("location"))i.resolve(n.location);else if(n.hasOwnProperty("address")){if(!n.address){var s=parseInt(Math.random()*this.DEFAULT_LOCATIONS.length);n.address=this.DEFAULT_LOCATIONS[s]}var r=function(e,o){o===google.maps.GeocoderStatus.OK?i.resolve(e[0].geometry.location):o===google.maps.GeocoderStatus.OVER_QUERY_LIMIT?setTimeout(function(){this.getGeocoder().geocode.call(this,n,r)}.bind(this),100):o===google.maps.GeocoderStatus.ZERO_RESULTS&&i.reject(o)}.bind(this);this.getGeocoder().geocode(n,r)}return i}}},jQuery(function(e){sowb.setupGoogleMaps=function(){var o,t=[];if(e(".sow-google-map-canvas").each(function(i,n){var a=e(n),s=a.data("options");s&&(void 0!==s.libraries&&null!==s.libraries&&(t=t.concat(s.libraries)),!o&&s.apiKey&&(o=s.apiKey))}),void 0!==window.google&&void 0!==window.google.maps)soGoogleMapInitialize();else{var i="https://maps.googleapis.com/maps/api/js?callback=soGoogleMapInitialize";if(t&&t.length&&(i+="&libraries="+t.join(",")),o&&(i+="&key="+o),window.console&&window.console.error){var n=window.console.error;sowb.onLoadMapsApiError=function(o){var t=o.match(/^Google Maps API (error|warning): ([^\s]*)\s([^\s]*)(?:\s(.*))?/);t&&t.length&&t[0]&&e(".sow-google-map-canvas").each(function(o,t){var i=e(t);if(i.data("fallbackImage")){var n=i.data("fallbackImage");n.hasOwnProperty("img")&&i.append(n.img)}}),n.apply(window.console,arguments)},window.console.error=sowb.onLoadMapsApiError}e("body").append('<script async type="text/javascript" src="'+i+'">')}},sowb.setupGoogleMaps(),e(sowb).on("setup_widgets",sowb.setupGoogleMaps)}),window.sowb=sowb;
|
|
js/sow.jquery.fittext.js
CHANGED
@@ -1,68 +1,71 @@
|
|
1 |
-
/*global jQuery, sowb */
|
2 |
-
/*!
|
3 |
-
* FitText.js 1.2
|
4 |
-
*
|
5 |
-
* Copyright 2011, Dave Rupert http://daverupert.com
|
6 |
-
* Released under the WTFPL license
|
7 |
-
* http://sam.zoy.org/wtfpl/
|
8 |
-
*
|
9 |
-
* Date: Thu May 05 14:23:00 2011 -0600
|
10 |
-
*/
|
11 |
-
var sowb = window.sowb || {};
|
12 |
-
|
13 |
-
(function ($) {
|
14 |
-
|
15 |
-
$.fn.fitText = function (kompressor, options) {
|
16 |
-
|
17 |
-
// Setup options
|
18 |
-
var compressor = kompressor || 1,
|
19 |
-
settings = $.extend({
|
20 |
-
'minFontSize': Number.NEGATIVE_INFINITY,
|
21 |
-
'maxFontSize': Number.POSITIVE_INFINITY
|
22 |
-
}, options);
|
23 |
-
|
24 |
-
return this.each(function () {
|
25 |
-
|
26 |
-
// Store the object
|
27 |
-
var $this = $(this);
|
28 |
-
|
29 |
-
// Resizer() resizes items based on the object width divided by the compressor * 10
|
30 |
-
var resizer = function () {
|
31 |
-
$this.css('font-size', Math.max(Math.min($this.width() / (compressor * 10), parseFloat(settings.maxFontSize)), parseFloat(settings.minFontSize)));
|
32 |
-
};
|
33 |
-
|
34 |
-
// Call once to set.
|
35 |
-
resizer();
|
36 |
-
|
37 |
-
// Call on resize. Opera debounces their resize by default.
|
38 |
-
$(window).on('resize.fittext orientationchange.fittext', resizer);
|
39 |
-
|
40 |
-
});
|
41 |
-
};
|
42 |
-
})(jQuery);
|
43 |
-
|
44 |
-
jQuery( function( $ ){
|
45 |
-
|
46 |
-
// Apply FitText to all Widgets Bundle FitText wrappers
|
47 |
-
sowb.runFitText = function () {
|
48 |
-
$( '.so-widget-fittext-wrapper' ).each( function() {
|
49 |
-
var fitTextWrapper = $( this );
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
|
|
|
|
|
1 |
+
/*global jQuery, sowb */
|
2 |
+
/*!
|
3 |
+
* FitText.js 1.2
|
4 |
+
*
|
5 |
+
* Copyright 2011, Dave Rupert http://daverupert.com
|
6 |
+
* Released under the WTFPL license
|
7 |
+
* http://sam.zoy.org/wtfpl/
|
8 |
+
*
|
9 |
+
* Date: Thu May 05 14:23:00 2011 -0600
|
10 |
+
*/
|
11 |
+
var sowb = window.sowb || {};
|
12 |
+
|
13 |
+
(function ($) {
|
14 |
+
|
15 |
+
$.fn.fitText = function (kompressor, options) {
|
16 |
+
|
17 |
+
// Setup options
|
18 |
+
var compressor = kompressor || 1,
|
19 |
+
settings = $.extend({
|
20 |
+
'minFontSize': Number.NEGATIVE_INFINITY,
|
21 |
+
'maxFontSize': Number.POSITIVE_INFINITY
|
22 |
+
}, options);
|
23 |
+
|
24 |
+
return this.each(function () {
|
25 |
+
|
26 |
+
// Store the object
|
27 |
+
var $this = $(this);
|
28 |
+
|
29 |
+
// Resizer() resizes items based on the object width divided by the compressor * 10
|
30 |
+
var resizer = function () {
|
31 |
+
$this.css('font-size', Math.max(Math.min($this.width() / (compressor * 10), parseFloat(settings.maxFontSize)), parseFloat(settings.minFontSize)));
|
32 |
+
};
|
33 |
+
|
34 |
+
// Call once to set.
|
35 |
+
resizer();
|
36 |
+
|
37 |
+
// Call on resize. Opera debounces their resize by default.
|
38 |
+
$(window).on('resize.fittext orientationchange.fittext', resizer);
|
39 |
+
|
40 |
+
});
|
41 |
+
};
|
42 |
+
})(jQuery);
|
43 |
+
|
44 |
+
jQuery( function( $ ){
|
45 |
+
|
46 |
+
// Apply FitText to all Widgets Bundle FitText wrappers
|
47 |
+
sowb.runFitText = function () {
|
48 |
+
$( '.so-widget-fittext-wrapper' ).each( function() {
|
49 |
+
var fitTextWrapper = $( this );
|
50 |
+
if ( ! fitTextWrapper.is( ':visible' ) || fitTextWrapper.data( 'fitTextDone' ) ) {
|
51 |
+
return fitTextWrapper;
|
52 |
+
}
|
53 |
+
$( window ).off( 'resize.fittext orientationchange.fittext' );
|
54 |
+
var compressor = fitTextWrapper.data( 'fitTextCompressor' ) || 0.85;
|
55 |
+
fitTextWrapper.find( 'h1,h2,h3,h4,h5,h6' ).each( function () {
|
56 |
+
var $$ = $( this );
|
57 |
+
$$.fitText( compressor, {
|
58 |
+
maxFontSize: $$.css( 'font-size' )
|
59 |
+
} );
|
60 |
+
} );
|
61 |
+
fitTextWrapper.data( 'fitTextDone', true );
|
62 |
+
fitTextWrapper.trigger( 'fitTextDone' );
|
63 |
+
});
|
64 |
+
};
|
65 |
+
|
66 |
+
$( sowb ).on( 'setup_widgets', sowb.runFitText );
|
67 |
+
|
68 |
+
sowb.runFitText();
|
69 |
+
} );
|
70 |
+
|
71 |
+
window.sowb = sowb;
|
js/sow.jquery.fittext.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
var sowb=window.sowb||{};!function(t){t.fn.fitText=function(i,
|
1 |
+
var sowb=window.sowb||{};!function(t){t.fn.fitText=function(i,e){var n=i||1,o=t.extend({minFontSize:Number.NEGATIVE_INFINITY,maxFontSize:Number.POSITIVE_INFINITY},e);return this.each(function(){var i=t(this),e=function(){i.css("font-size",Math.max(Math.min(i.width()/(10*n),parseFloat(o.maxFontSize)),parseFloat(o.minFontSize)))};e(),t(window).on("resize.fittext orientationchange.fittext",e)})}}(jQuery),jQuery(function(t){sowb.runFitText=function(){t(".so-widget-fittext-wrapper").each(function(){var i=t(this);if(!i.is(":visible")||i.data("fitTextDone"))return i;t(window).off("resize.fittext orientationchange.fittext");var e=i.data("fitTextCompressor")||.85;i.find("h1,h2,h3,h4,h5,h6").each(function(){var i=t(this);i.fitText(e,{maxFontSize:i.css("font-size")})}),i.data("fitTextDone",!0),i.trigger("fitTextDone")})},t(sowb).on("setup_widgets",sowb.runFitText),sowb.runFitText()}),window.sowb=sowb;
|
lang/so-widgets-bundle.pot
CHANGED
@@ -3,2950 +3,2953 @@
|
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: so-widgets-bundle\n"
|
6 |
-
"Report-Msgid-Bugs-To: http://www.siteorigin.com\n"
|
7 |
"MIME-Version: 1.0\n"
|
8 |
"Content-Type: text/plain; charset=UTF-8\n"
|
9 |
"Content-Transfer-Encoding: 8bit\n"
|
10 |
-
"PO-Revision-Date: 2018-MO-DA HO:MI+ZONE\n"
|
11 |
-
"Last-Translator: SiteOrigin <support@siteorigin.com>\n"
|
12 |
"Language-Team: SiteOrigin <support@siteorigin.com>\n"
|
|
|
|
|
13 |
"X-Poedit-Basepath: ..\n"
|
14 |
-
"X-Poedit-
|
15 |
-
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
16 |
"X-Poedit-SearchPath-0: .\n"
|
17 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
|
|
18 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
19 |
|
20 |
-
#:
|
21 |
msgid "SiteOrigin Widgets Bundle"
|
22 |
msgstr ""
|
23 |
|
24 |
-
#:
|
25 |
msgid "Filter Widgets"
|
26 |
msgstr ""
|
27 |
|
28 |
-
#:
|
29 |
msgid "All"
|
30 |
msgstr ""
|
31 |
|
32 |
-
#:
|
33 |
msgid "Enabled"
|
34 |
msgstr ""
|
35 |
|
36 |
-
#:
|
37 |
msgid "Disabled"
|
38 |
msgstr ""
|
39 |
|
40 |
-
#:
|
41 |
msgid "Active"
|
42 |
msgstr ""
|
43 |
|
44 |
-
#:
|
45 |
msgid "Activate"
|
46 |
msgstr ""
|
47 |
|
48 |
-
#:
|
49 |
msgid "Deactivate"
|
50 |
msgstr ""
|
51 |
|
52 |
-
#:
|
53 |
msgid "Settings"
|
54 |
msgstr ""
|
55 |
|
56 |
-
#:
|
57 |
msgid "Developers - create your own widgets for the Widgets Bundle."
|
58 |
msgstr ""
|
59 |
|
60 |
-
#:
|
61 |
msgid "Read More"
|
62 |
msgstr ""
|
63 |
|
64 |
-
#:
|
65 |
msgid "Widget Settings"
|
66 |
msgstr ""
|
67 |
|
68 |
-
#:
|
69 |
msgid "Save"
|
70 |
msgstr ""
|
71 |
|
72 |
-
#:
|
73 |
msgid "Invalid request."
|
74 |
msgstr ""
|
75 |
|
76 |
-
#:
|
77 |
msgid "Invalid post."
|
78 |
msgstr ""
|
79 |
|
80 |
-
#:
|
81 |
msgid "Widget Preview"
|
82 |
msgstr ""
|
83 |
|
84 |
-
#:
|
85 |
msgid "Nonce error"
|
86 |
msgstr ""
|
87 |
|
88 |
-
#:
|
89 |
msgid "Signature error"
|
90 |
msgstr ""
|
91 |
|
92 |
-
#:
|
93 |
msgid "Attachment error"
|
94 |
msgstr ""
|
95 |
|
96 |
-
#:
|
97 |
msgid "Search"
|
98 |
msgstr ""
|
99 |
|
100 |
-
#:
|
101 |
msgid "Close"
|
102 |
msgstr ""
|
103 |
|
104 |
-
#:
|
105 |
msgid "Optional"
|
106 |
msgstr ""
|
107 |
|
108 |
-
#:
|
109 |
msgid "Required"
|
110 |
msgstr ""
|
111 |
|
112 |
-
#:
|
113 |
msgid "This field requires: "
|
114 |
msgstr ""
|
115 |
|
116 |
-
#:
|
117 |
msgid "SiteOrigin Page Builder"
|
118 |
msgstr ""
|
119 |
|
120 |
-
#:
|
121 |
msgctxt "From this date"
|
122 |
msgid "From"
|
123 |
msgstr ""
|
124 |
|
125 |
-
#:
|
126 |
msgid "to"
|
127 |
msgstr ""
|
128 |
|
129 |
-
#:
|
130 |
msgid "From"
|
131 |
msgstr ""
|
132 |
|
133 |
-
#:
|
134 |
msgid "ago"
|
135 |
msgstr ""
|
136 |
|
137 |
-
#:
|
138 |
msgid "days"
|
139 |
msgstr ""
|
140 |
|
141 |
-
#:
|
142 |
msgid "weeks"
|
143 |
msgstr ""
|
144 |
|
145 |
-
#:
|
146 |
msgid "months"
|
147 |
msgstr ""
|
148 |
|
149 |
-
#:
|
150 |
msgid "years"
|
151 |
msgstr ""
|
152 |
|
153 |
-
#:
|
154 |
msgid "$this->message"
|
155 |
msgstr ""
|
156 |
|
157 |
-
#:
|
158 |
msgid "This field does not have a type. Please specify a type for it to be rendered correctly."
|
159 |
msgstr ""
|
160 |
|
161 |
-
#:
|
162 |
msgid "Use theme font"
|
163 |
msgstr ""
|
164 |
|
165 |
-
#:
|
166 |
msgid "Choose Icon"
|
167 |
msgstr ""
|
168 |
|
169 |
-
#:
|
170 |
msgid "Remove"
|
171 |
msgstr ""
|
172 |
|
173 |
-
#:
|
174 |
msgid "Full"
|
175 |
msgstr ""
|
176 |
|
177 |
-
#:
|
178 |
msgid "Thumbnail (Theme-defined)"
|
179 |
msgstr ""
|
180 |
|
181 |
-
#:
|
182 |
msgid "Select Content"
|
183 |
msgstr ""
|
184 |
|
185 |
-
#:
|
186 |
msgid "Search Content"
|
187 |
msgstr ""
|
188 |
|
189 |
-
#:
|
190 |
msgid "Choose Media"
|
191 |
msgstr ""
|
192 |
|
193 |
-
#:
|
194 |
msgid "Set Media"
|
195 |
msgstr ""
|
196 |
|
197 |
-
#:
|
198 |
msgid "Image Search"
|
199 |
msgstr ""
|
200 |
|
201 |
-
#:
|
202 |
msgid "You need to <a href=\"%s\">upgrade</a> to WordPress 3.5 to use media fields"
|
203 |
msgstr ""
|
204 |
|
205 |
-
#:
|
206 |
msgid "External URL"
|
207 |
msgstr ""
|
208 |
|
209 |
-
#:
|
210 |
msgid "Would you like to import this image into your media library?"
|
211 |
msgstr ""
|
212 |
|
213 |
-
#:
|
214 |
msgid "Search For Images"
|
215 |
msgstr ""
|
216 |
|
217 |
-
#:
|
218 |
msgid "Related Searches: "
|
219 |
msgstr ""
|
220 |
|
221 |
-
#:
|
222 |
msgid "Powered by %s"
|
223 |
msgstr ""
|
224 |
|
225 |
-
#:
|
226 |
msgid "Loading Images"
|
227 |
msgstr ""
|
228 |
|
229 |
-
#:
|
230 |
msgid "Downloading Image - Please Wait"
|
231 |
msgstr ""
|
232 |
|
233 |
-
#:
|
234 |
msgid "Load More"
|
235 |
msgstr ""
|
236 |
|
237 |
-
#:
|
238 |
msgid "Sponsored"
|
239 |
msgstr ""
|
240 |
|
241 |
-
#:
|
242 |
-
msgid "Padding left"
|
243 |
-
msgstr ""
|
244 |
-
|
245 |
-
#: tmp/base/inc/fields/multi-measurement.class.php:15
|
246 |
-
msgid "Padding right"
|
247 |
-
msgstr ""
|
248 |
-
|
249 |
-
#: tmp/base/inc/fields/multi-measurement.class.php:16
|
250 |
-
msgid "Padding bottom"
|
251 |
-
msgstr ""
|
252 |
-
|
253 |
-
#: tmp/base/inc/fields/multi-measurement.class.php:17
|
254 |
-
msgid "Padding top"
|
255 |
-
msgstr ""
|
256 |
-
|
257 |
-
#: tmp/base/inc/fields/posts.class.php:22
|
258 |
msgid "Post type"
|
259 |
msgstr ""
|
260 |
|
261 |
-
#:
|
262 |
msgid "Post in"
|
263 |
msgstr ""
|
264 |
|
265 |
-
#:
|
266 |
msgid "Taxonomies"
|
267 |
msgstr ""
|
268 |
|
269 |
-
#:
|
|
|
|
|
|
|
|
|
270 |
msgid "Date selection type"
|
271 |
msgstr ""
|
272 |
|
273 |
-
#:
|
274 |
msgid "Specific"
|
275 |
msgstr ""
|
276 |
|
277 |
-
#:
|
278 |
msgid "Relative"
|
279 |
msgstr ""
|
280 |
|
281 |
-
#:
|
282 |
msgid "Select a range between specific dates or relative to the current date."
|
283 |
msgstr ""
|
284 |
|
285 |
-
#:
|
286 |
msgid "Dates"
|
287 |
msgstr ""
|
288 |
|
289 |
-
#:
|
290 |
msgid "Order by"
|
291 |
msgstr ""
|
292 |
|
293 |
-
#:
|
294 |
msgid "No order"
|
295 |
msgstr ""
|
296 |
|
297 |
-
#:
|
298 |
msgid "Post ID"
|
299 |
msgstr ""
|
300 |
|
301 |
-
#:
|
302 |
msgid "Author"
|
303 |
msgstr ""
|
304 |
|
305 |
-
#:
|
306 |
msgid "Title"
|
307 |
msgstr ""
|
308 |
|
309 |
-
#:
|
310 |
msgid "Published date"
|
311 |
msgstr ""
|
312 |
|
313 |
-
#:
|
314 |
msgid "Modified date"
|
315 |
msgstr ""
|
316 |
|
317 |
-
#:
|
318 |
msgid "By parent"
|
319 |
msgstr ""
|
320 |
|
321 |
-
#:
|
322 |
msgid "Random order"
|
323 |
msgstr ""
|
324 |
|
325 |
-
#:
|
326 |
msgid "Comment count"
|
327 |
msgstr ""
|
328 |
|
329 |
-
#:
|
330 |
msgid "Menu order"
|
331 |
msgstr ""
|
332 |
|
333 |
-
#:
|
334 |
msgid "By meta value"
|
335 |
msgstr ""
|
336 |
|
337 |
-
#:
|
338 |
msgid "By numeric meta value"
|
339 |
msgstr ""
|
340 |
|
341 |
-
#:
|
342 |
msgid "By include order"
|
343 |
msgstr ""
|
344 |
|
345 |
-
#:
|
346 |
msgid "Order direction"
|
347 |
msgstr ""
|
348 |
|
349 |
-
#:
|
350 |
msgid "Ascending"
|
351 |
msgstr ""
|
352 |
|
353 |
-
#:
|
354 |
msgid "Descending"
|
355 |
msgstr ""
|
356 |
|
357 |
-
#:
|
358 |
msgid "Posts per page"
|
359 |
msgstr ""
|
360 |
|
361 |
-
#:
|
362 |
msgid "Sticky posts"
|
363 |
msgstr ""
|
364 |
|
365 |
-
#:
|
366 |
msgid "Default"
|
367 |
msgstr ""
|
368 |
|
369 |
-
#:
|
370 |
msgid "Ignore sticky"
|
371 |
msgstr ""
|
372 |
|
373 |
-
#:
|
374 |
msgid "Exclude sticky"
|
375 |
msgstr ""
|
376 |
|
377 |
-
#:
|
378 |
msgid "Only sticky"
|
379 |
msgstr ""
|
380 |
|
381 |
-
#:
|
382 |
msgid "Additional"
|
383 |
msgstr ""
|
384 |
|
385 |
-
#:
|
386 |
msgid "Additional query arguments. See <a href=\"http://codex.wordpress.org/Function_Reference/query_posts\" target=\"_blank\" rel=\"noopener noreferrer\">query_posts</a>."
|
387 |
msgstr ""
|
388 |
|
389 |
-
#:
|
390 |
msgid "Warning! This will override some or all of the current form values."
|
391 |
msgstr ""
|
392 |
|
393 |
-
#:
|
394 |
msgid "Undo"
|
395 |
msgstr ""
|
396 |
|
397 |
-
#:
|
398 |
msgid "Item"
|
399 |
msgstr ""
|
400 |
|
401 |
-
#:
|
402 |
msgid "Add"
|
403 |
msgstr ""
|
404 |
|
405 |
-
#:
|
406 |
msgid "%s does not exist"
|
407 |
msgstr ""
|
408 |
|
409 |
-
#:
|
410 |
msgid "%s is not a SiteOrigin Widget"
|
411 |
msgstr ""
|
412 |
|
413 |
-
#:
|
414 |
msgid "SiteOrigin Meta Box Manager"
|
415 |
msgstr ""
|
416 |
|
417 |
-
#:
|
418 |
msgid "Widgets Bundle Post Meta Data"
|
419 |
msgstr ""
|
420 |
|
421 |
-
#:
|
422 |
msgid "Animation speed"
|
423 |
msgstr ""
|
424 |
|
425 |
-
#:
|
426 |
msgid "Animation speed in milliseconds."
|
427 |
msgstr ""
|
428 |
|
429 |
-
#:
|
430 |
msgid "Timeout"
|
431 |
msgstr ""
|
432 |
|
433 |
-
#:
|
434 |
msgid "How long each frame is displayed for in milliseconds."
|
435 |
msgstr ""
|
436 |
|
437 |
-
#:
|
438 |
msgid "Navigation color"
|
439 |
msgstr ""
|
440 |
|
441 |
-
#:
|
442 |
msgid "Navigation style"
|
443 |
msgstr ""
|
444 |
|
445 |
-
#:
|
446 |
msgid "Ultra thin"
|
447 |
msgstr ""
|
448 |
|
449 |
-
#:
|
450 |
msgid "Thin"
|
451 |
msgstr ""
|
452 |
|
453 |
-
#:
|
454 |
msgid "Medium"
|
455 |
msgstr ""
|
456 |
|
457 |
-
#:
|
458 |
msgid "Thick"
|
459 |
msgstr ""
|
460 |
|
461 |
-
#:
|
462 |
msgid "Rounded ultra thin"
|
463 |
msgstr ""
|
464 |
|
465 |
-
#:
|
466 |
msgid "Rounded thin"
|
467 |
msgstr ""
|
468 |
|
469 |
-
#:
|
470 |
msgid "Rounded medium"
|
471 |
msgstr ""
|
472 |
|
473 |
-
#:
|
474 |
msgid "Rounded thick"
|
475 |
msgstr ""
|
476 |
|
477 |
-
#:
|
478 |
msgid "Navigation size"
|
479 |
msgstr ""
|
480 |
|
481 |
-
#:
|
482 |
msgid "Swipe Control"
|
483 |
msgstr ""
|
484 |
|
485 |
-
#:
|
486 |
msgid "Allow users to swipe through frames on mobile devices."
|
487 |
msgstr ""
|
488 |
|
489 |
-
#:
|
490 |
msgid "Video file"
|
491 |
msgstr ""
|
492 |
|
493 |
-
#:
|
494 |
msgid "Video URL"
|
495 |
msgstr ""
|
496 |
|
497 |
-
#:
|
498 |
msgid "An external URL of the video. Overrides video file."
|
499 |
msgstr ""
|
500 |
|
501 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
502 |
msgid "Video format"
|
503 |
msgstr ""
|
504 |
|
505 |
-
#:
|
506 |
msgid "Maximum height"
|
507 |
msgstr ""
|
508 |
|
509 |
-
#:
|
510 |
msgid "display slide %s"
|
511 |
msgstr ""
|
512 |
|
513 |
-
#:
|
514 |
msgid "next slide"
|
515 |
msgstr ""
|
516 |
|
517 |
-
#:
|
518 |
msgid "previous slide"
|
519 |
msgstr ""
|
520 |
|
521 |
-
#:
|
522 |
msgid "Preview"
|
523 |
msgstr ""
|
524 |
|
525 |
-
#:
|
526 |
msgid "Help"
|
527 |
msgstr ""
|
528 |
|
529 |
-
#:
|
530 |
msgid "This widget has scripts and styles that need to be loaded before you can use it. Please save and reload your current page."
|
531 |
msgstr ""
|
532 |
|
533 |
-
#:
|
534 |
msgid "You will only need to do this once."
|
535 |
msgstr ""
|
536 |
|
537 |
-
#:
|
538 |
msgid "Are you sure?"
|
539 |
msgstr ""
|
540 |
|
541 |
-
#:
|
542 |
msgid "There is a newer version of this widget's content available."
|
543 |
msgstr ""
|
544 |
|
545 |
-
#:
|
546 |
msgid "Restore"
|
547 |
msgstr ""
|
548 |
|
549 |
-
#:
|
550 |
msgid "Dismiss"
|
551 |
msgstr ""
|
552 |
|
553 |
-
#:
|
554 |
msgid "Clicking %s will replace the current widget contents. You can revert by refreshing the page before updating."
|
555 |
msgstr ""
|
556 |
|
557 |
-
#:
|
558 |
msgid "Clear"
|
559 |
msgstr ""
|
560 |
|
561 |
-
#:
|
562 |
msgid "Select Color"
|
563 |
msgstr ""
|
564 |
|
565 |
-
#:
|
566 |
msgid "Current Color"
|
567 |
msgstr ""
|
568 |
|
569 |
-
#:
|
570 |
msgid "Beaver Builder"
|
571 |
msgstr ""
|
572 |
|
573 |
-
#:
|
574 |
msgid "Elementor"
|
575 |
msgstr ""
|
576 |
|
577 |
-
#:
|
578 |
msgid "Visual Composer"
|
579 |
msgstr ""
|
580 |
|
581 |
-
#:
|
582 |
msgid "SiteOrigin Widget"
|
583 |
msgstr ""
|
584 |
|
585 |
-
#:
|
586 |
msgid "SiteOrigin Widgets"
|
587 |
msgstr ""
|
588 |
|
589 |
-
#:
|
590 |
msgid "Allows you to add any active SiteOrigin Widgets Bundle widgets."
|
591 |
msgstr ""
|
592 |
|
593 |
-
#:
|
594 |
msgid "Selecting a different widget will revert any changes. Continue?"
|
595 |
msgstr ""
|
596 |
|
597 |
-
#:
|
598 |
msgid "Elegant Themes Line Icons"
|
599 |
msgstr ""
|
600 |
|
601 |
-
#:
|
602 |
msgid "Font Awesome"
|
603 |
msgstr ""
|
604 |
|
605 |
-
#:
|
606 |
msgid "Genericons"
|
607 |
msgstr ""
|
608 |
|
609 |
-
#:
|
610 |
msgid "Icomoon Free"
|
611 |
msgstr ""
|
612 |
|
613 |
-
#:
|
614 |
msgid "Typicons"
|
615 |
msgstr ""
|
616 |
|
617 |
-
#:
|
618 |
msgid "Ionicons"
|
619 |
msgstr ""
|
620 |
|
621 |
-
#:
|
622 |
msgid "A new widget!"
|
623 |
msgstr ""
|
624 |
|
625 |
-
#:
|
626 |
msgid "Insufficient permissions."
|
627 |
msgstr ""
|
628 |
|
629 |
-
#:
|
630 |
msgid "%s was %s"
|
631 |
msgstr ""
|
632 |
|
633 |
-
#:
|
634 |
msgid "Activated"
|
635 |
msgstr ""
|
636 |
|
637 |
-
#:
|
638 |
msgid "Deactivated"
|
639 |
msgstr ""
|
640 |
|
641 |
-
#:
|
642 |
msgid "Manage Widgets"
|
643 |
msgstr ""
|
644 |
|
645 |
-
#:
|
646 |
msgid "Support"
|
647 |
msgstr ""
|
648 |
|
649 |
-
#:
|
650 |
msgid "SiteOrigin Accordion"
|
651 |
msgstr ""
|
652 |
|
653 |
-
#:
|
654 |
msgid "An accordion widget."
|
655 |
msgstr ""
|
656 |
|
657 |
-
#:
|
658 |
msgid "Panels"
|
659 |
msgstr ""
|
660 |
|
661 |
-
#:
|
662 |
msgid "Content"
|
663 |
msgstr ""
|
664 |
|
665 |
-
#:
|
666 |
msgid "Initial state"
|
667 |
msgstr ""
|
668 |
|
669 |
-
#:
|
670 |
msgid "Whether this panel should be open or closed when the page first loads."
|
671 |
msgstr ""
|
672 |
|
673 |
-
#:
|
674 |
msgid "Open"
|
675 |
msgstr ""
|
676 |
|
677 |
-
#:
|
678 |
msgid "Closed"
|
679 |
msgstr ""
|
680 |
|
681 |
-
#:
|
682 |
msgid "Design"
|
683 |
msgstr ""
|
684 |
|
685 |
-
#:
|
686 |
msgid "Headings"
|
687 |
msgstr ""
|
688 |
|
689 |
-
#:
|
690 |
msgid "Background color"
|
691 |
msgstr ""
|
692 |
|
693 |
-
#:
|
694 |
msgid "Background hover color"
|
695 |
msgstr ""
|
696 |
|
697 |
-
#:
|
698 |
msgid "Title color"
|
699 |
msgstr ""
|
700 |
|
701 |
-
#:
|
702 |
msgid "Title hover color"
|
703 |
msgstr ""
|
704 |
|
705 |
-
#:
|
706 |
msgid "Border color"
|
707 |
msgstr ""
|
708 |
|
709 |
-
#:
|
710 |
msgid "Border hover color"
|
711 |
msgstr ""
|
712 |
|
713 |
-
#:
|
714 |
msgid "Border width"
|
715 |
msgstr ""
|
716 |
|
717 |
-
#:
|
718 |
msgid "Font color"
|
719 |
msgstr ""
|
720 |
|
721 |
-
#:
|
722 |
msgid "Bottom margin"
|
723 |
msgstr ""
|
724 |
|
725 |
-
#:
|
726 |
msgid "Get more customization options and the ability to use widgets and layouts as your accordion content with %sSiteOrigin Premium%s"
|
727 |
msgstr ""
|
728 |
|
729 |
-
#:
|
730 |
msgid "SiteOrigin Button"
|
731 |
msgstr ""
|
732 |
|
733 |
-
#:
|
734 |
msgid "A customizable button widget."
|
735 |
msgstr ""
|
736 |
|
737 |
-
#:
|
738 |
msgid "Button text"
|
739 |
msgstr ""
|
740 |
|
741 |
-
#:
|
742 |
msgid "Destination URL"
|
743 |
msgstr ""
|
744 |
|
745 |
-
#:
|
746 |
msgid "Open in a new window"
|
747 |
msgstr ""
|
748 |
|
749 |
-
#:
|
750 |
msgid "Icon"
|
751 |
msgstr ""
|
752 |
|
753 |
-
#:
|
754 |
msgid "Icon color"
|
755 |
msgstr ""
|
756 |
|
757 |
-
#:
|
758 |
msgid "Image icon"
|
759 |
msgstr ""
|
760 |
|
761 |
-
#:
|
762 |
msgid "Replaces the icon with your own image icon."
|
763 |
msgstr ""
|
764 |
|
765 |
-
#:
|
766 |
msgid "Icon Placement"
|
767 |
msgstr ""
|
768 |
|
769 |
-
#:
|
770 |
msgid "Top"
|
771 |
msgstr ""
|
772 |
|
773 |
-
#:
|
774 |
msgid "Right"
|
775 |
msgstr ""
|
776 |
|
777 |
-
#:
|
778 |
msgid "Bottom"
|
779 |
msgstr ""
|
780 |
|
781 |
-
#:
|
782 |
msgid "Left"
|
783 |
msgstr ""
|
784 |
|
785 |
-
#:
|
786 |
msgid "Design and layout"
|
787 |
msgstr ""
|
788 |
|
789 |
-
#:
|
790 |
msgid "Width"
|
791 |
msgstr ""
|
792 |
|
793 |
-
#:
|
794 |
msgid "Leave blank to let the button resize according to content."
|
795 |
msgstr ""
|
796 |
|
797 |
-
#:
|
798 |
msgid "Align"
|
799 |
msgstr ""
|
800 |
|
801 |
-
#:
|
802 |
msgid "Center"
|
803 |
msgstr ""
|
804 |
|
805 |
-
#:
|
806 |
msgid "Justify"
|
807 |
msgstr ""
|
808 |
|
809 |
-
#:
|
810 |
msgid "Button theme"
|
811 |
msgstr ""
|
812 |
|
813 |
-
#:
|
814 |
msgid "Atom"
|
815 |
msgstr ""
|
816 |
|
817 |
-
#:
|
818 |
msgid "Flat"
|
819 |
msgstr ""
|
820 |
|
821 |
-
#:
|
822 |
msgid "Wire"
|
823 |
msgstr ""
|
824 |
|
825 |
-
#:
|
826 |
msgid "Button color"
|
827 |
msgstr ""
|
828 |
|
829 |
-
#:
|
830 |
msgid "Text color"
|
831 |
msgstr ""
|
832 |
|
833 |
-
#:
|
834 |
msgid "Use hover effects"
|
835 |
msgstr ""
|
836 |
|
837 |
-
#:
|
838 |
msgid "Font"
|
839 |
msgstr ""
|
840 |
|
841 |
-
#:
|
842 |
msgid "Font size"
|
843 |
msgstr ""
|
844 |
|
845 |
-
#:
|
846 |
msgid "Normal"
|
847 |
msgstr ""
|
848 |
|
849 |
-
#:
|
850 |
msgid "Large"
|
851 |
msgstr ""
|
852 |
|
853 |
-
#:
|
854 |
msgid "Extra large"
|
855 |
msgstr ""
|
856 |
|
857 |
-
#:
|
858 |
msgid "Rounding"
|
859 |
msgstr ""
|
860 |
|
861 |
-
#:
|
862 |
msgid "None"
|
863 |
msgstr ""
|
864 |
|
865 |
-
#:
|
866 |
msgid "Slightly rounded"
|
867 |
msgstr ""
|
868 |
|
869 |
-
#:
|
870 |
msgid "Very rounded"
|
871 |
msgstr ""
|
872 |
|
873 |
-
#:
|
874 |
msgid "Completely rounded"
|
875 |
msgstr ""
|
876 |
|
877 |
-
#:
|
878 |
msgid "Padding"
|
879 |
msgstr ""
|
880 |
|
881 |
-
#:
|
882 |
msgid "Low"
|
883 |
msgstr ""
|
884 |
|
885 |
-
#:
|
886 |
msgid "High"
|
887 |
msgstr ""
|
888 |
|
889 |
-
#:
|
890 |
msgid "Very high"
|
891 |
msgstr ""
|
892 |
|
893 |
-
#:
|
894 |
msgid "Other attributes and SEO"
|
895 |
msgstr ""
|
896 |
|
897 |
-
#:
|
898 |
msgid "Button ID"
|
899 |
msgstr ""
|
900 |
|
901 |
-
#:
|
902 |
msgid "An ID attribute allows you to target this button in Javascript."
|
903 |
msgstr ""
|
904 |
|
905 |
-
#:
|
906 |
msgid "Button Classes"
|
907 |
msgstr ""
|
908 |
|
909 |
-
#:
|
910 |
msgid "Additional CSS classes added to the button link."
|
911 |
msgstr ""
|
912 |
|
913 |
-
#:
|
914 |
msgid "Title attribute"
|
915 |
msgstr ""
|
916 |
|
917 |
-
#:
|
918 |
msgid "Adds a title attribute to the button link."
|
919 |
msgstr ""
|
920 |
|
921 |
-
#:
|
922 |
msgid "Onclick"
|
923 |
msgstr ""
|
924 |
|
925 |
-
#:
|
926 |
msgid "Run this Javascript when the button is clicked. Ideal for tracking."
|
927 |
msgstr ""
|
928 |
|
929 |
-
#:
|
930 |
msgid "Rel attribute"
|
931 |
msgstr ""
|
932 |
|
933 |
-
#:
|
934 |
msgid "Adds a rel attribute to the button link."
|
935 |
msgstr ""
|
936 |
|
937 |
-
#:
|
938 |
msgid "SiteOrigin Contact Form"
|
939 |
msgstr ""
|
940 |
|
941 |
-
#:
|
942 |
msgid "Create a simple contact form for your users to get hold of you."
|
943 |
msgstr ""
|
944 |
|
945 |
-
#:
|
946 |
msgid "Contact Us"
|
947 |
msgstr ""
|
948 |
|
949 |
-
#:
|
950 |
msgid "Display title"
|
951 |
msgstr ""
|
952 |
|
953 |
-
#:
|
954 |
msgid "To email address"
|
955 |
msgstr ""
|
956 |
|
957 |
-
#:
|
958 |
msgid "Where contact emails will be delivered to. You can send to multiple emails by separating the emails with a comma (,)"
|
959 |
msgstr ""
|
960 |
|
961 |
-
#:
|
962 |
msgid "From email address"
|
963 |
msgstr ""
|
964 |
|
965 |
-
#:
|
966 |
msgid "It will appear as if emails are sent from this address. Ideally this should be in the same domain as this server to avoid spam filters."
|
967 |
msgstr ""
|
968 |
|
969 |
-
#:
|
970 |
msgid "Default subject"
|
971 |
msgstr ""
|
972 |
|
973 |
-
#:
|
974 |
msgid "Subject to use when there isn't one available."
|
975 |
msgstr ""
|
976 |
|
977 |
-
#:
|
978 |
msgid "Subject prefix"
|
979 |
msgstr ""
|
980 |
|
981 |
-
#:
|
982 |
msgid "Prefix added to all incoming email subjects."
|
983 |
msgstr ""
|
984 |
|
985 |
-
#:
|
986 |
msgid "Success message"
|
987 |
msgstr ""
|
988 |
|
989 |
-
#:
|
990 |
msgid "Message to display after message successfully sent."
|
991 |
msgstr ""
|
992 |
|
993 |
-
#:
|
994 |
msgid "Thanks for contacting us. We'll get back to you shortly."
|
995 |
msgstr ""
|
996 |
|
997 |
-
#:
|
998 |
msgid "Submit button text"
|
999 |
msgstr ""
|
1000 |
|
1001 |
-
#:
|
1002 |
msgid "An ID attribute allows you to target this button in JavaScript."
|
1003 |
msgstr ""
|
1004 |
|
1005 |
-
#:
|
1006 |
msgid "Run this JavaScript when the button is clicked. Ideal for tracking."
|
1007 |
msgstr ""
|
1008 |
|
1009 |
-
#:
|
1010 |
msgid "Indicate required fields with asterisk (*)"
|
1011 |
msgstr ""
|
1012 |
|
1013 |
-
#:
|
1014 |
msgid "Required field indicator message"
|
1015 |
msgstr ""
|
1016 |
|
1017 |
-
#:
|
1018 |
msgid "Fields marked with * are required"
|
1019 |
msgstr ""
|
1020 |
|
1021 |
-
#:
|
1022 |
msgid "Log IP addresses."
|
1023 |
msgstr ""
|
1024 |
|
1025 |
-
#:
|
1026 |
msgid "Fields"
|
1027 |
msgstr ""
|
1028 |
|
1029 |
-
#:
|
1030 |
msgid "Field"
|
1031 |
msgstr ""
|
1032 |
|
1033 |
-
#:
|
1034 |
msgid "Field Type"
|
1035 |
msgstr ""
|
1036 |
|
1037 |
-
#:
|
1038 |
msgid "Select Field Type"
|
1039 |
msgstr ""
|
1040 |
|
1041 |
-
#:
|
1042 |
msgid "Name"
|
1043 |
msgstr ""
|
1044 |
|
1045 |
-
#:
|
1046 |
msgid "Email"
|
1047 |
msgstr ""
|
1048 |
|
1049 |
-
#:
|
1050 |
msgid "Phone Number"
|
1051 |
msgstr ""
|
1052 |
|
1053 |
-
#:
|
1054 |
msgid "Subject"
|
1055 |
msgstr ""
|
1056 |
|
1057 |
-
#:
|
1058 |
msgid "Text"
|
1059 |
msgstr ""
|
1060 |
|
1061 |
-
#:
|
1062 |
msgid "Text Area"
|
1063 |
msgstr ""
|
1064 |
|
1065 |
-
#:
|
1066 |
msgid "Dropdown Select"
|
1067 |
msgstr ""
|
1068 |
|
1069 |
-
#:
|
1070 |
msgid "Checkboxes"
|
1071 |
msgstr ""
|
1072 |
|
1073 |
-
#:
|
1074 |
msgid "Radio"
|
1075 |
msgstr ""
|
1076 |
|
1077 |
-
#:
|
1078 |
msgid "Label"
|
1079 |
msgstr ""
|
1080 |
|
1081 |
-
#:
|
1082 |
msgid "Description"
|
1083 |
msgstr ""
|
1084 |
|
1085 |
-
#:
|
1086 |
msgid "This text will appear small beneath the input field."
|
1087 |
msgstr ""
|
1088 |
|
1089 |
-
#:
|
1090 |
msgid "Required Field"
|
1091 |
msgstr ""
|
1092 |
|
1093 |
-
#:
|
1094 |
msgid "Required field"
|
1095 |
msgstr ""
|
1096 |
|
1097 |
-
#:
|
1098 |
msgid "Is this field required?"
|
1099 |
msgstr ""
|
1100 |
|
1101 |
-
#:
|
1102 |
msgid "Missing message"
|
1103 |
msgstr ""
|
1104 |
|
1105 |
-
#:
|
1106 |
msgid "Error message to display if this field is missing."
|
1107 |
msgstr ""
|
1108 |
|
1109 |
-
#:
|
1110 |
msgid "Options"
|
1111 |
msgstr ""
|
1112 |
|
1113 |
-
#:
|
1114 |
msgid "Option"
|
1115 |
msgstr ""
|
1116 |
|
1117 |
-
#:
|
1118 |
msgid "Value"
|
1119 |
msgstr ""
|
1120 |
|
1121 |
-
#:
|
1122 |
msgid "Spam Protection"
|
1123 |
msgstr ""
|
1124 |
|
1125 |
-
#:
|
1126 |
msgid "reCAPTCHA"
|
1127 |
msgstr ""
|
1128 |
|
1129 |
-
#:
|
1130 |
msgid "Use reCAPTCHA"
|
1131 |
msgstr ""
|
1132 |
|
1133 |
-
#:
|
1134 |
msgid "reCAPTCHA Site Key"
|
1135 |
msgstr ""
|
1136 |
|
1137 |
-
#:
|
1138 |
msgid "reCAPTCHA Secret Key"
|
1139 |
msgstr ""
|
1140 |
|
1141 |
-
#:
|
1142 |
msgid "Theme"
|
1143 |
msgstr ""
|
1144 |
|
1145 |
-
#:
|
1146 |
msgid "Light"
|
1147 |
msgstr ""
|
1148 |
|
1149 |
-
#:
|
1150 |
msgid "Dark"
|
1151 |
msgstr ""
|
1152 |
|
1153 |
-
#:
|
1154 |
msgid "Challenge type"
|
1155 |
msgstr ""
|
1156 |
|
1157 |
-
#:
|
1158 |
msgid "Image"
|
1159 |
msgstr ""
|
1160 |
|
1161 |
-
#:
|
1162 |
msgid "Audio"
|
1163 |
msgstr ""
|
1164 |
|
1165 |
-
#:
|
1166 |
msgid "Size"
|
1167 |
msgstr ""
|
1168 |
|
1169 |
-
#:
|
1170 |
msgid "Compact"
|
1171 |
msgstr ""
|
1172 |
|
1173 |
-
#:
|
1174 |
msgid "Akismet"
|
1175 |
msgstr ""
|
1176 |
|
1177 |
-
#:
|
1178 |
msgid "Use Akismet filtering"
|
1179 |
msgstr ""
|
1180 |
|
1181 |
-
#:
|
1182 |
msgid "Spam action"
|
1183 |
msgstr ""
|
1184 |
|
1185 |
-
#:
|
1186 |
msgid "Show error message"
|
1187 |
msgstr ""
|
1188 |
|
1189 |
-
#:
|
1190 |
msgid "Tag as spam in subject"
|
1191 |
msgstr ""
|
1192 |
|
1193 |
-
#:
|
1194 |
msgid "How to handle submissions that are identified as spam."
|
1195 |
msgstr ""
|
1196 |
|
1197 |
-
#:
|
1198 |
msgid "Container"
|
1199 |
msgstr ""
|
1200 |
|
1201 |
-
#:
|
1202 |
msgid "Border style"
|
1203 |
msgstr ""
|
1204 |
|
1205 |
-
#:
|
1206 |
msgid "Hidden"
|
1207 |
msgstr ""
|
1208 |
|
1209 |
-
#:
|
1210 |
msgid "Dotted"
|
1211 |
msgstr ""
|
1212 |
|
1213 |
-
#:
|
1214 |
msgid "Dashed"
|
1215 |
msgstr ""
|
1216 |
|
1217 |
-
#:
|
1218 |
msgid "Solid"
|
1219 |
msgstr ""
|
1220 |
|
1221 |
-
#:
|
1222 |
msgid "Double"
|
1223 |
msgstr ""
|
1224 |
|
1225 |
-
#:
|
1226 |
msgid "Groove"
|
1227 |
msgstr ""
|
1228 |
|
1229 |
-
#:
|
1230 |
msgid "Ridge"
|
1231 |
msgstr ""
|
1232 |
|
1233 |
-
#:
|
1234 |
msgid "Inset"
|
1235 |
msgstr ""
|
1236 |
|
1237 |
-
#:
|
1238 |
msgid "Outset"
|
1239 |
msgstr ""
|
1240 |
|
1241 |
-
#:
|
1242 |
msgid "Field labels"
|
1243 |
msgstr ""
|
1244 |
|
1245 |
-
#:
|
1246 |
msgid "Color"
|
1247 |
msgstr ""
|
1248 |
|
1249 |
-
#:
|
1250 |
msgid "Position"
|
1251 |
msgstr ""
|
1252 |
|
1253 |
-
#:
|
1254 |
msgid "Above"
|
1255 |
msgstr ""
|
1256 |
|
1257 |
-
#:
|
1258 |
msgid "Below"
|
1259 |
msgstr ""
|
1260 |
|
1261 |
-
#:
|
1262 |
msgid "Inside"
|
1263 |
msgstr ""
|
1264 |
|
1265 |
-
#:
|
1266 |
msgid "Font Size"
|
1267 |
msgstr ""
|
1268 |
|
1269 |
-
#:
|
1270 |
msgid "Text Color"
|
1271 |
msgstr ""
|
1272 |
|
1273 |
-
#:
|
1274 |
msgid "Margin"
|
1275 |
msgstr ""
|
1276 |
|
1277 |
-
#:
|
1278 |
msgid "Height"
|
1279 |
msgstr ""
|
1280 |
|
1281 |
-
#:
|
|
|
|
|
|
|
|
|
1282 |
msgid "Background"
|
1283 |
msgstr ""
|
1284 |
|
1285 |
-
#:
|
1286 |
msgid " Border style"
|
1287 |
msgstr ""
|
1288 |
|
1289 |
-
#:
|
1290 |
msgid "Border rounding"
|
1291 |
msgstr ""
|
1292 |
|
1293 |
-
#:
|
1294 |
msgid "Field descriptions"
|
1295 |
msgstr ""
|
1296 |
|
1297 |
-
#:
|
1298 |
msgid "Style"
|
1299 |
msgstr ""
|
1300 |
|
1301 |
-
#:
|
1302 |
msgid "Italic"
|
1303 |
msgstr ""
|
1304 |
|
1305 |
-
#:
|
1306 |
msgid "Error messages"
|
1307 |
msgstr ""
|
1308 |
|
1309 |
-
#:
|
1310 |
msgid "Error background color"
|
1311 |
msgstr ""
|
1312 |
|
1313 |
-
#:
|
1314 |
msgid "Error border color"
|
1315 |
msgstr ""
|
1316 |
|
1317 |
-
#:
|
1318 |
msgid "Error text color"
|
1319 |
msgstr ""
|
1320 |
|
1321 |
-
#:
|
1322 |
msgid "Error padding"
|
1323 |
msgstr ""
|
1324 |
|
1325 |
-
#:
|
1326 |
msgid "Error margin"
|
1327 |
msgstr ""
|
1328 |
|
1329 |
-
#:
|
1330 |
msgid "Submit button"
|
1331 |
msgstr ""
|
1332 |
|
1333 |
-
#:
|
1334 |
msgid "Style submit button"
|
1335 |
msgstr ""
|
1336 |
|
1337 |
-
#:
|
1338 |
msgid "Style the button or leave it with default theme styling."
|
1339 |
msgstr ""
|
1340 |
|
1341 |
-
#:
|
1342 |
msgid "Gradient intensity"
|
1343 |
msgstr ""
|
1344 |
|
1345 |
-
#:
|
1346 |
msgid "Font weight"
|
1347 |
msgstr ""
|
1348 |
|
1349 |
-
#:
|
1350 |
msgid "Semi-bold"
|
1351 |
msgstr ""
|
1352 |
|
1353 |
-
#:
|
1354 |
msgid "Bold"
|
1355 |
msgstr ""
|
1356 |
|
1357 |
-
#:
|
1358 |
msgid "Inset highlight"
|
1359 |
msgstr ""
|
1360 |
|
1361 |
-
#:
|
1362 |
msgid "The white highlight at the bottom of the button"
|
1363 |
msgstr ""
|
1364 |
|
1365 |
-
#:
|
1366 |
msgid "Input focus"
|
1367 |
msgstr ""
|
1368 |
|
1369 |
-
#:
|
1370 |
msgid "Get more form fields for the Contact Form Widget in %s"
|
1371 |
msgstr ""
|
1372 |
|
1373 |
-
#:
|
1374 |
msgid "SiteOrigin Premium"
|
1375 |
msgstr ""
|
1376 |
|
1377 |
-
#:
|
1378 |
msgid "Your Name"
|
1379 |
msgstr ""
|
1380 |
|
1381 |
-
#:
|
1382 |
msgid "Please enter your name"
|
1383 |
msgstr ""
|
1384 |
|
1385 |
-
#:
|
1386 |
msgid "Your Email"
|
1387 |
msgstr ""
|
1388 |
|
1389 |
-
#:
|
1390 |
msgid "Please enter a valid email address"
|
1391 |
msgstr ""
|
1392 |
|
1393 |
-
#:
|
1394 |
msgid "Please enter a subject"
|
1395 |
msgstr ""
|
1396 |
|
1397 |
-
#:
|
1398 |
msgid "Message"
|
1399 |
msgstr ""
|
1400 |
|
1401 |
-
#:
|
1402 |
msgid "Please write something"
|
1403 |
msgstr ""
|
1404 |
|
1405 |
-
#:
|
1406 |
msgid "Invalid email address."
|
1407 |
msgstr ""
|
1408 |
|
1409 |
-
#:
|
1410 |
msgid "Error sending email, please try again later."
|
1411 |
msgstr ""
|
1412 |
|
1413 |
-
#:
|
1414 |
msgid "A valid email is required"
|
1415 |
msgstr ""
|
1416 |
|
1417 |
-
#:
|
1418 |
msgid "The email address is invalid"
|
1419 |
msgstr ""
|
1420 |
|
1421 |
-
#:
|
1422 |
msgid "Missing subject"
|
1423 |
msgstr ""
|
1424 |
|
1425 |
-
#:
|
1426 |
msgid "Error validating your Captcha response."
|
1427 |
msgstr ""
|
1428 |
|
1429 |
-
#:
|
1430 |
msgid "Unfortunately our system identified your message as spam."
|
1431 |
msgstr ""
|
1432 |
|
1433 |
-
#:
|
1434 |
msgctxt "The name of who sent this email"
|
1435 |
msgid "From"
|
1436 |
msgstr ""
|
1437 |
|
1438 |
-
#:
|
1439 |
msgid "SiteOrigin Call-to-action"
|
1440 |
msgstr ""
|
1441 |
|
1442 |
-
#:
|
1443 |
msgid "A simple call-to-action widget with massive power."
|
1444 |
msgstr ""
|
1445 |
|
1446 |
-
#:
|
1447 |
msgid "Subtitle"
|
1448 |
msgstr ""
|
1449 |
|
1450 |
-
#:
|
|
|
|
|
|
|
|
|
1451 |
msgid "Subtitle color"
|
1452 |
msgstr ""
|
1453 |
|
1454 |
-
#:
|
1455 |
msgid "Button align"
|
1456 |
msgstr ""
|
1457 |
|
1458 |
-
#:
|
1459 |
msgid "Button"
|
1460 |
msgstr ""
|
1461 |
|
1462 |
-
#:
|
1463 |
msgid "Get more font customization options with %sSiteOrigin Premium%s"
|
1464 |
msgstr ""
|
1465 |
|
1466 |
-
#:
|
1467 |
msgid "SiteOrigin Editor"
|
1468 |
msgstr ""
|
1469 |
|
1470 |
-
#:
|
1471 |
msgid "A rich-text, text editor."
|
1472 |
msgstr ""
|
1473 |
|
1474 |
-
#:
|
1475 |
msgid "Automatically add paragraphs"
|
1476 |
msgstr ""
|
1477 |
|
1478 |
-
#:
|
1479 |
msgid "Enable the \"Automatically add paragraphs\" setting by default."
|
1480 |
msgstr ""
|
1481 |
|
1482 |
-
#:
|
1483 |
msgid "SiteOrigin Features"
|
1484 |
msgstr ""
|
1485 |
|
1486 |
-
#:
|
1487 |
msgid "Displays a list of features."
|
1488 |
msgstr ""
|
1489 |
|
1490 |
-
#:
|
1491 |
msgid "Features"
|
1492 |
msgstr ""
|
1493 |
|
1494 |
-
#:
|
1495 |
msgid "Feature"
|
1496 |
msgstr ""
|
1497 |
|
1498 |
-
#:
|
1499 |
msgid "Container color"
|
1500 |
msgstr ""
|
1501 |
|
1502 |
-
#:
|
1503 |
msgid "Container Position"
|
1504 |
msgstr ""
|
1505 |
|
1506 |
-
#:
|
1507 |
msgid "Icon title"
|
1508 |
msgstr ""
|
1509 |
|
1510 |
-
#:
|
1511 |
msgid "Icon image"
|
1512 |
msgstr ""
|
1513 |
|
1514 |
-
#:
|
1515 |
msgid "Use your own icon image."
|
1516 |
msgstr ""
|
1517 |
|
1518 |
-
#:
|
1519 |
msgid "Icon image size"
|
1520 |
msgstr ""
|
1521 |
|
1522 |
-
#:
|
1523 |
msgid "Title text"
|
1524 |
msgstr ""
|
1525 |
|
1526 |
-
#:
|
1527 |
msgid "More link text"
|
1528 |
msgstr ""
|
1529 |
|
1530 |
-
#:
|
1531 |
msgid "More link URL"
|
1532 |
msgstr ""
|
1533 |
|
1534 |
-
#:
|
1535 |
msgid "Font Design"
|
1536 |
msgstr ""
|
1537 |
|
1538 |
-
#:
|
1539 |
msgid "More Link"
|
1540 |
msgstr ""
|
1541 |
|
1542 |
-
#:
|
1543 |
msgid "Container shape"
|
1544 |
msgstr ""
|
1545 |
|
1546 |
-
#:
|
1547 |
msgid "Container size"
|
1548 |
msgstr ""
|
1549 |
|
1550 |
-
#:
|
1551 |
msgid "Icon size"
|
1552 |
msgstr ""
|
1553 |
|
1554 |
-
#:
|
1555 |
msgid "Use icon size for custom icon"
|
1556 |
msgstr ""
|
1557 |
|
1558 |
-
#:
|
1559 |
msgid "Features per row"
|
1560 |
msgstr ""
|
1561 |
|
1562 |
-
#:
|
1563 |
msgid "Responsive layout"
|
1564 |
msgstr ""
|
1565 |
|
1566 |
-
#:
|
1567 |
msgid "Link feature title to more URL"
|
1568 |
msgstr ""
|
1569 |
|
1570 |
-
#:
|
1571 |
msgid "Link icon to more URL"
|
1572 |
msgstr ""
|
1573 |
|
1574 |
-
#:
|
1575 |
msgid "Open more URL in a new window"
|
1576 |
msgstr ""
|
1577 |
|
1578 |
-
#:
|
1579 |
msgid "Responsive Breakpoint"
|
1580 |
msgstr ""
|
1581 |
|
1582 |
-
#:
|
1583 |
msgid "This setting controls when the features widget will collapse for mobile devices. The default value is 520px"
|
1584 |
msgstr ""
|
1585 |
|
1586 |
-
#:
|
1587 |
msgid "SiteOrigin Google Maps"
|
1588 |
msgstr ""
|
1589 |
|
1590 |
-
#:
|
1591 |
msgid "A Google Maps widget."
|
1592 |
msgstr ""
|
1593 |
|
1594 |
-
#:
|
1595 |
msgid "Map center"
|
1596 |
msgstr ""
|
1597 |
|
1598 |
-
#:
|
1599 |
msgid "The name of a place, town, city, or even a country. Can be an exact address too. Please ensure you have enabled the <strong>Geocoding API</strong> in the %sGoogle APIs Dashboard%s."
|
1600 |
msgstr ""
|
1601 |
|
1602 |
-
#:
|
1603 |
msgid "API key"
|
1604 |
msgstr ""
|
1605 |
|
1606 |
-
#:
|
1607 |
msgid "Enter your %sAPI key%s. Your map may not function correctly without one."
|
1608 |
msgstr ""
|
1609 |
|
1610 |
-
#:
|
1611 |
msgid "Set map display options."
|
1612 |
msgstr ""
|
1613 |
|
1614 |
-
#:
|
1615 |
msgid "Map type"
|
1616 |
msgstr ""
|
1617 |
|
1618 |
-
#:
|
1619 |
msgid "Interactive"
|
1620 |
msgstr ""
|
1621 |
|
1622 |
-
#:
|
1623 |
msgid "Static image"
|
1624 |
msgstr ""
|
1625 |
|
1626 |
-
#:
|
1627 |
msgid "Zoom level"
|
1628 |
msgstr ""
|
1629 |
|
1630 |
-
#:
|
1631 |
msgid "A value from 0 (the world) to 21 (street level)."
|
1632 |
msgstr ""
|
1633 |
|
1634 |
-
#:
|
1635 |
msgid "Scroll to zoom"
|
1636 |
msgstr ""
|
1637 |
|
1638 |
-
#:
|
1639 |
msgid "Allow scrolling over the map to zoom in or out."
|
1640 |
msgstr ""
|
1641 |
|
1642 |
-
#:
|
1643 |
msgid "Draggable"
|
1644 |
msgstr ""
|
1645 |
|
1646 |
-
#:
|
1647 |
msgid "Allow dragging the map to move it around."
|
1648 |
msgstr ""
|
1649 |
|
1650 |
-
#:
|
1651 |
msgid "Disable default UI"
|
1652 |
msgstr ""
|
1653 |
|
1654 |
-
#:
|
1655 |
msgid "Hides the default Google Maps controls."
|
1656 |
msgstr ""
|
1657 |
|
1658 |
-
#:
|
1659 |
msgid "Keep map centered"
|
1660 |
msgstr ""
|
1661 |
|
1662 |
-
#:
|
1663 |
msgid "Keeps the map centered when it's container is resized."
|
1664 |
msgstr ""
|
1665 |
|
1666 |
-
#:
|
1667 |
msgid "Fallback Image"
|
1668 |
msgstr ""
|
1669 |
|
1670 |
-
#:
|
1671 |
msgid "This image will be displayed if there are any problems with displaying the specified map."
|
1672 |
msgstr ""
|
1673 |
|
1674 |
-
#:
|
1675 |
msgid "Fallback Image Size"
|
1676 |
msgstr ""
|
1677 |
|
1678 |
-
#:
|
1679 |
msgid "Markers"
|
1680 |
msgstr ""
|
1681 |
|
1682 |
-
#:
|
1683 |
msgid "Use markers to identify points of interest on the map."
|
1684 |
msgstr ""
|
1685 |
|
1686 |
-
#:
|
1687 |
msgid "Show marker at map center"
|
1688 |
msgstr ""
|
1689 |
|
1690 |
-
#:
|
1691 |
msgid "Marker icon"
|
1692 |
msgstr ""
|
1693 |
|
1694 |
-
#:
|
1695 |
msgid "Replaces the default map marker with your own image."
|
1696 |
msgstr ""
|
1697 |
|
1698 |
-
#:
|
1699 |
msgid "Draggable markers"
|
1700 |
msgstr ""
|
1701 |
|
1702 |
-
#:
|
1703 |
msgid "Marker positions"
|
1704 |
msgstr ""
|
1705 |
|
1706 |
-
#:
|
1707 |
msgid "Please be aware that adding more than 10 markers may cause a slight delay before they appear, due to Google Geocoding API rate limits."
|
1708 |
msgstr ""
|
1709 |
|
1710 |
-
#:
|
1711 |
msgid "Marker"
|
1712 |
msgstr ""
|
1713 |
|
1714 |
-
#:
|
1715 |
msgid "Place"
|
1716 |
msgstr ""
|
1717 |
|
1718 |
-
#:
|
1719 |
msgid "Info Window Content"
|
1720 |
msgstr ""
|
1721 |
|
1722 |
-
#:
|
1723 |
msgid "Info Window max width"
|
1724 |
msgstr ""
|
1725 |
|
1726 |
-
#:
|
1727 |
msgid "Custom Marker icon"
|
1728 |
msgstr ""
|
1729 |
|
1730 |
-
#:
|
1731 |
msgid "Replace the default map marker with your own image for each marker."
|
1732 |
msgstr ""
|
1733 |
|
1734 |
-
#:
|
1735 |
msgid "When should Info Windows be displayed?"
|
1736 |
msgstr ""
|
1737 |
|
1738 |
-
#:
|
1739 |
msgid "Click"
|
1740 |
msgstr ""
|
1741 |
|
1742 |
-
#:
|
1743 |
msgid "Mouse over"
|
1744 |
msgstr ""
|
1745 |
|
1746 |
-
#:
|
1747 |
msgid "Always"
|
1748 |
msgstr ""
|
1749 |
|
1750 |
-
#:
|
1751 |
msgid "Allow multiple simultaneous Info Windows?"
|
1752 |
msgstr ""
|
1753 |
|
1754 |
-
#:
|
1755 |
msgid "Styles"
|
1756 |
msgstr ""
|
1757 |
|
1758 |
-
#:
|
1759 |
msgid "Apply custom colors to map features, or hide them completely."
|
1760 |
msgstr ""
|
1761 |
|
1762 |
-
#:
|
1763 |
msgid "Map styles"
|
1764 |
msgstr ""
|
1765 |
|
1766 |
-
#:
|
1767 |
msgid "Custom"
|
1768 |
msgstr ""
|
1769 |
|
1770 |
-
#:
|
1771 |
msgid "Predefined Styles"
|
1772 |
msgstr ""
|
1773 |
|
1774 |
-
#:
|
1775 |
msgid "Styled map name"
|
1776 |
msgstr ""
|
1777 |
|
1778 |
-
#:
|
1779 |
msgid "Raw JSON styles"
|
1780 |
msgstr ""
|
1781 |
|
1782 |
-
#:
|
1783 |
msgid "Copy and paste predefined styles here from <a href=\"http://snazzymaps.com/\" target=\"_blank\" rel=\"noopener noreferrer\">Snazzy Maps</a>."
|
1784 |
msgstr ""
|
1785 |
|
1786 |
-
#:
|
1787 |
msgid "Custom map styles"
|
1788 |
msgstr ""
|
1789 |
|
1790 |
-
#:
|
1791 |
msgid "Select map feature to style"
|
1792 |
msgstr ""
|
1793 |
|
1794 |
-
#:
|
1795 |
msgid "Water"
|
1796 |
msgstr ""
|
1797 |
|
1798 |
-
#:
|
1799 |
msgid "Highways"
|
1800 |
msgstr ""
|
1801 |
|
1802 |
-
#:
|
1803 |
msgid "Arterial roads"
|
1804 |
msgstr ""
|
1805 |
|
1806 |
-
#:
|
1807 |
msgid "Local roads"
|
1808 |
msgstr ""
|
1809 |
|
1810 |
-
#:
|
1811 |
msgid "Transit lines"
|
1812 |
msgstr ""
|
1813 |
|
1814 |
-
#:
|
1815 |
msgid "Transit stations"
|
1816 |
msgstr ""
|
1817 |
|
1818 |
-
#:
|
1819 |
msgid "Man-made landscape"
|
1820 |
msgstr ""
|
1821 |
|
1822 |
-
#:
|
1823 |
msgid "Natural landscape landcover"
|
1824 |
msgstr ""
|
1825 |
|
1826 |
-
#:
|
1827 |
msgid "Natural landscape terrain"
|
1828 |
msgstr ""
|
1829 |
|
1830 |
-
#:
|
1831 |
msgid "Point of interest - Attractions"
|
1832 |
msgstr ""
|
1833 |
|
1834 |
-
#:
|
1835 |
msgid "Point of interest - Business"
|
1836 |
msgstr ""
|
1837 |
|
1838 |
-
#:
|
1839 |
msgid "Point of interest - Government"
|
1840 |
msgstr ""
|
1841 |
|
1842 |
-
#:
|
1843 |
msgid "Point of interest - Medical"
|
1844 |
msgstr ""
|
1845 |
|
1846 |
-
#:
|
1847 |
msgid "Point of interest - Parks"
|
1848 |
msgstr ""
|
1849 |
|
1850 |
-
#:
|
1851 |
msgid "Point of interest - Places of worship"
|
1852 |
msgstr ""
|
1853 |
|
1854 |
-
#:
|
1855 |
msgid "Point of interest - Schools"
|
1856 |
msgstr ""
|
1857 |
|
1858 |
-
#:
|
1859 |
msgid "Point of interest - Sports complexes"
|
1860 |
msgstr ""
|
1861 |
|
1862 |
-
#:
|
1863 |
msgid "Select element type to style"
|
1864 |
msgstr ""
|
1865 |
|
1866 |
-
#:
|
1867 |
msgid "Geometry"
|
1868 |
msgstr ""
|
1869 |
|
1870 |
-
#:
|
1871 |
msgid "Labels"
|
1872 |
msgstr ""
|
1873 |
|
1874 |
-
#:
|
1875 |
msgid "Visible"
|
1876 |
msgstr ""
|
1877 |
|
1878 |
-
#:
|
1879 |
msgid "Directions"
|
1880 |
msgstr ""
|
1881 |
|
1882 |
-
#:
|
1883 |
msgid "Display a route on your map, with waypoints between your starting point and destination. Please ensure you have enabled the <strong>Directions API</strong> in the %sGoogle APIs Dashboard%s."
|
1884 |
msgstr ""
|
1885 |
|
1886 |
-
#:
|
1887 |
msgid "Starting point"
|
1888 |
msgstr ""
|
1889 |
|
1890 |
-
#:
|
1891 |
msgid "Destination"
|
1892 |
msgstr ""
|
1893 |
|
1894 |
-
#:
|
1895 |
msgid "Travel mode"
|
1896 |
msgstr ""
|
1897 |
|
1898 |
-
#:
|
1899 |
msgid "Driving"
|
1900 |
msgstr ""
|
1901 |
|
1902 |
-
#:
|
1903 |
msgid "Walking"
|
1904 |
msgstr ""
|
1905 |
|
1906 |
-
#:
|
1907 |
msgid "Bicycling"
|
1908 |
msgstr ""
|
1909 |
|
1910 |
-
#:
|
1911 |
msgid "Transit"
|
1912 |
msgstr ""
|
1913 |
|
1914 |
-
#:
|
1915 |
msgid "Avoid highways"
|
1916 |
msgstr ""
|
1917 |
|
1918 |
-
#:
|
1919 |
msgid "Avoid tolls"
|
1920 |
msgstr ""
|
1921 |
|
1922 |
-
#:
|
1923 |
msgid "Preserve viewport"
|
1924 |
msgstr ""
|
1925 |
|
1926 |
-
#:
|
1927 |
msgid "This will prevent the map from centering and zooming around the directions. Use this when you have other markers or features on your map."
|
1928 |
msgstr ""
|
1929 |
|
1930 |
-
#:
|
1931 |
msgid "Waypoints"
|
1932 |
msgstr ""
|
1933 |
|
1934 |
-
#:
|
1935 |
msgid "Waypoint"
|
1936 |
msgstr ""
|
1937 |
|
1938 |
-
#:
|
1939 |
msgid "Location"
|
1940 |
msgstr ""
|
1941 |
|
1942 |
-
#:
|
1943 |
msgid "Stopover"
|
1944 |
msgstr ""
|
1945 |
|
1946 |
-
#:
|
1947 |
msgid "Whether or not this is a stop on the route or just a route preference."
|
1948 |
msgstr ""
|
1949 |
|
1950 |
-
#:
|
1951 |
msgid "Optimize waypoints"
|
1952 |
msgstr ""
|
1953 |
|
1954 |
-
#:
|
1955 |
msgid "Allow the Google Maps service to reorder waypoints for the shortest travelling distance."
|
1956 |
msgstr ""
|
1957 |
|
1958 |
-
#:
|
1959 |
msgid "Enter your %sAPI key%s. Your map won't function correctly without one."
|
1960 |
msgstr ""
|
1961 |
|
1962 |
-
#:
|
1963 |
msgid "There were no results for the place you entered. Please try another."
|
1964 |
msgstr ""
|
1965 |
|
1966 |
-
#:
|
1967 |
msgid "Custom Map"
|
1968 |
msgstr ""
|
1969 |
|
1970 |
-
#:
|
1971 |
msgid "SiteOrigin Headline"
|
1972 |
msgstr ""
|
1973 |
|
1974 |
-
#:
|
1975 |
msgid "A headline widget."
|
1976 |
msgstr ""
|
1977 |
|
1978 |
-
#:
|
1979 |
msgid "Headline"
|
1980 |
msgstr ""
|
1981 |
|
1982 |
-
#:
|
1983 |
msgid "HTML Tag"
|
1984 |
msgstr ""
|
1985 |
|
1986 |
-
#:
|
1987 |
msgid "H1"
|
1988 |
msgstr ""
|
1989 |
|
1990 |
-
#:
|
1991 |
msgid "H2"
|
1992 |
msgstr ""
|
1993 |
|
1994 |
-
#:
|
1995 |
msgid "H3"
|
1996 |
msgstr ""
|
1997 |
|
1998 |
-
#:
|
1999 |
msgid "H4"
|
2000 |
msgstr ""
|
2001 |
|
2002 |
-
#:
|
2003 |
msgid "H5"
|
2004 |
msgstr ""
|
2005 |
|
2006 |
-
#:
|
2007 |
msgid "H6"
|
2008 |
msgstr ""
|
2009 |
|
2010 |
-
#:
|
2011 |
msgid "Paragraph"
|
2012 |
msgstr ""
|
2013 |
|
2014 |
-
#:
|
2015 |
msgid "Hover Color"
|
2016 |
msgstr ""
|
2017 |
|
2018 |
-
#:
|
2019 |
msgid "Alignment"
|
2020 |
msgstr ""
|
2021 |
|
2022 |
-
#:
|
2023 |
msgid "Line Height"
|
2024 |
msgstr ""
|
2025 |
|
2026 |
-
#:
|
2027 |
msgid "Top and Bottom Margin"
|
2028 |
msgstr ""
|
2029 |
|
2030 |
-
#:
|
2031 |
msgid "Sub headline"
|
2032 |
msgstr ""
|
2033 |
|
2034 |
-
#:
|
2035 |
msgid "Divider"
|
2036 |
msgstr ""
|
2037 |
|
2038 |
-
#:
|
2039 |
msgid "Thickness"
|
2040 |
msgstr ""
|
2041 |
|
2042 |
-
#:
|
2043 |
msgid "Divider Width"
|
2044 |
msgstr ""
|
2045 |
|
2046 |
-
#:
|
2047 |
msgid "Element Order"
|
2048 |
msgstr ""
|
2049 |
|
2050 |
-
#:
|
2051 |
msgid "Sub Headline"
|
2052 |
msgstr ""
|
2053 |
|
2054 |
-
#:
|
2055 |
msgid "Use FitText"
|
2056 |
msgstr ""
|
2057 |
|
2058 |
-
#:
|
2059 |
msgid "Dynamically adjust your heading font size based on screen size."
|
2060 |
msgstr ""
|
2061 |
|
2062 |
-
#:
|
2063 |
msgid "FitText Compressor Strength"
|
2064 |
msgstr ""
|
2065 |
|
2066 |
-
#:
|
2067 |
msgid "How aggressively FitText should resize your heading."
|
2068 |
msgstr ""
|
2069 |
|
2070 |
-
#:
|
2071 |
msgid "SiteOrigin Hero"
|
2072 |
msgstr ""
|
2073 |
|
2074 |
-
#:
|
2075 |
msgid "A big hero image with a few settings to make it your own."
|
2076 |
msgstr ""
|
2077 |
|
2078 |
-
#:
|
2079 |
msgid "Hero frames"
|
2080 |
msgstr ""
|
2081 |
|
2082 |
-
#:
|
2083 |
msgid "Frame"
|
2084 |
msgstr ""
|
2085 |
|
2086 |
-
#:
|
2087 |
msgid "Buttons"
|
2088 |
msgstr ""
|
2089 |
|
2090 |
-
#:
|
2091 |
msgid "Add [buttons] shortcode to the content to insert these buttons."
|
2092 |
msgstr ""
|
2093 |
|
2094 |
-
#:
|
2095 |
msgid "Background image"
|
2096 |
msgstr ""
|
2097 |
|
2098 |
-
#:
|
2099 |
msgid "Image size"
|
2100 |
msgstr ""
|
2101 |
|
2102 |
-
#:
|
2103 |
msgid "Background image type"
|
2104 |
msgstr ""
|
2105 |
|
2106 |
-
#:
|
2107 |
msgid "Cover"
|
2108 |
msgstr ""
|
2109 |
|
2110 |
-
#:
|
2111 |
msgid "Background image opacity"
|
2112 |
msgstr ""
|
2113 |
|
2114 |
-
#:
|
2115 |
msgid "Open URL in a new window"
|
2116 |
msgstr ""
|
2117 |
|
2118 |
-
#:
|
2119 |
msgid "Video"
|
2120 |
msgstr ""
|
2121 |
|
2122 |
-
#:
|
2123 |
msgid "Background videos"
|
2124 |
msgstr ""
|
2125 |
|
2126 |
-
#:
|
2127 |
msgid "Slider Controls"
|
2128 |
msgstr ""
|
2129 |
|
2130 |
-
#:
|
2131 |
msgid "Design and Layout"
|
2132 |
msgstr ""
|
2133 |
|
2134 |
-
#:
|
2135 |
msgid "Responsive Height"
|
2136 |
msgstr ""
|
2137 |
|
2138 |
-
#:
|
2139 |
msgid "Top and bottom padding"
|
2140 |
msgstr ""
|
2141 |
|
2142 |
-
#:
|
2143 |
msgid "Extra top padding"
|
2144 |
msgstr ""
|
2145 |
|
2146 |
-
#:
|
2147 |
msgid "Additional padding added to the top of the slider"
|
2148 |
msgstr ""
|
2149 |
|
2150 |
-
#:
|
2151 |
msgid "Side padding"
|
2152 |
msgstr ""
|
2153 |
|
2154 |
-
#:
|
2155 |
msgid "Maximum container width"
|
2156 |
msgstr ""
|
2157 |
|
2158 |
-
#:
|
2159 |
msgid "Heading font"
|
2160 |
msgstr ""
|
2161 |
|
2162 |
-
#:
|
2163 |
msgid "Heading color"
|
2164 |
msgstr ""
|
2165 |
|
2166 |
-
#:
|
2167 |
msgid "Heading size"
|
2168 |
msgstr ""
|
2169 |
|
2170 |
-
#:
|
2171 |
msgid "Heading shadow intensity"
|
2172 |
msgstr ""
|
2173 |
|
2174 |
-
#:
|
2175 |
msgid "Text size"
|
2176 |
msgstr ""
|
2177 |
|
2178 |
-
#:
|
2179 |
msgid "Text font"
|
2180 |
msgstr ""
|
2181 |
|
2182 |
-
#:
|
2183 |
msgid "Text shadow intensity"
|
2184 |
msgstr ""
|
2185 |
|
2186 |
-
#:
|
2187 |
msgid "Link color"
|
2188 |
msgstr ""
|
2189 |
|
2190 |
-
#:
|
2191 |
msgid "Link Hover Color"
|
2192 |
msgstr ""
|
2193 |
|
2194 |
-
#:
|
2195 |
msgid "This setting controls when the Hero widget will switch to the responsive height for slides. This breakpoint will only be used if a responsive height is set in the hero settings. The default value is 780px"
|
2196 |
msgstr ""
|
2197 |
|
2198 |
-
#:
|
2199 |
msgid "SiteOrigin Icon"
|
2200 |
msgstr ""
|
2201 |
|
2202 |
-
#:
|
2203 |
msgid "An icon widget."
|
2204 |
msgstr ""
|
2205 |
|
2206 |
-
#:
|
2207 |
msgid "SiteOrigin Image Grid"
|
2208 |
msgstr ""
|
2209 |
|
2210 |
-
#:
|
2211 |
msgid "Display a grid of images."
|
2212 |
msgstr ""
|
2213 |
|
2214 |
-
#:
|
2215 |
msgid "Images"
|
2216 |
msgstr ""
|
2217 |
|
2218 |
-
#:
|
2219 |
msgid "Image title"
|
2220 |
msgstr ""
|
2221 |
|
2222 |
-
#:
|
2223 |
msgid "URL"
|
2224 |
msgstr ""
|
2225 |
|
2226 |
-
#:
|
2227 |
msgid "Open in new window"
|
2228 |
msgstr ""
|
2229 |
|
2230 |
-
#:
|
2231 |
msgid "Display"
|
2232 |
msgstr ""
|
2233 |
|
2234 |
-
#:
|
2235 |
msgid "Maximum image height"
|
2236 |
msgstr ""
|
2237 |
|
2238 |
-
#:
|
2239 |
msgid "Maximum image width"
|
2240 |
msgstr ""
|
2241 |
|
2242 |
-
#:
|
2243 |
msgid "Spacing"
|
2244 |
msgstr ""
|
2245 |
|
2246 |
-
#:
|
2247 |
msgid "Amount of spacing between images."
|
2248 |
msgstr ""
|
2249 |
|
2250 |
-
#:
|
2251 |
msgid "Add a Lightbox to your images with %sSiteOrigin Premium%s"
|
2252 |
msgstr ""
|
2253 |
|
2254 |
-
#:
|
2255 |
msgid "SiteOrigin Image"
|
2256 |
msgstr ""
|
2257 |
|
2258 |
-
#:
|
2259 |
msgid "A simple image widget with massive power."
|
2260 |
msgstr ""
|
2261 |
|
2262 |
-
#:
|
2263 |
msgid "Image file"
|
2264 |
msgstr ""
|
2265 |
|
2266 |
-
#:
|
2267 |
msgid "Image alignment"
|
2268 |
msgstr ""
|
2269 |
|
2270 |
-
#:
|
2271 |
msgid "Title alignment"
|
2272 |
msgstr ""
|
2273 |
|
2274 |
-
#:
|
2275 |
msgid "Title position"
|
2276 |
msgstr ""
|
2277 |
|
2278 |
-
#:
|
2279 |
msgid "Alt text"
|
2280 |
msgstr ""
|
2281 |
|
2282 |
-
#:
|
2283 |
msgid "Bound"
|
2284 |
msgstr ""
|
2285 |
|
2286 |
-
#:
|
2287 |
msgid "Make sure the image doesn't extend beyond its container."
|
2288 |
msgstr ""
|
2289 |
|
2290 |
-
#:
|
2291 |
msgid "Full Width"
|
2292 |
msgstr ""
|
2293 |
|
2294 |
-
#:
|
2295 |
msgid "Resize image to fit its container."
|
2296 |
msgstr ""
|
2297 |
|
2298 |
-
#:
|
2299 |
msgid "SiteOrigin Layout Slider"
|
2300 |
msgstr ""
|
2301 |
|
2302 |
-
#:
|
2303 |
msgid "A slider that allows you to create responsive columnized content for each slide."
|
2304 |
msgstr ""
|
2305 |
|
2306 |
-
#:
|
2307 |
msgid "Slider frames"
|
2308 |
msgstr ""
|
2309 |
|
2310 |
-
#:
|
2311 |
msgid "Tile"
|
2312 |
msgstr ""
|
2313 |
|
2314 |
-
#:
|
2315 |
msgid "This widget requires: "
|
2316 |
msgstr ""
|
2317 |
|
2318 |
-
#:
|
2319 |
msgid "This widget requires Page Builder."
|
2320 |
msgstr ""
|
2321 |
|
2322 |
-
#:
|
2323 |
msgid "SiteOrigin Post Carousel"
|
2324 |
msgstr ""
|
2325 |
|
2326 |
-
#:
|
2327 |
msgid "Display your posts as a carousel."
|
2328 |
msgstr ""
|
2329 |
|
2330 |
-
#:
|
2331 |
msgid "Default Thumbnail"
|
2332 |
msgstr ""
|
2333 |
|
2334 |
-
#:
|
2335 |
msgid "Choose Thumbnail"
|
2336 |
msgstr ""
|
2337 |
|
2338 |
-
#:
|
2339 |
msgid "Set Thumbnail"
|
2340 |
msgstr ""
|
2341 |
|
2342 |
-
#:
|
2343 |
msgid "Featured Image size"
|
2344 |
msgstr ""
|
2345 |
|
2346 |
-
#:
|
2347 |
msgid "Posts query"
|
2348 |
msgstr ""
|
2349 |
|
2350 |
-
#:
|
2351 |
msgid "Next"
|
2352 |
msgstr ""
|
2353 |
|
2354 |
-
#:
|
2355 |
msgid "Previous"
|
2356 |
msgstr ""
|
2357 |
|
2358 |
-
#:
|
2359 |
msgid "SiteOrigin Price Table"
|
2360 |
msgstr ""
|
2361 |
|
2362 |
-
#:
|
2363 |
msgid "A simple Price Table."
|
2364 |
msgstr ""
|
2365 |
|
2366 |
-
#:
|
2367 |
msgid "Columns"
|
2368 |
msgstr ""
|
2369 |
|
2370 |
-
#:
|
2371 |
msgid "Column"
|
2372 |
msgstr ""
|
2373 |
|
2374 |
-
#:
|
2375 |
msgid "Featured"
|
2376 |
msgstr ""
|
2377 |
|
2378 |
-
#:
|
2379 |
msgid "Image alt text"
|
2380 |
msgstr ""
|
2381 |
|
2382 |
-
#:
|
2383 |
msgid "Price"
|
2384 |
msgstr ""
|
2385 |
|
2386 |
-
#:
|
2387 |
msgid "Per"
|
2388 |
msgstr ""
|
2389 |
|
2390 |
-
#:
|
2391 |
msgid "Button URL"
|
2392 |
msgstr ""
|
2393 |
|
2394 |
-
#:
|
2395 |
msgid "Hover text"
|
2396 |
msgstr ""
|
2397 |
|
2398 |
-
#:
|
2399 |
msgid "Price table theme"
|
2400 |
msgstr ""
|
2401 |
|
2402 |
-
#:
|
2403 |
msgid "Header color"
|
2404 |
msgstr ""
|
2405 |
|
2406 |
-
#:
|
2407 |
msgid "Featured header color"
|
2408 |
msgstr ""
|
2409 |
|
2410 |
-
#:
|
2411 |
msgid "Featured button color"
|
2412 |
msgstr ""
|
2413 |
|
2414 |
-
#:
|
2415 |
msgid "Open Button URL in a new window"
|
2416 |
msgstr ""
|
2417 |
|
2418 |
-
#:
|
2419 |
msgid "Equalize row heights"
|
2420 |
msgstr ""
|
2421 |
|
2422 |
-
#:
|
2423 |
msgid "SiteOrigin Simple Masonry"
|
2424 |
msgstr ""
|
2425 |
|
2426 |
-
#:
|
2427 |
msgid "A simple masonry layout widget."
|
2428 |
msgstr ""
|
2429 |
|
2430 |
-
#:
|
2431 |
msgid "Column span"
|
2432 |
msgstr ""
|
2433 |
|
2434 |
-
#:
|
2435 |
msgid "Number of columns this item should span. (Limited to number of columns selected in Layout section below.)"
|
2436 |
msgstr ""
|
2437 |
|
2438 |
-
#:
|
2439 |
msgid "Row span"
|
2440 |
msgstr ""
|
2441 |
|
2442 |
-
#:
|
2443 |
msgid "Number of rows this item should span. (Limited to number of columns selected in Layout section below.)"
|
2444 |
msgstr ""
|
2445 |
|
2446 |
-
#:
|
2447 |
msgid "Desktop Layout"
|
2448 |
msgstr ""
|
2449 |
|
2450 |
-
#:
|
2451 |
msgid "Number of columns"
|
2452 |
msgstr ""
|
2453 |
|
2454 |
-
#:
|
2455 |
msgid "Row height"
|
2456 |
msgstr ""
|
2457 |
|
2458 |
-
#:
|
2459 |
msgid "Leave blank to match calculated column width."
|
2460 |
msgstr ""
|
2461 |
|
2462 |
-
#:
|
2463 |
msgid "Gutter"
|
2464 |
msgstr ""
|
2465 |
|
2466 |
-
#:
|
2467 |
msgid "Space between masonry items."
|
2468 |
msgstr ""
|
2469 |
|
2470 |
-
#:
|
2471 |
msgid "Tablet Layout"
|
2472 |
msgstr ""
|
2473 |
|
2474 |
-
#:
|
2475 |
msgid "Break point"
|
2476 |
msgstr ""
|
2477 |
|
2478 |
-
#:
|
2479 |
msgid "Mobile Layout"
|
2480 |
msgstr ""
|
2481 |
|
2482 |
-
#:
|
2483 |
msgid "Add a Lightbox to your masonry images with %sSiteOrigin Premium%s"
|
2484 |
msgstr ""
|
2485 |
|
2486 |
-
#:
|
2487 |
msgid "SiteOrigin Slider"
|
2488 |
msgstr ""
|
2489 |
|
2490 |
-
#:
|
2491 |
msgid "A responsive slider widget that supports images and video."
|
2492 |
msgstr ""
|
2493 |
|
2494 |
-
#:
|
2495 |
msgid "Background Color"
|
2496 |
msgstr ""
|
2497 |
|
2498 |
-
#:
|
2499 |
msgid "Foreground image"
|
2500 |
msgstr ""
|
2501 |
|
2502 |
-
#:
|
2503 |
msgid "Controls"
|
2504 |
msgstr ""
|
2505 |
|
2506 |
-
#:
|
2507 |
msgid "Add a Lightbox to your image slides with %sSiteOrigin Premium%s"
|
2508 |
msgstr ""
|
2509 |
|
2510 |
-
#:
|
2511 |
msgid "Facebook"
|
2512 |
msgstr ""
|
2513 |
|
2514 |
-
#:
|
2515 |
msgid "Twitter"
|
2516 |
msgstr ""
|
2517 |
|
2518 |
-
#:
|
2519 |
msgid "Google+"
|
2520 |
msgstr ""
|
2521 |
|
2522 |
-
#:
|
2523 |
msgid "RSS"
|
2524 |
msgstr ""
|
2525 |
|
2526 |
-
#:
|
2527 |
msgid "Snapchat"
|
2528 |
msgstr ""
|
2529 |
|
2530 |
-
#:
|
2531 |
msgid "LinkedIn"
|
2532 |
msgstr ""
|
2533 |
|
2534 |
-
#:
|
2535 |
msgid "Pinterest"
|
2536 |
msgstr ""
|
2537 |
|
2538 |
-
#:
|
2539 |
msgid "Tumblr"
|
2540 |
msgstr ""
|
2541 |
|
2542 |
-
#:
|
2543 |
msgid "Instagram"
|
2544 |
msgstr ""
|
2545 |
|
2546 |
-
#:
|
2547 |
msgid "VK"
|
2548 |
msgstr ""
|
2549 |
|
2550 |
-
#:
|
2551 |
msgid "Flickr"
|
2552 |
msgstr ""
|
2553 |
|
2554 |
-
#:
|
2555 |
msgid "Vine"
|
2556 |
msgstr ""
|
2557 |
|
2558 |
-
#:
|
2559 |
msgid "500px"
|
2560 |
msgstr ""
|
2561 |
|
2562 |
-
#:
|
2563 |
msgid "Behance"
|
2564 |
msgstr ""
|
2565 |
|
2566 |
-
#:
|
2567 |
msgid "Bitbucket"
|
2568 |
msgstr ""
|
2569 |
|
2570 |
-
#:
|
2571 |
msgid "Codepen"
|
2572 |
msgstr ""
|
2573 |
|
2574 |
-
#:
|
2575 |
msgid "Delicious"
|
2576 |
msgstr ""
|
2577 |
|
2578 |
-
#:
|
2579 |
msgid "deviantArt"
|
2580 |
msgstr ""
|
2581 |
|
2582 |
-
#:
|
2583 |
msgid "Dribbble"
|
2584 |
msgstr ""
|
2585 |
|
2586 |
-
#:
|
2587 |
msgid "Dropbox"
|
2588 |
msgstr ""
|
2589 |
|
2590 |
-
#:
|
2591 |
msgid "Foursquare"
|
2592 |
msgstr ""
|
2593 |
|
2594 |
-
#:
|
2595 |
msgid "Github"
|
2596 |
msgstr ""
|
2597 |
|
2598 |
-
#:
|
2599 |
msgid "Gratipay"
|
2600 |
msgstr ""
|
2601 |
|
2602 |
-
#:
|
2603 |
msgid "Hacker News"
|
2604 |
msgstr ""
|
2605 |
|
2606 |
-
#:
|
2607 |
msgid "JSFiddle"
|
2608 |
msgstr ""
|
2609 |
|
2610 |
-
#:
|
2611 |
msgid "Last.fm"
|
2612 |
msgstr ""
|
2613 |
|
2614 |
-
#:
|
2615 |
msgid "Reddit"
|
2616 |
msgstr ""
|
2617 |
|
2618 |
-
#:
|
2619 |
msgid "Slack"
|
2620 |
msgstr ""
|
2621 |
|
2622 |
-
#:
|
2623 |
msgid "Slideshare"
|
2624 |
msgstr ""
|
2625 |
|
2626 |
-
#:
|
2627 |
msgid "Soundcloud"
|
2628 |
msgstr ""
|
2629 |
|
2630 |
-
#:
|
2631 |
msgid "Spotify"
|
2632 |
msgstr ""
|
2633 |
|
2634 |
-
#:
|
2635 |
msgid "Stack Exchange"
|
2636 |
msgstr ""
|
2637 |
|
2638 |
-
#:
|
2639 |
msgid "Stack Overflow"
|
2640 |
msgstr ""
|
2641 |
|
2642 |
-
#:
|
2643 |
msgid "Steam"
|
2644 |
msgstr ""
|
2645 |
|
2646 |
-
#:
|
2647 |
msgid "StumbleUpon"
|
2648 |
msgstr ""
|
2649 |
|
2650 |
-
#:
|
2651 |
msgid "Trello"
|
2652 |
msgstr ""
|
2653 |
|
2654 |
-
#:
|
2655 |
msgid "TripAdvisor"
|
2656 |
msgstr ""
|
2657 |
|
2658 |
-
#:
|
2659 |
msgid "Twitch"
|
2660 |
msgstr ""
|
2661 |
|
2662 |
-
#:
|
2663 |
msgid "Vimeo"
|
2664 |
msgstr ""
|
2665 |
|
2666 |
-
#:
|
|
|
|
|
|
|
|
|
2667 |
msgid "WordPress"
|
2668 |
msgstr ""
|
2669 |
|
2670 |
-
#:
|
2671 |
msgid "Xing"
|
2672 |
msgstr ""
|
2673 |
|
2674 |
-
#:
|
2675 |
msgid "Yahoo"
|
2676 |
msgstr ""
|
2677 |
|
2678 |
-
#:
|
2679 |
msgid "Yelp"
|
2680 |
msgstr ""
|
2681 |
|
2682 |
-
#:
|
2683 |
msgid "YouTube"
|
2684 |
msgstr ""
|
2685 |
|
2686 |
-
#:
|
2687 |
msgid "SiteOrigin Social Media Buttons"
|
2688 |
msgstr ""
|
2689 |
|
2690 |
-
#:
|
2691 |
msgid "A social media buttons widget."
|
2692 |
msgstr ""
|
2693 |
|
2694 |
-
#:
|
2695 |
msgid "Mobile Collapse Width"
|
2696 |
msgstr ""
|
2697 |
|
2698 |
-
#:
|
2699 |
msgid "This setting allows you to set the resoloution for when the Mobile Align setting will be used."
|
2700 |
msgstr ""
|
2701 |
|
2702 |
-
#:
|
2703 |
msgid "Networks"
|
2704 |
msgstr ""
|
2705 |
|
2706 |
-
#:
|
2707 |
msgid "Network"
|
2708 |
msgstr ""
|
2709 |
|
2710 |
-
#:
|
2711 |
msgid "Select network"
|
2712 |
msgstr ""
|
2713 |
|
2714 |
-
#:
|
2715 |
msgid "Mobile Align"
|
2716 |
msgstr ""
|
2717 |
|
2718 |
-
#:
|
2719 |
msgid "%s on %s"
|
2720 |
msgstr ""
|
2721 |
|
2722 |
-
#:
|
2723 |
msgid "SiteOrigin Tabs"
|
2724 |
msgstr ""
|
2725 |
|
2726 |
-
#:
|
2727 |
msgid "A tabs widget."
|
2728 |
msgstr ""
|
2729 |
|
2730 |
-
#:
|
2731 |
msgid "Tabs"
|
2732 |
msgstr ""
|
2733 |
|
2734 |
-
#:
|
2735 |
msgid "Initially selected tab"
|
2736 |
msgstr ""
|
2737 |
|
2738 |
-
#:
|
2739 |
msgid "The position of the tab to be selected when the page first loads."
|
2740 |
msgstr ""
|
2741 |
|
2742 |
-
#:
|
2743 |
msgid "Tabs container"
|
2744 |
msgstr ""
|
2745 |
|
2746 |
-
#:
|
2747 |
msgid "Border hover width"
|
2748 |
msgstr ""
|
2749 |
|
2750 |
-
#:
|
2751 |
msgid "Get more customization options and the ability to use widgets and layouts as your tabs content with %sSiteOrigin Premium%s"
|
2752 |
msgstr ""
|
2753 |
|
2754 |
-
#:
|
2755 |
msgid "SiteOrigin Taxonomy"
|
2756 |
msgstr ""
|
2757 |
|
2758 |
-
#:
|
2759 |
msgid "A taxonomy widget."
|
2760 |
msgstr ""
|
2761 |
|
2762 |
-
#:
|
2763 |
msgid "Display as"
|
2764 |
msgstr ""
|
2765 |
|
2766 |
-
#:
|
2767 |
msgid "Links"
|
2768 |
msgstr ""
|
2769 |
|
2770 |
-
#:
|
2771 |
msgid "Hover color"
|
2772 |
msgstr ""
|
2773 |
|
2774 |
-
#:
|
2775 |
msgid "SiteOrigin Testimonials"
|
2776 |
msgstr ""
|
2777 |
|
2778 |
-
#:
|
2779 |
msgid "Share your product/service testimonials in a variety of different ways."
|
2780 |
msgstr ""
|
2781 |
|
2782 |
-
#:
|
2783 |
msgid "Testimonials"
|
2784 |
msgstr ""
|
2785 |
|
2786 |
-
#:
|
2787 |
msgid "Testimonial"
|
2788 |
msgstr ""
|
2789 |
|
2790 |
-
#:
|
2791 |
msgid "The author of the testimonial"
|
2792 |
msgstr ""
|
2793 |
|
2794 |
-
#:
|
2795 |
msgid "Link name"
|
2796 |
msgstr ""
|
2797 |
|
2798 |
-
#:
|
2799 |
msgid "Their location or company name"
|
2800 |
msgstr ""
|
2801 |
|
2802 |
-
#:
|
2803 |
msgid "Link image"
|
2804 |
msgstr ""
|
2805 |
|
2806 |
-
#:
|
2807 |
msgid "What your customer had to say"
|
2808 |
msgstr ""
|
2809 |
|
2810 |
-
#:
|
2811 |
msgid "Open In New Window"
|
2812 |
msgstr ""
|
2813 |
|
2814 |
-
#:
|
2815 |
msgid "Testimonials per row"
|
2816 |
msgstr ""
|
2817 |
|
2818 |
-
#:
|
2819 |
msgid "Responsive"
|
2820 |
msgstr ""
|
2821 |
|
2822 |
-
#:
|
2823 |
msgid "Tablet"
|
2824 |
msgstr ""
|
2825 |
|
2826 |
-
#:
|
2827 |
msgid "Resolution"
|
2828 |
msgstr ""
|
2829 |
|
2830 |
-
#:
|
2831 |
-
msgid "The resolution to treat as a
|
2832 |
msgstr ""
|
2833 |
|
2834 |
-
#:
|
2835 |
msgid "Mobile Phone"
|
2836 |
msgstr ""
|
2837 |
|
2838 |
-
#:
|
2839 |
-
msgid "The resolution to treat as a
|
2840 |
msgstr ""
|
2841 |
|
2842 |
-
#:
|
2843 |
msgid "Testimonial image shape"
|
2844 |
msgstr ""
|
2845 |
|
2846 |
-
#:
|
2847 |
msgid "Square"
|
2848 |
msgstr ""
|
2849 |
|
2850 |
-
#:
|
2851 |
msgid "Round"
|
2852 |
msgstr ""
|
2853 |
|
2854 |
-
#:
|
2855 |
msgid "Colors"
|
2856 |
msgstr ""
|
2857 |
|
2858 |
-
#:
|
2859 |
msgid "Widget Background"
|
2860 |
msgstr ""
|
2861 |
|
2862 |
-
#:
|
2863 |
msgid "Text Background"
|
2864 |
msgstr ""
|
2865 |
|
2866 |
-
#:
|
2867 |
msgid "Testimonial Radius"
|
2868 |
msgstr ""
|
2869 |
|
2870 |
-
#:
|
2871 |
msgid "User position"
|
2872 |
msgstr ""
|
2873 |
|
2874 |
-
#:
|
2875 |
msgid "Middle"
|
2876 |
msgstr ""
|
2877 |
|
2878 |
-
#:
|
2879 |
msgid "Testimonial layout"
|
2880 |
msgstr ""
|
2881 |
|
2882 |
-
#:
|
2883 |
msgid "Side by side"
|
2884 |
msgstr ""
|
2885 |
|
2886 |
-
#:
|
2887 |
msgid "Text above user"
|
2888 |
msgstr ""
|
2889 |
|
2890 |
-
#:
|
2891 |
msgid "Text below user"
|
2892 |
msgstr ""
|
2893 |
|
2894 |
-
#:
|
2895 |
msgid "SiteOrigin Video Player"
|
2896 |
msgstr ""
|
2897 |
|
2898 |
-
#:
|
2899 |
msgid "A video player widget."
|
2900 |
msgstr ""
|
2901 |
|
2902 |
-
#:
|
2903 |
msgid "Video location"
|
2904 |
msgstr ""
|
2905 |
|
2906 |
-
#:
|
2907 |
msgid "Self hosted"
|
2908 |
msgstr ""
|
2909 |
|
2910 |
-
#:
|
2911 |
msgid "Externally hosted"
|
2912 |
msgstr ""
|
2913 |
|
2914 |
-
#:
|
2915 |
msgid "Video File"
|
2916 |
msgstr ""
|
2917 |
|
2918 |
-
#:
|
2919 |
msgid "Sources"
|
2920 |
msgstr ""
|
2921 |
|
2922 |
-
#:
|
2923 |
msgid "Select video"
|
2924 |
msgstr ""
|
2925 |
|
2926 |
-
#:
|
2927 |
msgid "Select cover image"
|
2928 |
msgstr ""
|
2929 |
|
2930 |
-
#:
|
2931 |
msgid "Video Playback"
|
2932 |
msgstr ""
|
2933 |
|
2934 |
-
#:
|
2935 |
-
msgid "Autoplay"
|
2936 |
-
msgstr ""
|
2937 |
-
|
2938 |
-
#: tmp/widgets/video/video.php:105
|
2939 |
msgid "Use oEmbed"
|
2940 |
msgstr ""
|
2941 |
|
2942 |
-
#:
|
2943 |
msgid "Always use the embedded video rather than the MediaElement player."
|
2944 |
msgstr ""
|
2945 |
|
2946 |
-
#:
|
2947 |
msgid "Show related videos."
|
2948 |
msgstr ""
|
2949 |
|
2950 |
-
#:
|
2951 |
msgid "If the external host supports it."
|
2952 |
msgstr ""
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: so-widgets-bundle\n"
|
|
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
|
|
|
|
9 |
"Language-Team: SiteOrigin <support@siteorigin.com>\n"
|
10 |
+
"Last-Translator: SiteOrigin <support@siteorigin.com>\n"
|
11 |
+
"Report-Msgid-Bugs-To: http://www.siteorigin.com\n"
|
12 |
"X-Poedit-Basepath: ..\n"
|
13 |
+
"X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
|
|
|
14 |
"X-Poedit-SearchPath-0: .\n"
|
15 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
16 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18 |
|
19 |
+
#: admin/tpl/admin.php:9, so-widgets-bundle.php:200
|
20 |
msgid "SiteOrigin Widgets Bundle"
|
21 |
msgstr ""
|
22 |
|
23 |
+
#: admin/tpl/admin.php:12
|
24 |
msgid "Filter Widgets"
|
25 |
msgstr ""
|
26 |
|
27 |
+
#: admin/tpl/admin.php:17, base/inc/fields/posts.class.php:12, widgets/google-map/google-map.php:337
|
28 |
msgid "All"
|
29 |
msgstr ""
|
30 |
|
31 |
+
#: admin/tpl/admin.php:18
|
32 |
msgid "Enabled"
|
33 |
msgstr ""
|
34 |
|
35 |
+
#: admin/tpl/admin.php:19
|
36 |
msgid "Disabled"
|
37 |
msgstr ""
|
38 |
|
39 |
+
#: admin/tpl/admin.php:48
|
40 |
msgid "Active"
|
41 |
msgstr ""
|
42 |
|
43 |
+
#: admin/tpl/admin.php:70
|
44 |
msgid "Activate"
|
45 |
msgstr ""
|
46 |
|
47 |
+
#: admin/tpl/admin.php:71
|
48 |
msgid "Deactivate"
|
49 |
msgstr ""
|
50 |
|
51 |
+
#: admin/tpl/admin.php:90, widgets/contact/contact.php:58, widgets/google-map/google-map.php:63, widgets/testimonial/testimonial.php:99
|
52 |
msgid "Settings"
|
53 |
msgstr ""
|
54 |
|
55 |
+
#: admin/tpl/admin.php:104
|
56 |
msgid "Developers - create your own widgets for the Widgets Bundle."
|
57 |
msgstr ""
|
58 |
|
59 |
+
#: admin/tpl/admin.php:105
|
60 |
msgid "Read More"
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: admin/tpl/admin.php:112
|
64 |
msgid "Widget Settings"
|
65 |
msgstr ""
|
66 |
|
67 |
+
#: admin/tpl/admin.php:123
|
68 |
msgid "Save"
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: base/inc/actions.php:10, base/inc/actions.php:75, base/inc/actions.php:119, base/inc/actions.php:155, base/inc/actions.php:168, base/inc/actions.php:172, base/inc/actions.php:263, base/inc/actions.php:266, so-widgets-bundle.php:370, so-widgets-bundle.php:394, so-widgets-bundle.php:407, so-widgets-bundle.php:437, so-widgets-bundle.php:448, so-widgets-bundle.php:514, so-widgets-bundle.php:525
|
72 |
msgid "Invalid request."
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: base/inc/actions.php:12, base/inc/actions.php:20, so-widgets-bundle.php:377, so-widgets-bundle.php:520
|
76 |
msgid "Invalid post."
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: base/inc/actions.php:50, base/siteorigin-widget.class.php:637
|
80 |
msgid "Widget Preview"
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: base/inc/actions.php:211
|
84 |
msgid "Nonce error"
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: base/inc/actions.php:221
|
88 |
msgid "Signature error"
|
89 |
msgstr ""
|
90 |
|
91 |
+
#: base/inc/actions.php:247
|
92 |
msgid "Attachment error"
|
93 |
msgstr ""
|
94 |
|
95 |
+
#: base/inc/fields/autocomplete.class.php:46
|
96 |
msgid "Search"
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: base/inc/fields/autocomplete.class.php:51, base/inc/fields/link.class.php:30
|
100 |
msgid "Close"
|
101 |
msgstr ""
|
102 |
|
103 |
+
#: base/inc/fields/base.class.php:328
|
104 |
msgid "Optional"
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: base/inc/fields/base.class.php:331
|
108 |
msgid "Required"
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: base/inc/fields/builder.class.php:36
|
112 |
msgid "This field requires: "
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: base/inc/fields/builder.class.php:37, widgets/layout-slider/layout-slider.php:197
|
116 |
msgid "SiteOrigin Page Builder"
|
117 |
msgstr ""
|
118 |
|
119 |
+
#: base/inc/fields/date-range.class.php:31
|
120 |
msgctxt "From this date"
|
121 |
msgid "From"
|
122 |
msgstr ""
|
123 |
|
124 |
+
#: base/inc/fields/date-range.class.php:34, base/inc/fields/date-range.class.php:48
|
125 |
msgid "to"
|
126 |
msgstr ""
|
127 |
|
128 |
+
#: base/inc/fields/date-range.class.php:45
|
129 |
msgid "From"
|
130 |
msgstr ""
|
131 |
|
132 |
+
#: base/inc/fields/date-range.class.php:64
|
133 |
msgid "ago"
|
134 |
msgstr ""
|
135 |
|
136 |
+
#: base/inc/fields/date-range.class.php:69
|
137 |
msgid "days"
|
138 |
msgstr ""
|
139 |
|
140 |
+
#: base/inc/fields/date-range.class.php:70
|
141 |
msgid "weeks"
|
142 |
msgstr ""
|
143 |
|
144 |
+
#: base/inc/fields/date-range.class.php:71
|
145 |
msgid "months"
|
146 |
msgstr ""
|
147 |
|
148 |
+
#: base/inc/fields/date-range.class.php:72
|
149 |
msgid "years"
|
150 |
msgstr ""
|
151 |
|
152 |
+
#: base/inc/fields/error.class.php:20
|
153 |
msgid "$this->message"
|
154 |
msgstr ""
|
155 |
|
156 |
+
#: base/inc/fields/factory.class.php:22
|
157 |
msgid "This field does not have a type. Please specify a type for it to be rendered correctly."
|
158 |
msgstr ""
|
159 |
|
160 |
+
#: base/inc/fields/font.class.php:17
|
161 |
msgid "Use theme font"
|
162 |
msgstr ""
|
163 |
|
164 |
+
#: base/inc/fields/icon.class.php:26
|
165 |
msgid "Choose Icon"
|
166 |
msgstr ""
|
167 |
|
168 |
+
#: base/inc/fields/icon.class.php:29, base/inc/fields/media.class.php:111
|
169 |
msgid "Remove"
|
170 |
msgstr ""
|
171 |
|
172 |
+
#: base/inc/fields/image-size.class.php:14
|
173 |
msgid "Full"
|
174 |
msgstr ""
|
175 |
|
176 |
+
#: base/inc/fields/image-size.class.php:15
|
177 |
msgid "Thumbnail (Theme-defined)"
|
178 |
msgstr ""
|
179 |
|
180 |
+
#: base/inc/fields/link.class.php:20
|
181 |
msgid "Select Content"
|
182 |
msgstr ""
|
183 |
|
184 |
+
#: base/inc/fields/link.class.php:25
|
185 |
msgid "Search Content"
|
186 |
msgstr ""
|
187 |
|
188 |
+
#: base/inc/fields/media.class.php:60
|
189 |
msgid "Choose Media"
|
190 |
msgstr ""
|
191 |
|
192 |
+
#: base/inc/fields/media.class.php:61
|
193 |
msgid "Set Media"
|
194 |
msgstr ""
|
195 |
|
196 |
+
#: base/inc/fields/media.class.php:62
|
197 |
msgid "Image Search"
|
198 |
msgstr ""
|
199 |
|
200 |
+
#: base/inc/fields/media.class.php:69
|
201 |
msgid "You need to <a href=\"%s\">upgrade</a> to WordPress 3.5 to use media fields"
|
202 |
msgstr ""
|
203 |
|
204 |
+
#: base/inc/fields/media.class.php:123
|
205 |
msgid "External URL"
|
206 |
msgstr ""
|
207 |
|
208 |
+
#: base/inc/fields/media.class.php:168
|
209 |
msgid "Would you like to import this image into your media library?"
|
210 |
msgstr ""
|
211 |
|
212 |
+
#: base/inc/fields/media.class.php:172, base/inc/fields/media.class.php:180
|
213 |
msgid "Search For Images"
|
214 |
msgstr ""
|
215 |
|
216 |
+
#: base/inc/fields/media.class.php:187
|
217 |
msgid "Related Searches: "
|
218 |
msgstr ""
|
219 |
|
220 |
+
#: base/inc/fields/media.class.php:194
|
221 |
msgid "Powered by %s"
|
222 |
msgstr ""
|
223 |
|
224 |
+
#: base/inc/fields/media.class.php:205
|
225 |
msgid "Loading Images"
|
226 |
msgstr ""
|
227 |
|
228 |
+
#: base/inc/fields/media.class.php:206
|
229 |
msgid "Downloading Image - Please Wait"
|
230 |
msgstr ""
|
231 |
|
232 |
+
#: base/inc/fields/media.class.php:209
|
233 |
msgid "Load More"
|
234 |
msgstr ""
|
235 |
|
236 |
+
#: base/inc/fields/media.class.php:228
|
237 |
msgid "Sponsored"
|
238 |
msgstr ""
|
239 |
|
240 |
+
#: base/inc/fields/posts.class.php:22
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
241 |
msgid "Post type"
|
242 |
msgstr ""
|
243 |
|
244 |
+
#: base/inc/fields/posts.class.php:30
|
245 |
msgid "Post in"
|
246 |
msgstr ""
|
247 |
|
248 |
+
#: base/inc/fields/posts.class.php:36, widgets/taxonomy/taxonomy.php:37
|
249 |
msgid "Taxonomies"
|
250 |
msgstr ""
|
251 |
|
252 |
+
#: base/inc/fields/posts.class.php:38
|
253 |
+
msgid "Taxonomies are groups such as categories, tags, posts and products."
|
254 |
+
msgstr ""
|
255 |
+
|
256 |
+
#: base/inc/fields/posts.class.php:43
|
257 |
msgid "Date selection type"
|
258 |
msgstr ""
|
259 |
|
260 |
+
#: base/inc/fields/posts.class.php:45
|
261 |
msgid "Specific"
|
262 |
msgstr ""
|
263 |
|
264 |
+
#: base/inc/fields/posts.class.php:46
|
265 |
msgid "Relative"
|
266 |
msgstr ""
|
267 |
|
268 |
+
#: base/inc/fields/posts.class.php:48
|
269 |
msgid "Select a range between specific dates or relative to the current date."
|
270 |
msgstr ""
|
271 |
|
272 |
+
#: base/inc/fields/posts.class.php:58, base/inc/fields/posts.class.php:68
|
273 |
msgid "Dates"
|
274 |
msgstr ""
|
275 |
|
276 |
+
#: base/inc/fields/posts.class.php:78
|
277 |
msgid "Order by"
|
278 |
msgstr ""
|
279 |
|
280 |
+
#: base/inc/fields/posts.class.php:80
|
281 |
msgid "No order"
|
282 |
msgstr ""
|
283 |
|
284 |
+
#: base/inc/fields/posts.class.php:81
|
285 |
msgid "Post ID"
|
286 |
msgstr ""
|
287 |
|
288 |
+
#: base/inc/fields/posts.class.php:82
|
289 |
msgid "Author"
|
290 |
msgstr ""
|
291 |
|
292 |
+
#: base/inc/fields/posts.class.php:83, widgets/accordion/accordion.php:46, widgets/accordion/accordion.php:59, widgets/contact/contact.php:47, widgets/cta/cta.php:63, widgets/editor/editor.php:32, widgets/features/features.php:132, widgets/post-carousel/post-carousel.php:97, widgets/price-table/price-table.php:41, widgets/price-table/price-table.php:60, widgets/simple-masonry/simple-masonry.php:43, widgets/simple-masonry/simple-masonry.php:74, widgets/social-media-buttons/social-media-buttons.php:53, widgets/tabs/tabs.php:46, widgets/tabs/tabs.php:59, widgets/taxonomy/taxonomy.php:33, widgets/testimonial/testimonial.php:40, widgets/video/video.php:32
|
293 |
msgid "Title"
|
294 |
msgstr ""
|
295 |
|
296 |
+
#: base/inc/fields/posts.class.php:84
|
297 |
msgid "Published date"
|
298 |
msgstr ""
|
299 |
|
300 |
+
#: base/inc/fields/posts.class.php:85
|
301 |
msgid "Modified date"
|
302 |
msgstr ""
|
303 |
|
304 |
+
#: base/inc/fields/posts.class.php:86
|
305 |
msgid "By parent"
|
306 |
msgstr ""
|
307 |
|
308 |
+
#: base/inc/fields/posts.class.php:87
|
309 |
msgid "Random order"
|
310 |
msgstr ""
|
311 |
|
312 |
+
#: base/inc/fields/posts.class.php:88
|
313 |
msgid "Comment count"
|
314 |
msgstr ""
|
315 |
|
316 |
+
#: base/inc/fields/posts.class.php:89
|
317 |
msgid "Menu order"
|
318 |
msgstr ""
|
319 |
|
320 |
+
#: base/inc/fields/posts.class.php:90
|
321 |
msgid "By meta value"
|
322 |
msgstr ""
|
323 |
|
324 |
+
#: base/inc/fields/posts.class.php:91
|
325 |
msgid "By numeric meta value"
|
326 |
msgstr ""
|
327 |
|
328 |
+
#: base/inc/fields/posts.class.php:92
|
329 |
msgid "By include order"
|
330 |
msgstr ""
|
331 |
|
332 |
+
#: base/inc/fields/posts.class.php:99
|
333 |
msgid "Order direction"
|
334 |
msgstr ""
|
335 |
|
336 |
+
#: base/inc/fields/posts.class.php:101
|
337 |
msgid "Ascending"
|
338 |
msgstr ""
|
339 |
|
340 |
+
#: base/inc/fields/posts.class.php:102
|
341 |
msgid "Descending"
|
342 |
msgstr ""
|
343 |
|
344 |
+
#: base/inc/fields/posts.class.php:109
|
345 |
msgid "Posts per page"
|
346 |
msgstr ""
|
347 |
|
348 |
+
#: base/inc/fields/posts.class.php:114
|
349 |
msgid "Sticky posts"
|
350 |
msgstr ""
|
351 |
|
352 |
+
#: base/inc/fields/posts.class.php:116, compat/beaver-builder/beaver-builder.php:65, widgets/google-map/google-map.php:269, widgets/image/image.php:46, widgets/image/image.php:58
|
353 |
msgid "Default"
|
354 |
msgstr ""
|
355 |
|
356 |
+
#: base/inc/fields/posts.class.php:117
|
357 |
msgid "Ignore sticky"
|
358 |
msgstr ""
|
359 |
|
360 |
+
#: base/inc/fields/posts.class.php:118
|
361 |
msgid "Exclude sticky"
|
362 |
msgstr ""
|
363 |
|
364 |
+
#: base/inc/fields/posts.class.php:119
|
365 |
msgid "Only sticky"
|
366 |
msgstr ""
|
367 |
|
368 |
+
#: base/inc/fields/posts.class.php:125
|
369 |
msgid "Additional"
|
370 |
msgstr ""
|
371 |
|
372 |
+
#: base/inc/fields/posts.class.php:126
|
373 |
msgid "Additional query arguments. See <a href=\"http://codex.wordpress.org/Function_Reference/query_posts\" target=\"_blank\" rel=\"noopener noreferrer\">query_posts</a>."
|
374 |
msgstr ""
|
375 |
|
376 |
+
#: base/inc/fields/presets.class.php:18
|
377 |
msgid "Warning! This will override some or all of the current form values."
|
378 |
msgstr ""
|
379 |
|
380 |
+
#: base/inc/fields/presets.class.php:48
|
381 |
msgid "Undo"
|
382 |
msgstr ""
|
383 |
|
384 |
+
#: base/inc/fields/repeater.class.php:54
|
385 |
msgid "Item"
|
386 |
msgstr ""
|
387 |
|
388 |
+
#: base/inc/fields/repeater.class.php:93
|
389 |
msgid "Add"
|
390 |
msgstr ""
|
391 |
|
392 |
+
#: base/inc/fields/widget.class.php:48
|
393 |
msgid "%s does not exist"
|
394 |
msgstr ""
|
395 |
|
396 |
+
#: base/inc/fields/widget.class.php:58
|
397 |
msgid "%s is not a SiteOrigin Widget"
|
398 |
msgstr ""
|
399 |
|
400 |
+
#: base/inc/meta-box-manager.php:35
|
401 |
msgid "SiteOrigin Meta Box Manager"
|
402 |
msgstr ""
|
403 |
|
404 |
+
#: base/inc/meta-box-manager.php:77
|
405 |
msgid "Widgets Bundle Post Meta Data"
|
406 |
msgstr ""
|
407 |
|
408 |
+
#: base/inc/widgets/base-slider.class.php:54
|
409 |
msgid "Animation speed"
|
410 |
msgstr ""
|
411 |
|
412 |
+
#: base/inc/widgets/base-slider.class.php:55
|
413 |
msgid "Animation speed in milliseconds."
|
414 |
msgstr ""
|
415 |
|
416 |
+
#: base/inc/widgets/base-slider.class.php:61
|
417 |
msgid "Timeout"
|
418 |
msgstr ""
|
419 |
|
420 |
+
#: base/inc/widgets/base-slider.class.php:62
|
421 |
msgid "How long each frame is displayed for in milliseconds."
|
422 |
msgstr ""
|
423 |
|
424 |
+
#: base/inc/widgets/base-slider.class.php:68
|
425 |
msgid "Navigation color"
|
426 |
msgstr ""
|
427 |
|
428 |
+
#: base/inc/widgets/base-slider.class.php:74
|
429 |
msgid "Navigation style"
|
430 |
msgstr ""
|
431 |
|
432 |
+
#: base/inc/widgets/base-slider.class.php:77
|
433 |
msgid "Ultra thin"
|
434 |
msgstr ""
|
435 |
|
436 |
+
#: base/inc/widgets/base-slider.class.php:78
|
437 |
msgid "Thin"
|
438 |
msgstr ""
|
439 |
|
440 |
+
#: base/inc/widgets/base-slider.class.php:79, widgets/button/button.php:156, widgets/button/button.php:180, widgets/social-media-buttons/social-media-buttons.php:119, widgets/social-media-buttons/social-media-buttons.php:141, widgets/social-media-buttons/social-media-buttons.php:174
|
441 |
msgid "Medium"
|
442 |
msgstr ""
|
443 |
|
444 |
+
#: base/inc/widgets/base-slider.class.php:80
|
445 |
msgid "Thick"
|
446 |
msgstr ""
|
447 |
|
448 |
+
#: base/inc/widgets/base-slider.class.php:81
|
449 |
msgid "Rounded ultra thin"
|
450 |
msgstr ""
|
451 |
|
452 |
+
#: base/inc/widgets/base-slider.class.php:82
|
453 |
msgid "Rounded thin"
|
454 |
msgstr ""
|
455 |
|
456 |
+
#: base/inc/widgets/base-slider.class.php:83
|
457 |
msgid "Rounded medium"
|
458 |
msgstr ""
|
459 |
|
460 |
+
#: base/inc/widgets/base-slider.class.php:84
|
461 |
msgid "Rounded thick"
|
462 |
msgstr ""
|
463 |
|
464 |
+
#: base/inc/widgets/base-slider.class.php:90
|
465 |
msgid "Navigation size"
|
466 |
msgstr ""
|
467 |
|
468 |
+
#: base/inc/widgets/base-slider.class.php:96
|
469 |
msgid "Swipe Control"
|
470 |
msgstr ""
|
471 |
|
472 |
+
#: base/inc/widgets/base-slider.class.php:97
|
473 |
msgid "Allow users to swipe through frames on mobile devices."
|
474 |
msgstr ""
|
475 |
|
476 |
+
#: base/inc/widgets/base-slider.class.php:108
|
477 |
msgid "Video file"
|
478 |
msgstr ""
|
479 |
|
480 |
+
#: base/inc/widgets/base-slider.class.php:114, widgets/video/video.php:84
|
481 |
msgid "Video URL"
|
482 |
msgstr ""
|
483 |
|
484 |
+
#: base/inc/widgets/base-slider.class.php:116
|
485 |
msgid "An external URL of the video. Overrides video file."
|
486 |
msgstr ""
|
487 |
|
488 |
+
#: base/inc/widgets/base-slider.class.php:121, widgets/video/video.php:100
|
489 |
+
msgid "Autoplay"
|
490 |
+
msgstr ""
|
491 |
+
|
492 |
+
#: base/inc/widgets/base-slider.class.php:123
|
493 |
+
msgid "Currently only for YouTube videos."
|
494 |
+
msgstr ""
|
495 |
+
|
496 |
+
#: base/inc/widgets/base-slider.class.php:128
|
497 |
msgid "Video format"
|
498 |
msgstr ""
|
499 |
|
500 |
+
#: base/inc/widgets/base-slider.class.php:138
|
501 |
msgid "Maximum height"
|
502 |
msgstr ""
|
503 |
|
504 |
+
#: base/inc/widgets/base-slider.class.php:182
|
505 |
msgid "display slide %s"
|
506 |
msgstr ""
|
507 |
|
508 |
+
#: base/inc/widgets/base-slider.class.php:187
|
509 |
msgid "next slide"
|
510 |
msgstr ""
|
511 |
|
512 |
+
#: base/inc/widgets/base-slider.class.php:193
|
513 |
msgid "previous slide"
|
514 |
msgstr ""
|
515 |
|
516 |
+
#: base/siteorigin-widget.class.php:481
|
517 |
msgid "Preview"
|
518 |
msgstr ""
|
519 |
|
520 |
+
#: base/siteorigin-widget.class.php:486
|
521 |
msgid "Help"
|
522 |
msgstr ""
|
523 |
|
524 |
+
#: base/siteorigin-widget.class.php:552
|
525 |
msgid "This widget has scripts and styles that need to be loaded before you can use it. Please save and reload your current page."
|
526 |
msgstr ""
|
527 |
|
528 |
+
#: base/siteorigin-widget.class.php:553
|
529 |
msgid "You will only need to do this once."
|
530 |
msgstr ""
|
531 |
|
532 |
+
#: base/siteorigin-widget.class.php:580
|
533 |
msgid "Are you sure?"
|
534 |
msgstr ""
|
535 |
|
536 |
+
#: base/siteorigin-widget.class.php:582
|
537 |
msgid "There is a newer version of this widget's content available."
|
538 |
msgstr ""
|
539 |
|
540 |
+
#: base/siteorigin-widget.class.php:583, base/siteorigin-widget.class.php:587
|
541 |
msgid "Restore"
|
542 |
msgstr ""
|
543 |
|
544 |
+
#: base/siteorigin-widget.class.php:584
|
545 |
msgid "Dismiss"
|
546 |
msgstr ""
|
547 |
|
548 |
+
#: base/siteorigin-widget.class.php:586
|
549 |
msgid "Clicking %s will replace the current widget contents. You can revert by refreshing the page before updating."
|
550 |
msgstr ""
|
551 |
|
552 |
+
#: compat/beaver-builder/beaver-builder.php:64
|
553 |
msgid "Clear"
|
554 |
msgstr ""
|
555 |
|
556 |
+
#: compat/beaver-builder/beaver-builder.php:66
|
557 |
msgid "Select Color"
|
558 |
msgstr ""
|
559 |
|
560 |
+
#: compat/beaver-builder/beaver-builder.php:67
|
561 |
msgid "Current Color"
|
562 |
msgstr ""
|
563 |
|
564 |
+
#: compat/builders.php:4
|
565 |
msgid "Beaver Builder"
|
566 |
msgstr ""
|
567 |
|
568 |
+
#: compat/builders.php:8
|
569 |
msgid "Elementor"
|
570 |
msgstr ""
|
571 |
|
572 |
+
#: compat/builders.php:12
|
573 |
msgid "Visual Composer"
|
574 |
msgstr ""
|
575 |
|
576 |
+
#: compat/visual-composer/visual-composer.php:38, compat/visual-composer/visual-composer.php:54
|
577 |
msgid "SiteOrigin Widget"
|
578 |
msgstr ""
|
579 |
|
580 |
+
#: compat/visual-composer/visual-composer.php:40, so-widgets-bundle.php:464, so-widgets-bundle.php:465
|
581 |
msgid "SiteOrigin Widgets"
|
582 |
msgstr ""
|
583 |
|
584 |
+
#: compat/visual-composer/visual-composer.php:42
|
585 |
msgid "Allows you to add any active SiteOrigin Widgets Bundle widgets."
|
586 |
msgstr ""
|
587 |
|
588 |
+
#: compat/visual-composer/visual-composer.php:77
|
589 |
msgid "Selecting a different widget will revert any changes. Continue?"
|
590 |
msgstr ""
|
591 |
|
592 |
+
#: icons/icons.php:7
|
593 |
msgid "Elegant Themes Line Icons"
|
594 |
msgstr ""
|
595 |
|
596 |
+
#: icons/icons.php:8
|
597 |
msgid "Font Awesome"
|
598 |
msgstr ""
|
599 |
|
600 |
+
#: icons/icons.php:9
|
601 |
msgid "Genericons"
|
602 |
msgstr ""
|
603 |
|
604 |
+
#: icons/icons.php:10
|
605 |
msgid "Icomoon Free"
|
606 |
msgstr ""
|
607 |
|
608 |
+
#: icons/icons.php:11
|
609 |
msgid "Typicons"
|
610 |
msgstr ""
|
611 |
|
612 |
+
#: icons/icons.php:12
|
613 |
msgid "Ionicons"
|
614 |
msgstr ""
|
615 |
|
616 |
+
#: so-widgets-bundle.php:216
|
617 |
msgid "A new widget!"
|
618 |
msgstr ""
|
619 |
|
620 |
+
#: so-widgets-bundle.php:374, so-widgets-bundle.php:397, so-widgets-bundle.php:440
|
621 |
msgid "Insufficient permissions."
|
622 |
msgstr ""
|
623 |
|
624 |
+
#: so-widgets-bundle.php:490
|
625 |
msgid "%s was %s"
|
626 |
msgstr ""
|
627 |
|
628 |
+
#: so-widgets-bundle.php:492
|
629 |
msgid "Activated"
|
630 |
msgstr ""
|
631 |
|
632 |
+
#: so-widgets-bundle.php:492
|
633 |
msgid "Deactivated"
|
634 |
msgstr ""
|
635 |
|
636 |
+
#: so-widgets-bundle.php:746
|
637 |
msgid "Manage Widgets"
|
638 |
msgstr ""
|
639 |
|
640 |
+
#: so-widgets-bundle.php:747
|
641 |
msgid "Support"
|
642 |
msgstr ""
|
643 |
|
644 |
+
#: widgets/accordion/accordion.php:14
|
645 |
msgid "SiteOrigin Accordion"
|
646 |
msgstr ""
|
647 |
|
648 |
+
#: widgets/accordion/accordion.php:16
|
649 |
msgid "An accordion widget."
|
650 |
msgstr ""
|
651 |
|
652 |
+
#: widgets/accordion/accordion.php:50, widgets/accordion/accordion.php:122, widgets/tabs/tabs.php:144
|
653 |
msgid "Panels"
|
654 |
msgstr ""
|
655 |
|
656 |
+
#: widgets/accordion/accordion.php:63, widgets/hero/hero.php:59, widgets/layout-slider/layout-slider.php:47, widgets/tabs/tabs.php:63
|
657 |
msgid "Content"
|
658 |
msgstr ""
|
659 |
|
660 |
+
#: widgets/accordion/accordion.php:67
|
661 |
msgid "Initial state"
|
662 |
msgstr ""
|
663 |
|
664 |
+
#: widgets/accordion/accordion.php:68
|
665 |
msgid "Whether this panel should be open or closed when the page first loads."
|
666 |
msgstr ""
|
667 |
|
668 |
+
#: widgets/accordion/accordion.php:70
|
669 |
msgid "Open"
|
670 |
msgstr ""
|
671 |
|
672 |
+
#: widgets/accordion/accordion.php:71
|
673 |
msgid "Closed"
|
674 |
msgstr ""
|
675 |
|
676 |
+
#: widgets/accordion/accordion.php:79, widgets/contact/contact.php:292, widgets/cta/cta.php:73, widgets/tabs/tabs.php:75, widgets/testimonial/testimonial.php:182
|
677 |
msgid "Design"
|
678 |
msgstr ""
|
679 |
|
680 |
+
#: widgets/accordion/accordion.php:84
|
681 |
msgid "Headings"
|
682 |
msgstr ""
|
683 |
|
684 |
+
#: widgets/accordion/accordion.php:89, widgets/accordion/accordion.php:127, widgets/contact/contact.php:302, widgets/contact/contact.php:535, widgets/cta/cta.php:77, widgets/hero/hero.php:119, widgets/layout-slider/layout-slider.php:81, widgets/social-media-buttons/social-media-buttons.php:85, widgets/tabs/tabs.php:85, widgets/tabs/tabs.php:105, widgets/tabs/tabs.php:149
|
685 |
msgid "Background color"
|
686 |
msgstr ""
|
687 |
|
688 |
+
#: widgets/accordion/accordion.php:94, widgets/tabs/tabs.php:109
|
689 |
msgid "Background hover color"
|
690 |
msgstr ""
|
691 |
|
692 |
+
#: widgets/accordion/accordion.php:99, widgets/cta/cta.php:90, widgets/tabs/tabs.php:114
|
693 |
msgid "Title color"
|
694 |
msgstr ""
|
695 |
|
696 |
+
#: widgets/accordion/accordion.php:104, widgets/tabs/tabs.php:119
|
697 |
msgid "Title hover color"
|
698 |
msgstr ""
|
699 |
|
700 |
+
#: widgets/accordion/accordion.php:108, widgets/accordion/accordion.php:136, widgets/contact/contact.php:312, widgets/contact/contact.php:429, widgets/contact/contact.php:545, widgets/cta/cta.php:81, widgets/tabs/tabs.php:90, widgets/tabs/tabs.php:124, widgets/tabs/tabs.php:158
|
701 |
msgid "Border color"
|
702 |
msgstr ""
|
703 |
|
704 |
+
#: widgets/accordion/accordion.php:112, widgets/tabs/tabs.php:129
|
705 |
msgid "Border hover color"
|
706 |
msgstr ""
|
707 |
|
708 |
+
#: widgets/accordion/accordion.php:116, widgets/accordion/accordion.php:140, widgets/contact/contact.php:317, widgets/contact/contact.php:434, widgets/contact/contact.php:561, widgets/tabs/tabs.php:94, widgets/tabs/tabs.php:134, widgets/tabs/tabs.php:162
|
709 |
msgid "Border width"
|
710 |
msgstr ""
|
711 |
|
712 |
+
#: widgets/accordion/accordion.php:132, widgets/tabs/tabs.php:154
|
713 |
msgid "Font color"
|
714 |
msgstr ""
|
715 |
|
716 |
+
#: widgets/accordion/accordion.php:144
|
717 |
msgid "Bottom margin"
|
718 |
msgstr ""
|
719 |
|
720 |
+
#: widgets/accordion/accordion.php:226
|
721 |
msgid "Get more customization options and the ability to use widgets and layouts as your accordion content with %sSiteOrigin Premium%s"
|
722 |
msgstr ""
|
723 |
|
724 |
+
#: widgets/button/button.php:14
|
725 |
msgid "SiteOrigin Button"
|
726 |
msgstr ""
|
727 |
|
728 |
+
#: widgets/button/button.php:16
|
729 |
msgid "A customizable button widget."
|
730 |
msgstr ""
|
731 |
|
732 |
+
#: widgets/button/button.php:45, widgets/price-table/price-table.php:92
|
733 |
msgid "Button text"
|
734 |
msgstr ""
|
735 |
|
736 |
+
#: widgets/button/button.php:50, widgets/google-map/google-map.php:97, widgets/headline/headline.php:44, widgets/headline/headline.php:115, widgets/hero/hero.php:125, widgets/icon/icon.php:56, widgets/image/image.php:88, widgets/layout-slider/layout-slider.php:87, widgets/simple-masonry/simple-masonry.php:78, widgets/slider/slider.php:84
|
737 |
msgid "Destination URL"
|
738 |
msgstr ""
|
739 |
|
740 |
+
#: widgets/button/button.php:56, widgets/google-map/google-map.php:108, widgets/headline/headline.php:49, widgets/headline/headline.php:120, widgets/icon/icon.php:62, widgets/simple-masonry/simple-masonry.php:83, widgets/social-media-buttons/social-media-buttons.php:96, widgets/taxonomy/taxonomy.php:64
|
741 |
msgid "Open in a new window"
|
742 |
msgstr ""
|
743 |
|
744 |
+
#: widgets/button/button.php:61, widgets/button/button.php:65, widgets/features/features.php:75, widgets/icon/icon.php:30, widgets/price-table/price-table.php:118
|
745 |
msgid "Icon"
|
746 |
msgstr ""
|
747 |
|
748 |
+
#: widgets/button/button.php:70, widgets/features/features.php:85, widgets/price-table/price-table.php:122, widgets/social-media-buttons/social-media-buttons.php:81
|
749 |
msgid "Icon color"
|
750 |
msgstr ""
|
751 |
|
752 |
+
#: widgets/button/button.php:75
|
753 |
msgid "Image icon"
|
754 |
msgstr ""
|
755 |
|
756 |
+
#: widgets/button/button.php:76
|
757 |
msgid "Replaces the icon with your own image icon."
|
758 |
msgstr ""
|
759 |
|
760 |
+
#: widgets/button/button.php:81
|
761 |
msgid "Icon Placement"
|
762 |
msgstr ""
|
763 |
|
764 |
+
#: widgets/button/button.php:84, widgets/features/features.php:63
|
765 |
msgid "Top"
|
766 |
msgstr ""
|
767 |
|
768 |
+
#: widgets/button/button.php:85, widgets/button/button.php:111, widgets/contact/contact.php:367, widgets/contact/contact.php:382, widgets/contact/contact.php:606, widgets/cta/cta.php:102, widgets/features/features.php:64, widgets/headline/headline.php:89, widgets/headline/headline.php:160, widgets/headline/headline.php:215, widgets/icon/icon.php:49, widgets/image/image.php:48, widgets/image/image.php:60, widgets/social-media-buttons/social-media-buttons.php:152, widgets/social-media-buttons/social-media-buttons.php:163, widgets/testimonial/testimonial.php:254
|
769 |
msgid "Right"
|
770 |
msgstr ""
|
771 |
|
772 |
+
#: widgets/button/button.php:86, widgets/features/features.php:65
|
773 |
msgid "Bottom"
|
774 |
msgstr ""
|
775 |
|
776 |
+
#: widgets/button/button.php:87, widgets/button/button.php:110, widgets/contact/contact.php:366, widgets/contact/contact.php:381, widgets/contact/contact.php:605, widgets/cta/cta.php:101, widgets/features/features.php:66, widgets/headline/headline.php:88, widgets/headline/headline.php:159, widgets/headline/headline.php:214, widgets/icon/icon.php:48, widgets/image/image.php:47, widgets/image/image.php:59, widgets/social-media-buttons/social-media-buttons.php:151, widgets/social-media-buttons/social-media-buttons.php:162, widgets/testimonial/testimonial.php:253
|
777 |
msgid "Left"
|
778 |
msgstr ""
|
779 |
|
780 |
+
#: widgets/button/button.php:95, widgets/social-media-buttons/social-media-buttons.php:91
|
781 |
msgid "Design and layout"
|
782 |
msgstr ""
|
783 |
|
784 |
+
#: widgets/button/button.php:101, widgets/contact/contact.php:373, widgets/contact/contact.php:598, widgets/contact/contact.php:649, widgets/google-map/google-map.php:88
|
785 |
msgid "Width"
|
786 |
msgstr ""
|
787 |
|
788 |
+
#: widgets/button/button.php:102
|
789 |
msgid "Leave blank to let the button resize according to content."
|
790 |
msgstr ""
|
791 |
|
792 |
+
#: widgets/button/button.php:107, widgets/contact/contact.php:378, widgets/contact/contact.php:602, widgets/social-media-buttons/social-media-buttons.php:148
|
793 |
msgid "Align"
|
794 |
msgstr ""
|
795 |
|
796 |
+
#: widgets/button/button.php:112, widgets/contact/contact.php:383, widgets/contact/contact.php:607, widgets/headline/headline.php:87, widgets/headline/headline.php:158, widgets/headline/headline.php:213, widgets/icon/icon.php:47, widgets/image/image.php:49, widgets/image/image.php:61, widgets/social-media-buttons/social-media-buttons.php:153, widgets/social-media-buttons/social-media-buttons.php:164
|
797 |
msgid "Center"
|
798 |
msgstr ""
|
799 |
|
800 |
+
#: widgets/button/button.php:113, widgets/contact/contact.php:384, widgets/headline/headline.php:90, widgets/headline/headline.php:161, widgets/social-media-buttons/social-media-buttons.php:154, widgets/social-media-buttons/social-media-buttons.php:165
|
801 |
msgid "Justify"
|
802 |
msgstr ""
|
803 |
|
804 |
+
#: widgets/button/button.php:119, widgets/social-media-buttons/social-media-buttons.php:101
|
805 |
msgid "Button theme"
|
806 |
msgstr ""
|
807 |
|
808 |
+
#: widgets/button/button.php:122, widgets/price-table/price-table.php:133, widgets/social-media-buttons/social-media-buttons.php:104
|
809 |
msgid "Atom"
|
810 |
msgstr ""
|
811 |
|
812 |
+
#: widgets/button/button.php:123, widgets/social-media-buttons/social-media-buttons.php:105
|
813 |
msgid "Flat"
|
814 |
msgstr ""
|
815 |
|
816 |
+
#: widgets/button/button.php:124, widgets/social-media-buttons/social-media-buttons.php:106
|
817 |
msgid "Wire"
|
818 |
msgstr ""
|
819 |
|
820 |
+
#: widgets/button/button.php:131, widgets/price-table/price-table.php:149
|
821 |
msgid "Button color"
|
822 |
msgstr ""
|
823 |
|
824 |
+
#: widgets/button/button.php:136, widgets/contact/contact.php:573, widgets/hero/hero.php:250, widgets/layout-slider/layout-slider.php:181
|
825 |
msgid "Text color"
|
826 |
msgstr ""
|
827 |
|
828 |
+
#: widgets/button/button.php:142, widgets/social-media-buttons/social-media-buttons.php:111
|
829 |
msgid "Use hover effects"
|
830 |
msgstr ""
|
831 |
|
832 |
+
#: widgets/button/button.php:147, widgets/contact/contact.php:346, widgets/contact/contact.php:396, widgets/features/features.php:137, widgets/features/features.php:158, widgets/features/features.php:179, widgets/headline/headline.php:75, widgets/headline/headline.php:146
|
833 |
msgid "Font"
|
834 |
msgstr ""
|
835 |
|
836 |
+
#: widgets/button/button.php:153, widgets/contact/contact.php:351, widgets/contact/contact.php:578
|
837 |
msgid "Font size"
|
838 |
msgstr ""
|
839 |
|
840 |
+
#: widgets/button/button.php:155, widgets/contact/contact.php:259, widgets/contact/contact.php:484, widgets/contact/contact.php:586, widgets/social-media-buttons/social-media-buttons.php:118
|
841 |
msgid "Normal"
|
842 |
msgstr ""
|
843 |
|
844 |
+
#: widgets/button/button.php:157, widgets/social-media-buttons/social-media-buttons.php:120
|
845 |
msgid "Large"
|
846 |
msgstr ""
|
847 |
|
848 |
+
#: widgets/button/button.php:158, widgets/social-media-buttons/social-media-buttons.php:121
|
849 |
msgid "Extra large"
|
850 |
msgstr ""
|
851 |
|
852 |
+
#: widgets/button/button.php:164, widgets/social-media-buttons/social-media-buttons.php:126
|
853 |
msgid "Rounding"
|
854 |
msgstr ""
|
855 |
|
856 |
+
#: widgets/button/button.php:167, widgets/contact/contact.php:325, widgets/contact/contact.php:442, widgets/contact/contact.php:553, widgets/contact/contact.php:638, widgets/headline/headline.php:185, widgets/social-media-buttons/social-media-buttons.php:129
|
857 |
msgid "None"
|
858 |
msgstr ""
|
859 |
|
860 |
+
#: widgets/button/button.php:168, widgets/social-media-buttons/social-media-buttons.php:130
|
861 |
msgid "Slightly rounded"
|
862 |
msgstr ""
|
863 |
|
864 |
+
#: widgets/button/button.php:169, widgets/social-media-buttons/social-media-buttons.php:131
|
865 |
msgid "Very rounded"
|
866 |
msgstr ""
|
867 |
|
868 |
+
#: widgets/button/button.php:170, widgets/social-media-buttons/social-media-buttons.php:132
|
869 |
msgid "Completely rounded"
|
870 |
msgstr ""
|
871 |
|
872 |
+
#: widgets/button/button.php:176, widgets/contact/contact.php:307, widgets/contact/contact.php:413, widgets/contact/contact.php:593, widgets/social-media-buttons/social-media-buttons.php:137, widgets/testimonial/testimonial.php:233
|
873 |
msgid "Padding"
|
874 |
msgstr ""
|
875 |
|
876 |
+
#: widgets/button/button.php:179, widgets/social-media-buttons/social-media-buttons.php:140, widgets/social-media-buttons/social-media-buttons.php:173
|
877 |
msgid "Low"
|
878 |
msgstr ""
|
879 |
|
880 |
+
#: widgets/button/button.php:181, widgets/social-media-buttons/social-media-buttons.php:142, widgets/social-media-buttons/social-media-buttons.php:175
|
881 |
msgid "High"
|
882 |
msgstr ""
|
883 |
|
884 |
+
#: widgets/button/button.php:182, widgets/social-media-buttons/social-media-buttons.php:143, widgets/social-media-buttons/social-media-buttons.php:176
|
885 |
msgid "Very high"
|
886 |
msgstr ""
|
887 |
|
888 |
+
#: widgets/button/button.php:191
|
889 |
msgid "Other attributes and SEO"
|
890 |
msgstr ""
|
891 |
|
892 |
+
#: widgets/button/button.php:196, widgets/contact/contact.php:96
|
893 |
msgid "Button ID"
|
894 |
msgstr ""
|
895 |
|
896 |
+
#: widgets/button/button.php:197
|
897 |
msgid "An ID attribute allows you to target this button in Javascript."
|
898 |
msgstr ""
|
899 |
|
900 |
+
#: widgets/button/button.php:202
|
901 |
msgid "Button Classes"
|
902 |
msgstr ""
|
903 |
|
904 |
+
#: widgets/button/button.php:203
|
905 |
msgid "Additional CSS classes added to the button link."
|
906 |
msgstr ""
|
907 |
|
908 |
+
#: widgets/button/button.php:208
|
909 |
msgid "Title attribute"
|
910 |
msgstr ""
|
911 |
|
912 |
+
#: widgets/button/button.php:209
|
913 |
msgid "Adds a title attribute to the button link."
|
914 |
msgstr ""
|
915 |
|
916 |
+
#: widgets/button/button.php:214, widgets/contact/contact.php:101
|
917 |
msgid "Onclick"
|
918 |
msgstr ""
|
919 |
|
920 |
+
#: widgets/button/button.php:215
|
921 |
msgid "Run this Javascript when the button is clicked. Ideal for tracking."
|
922 |
msgstr ""
|
923 |
|
924 |
+
#: widgets/button/button.php:220
|
925 |
msgid "Rel attribute"
|
926 |
msgstr ""
|
927 |
|
928 |
+
#: widgets/button/button.php:221
|
929 |
msgid "Adds a rel attribute to the button link."
|
930 |
msgstr ""
|
931 |
|
932 |
+
#: widgets/contact/contact.php:16
|
933 |
msgid "SiteOrigin Contact Form"
|
934 |
msgstr ""
|
935 |
|
936 |
+
#: widgets/contact/contact.php:18
|
937 |
msgid "Create a simple contact form for your users to get hold of you."
|
938 |
msgstr ""
|
939 |
|
940 |
+
#: widgets/contact/contact.php:48, widgets/contact/contact.php:92
|
941 |
msgid "Contact Us"
|
942 |
msgstr ""
|
943 |
|
944 |
+
#: widgets/contact/contact.php:53
|
945 |
msgid "Display title"
|
946 |
msgstr ""
|
947 |
|
948 |
+
#: widgets/contact/contact.php:63
|
949 |
msgid "To email address"
|
950 |
msgstr ""
|
951 |
|
952 |
+
#: widgets/contact/contact.php:64
|
953 |
msgid "Where contact emails will be delivered to. You can send to multiple emails by separating the emails with a comma (,)"
|
954 |
msgstr ""
|
955 |
|
956 |
+
#: widgets/contact/contact.php:69
|
957 |
msgid "From email address"
|
958 |
msgstr ""
|
959 |
|
960 |
+
#: widgets/contact/contact.php:70
|
961 |
msgid "It will appear as if emails are sent from this address. Ideally this should be in the same domain as this server to avoid spam filters."
|
962 |
msgstr ""
|
963 |
|
964 |
+
#: widgets/contact/contact.php:75
|
965 |
msgid "Default subject"
|
966 |
msgstr ""
|
967 |
|
968 |
+
#: widgets/contact/contact.php:76
|
969 |
msgid "Subject to use when there isn't one available."
|
970 |
msgstr ""
|
971 |
|
972 |
+
#: widgets/contact/contact.php:80
|
973 |
msgid "Subject prefix"
|
974 |
msgstr ""
|
975 |
|
976 |
+
#: widgets/contact/contact.php:81
|
977 |
msgid "Prefix added to all incoming email subjects."
|
978 |
msgstr ""
|
979 |
|
980 |
+
#: widgets/contact/contact.php:85
|
981 |
msgid "Success message"
|
982 |
msgstr ""
|
983 |
|
984 |
+
#: widgets/contact/contact.php:86
|
985 |
msgid "Message to display after message successfully sent."
|
986 |
msgstr ""
|
987 |
|
988 |
+
#: widgets/contact/contact.php:87
|
989 |
msgid "Thanks for contacting us. We'll get back to you shortly."
|
990 |
msgstr ""
|
991 |
|
992 |
+
#: widgets/contact/contact.php:91
|
993 |
msgid "Submit button text"
|
994 |
msgstr ""
|
995 |
|
996 |
+
#: widgets/contact/contact.php:97
|
997 |
msgid "An ID attribute allows you to target this button in JavaScript."
|
998 |
msgstr ""
|
999 |
|
1000 |
+
#: widgets/contact/contact.php:102
|
1001 |
msgid "Run this JavaScript when the button is clicked. Ideal for tracking."
|
1002 |
msgstr ""
|
1003 |
|
1004 |
+
#: widgets/contact/contact.php:106
|
1005 |
msgid "Indicate required fields with asterisk (*)"
|
1006 |
msgstr ""
|
1007 |
|
1008 |
+
#: widgets/contact/contact.php:117
|
1009 |
msgid "Required field indicator message"
|
1010 |
msgstr ""
|
1011 |
|
1012 |
+
#: widgets/contact/contact.php:118
|
1013 |
msgid "Fields marked with * are required"
|
1014 |
msgstr ""
|
1015 |
|
1016 |
+
#: widgets/contact/contact.php:126
|
1017 |
msgid "Log IP addresses."
|
1018 |
msgstr ""
|
1019 |
|
1020 |
+
#: widgets/contact/contact.php:135, widgets/contact/contact.php:392
|
1021 |
msgid "Fields"
|
1022 |
msgstr ""
|
1023 |
|
1024 |
+
#: widgets/contact/contact.php:136
|
1025 |
msgid "Field"
|
1026 |
msgstr ""
|
1027 |
|
1028 |
+
#: widgets/contact/contact.php:144
|
1029 |
msgid "Field Type"
|
1030 |
msgstr ""
|
1031 |
|
1032 |
+
#: widgets/contact/contact.php:145
|
1033 |
msgid "Select Field Type"
|
1034 |
msgstr ""
|
1035 |
|
1036 |
+
#: widgets/contact/contact.php:147, widgets/testimonial/testimonial.php:54
|
1037 |
msgid "Name"
|
1038 |
msgstr ""
|
1039 |
|
1040 |
+
#: widgets/contact/contact.php:148, widgets/social-media-buttons/data/networks.php:29
|
1041 |
msgid "Email"
|
1042 |
msgstr ""
|
1043 |
|
1044 |
+
#: widgets/contact/contact.php:149
|
1045 |
msgid "Phone Number"
|
1046 |
msgstr ""
|
1047 |
|
1048 |
+
#: widgets/contact/contact.php:150, widgets/contact/contact.php:713
|
1049 |
msgid "Subject"
|
1050 |
msgstr ""
|
1051 |
|
1052 |
+
#: widgets/contact/contact.php:151, widgets/features/features.php:110, widgets/features/features.php:153, widgets/headline/headline.php:40, widgets/headline/headline.php:111, widgets/price-table/price-table.php:110, widgets/taxonomy/taxonomy.php:50, widgets/testimonial/testimonial.php:81
|
1053 |
msgid "Text"
|
1054 |
msgstr ""
|
1055 |
|
1056 |
+
#: widgets/contact/contact.php:152
|
1057 |
msgid "Text Area"
|
1058 |
msgstr ""
|
1059 |
|
1060 |
+
#: widgets/contact/contact.php:153
|
1061 |
msgid "Dropdown Select"
|
1062 |
msgstr ""
|
1063 |
|
1064 |
+
#: widgets/contact/contact.php:154
|
1065 |
msgid "Checkboxes"
|
1066 |
msgstr ""
|
1067 |
|
1068 |
+
#: widgets/contact/contact.php:155
|
1069 |
msgid "Radio"
|
1070 |
msgstr ""
|
1071 |
|
1072 |
+
#: widgets/contact/contact.php:165, widgets/taxonomy/taxonomy.php:42
|
1073 |
msgid "Label"
|
1074 |
msgstr ""
|
1075 |
|
1076 |
+
#: widgets/contact/contact.php:170
|
1077 |
msgid "Description"
|
1078 |
msgstr ""
|
1079 |
|
1080 |
+
#: widgets/contact/contact.php:171
|
1081 |
msgid "This text will appear small beneath the input field."
|
1082 |
msgstr ""
|
1083 |
|
1084 |
+
#: widgets/contact/contact.php:176
|
1085 |
msgid "Required Field"
|
1086 |
msgstr ""
|
1087 |
|
1088 |
+
#: widgets/contact/contact.php:180, widgets/contact/contact.php:1009
|
1089 |
msgid "Required field"
|
1090 |
msgstr ""
|
1091 |
|
1092 |
+
#: widgets/contact/contact.php:181
|
1093 |
msgid "Is this field required?"
|
1094 |
msgstr ""
|
1095 |
|
1096 |
+
#: widgets/contact/contact.php:185
|
1097 |
msgid "Missing message"
|
1098 |
msgstr ""
|
1099 |
|
1100 |
+
#: widgets/contact/contact.php:186
|
1101 |
msgid "Error message to display if this field is missing."
|
1102 |
msgstr ""
|
1103 |
|
1104 |
+
#: widgets/contact/contact.php:194
|
1105 |
msgid "Options"
|
1106 |
msgstr ""
|
1107 |
|
1108 |
+
#: widgets/contact/contact.php:195
|
1109 |
msgid "Option"
|
1110 |
msgstr ""
|
1111 |
|
1112 |
+
#: widgets/contact/contact.php:200
|
1113 |
msgid "Value"
|
1114 |
msgstr ""
|
1115 |
|
1116 |
+
#: widgets/contact/contact.php:215
|
1117 |
msgid "Spam Protection"
|
1118 |
msgstr ""
|
1119 |
|
1120 |
+
#: widgets/contact/contact.php:221
|
1121 |
msgid "reCAPTCHA"
|
1122 |
msgstr ""
|
1123 |
|
1124 |
+
#: widgets/contact/contact.php:225
|
1125 |
msgid "Use reCAPTCHA"
|
1126 |
msgstr ""
|
1127 |
|
1128 |
+
#: widgets/contact/contact.php:230
|
1129 |
msgid "reCAPTCHA Site Key"
|
1130 |
msgstr ""
|
1131 |
|
1132 |
+
#: widgets/contact/contact.php:234
|
1133 |
msgid "reCAPTCHA Secret Key"
|
1134 |
msgstr ""
|
1135 |
|
1136 |
+
#: widgets/contact/contact.php:238
|
1137 |
msgid "Theme"
|
1138 |
msgstr ""
|
1139 |
|
1140 |
+
#: widgets/contact/contact.php:241
|
1141 |
msgid "Light"
|
1142 |
msgstr ""
|
1143 |
|
1144 |
+
#: widgets/contact/contact.php:242
|
1145 |
msgid "Dark"
|
1146 |
msgstr ""
|
1147 |
|
1148 |
+
#: widgets/contact/contact.php:247
|
1149 |
msgid "Challenge type"
|
1150 |
msgstr ""
|
1151 |
|
1152 |
+
#: widgets/contact/contact.php:250, widgets/image-grid/image-grid.php:54, widgets/image-grid/image-grid.php:63, widgets/price-table/price-table.php:69, widgets/simple-masonry/simple-masonry.php:54, widgets/testimonial/testimonial.php:71, widgets/testimonial/testimonial.php:187
|
1153 |
msgid "Image"
|
1154 |
msgstr ""
|
1155 |
|
1156 |
+
#: widgets/contact/contact.php:251
|
1157 |
msgid "Audio"
|
1158 |
msgstr ""
|
1159 |
|
1160 |
+
#: widgets/contact/contact.php:256, widgets/contact/contact.php:470, widgets/features/features.php:142, widgets/features/features.php:163, widgets/features/features.php:184, widgets/icon/icon.php:40
|
1161 |
msgid "Size"
|
1162 |
msgstr ""
|
1163 |
|
1164 |
+
#: widgets/contact/contact.php:260
|
1165 |
msgid "Compact"
|
1166 |
msgstr ""
|
1167 |
|
1168 |
+
#: widgets/contact/contact.php:268
|
1169 |
msgid "Akismet"
|
1170 |
msgstr ""
|
1171 |
|
1172 |
+
#: widgets/contact/contact.php:272
|
1173 |
msgid "Use Akismet filtering"
|
1174 |
msgstr ""
|
1175 |
|
1176 |
+
#: widgets/contact/contact.php:277
|
1177 |
msgid "Spam action"
|
1178 |
msgstr ""
|
1179 |
|
1180 |
+
#: widgets/contact/contact.php:279
|
1181 |
msgid "Show error message"
|
1182 |
msgstr ""
|
1183 |
|
1184 |
+
#: widgets/contact/contact.php:280
|
1185 |
msgid "Tag as spam in subject"
|
1186 |
msgstr ""
|
1187 |
|
1188 |
+
#: widgets/contact/contact.php:282
|
1189 |
msgid "How to handle submissions that are identified as spam."
|
1190 |
msgstr ""
|
1191 |
|
1192 |
+
#: widgets/contact/contact.php:298
|
1193 |
msgid "Container"
|
1194 |
msgstr ""
|
1195 |
|
1196 |
+
#: widgets/contact/contact.php:322, widgets/contact/contact.php:550
|
1197 |
msgid "Border style"
|
1198 |
msgstr ""
|
1199 |
|
1200 |
+
#: widgets/contact/contact.php:326, widgets/contact/contact.php:443, widgets/contact/contact.php:639, widgets/image/image.php:75
|
1201 |
msgid "Hidden"
|
1202 |
msgstr ""
|
1203 |
|
1204 |
+
#: widgets/contact/contact.php:327, widgets/contact/contact.php:444, widgets/contact/contact.php:555, widgets/contact/contact.php:630, widgets/headline/headline.php:187
|
1205 |
msgid "Dotted"
|
1206 |
msgstr ""
|
1207 |
|
1208 |
+
#: widgets/contact/contact.php:328, widgets/contact/contact.php:445, widgets/contact/contact.php:556, widgets/contact/contact.php:631, widgets/headline/headline.php:188
|
1209 |
msgid "Dashed"
|
1210 |
msgstr ""
|
1211 |
|
1212 |
+
#: widgets/contact/contact.php:329, widgets/contact/contact.php:446, widgets/contact/contact.php:554, widgets/contact/contact.php:632, widgets/headline/headline.php:186
|
1213 |
msgid "Solid"
|
1214 |
msgstr ""
|
1215 |
|
1216 |
+
#: widgets/contact/contact.php:330, widgets/contact/contact.php:447, widgets/contact/contact.php:633, widgets/headline/headline.php:189
|
1217 |
msgid "Double"
|
1218 |
msgstr ""
|
1219 |
|
1220 |
+
#: widgets/contact/contact.php:331, widgets/contact/contact.php:448, widgets/contact/contact.php:634, widgets/headline/headline.php:190
|
1221 |
msgid "Groove"
|
1222 |
msgstr ""
|
1223 |
|
1224 |
+
#: widgets/contact/contact.php:332, widgets/contact/contact.php:449, widgets/contact/contact.php:635, widgets/headline/headline.php:191
|
1225 |
msgid "Ridge"
|
1226 |
msgstr ""
|
1227 |
|
1228 |
+
#: widgets/contact/contact.php:333, widgets/contact/contact.php:450, widgets/contact/contact.php:636, widgets/headline/headline.php:192
|
1229 |
msgid "Inset"
|
1230 |
msgstr ""
|
1231 |
|
1232 |
+
#: widgets/contact/contact.php:334, widgets/contact/contact.php:451, widgets/contact/contact.php:637, widgets/headline/headline.php:193
|
1233 |
msgid "Outset"
|
1234 |
msgstr ""
|
1235 |
|
1236 |
+
#: widgets/contact/contact.php:342
|
1237 |
msgid "Field labels"
|
1238 |
msgstr ""
|
1239 |
|
1240 |
+
#: widgets/contact/contact.php:356, widgets/contact/contact.php:475, widgets/contact/contact.php:644, widgets/features/features.php:146, widgets/features/features.php:167, widgets/features/features.php:188, widgets/google-map/google-map.php:347, widgets/headline/headline.php:67, widgets/headline/headline.php:138, widgets/headline/headline.php:198, widgets/icon/icon.php:35, widgets/taxonomy/taxonomy.php:55
|
1241 |
msgid "Color"
|
1242 |
msgstr ""
|
1243 |
|
1244 |
+
#: widgets/contact/contact.php:361
|
1245 |
msgid "Position"
|
1246 |
msgstr ""
|
1247 |
|
1248 |
+
#: widgets/contact/contact.php:364, widgets/image/image.php:76
|
1249 |
msgid "Above"
|
1250 |
msgstr ""
|
1251 |
|
1252 |
+
#: widgets/contact/contact.php:365, widgets/image/image.php:77
|
1253 |
msgid "Below"
|
1254 |
msgstr ""
|
1255 |
|
1256 |
+
#: widgets/contact/contact.php:368
|
1257 |
msgid "Inside"
|
1258 |
msgstr ""
|
1259 |
|
1260 |
+
#: widgets/contact/contact.php:401, widgets/headline/headline.php:80, widgets/headline/headline.php:151
|
1261 |
msgid "Font Size"
|
1262 |
msgstr ""
|
1263 |
|
1264 |
+
#: widgets/contact/contact.php:405, widgets/testimonial/testimonial.php:225
|
1265 |
msgid "Text Color"
|
1266 |
msgstr ""
|
1267 |
|
1268 |
+
#: widgets/contact/contact.php:409, widgets/social-media-buttons/social-media-buttons.php:170
|
1269 |
msgid "Margin"
|
1270 |
msgstr ""
|
1271 |
|
1272 |
+
#: widgets/contact/contact.php:417, widgets/google-map/google-map.php:93, widgets/hero/hero.php:162, widgets/layout-slider/layout-slider.php:124
|
1273 |
msgid "Height"
|
1274 |
msgstr ""
|
1275 |
|
1276 |
+
#: widgets/contact/contact.php:421
|
1277 |
+
msgid "Text Area Height"
|
1278 |
+
msgstr ""
|
1279 |
+
|
1280 |
+
#: widgets/contact/contact.php:425, widgets/hero/hero.php:86, widgets/layout-slider/layout-slider.php:52
|
1281 |
msgid "Background"
|
1282 |
msgstr ""
|
1283 |
|
1284 |
+
#: widgets/contact/contact.php:439
|
1285 |
msgid " Border style"
|
1286 |
msgstr ""
|
1287 |
|
1288 |
+
#: widgets/contact/contact.php:456, widgets/contact/contact.php:566
|
1289 |
msgid "Border rounding"
|
1290 |
msgstr ""
|
1291 |
|
1292 |
+
#: widgets/contact/contact.php:466
|
1293 |
msgid "Field descriptions"
|
1294 |
msgstr ""
|
1295 |
|
1296 |
+
#: widgets/contact/contact.php:480, widgets/contact/contact.php:627, widgets/google-map/google-map.php:300, widgets/headline/headline.php:182
|
1297 |
msgid "Style"
|
1298 |
msgstr ""
|
1299 |
|
1300 |
+
#: widgets/contact/contact.php:483
|
1301 |
msgid "Italic"
|
1302 |
msgstr ""
|
1303 |
|
1304 |
+
#: widgets/contact/contact.php:492
|
1305 |
msgid "Error messages"
|
1306 |
msgstr ""
|
1307 |
|
1308 |
+
#: widgets/contact/contact.php:496
|
1309 |
msgid "Error background color"
|
1310 |
msgstr ""
|
1311 |
|
1312 |
+
#: widgets/contact/contact.php:501
|
1313 |
msgid "Error border color"
|
1314 |
msgstr ""
|
1315 |
|
1316 |
+
#: widgets/contact/contact.php:506
|
1317 |
msgid "Error text color"
|
1318 |
msgstr ""
|
1319 |
|
1320 |
+
#: widgets/contact/contact.php:511
|
1321 |
msgid "Error padding"
|
1322 |
msgstr ""
|
1323 |
|
1324 |
+
#: widgets/contact/contact.php:516
|
1325 |
msgid "Error margin"
|
1326 |
msgstr ""
|
1327 |
|
1328 |
+
#: widgets/contact/contact.php:524
|
1329 |
msgid "Submit button"
|
1330 |
msgstr ""
|
1331 |
|
1332 |
+
#: widgets/contact/contact.php:528
|
1333 |
msgid "Style submit button"
|
1334 |
msgstr ""
|
1335 |
|
1336 |
+
#: widgets/contact/contact.php:529
|
1337 |
msgid "Style the button or leave it with default theme styling."
|
1338 |
msgstr ""
|
1339 |
|
1340 |
+
#: widgets/contact/contact.php:540
|
1341 |
msgid "Gradient intensity"
|
1342 |
msgstr ""
|
1343 |
|
1344 |
+
#: widgets/contact/contact.php:583
|
1345 |
msgid "Font weight"
|
1346 |
msgstr ""
|
1347 |
|
1348 |
+
#: widgets/contact/contact.php:587
|
1349 |
msgid "Semi-bold"
|
1350 |
msgstr ""
|
1351 |
|
1352 |
+
#: widgets/contact/contact.php:588
|
1353 |
msgid "Bold"
|
1354 |
msgstr ""
|
1355 |
|
1356 |
+
#: widgets/contact/contact.php:612
|
1357 |
msgid "Inset highlight"
|
1358 |
msgstr ""
|
1359 |
|
1360 |
+
#: widgets/contact/contact.php:613
|
1361 |
msgid "The white highlight at the bottom of the button"
|
1362 |
msgstr ""
|
1363 |
|
1364 |
+
#: widgets/contact/contact.php:623
|
1365 |
msgid "Input focus"
|
1366 |
msgstr ""
|
1367 |
|
1368 |
+
#: widgets/contact/contact.php:670
|
1369 |
msgid "Get more form fields for the Contact Form Widget in %s"
|
1370 |
msgstr ""
|
1371 |
|
1372 |
+
#: widgets/contact/contact.php:671
|
1373 |
msgid "SiteOrigin Premium"
|
1374 |
msgstr ""
|
1375 |
|
1376 |
+
#: widgets/contact/contact.php:697
|
1377 |
msgid "Your Name"
|
1378 |
msgstr ""
|
1379 |
|
1380 |
+
#: widgets/contact/contact.php:700
|
1381 |
msgid "Please enter your name"
|
1382 |
msgstr ""
|
1383 |
|
1384 |
+
#: widgets/contact/contact.php:705
|
1385 |
msgid "Your Email"
|
1386 |
msgstr ""
|
1387 |
|
1388 |
+
#: widgets/contact/contact.php:708
|
1389 |
msgid "Please enter a valid email address"
|
1390 |
msgstr ""
|
1391 |
|
1392 |
+
#: widgets/contact/contact.php:716
|
1393 |
msgid "Please enter a subject"
|
1394 |
msgstr ""
|
1395 |
|
1396 |
+
#: widgets/contact/contact.php:721
|
1397 |
msgid "Message"
|
1398 |
msgstr ""
|
1399 |
|
1400 |
+
#: widgets/contact/contact.php:724
|
1401 |
msgid "Please write something"
|
1402 |
msgstr ""
|
1403 |
|
1404 |
+
#: widgets/contact/contact.php:1021
|
1405 |
msgid "Invalid email address."
|
1406 |
msgstr ""
|
1407 |
|
1408 |
+
#: widgets/contact/contact.php:1100
|
1409 |
msgid "Error sending email, please try again later."
|
1410 |
msgstr ""
|
1411 |
|
1412 |
+
#: widgets/contact/contact.php:1126
|
1413 |
msgid "A valid email is required"
|
1414 |
msgstr ""
|
1415 |
|
1416 |
+
#: widgets/contact/contact.php:1128
|
1417 |
msgid "The email address is invalid"
|
1418 |
msgstr ""
|
1419 |
|
1420 |
+
#: widgets/contact/contact.php:1132
|
1421 |
msgid "Missing subject"
|
1422 |
msgstr ""
|
1423 |
|
1424 |
+
#: widgets/contact/contact.php:1166
|
1425 |
msgid "Error validating your Captcha response."
|
1426 |
msgstr ""
|
1427 |
|
1428 |
+
#: widgets/contact/contact.php:1198
|
1429 |
msgid "Unfortunately our system identified your message as spam."
|
1430 |
msgstr ""
|
1431 |
|
1432 |
+
#: widgets/contact/contact.php:1206
|
1433 |
msgctxt "The name of who sent this email"
|
1434 |
msgid "From"
|
1435 |
msgstr ""
|
1436 |
|
1437 |
+
#: widgets/cta/cta.php:15
|
1438 |
msgid "SiteOrigin Call-to-action"
|
1439 |
msgstr ""
|
1440 |
|
1441 |
+
#: widgets/cta/cta.php:17
|
1442 |
msgid "A simple call-to-action widget with massive power."
|
1443 |
msgstr ""
|
1444 |
|
1445 |
+
#: widgets/cta/cta.php:68, widgets/price-table/price-table.php:64
|
1446 |
msgid "Subtitle"
|
1447 |
msgstr ""
|
1448 |
|
1449 |
+
#: widgets/cta/cta.php:85
|
1450 |
+
msgid "Use default background colors"
|
1451 |
+
msgstr ""
|
1452 |
+
|
1453 |
+
#: widgets/cta/cta.php:94
|
1454 |
msgid "Subtitle color"
|
1455 |
msgstr ""
|
1456 |
|
1457 |
+
#: widgets/cta/cta.php:98
|
1458 |
msgid "Button align"
|
1459 |
msgstr ""
|
1460 |
|
1461 |
+
#: widgets/cta/cta.php:111, widgets/hero/hero.php:65, widgets/hero/hero.php:77
|
1462 |
msgid "Button"
|
1463 |
msgstr ""
|
1464 |
|
1465 |
+
#: widgets/cta/cta.php:154, widgets/testimonial/testimonial.php:362
|
1466 |
msgid "Get more font customization options with %sSiteOrigin Premium%s"
|
1467 |
msgstr ""
|
1468 |
|
1469 |
+
#: widgets/editor/editor.php:16
|
1470 |
msgid "SiteOrigin Editor"
|
1471 |
msgstr ""
|
1472 |
|
1473 |
+
#: widgets/editor/editor.php:18
|
1474 |
msgid "A rich-text, text editor."
|
1475 |
msgstr ""
|
1476 |
|
1477 |
+
#: widgets/editor/editor.php:42
|
1478 |
msgid "Automatically add paragraphs"
|
1479 |
msgstr ""
|
1480 |
|
1481 |
+
#: widgets/editor/editor.php:52
|
1482 |
msgid "Enable the \"Automatically add paragraphs\" setting by default."
|
1483 |
msgstr ""
|
1484 |
|
1485 |
+
#: widgets/features/features.php:13
|
1486 |
msgid "SiteOrigin Features"
|
1487 |
msgstr ""
|
1488 |
|
1489 |
+
#: widgets/features/features.php:15
|
1490 |
msgid "Displays a list of features."
|
1491 |
msgstr ""
|
1492 |
|
1493 |
+
#: widgets/features/features.php:42, widgets/price-table/price-table.php:100
|
1494 |
msgid "Features"
|
1495 |
msgstr ""
|
1496 |
|
1497 |
+
#: widgets/features/features.php:43, widgets/price-table/price-table.php:101
|
1498 |
msgid "Feature"
|
1499 |
msgstr ""
|
1500 |
|
1501 |
+
#: widgets/features/features.php:55
|
1502 |
msgid "Container color"
|
1503 |
msgstr ""
|
1504 |
|
1505 |
+
#: widgets/features/features.php:61
|
1506 |
msgid "Container Position"
|
1507 |
msgstr ""
|
1508 |
|
1509 |
+
#: widgets/features/features.php:80, widgets/social-media-buttons/social-media-buttons.php:77
|
1510 |
msgid "Icon title"
|
1511 |
msgstr ""
|
1512 |
|
1513 |
+
#: widgets/features/features.php:92
|
1514 |
msgid "Icon image"
|
1515 |
msgstr ""
|
1516 |
|
1517 |
+
#: widgets/features/features.php:93
|
1518 |
msgid "Use your own icon image."
|
1519 |
msgstr ""
|
1520 |
|
1521 |
+
#: widgets/features/features.php:98
|
1522 |
msgid "Icon image size"
|
1523 |
msgstr ""
|
1524 |
|
1525 |
+
#: widgets/features/features.php:105, widgets/image/image.php:67
|
1526 |
msgid "Title text"
|
1527 |
msgstr ""
|
1528 |
|
1529 |
+
#: widgets/features/features.php:115
|
1530 |
msgid "More link text"
|
1531 |
msgstr ""
|
1532 |
|
1533 |
+
#: widgets/features/features.php:120
|
1534 |
msgid "More link URL"
|
1535 |
msgstr ""
|
1536 |
|
1537 |
+
#: widgets/features/features.php:127
|
1538 |
msgid "Font Design"
|
1539 |
msgstr ""
|
1540 |
|
1541 |
+
#: widgets/features/features.php:174
|
1542 |
msgid "More Link"
|
1543 |
msgstr ""
|
1544 |
|
1545 |
+
#: widgets/features/features.php:197
|
1546 |
msgid "Container shape"
|
1547 |
msgstr ""
|
1548 |
|
1549 |
+
#: widgets/features/features.php:204
|
1550 |
msgid "Container size"
|
1551 |
msgstr ""
|
1552 |
|
1553 |
+
#: widgets/features/features.php:210, widgets/social-media-buttons/social-media-buttons.php:116
|
1554 |
msgid "Icon size"
|
1555 |
msgstr ""
|
1556 |
|
1557 |
+
#: widgets/features/features.php:216
|
1558 |
msgid "Use icon size for custom icon"
|
1559 |
msgstr ""
|
1560 |
|
1561 |
+
#: widgets/features/features.php:222
|
1562 |
msgid "Features per row"
|
1563 |
msgstr ""
|
1564 |
|
1565 |
+
#: widgets/features/features.php:228
|
1566 |
msgid "Responsive layout"
|
1567 |
msgstr ""
|
1568 |
|
1569 |
+
#: widgets/features/features.php:234
|
1570 |
msgid "Link feature title to more URL"
|
1571 |
msgstr ""
|
1572 |
|
1573 |
+
#: widgets/features/features.php:240
|
1574 |
msgid "Link icon to more URL"
|
1575 |
msgstr ""
|
1576 |
|
1577 |
+
#: widgets/features/features.php:246
|
1578 |
msgid "Open more URL in a new window"
|
1579 |
msgstr ""
|
1580 |
|
1581 |
+
#: widgets/features/features.php:297, widgets/hero/hero.php:433
|
1582 |
msgid "Responsive Breakpoint"
|
1583 |
msgstr ""
|
1584 |
|
1585 |
+
#: widgets/features/features.php:299
|
1586 |
msgid "This setting controls when the features widget will collapse for mobile devices. The default value is 520px"
|
1587 |
msgstr ""
|
1588 |
|
1589 |
+
#: widgets/google-map/google-map.php:16
|
1590 |
msgid "SiteOrigin Google Maps"
|
1591 |
msgstr ""
|
1592 |
|
1593 |
+
#: widgets/google-map/google-map.php:18
|
1594 |
msgid "A Google Maps widget."
|
1595 |
msgstr ""
|
1596 |
|
1597 |
+
#: widgets/google-map/google-map.php:37
|
1598 |
msgid "Map center"
|
1599 |
msgstr ""
|
1600 |
|
1601 |
+
#: widgets/google-map/google-map.php:39
|
1602 |
msgid "The name of a place, town, city, or even a country. Can be an exact address too. Please ensure you have enabled the <strong>Geocoding API</strong> in the %sGoogle APIs Dashboard%s."
|
1603 |
msgstr ""
|
1604 |
|
1605 |
+
#: widgets/google-map/google-map.php:46, widgets/google-map/google-map.php:51, widgets/google-map/google-map.php:437
|
1606 |
msgid "API key"
|
1607 |
msgstr ""
|
1608 |
|
1609 |
+
#: widgets/google-map/google-map.php:54
|
1610 |
msgid "Enter your %sAPI key%s. Your map may not function correctly without one."
|
1611 |
msgstr ""
|
1612 |
|
1613 |
+
#: widgets/google-map/google-map.php:65
|
1614 |
msgid "Set map display options."
|
1615 |
msgstr ""
|
1616 |
|
1617 |
+
#: widgets/google-map/google-map.php:70
|
1618 |
msgid "Map type"
|
1619 |
msgstr ""
|
1620 |
|
1621 |
+
#: widgets/google-map/google-map.php:76
|
1622 |
msgid "Interactive"
|
1623 |
msgstr ""
|
1624 |
|
1625 |
+
#: widgets/google-map/google-map.php:77
|
1626 |
msgid "Static image"
|
1627 |
msgstr ""
|
1628 |
|
1629 |
+
#: widgets/google-map/google-map.php:117
|
1630 |
msgid "Zoom level"
|
1631 |
msgstr ""
|
1632 |
|
1633 |
+
#: widgets/google-map/google-map.php:118
|
1634 |
msgid "A value from 0 (the world) to 21 (street level)."
|
1635 |
msgstr ""
|
1636 |
|
1637 |
+
#: widgets/google-map/google-map.php:132
|
1638 |
msgid "Scroll to zoom"
|
1639 |
msgstr ""
|
1640 |
|
1641 |
+
#: widgets/google-map/google-map.php:133
|
1642 |
msgid "Allow scrolling over the map to zoom in or out."
|
1643 |
msgstr ""
|
1644 |
|
1645 |
+
#: widgets/google-map/google-map.php:142
|
1646 |
msgid "Draggable"
|
1647 |
msgstr ""
|
1648 |
|
1649 |
+
#: widgets/google-map/google-map.php:143
|
1650 |
msgid "Allow dragging the map to move it around."
|
1651 |
msgstr ""
|
1652 |
|
1653 |
+
#: widgets/google-map/google-map.php:152
|
1654 |
msgid "Disable default UI"
|
1655 |
msgstr ""
|
1656 |
|
1657 |
+
#: widgets/google-map/google-map.php:153
|
1658 |
msgid "Hides the default Google Maps controls."
|
1659 |
msgstr ""
|
1660 |
|
1661 |
+
#: widgets/google-map/google-map.php:162
|
1662 |
msgid "Keep map centered"
|
1663 |
msgstr ""
|
1664 |
|
1665 |
+
#: widgets/google-map/google-map.php:163
|
1666 |
msgid "Keeps the map centered when it's container is resized."
|
1667 |
msgstr ""
|
1668 |
|
1669 |
+
#: widgets/google-map/google-map.php:167
|
1670 |
msgid "Fallback Image"
|
1671 |
msgstr ""
|
1672 |
|
1673 |
+
#: widgets/google-map/google-map.php:168
|
1674 |
msgid "This image will be displayed if there are any problems with displaying the specified map."
|
1675 |
msgstr ""
|
1676 |
|
1677 |
+
#: widgets/google-map/google-map.php:173
|
1678 |
msgid "Fallback Image Size"
|
1679 |
msgstr ""
|
1680 |
|
1681 |
+
#: widgets/google-map/google-map.php:179
|
1682 |
msgid "Markers"
|
1683 |
msgstr ""
|
1684 |
|
1685 |
+
#: widgets/google-map/google-map.php:181
|
1686 |
msgid "Use markers to identify points of interest on the map."
|
1687 |
msgstr ""
|
1688 |
|
1689 |
+
#: widgets/google-map/google-map.php:186
|
1690 |
msgid "Show marker at map center"
|
1691 |
msgstr ""
|
1692 |
|
1693 |
+
#: widgets/google-map/google-map.php:191
|
1694 |
msgid "Marker icon"
|
1695 |
msgstr ""
|
1696 |
|
1697 |
+
#: widgets/google-map/google-map.php:192
|
1698 |
msgid "Replaces the default map marker with your own image."
|
1699 |
msgstr ""
|
1700 |
|
1701 |
+
#: widgets/google-map/google-map.php:201
|
1702 |
msgid "Draggable markers"
|
1703 |
msgstr ""
|
1704 |
|
1705 |
+
#: widgets/google-map/google-map.php:205
|
1706 |
msgid "Marker positions"
|
1707 |
msgstr ""
|
1708 |
|
1709 |
+
#: widgets/google-map/google-map.php:206
|
1710 |
msgid "Please be aware that adding more than 10 markers may cause a slight delay before they appear, due to Google Geocoding API rate limits."
|
1711 |
msgstr ""
|
1712 |
|
1713 |
+
#: widgets/google-map/google-map.php:207
|
1714 |
msgid "Marker"
|
1715 |
msgstr ""
|
1716 |
|
1717 |
+
#: widgets/google-map/google-map.php:217
|
1718 |
msgid "Place"
|
1719 |
msgstr ""
|
1720 |
|
1721 |
+
#: widgets/google-map/google-map.php:222
|
1722 |
msgid "Info Window Content"
|
1723 |
msgstr ""
|
1724 |
|
1725 |
+
#: widgets/google-map/google-map.php:226
|
1726 |
msgid "Info Window max width"
|
1727 |
msgstr ""
|
1728 |
|
1729 |
+
#: widgets/google-map/google-map.php:231
|
1730 |
msgid "Custom Marker icon"
|
1731 |
msgstr ""
|
1732 |
|
1733 |
+
#: widgets/google-map/google-map.php:232
|
1734 |
msgid "Replace the default map marker with your own image for each marker."
|
1735 |
msgstr ""
|
1736 |
|
1737 |
+
#: widgets/google-map/google-map.php:238
|
1738 |
msgid "When should Info Windows be displayed?"
|
1739 |
msgstr ""
|
1740 |
|
1741 |
+
#: widgets/google-map/google-map.php:241
|
1742 |
msgid "Click"
|
1743 |
msgstr ""
|
1744 |
|
1745 |
+
#: widgets/google-map/google-map.php:242
|
1746 |
msgid "Mouse over"
|
1747 |
msgstr ""
|
1748 |
|
1749 |
+
#: widgets/google-map/google-map.php:243
|
1750 |
msgid "Always"
|
1751 |
msgstr ""
|
1752 |
|
1753 |
+
#: widgets/google-map/google-map.php:248
|
1754 |
msgid "Allow multiple simultaneous Info Windows?"
|
1755 |
msgstr ""
|
1756 |
|
1757 |
+
#: widgets/google-map/google-map.php:256
|
1758 |
msgid "Styles"
|
1759 |
msgstr ""
|
1760 |
|
1761 |
+
#: widgets/google-map/google-map.php:258
|
1762 |
msgid "Apply custom colors to map features, or hide them completely."
|
1763 |
msgstr ""
|
1764 |
|
1765 |
+
#: widgets/google-map/google-map.php:263
|
1766 |
msgid "Map styles"
|
1767 |
msgstr ""
|
1768 |
|
1769 |
+
#: widgets/google-map/google-map.php:270
|
1770 |
msgid "Custom"
|
1771 |
msgstr ""
|
1772 |
|
1773 |
+
#: widgets/google-map/google-map.php:271
|
1774 |
msgid "Predefined Styles"
|
1775 |
msgstr ""
|
1776 |
|
1777 |
+
#: widgets/google-map/google-map.php:280
|
1778 |
msgid "Styled map name"
|
1779 |
msgstr ""
|
1780 |
|
1781 |
+
#: widgets/google-map/google-map.php:290
|
1782 |
msgid "Raw JSON styles"
|
1783 |
msgstr ""
|
1784 |
|
1785 |
+
#: widgets/google-map/google-map.php:291
|
1786 |
msgid "Copy and paste predefined styles here from <a href=\"http://snazzymaps.com/\" target=\"_blank\" rel=\"noopener noreferrer\">Snazzy Maps</a>."
|
1787 |
msgstr ""
|
1788 |
|
1789 |
+
#: widgets/google-map/google-map.php:299
|
1790 |
msgid "Custom map styles"
|
1791 |
msgstr ""
|
1792 |
|
1793 |
+
#: widgets/google-map/google-map.php:310
|
1794 |
msgid "Select map feature to style"
|
1795 |
msgstr ""
|
1796 |
|
1797 |
+
#: widgets/google-map/google-map.php:312
|
1798 |
msgid "Water"
|
1799 |
msgstr ""
|
1800 |
|
1801 |
+
#: widgets/google-map/google-map.php:313
|
1802 |
msgid "Highways"
|
1803 |
msgstr ""
|
1804 |
|
1805 |
+
#: widgets/google-map/google-map.php:314
|
1806 |
msgid "Arterial roads"
|
1807 |
msgstr ""
|
1808 |
|
1809 |
+
#: widgets/google-map/google-map.php:315
|
1810 |
msgid "Local roads"
|
1811 |
msgstr ""
|
1812 |
|
1813 |
+
#: widgets/google-map/google-map.php:316
|
1814 |
msgid "Transit lines"
|
1815 |
msgstr ""
|
1816 |
|
1817 |
+
#: widgets/google-map/google-map.php:317
|
1818 |
msgid "Transit stations"
|
1819 |
msgstr ""
|
1820 |
|
1821 |
+
#: widgets/google-map/google-map.php:318
|
1822 |
msgid "Man-made landscape"
|
1823 |
msgstr ""
|
1824 |
|
1825 |
+
#: widgets/google-map/google-map.php:319
|
1826 |
msgid "Natural landscape landcover"
|
1827 |
msgstr ""
|
1828 |
|
1829 |
+
#: widgets/google-map/google-map.php:320
|
1830 |
msgid "Natural landscape terrain"
|
1831 |
msgstr ""
|
1832 |
|
1833 |
+
#: widgets/google-map/google-map.php:321
|
1834 |
msgid "Point of interest - Attractions"
|
1835 |
msgstr ""
|
1836 |
|
1837 |
+
#: widgets/google-map/google-map.php:322
|
1838 |
msgid "Point of interest - Business"
|
1839 |
msgstr ""
|
1840 |
|
1841 |
+
#: widgets/google-map/google-map.php:323
|
1842 |
msgid "Point of interest - Government"
|
1843 |
msgstr ""
|
1844 |
|
1845 |
+
#: widgets/google-map/google-map.php:324
|
1846 |
msgid "Point of interest - Medical"
|
1847 |
msgstr ""
|
1848 |
|
1849 |
+
#: widgets/google-map/google-map.php:325
|
1850 |
msgid "Point of interest - Parks"
|
1851 |
msgstr ""
|
1852 |
|
1853 |
+
#: widgets/google-map/google-map.php:326
|
1854 |
msgid "Point of interest - Places of worship"
|
1855 |
msgstr ""
|
1856 |
|
1857 |
+
#: widgets/google-map/google-map.php:327
|
1858 |
msgid "Point of interest - Schools"
|
1859 |
msgstr ""
|
1860 |
|
1861 |
+
#: widgets/google-map/google-map.php:328
|
1862 |
msgid "Point of interest - Sports complexes"
|
1863 |
msgstr ""
|
1864 |
|
1865 |
+
#: widgets/google-map/google-map.php:333
|
1866 |
msgid "Select element type to style"
|
1867 |
msgstr ""
|
1868 |
|
1869 |
+
#: widgets/google-map/google-map.php:335
|
1870 |
msgid "Geometry"
|
1871 |
msgstr ""
|
1872 |
|
1873 |
+
#: widgets/google-map/google-map.php:336
|
1874 |
msgid "Labels"
|
1875 |
msgstr ""
|
1876 |
|
1877 |
+
#: widgets/google-map/google-map.php:343
|
1878 |
msgid "Visible"
|
1879 |
msgstr ""
|
1880 |
|
1881 |
+
#: widgets/google-map/google-map.php:355
|
1882 |
msgid "Directions"
|
1883 |
msgstr ""
|
1884 |
|
1885 |
+
#: widgets/google-map/google-map.php:362
|
1886 |
msgid "Display a route on your map, with waypoints between your starting point and destination. Please ensure you have enabled the <strong>Directions API</strong> in the %sGoogle APIs Dashboard%s."
|
1887 |
msgstr ""
|
1888 |
|
1889 |
+
#: widgets/google-map/google-map.php:369
|
1890 |
msgid "Starting point"
|
1891 |
msgstr ""
|
1892 |
|
1893 |
+
#: widgets/google-map/google-map.php:373
|
1894 |
msgid "Destination"
|
1895 |
msgstr ""
|
1896 |
|
1897 |
+
#: widgets/google-map/google-map.php:377
|
1898 |
msgid "Travel mode"
|
1899 |
msgstr ""
|
1900 |
|
1901 |
+
#: widgets/google-map/google-map.php:380
|
1902 |
msgid "Driving"
|
1903 |
msgstr ""
|
1904 |
|
1905 |
+
#: widgets/google-map/google-map.php:381
|
1906 |
msgid "Walking"
|
1907 |
msgstr ""
|
1908 |
|
1909 |
+
#: widgets/google-map/google-map.php:382
|
1910 |
msgid "Bicycling"
|
1911 |
msgstr ""
|
1912 |
|
1913 |
+
#: widgets/google-map/google-map.php:383
|
1914 |
msgid "Transit"
|
1915 |
msgstr ""
|
1916 |
|
1917 |
+
#: widgets/google-map/google-map.php:388
|
1918 |
msgid "Avoid highways"
|
1919 |
msgstr ""
|
1920 |
|
1921 |
+
#: widgets/google-map/google-map.php:392
|
1922 |
msgid "Avoid tolls"
|
1923 |
msgstr ""
|
1924 |
|
1925 |
+
#: widgets/google-map/google-map.php:396
|
1926 |
msgid "Preserve viewport"
|
1927 |
msgstr ""
|
1928 |
|
1929 |
+
#: widgets/google-map/google-map.php:397
|
1930 |
msgid "This will prevent the map from centering and zooming around the directions. Use this when you have other markers or features on your map."
|
1931 |
msgstr ""
|
1932 |
|
1933 |
+
#: widgets/google-map/google-map.php:401
|
1934 |
msgid "Waypoints"
|
1935 |
msgstr ""
|
1936 |
|
1937 |
+
#: widgets/google-map/google-map.php:402
|
1938 |
msgid "Waypoint"
|
1939 |
msgstr ""
|
1940 |
|
1941 |
+
#: widgets/google-map/google-map.php:412, widgets/testimonial/testimonial.php:65
|
1942 |
msgid "Location"
|
1943 |
msgstr ""
|
1944 |
|
1945 |
+
#: widgets/google-map/google-map.php:417
|
1946 |
msgid "Stopover"
|
1947 |
msgstr ""
|
1948 |
|
1949 |
+
#: widgets/google-map/google-map.php:418
|
1950 |
msgid "Whether or not this is a stop on the route or just a route preference."
|
1951 |
msgstr ""
|
1952 |
|
1953 |
+
#: widgets/google-map/google-map.php:424
|
1954 |
msgid "Optimize waypoints"
|
1955 |
msgstr ""
|
1956 |
|
1957 |
+
#: widgets/google-map/google-map.php:426
|
1958 |
msgid "Allow the Google Maps service to reorder waypoints for the shortest travelling distance."
|
1959 |
msgstr ""
|
1960 |
|
1961 |
+
#: widgets/google-map/google-map.php:440
|
1962 |
msgid "Enter your %sAPI key%s. Your map won't function correctly without one."
|
1963 |
msgstr ""
|
1964 |
|
1965 |
+
#: widgets/google-map/google-map.php:552
|
1966 |
msgid "There were no results for the place you entered. Please try another."
|
1967 |
msgstr ""
|
1968 |
|
1969 |
+
#: widgets/google-map/google-map.php:605
|
1970 |
msgid "Custom Map"
|
1971 |
msgstr ""
|
1972 |
|
1973 |
+
#: widgets/headline/headline.php:16
|
1974 |
msgid "SiteOrigin Headline"
|
1975 |
msgstr ""
|
1976 |
|
1977 |
+
#: widgets/headline/headline.php:18
|
1978 |
msgid "A headline widget."
|
1979 |
msgstr ""
|
1980 |
|
1981 |
+
#: widgets/headline/headline.php:35, widgets/headline/headline.php:235
|
1982 |
msgid "Headline"
|
1983 |
msgstr ""
|
1984 |
|
1985 |
+
#: widgets/headline/headline.php:53, widgets/headline/headline.php:124
|
1986 |
msgid "HTML Tag"
|
1987 |
msgstr ""
|
1988 |
|
1989 |
+
#: widgets/headline/headline.php:56, widgets/headline/headline.php:127
|
1990 |
msgid "H1"
|
1991 |
msgstr ""
|
1992 |
|
1993 |
+
#: widgets/headline/headline.php:57, widgets/headline/headline.php:128
|
1994 |
msgid "H2"
|
1995 |
msgstr ""
|
1996 |
|
1997 |
+
#: widgets/headline/headline.php:58, widgets/headline/headline.php:129
|
1998 |
msgid "H3"
|
1999 |
msgstr ""
|
2000 |
|
2001 |
+
#: widgets/headline/headline.php:59, widgets/headline/headline.php:130
|
2002 |
msgid "H4"
|
2003 |
msgstr ""
|
2004 |
|
2005 |
+
#: widgets/headline/headline.php:60, widgets/headline/headline.php:131
|
2006 |
msgid "H5"
|
2007 |
msgstr ""
|
2008 |
|
2009 |
+
#: widgets/headline/headline.php:61, widgets/headline/headline.php:132
|
2010 |
msgid "H6"
|
2011 |
msgstr ""
|
2012 |
|
2013 |
+
#: widgets/headline/headline.php:62, widgets/headline/headline.php:133
|
2014 |
msgid "Paragraph"
|
2015 |
msgstr ""
|
2016 |
|
2017 |
+
#: widgets/headline/headline.php:71, widgets/headline/headline.php:142
|
2018 |
msgid "Hover Color"
|
2019 |
msgstr ""
|
2020 |
|
2021 |
+
#: widgets/headline/headline.php:84, widgets/headline/headline.php:155, widgets/headline/headline.php:210, widgets/icon/icon.php:45
|
2022 |
msgid "Alignment"
|
2023 |
msgstr ""
|
2024 |
|
2025 |
+
#: widgets/headline/headline.php:95, widgets/headline/headline.php:166
|
2026 |
msgid "Line Height"
|
2027 |
msgstr ""
|
2028 |
|
2029 |
+
#: widgets/headline/headline.php:99, widgets/headline/headline.php:170, widgets/headline/headline.php:225
|
2030 |
msgid "Top and Bottom Margin"
|
2031 |
msgstr ""
|
2032 |
|
2033 |
+
#: widgets/headline/headline.php:106
|
2034 |
msgid "Sub headline"
|
2035 |
msgstr ""
|
2036 |
|
2037 |
+
#: widgets/headline/headline.php:177, widgets/headline/headline.php:236
|
2038 |
msgid "Divider"
|
2039 |
msgstr ""
|
2040 |
|
2041 |
+
#: widgets/headline/headline.php:203
|
2042 |
msgid "Thickness"
|
2043 |
msgstr ""
|
2044 |
|
2045 |
+
#: widgets/headline/headline.php:220
|
2046 |
msgid "Divider Width"
|
2047 |
msgstr ""
|
2048 |
|
2049 |
+
#: widgets/headline/headline.php:233
|
2050 |
msgid "Element Order"
|
2051 |
msgstr ""
|
2052 |
|
2053 |
+
#: widgets/headline/headline.php:237
|
2054 |
msgid "Sub Headline"
|
2055 |
msgstr ""
|
2056 |
|
2057 |
+
#: widgets/headline/headline.php:244, widgets/hero/hero.php:217
|
2058 |
msgid "Use FitText"
|
2059 |
msgstr ""
|
2060 |
|
2061 |
+
#: widgets/headline/headline.php:245, widgets/hero/hero.php:218
|
2062 |
msgid "Dynamically adjust your heading font size based on screen size."
|
2063 |
msgstr ""
|
2064 |
|
2065 |
+
#: widgets/headline/headline.php:258, widgets/hero/hero.php:231
|
2066 |
msgid "FitText Compressor Strength"
|
2067 |
msgstr ""
|
2068 |
|
2069 |
+
#: widgets/headline/headline.php:259, widgets/hero/hero.php:232
|
2070 |
msgid "How aggressively FitText should resize your heading."
|
2071 |
msgstr ""
|
2072 |
|
2073 |
+
#: widgets/hero/hero.php:18
|
2074 |
msgid "SiteOrigin Hero"
|
2075 |
msgstr ""
|
2076 |
|
2077 |
+
#: widgets/hero/hero.php:20
|
2078 |
msgid "A big hero image with a few settings to make it your own."
|
2079 |
msgstr ""
|
2080 |
|
2081 |
+
#: widgets/hero/hero.php:47
|
2082 |
msgid "Hero frames"
|
2083 |
msgstr ""
|
2084 |
|
2085 |
+
#: widgets/hero/hero.php:48, widgets/layout-slider/layout-slider.php:35, widgets/slider/slider.php:34
|
2086 |
msgid "Frame"
|
2087 |
msgstr ""
|
2088 |
|
2089 |
+
#: widgets/hero/hero.php:64, widgets/taxonomy/taxonomy.php:49
|
2090 |
msgid "Buttons"
|
2091 |
msgstr ""
|
2092 |
|
2093 |
+
#: widgets/hero/hero.php:66
|
2094 |
msgid "Add [buttons] shortcode to the content to insert these buttons."
|
2095 |
msgstr ""
|
2096 |
|
2097 |
+
#: widgets/hero/hero.php:90, widgets/layout-slider/layout-slider.php:56, widgets/slider/slider.php:56
|
2098 |
msgid "Background image"
|
2099 |
msgstr ""
|
2100 |
|
2101 |
+
#: widgets/hero/hero.php:97, widgets/image-grid/image-grid.php:86, widgets/image/image.php:38, widgets/testimonial/testimonial.php:130, widgets/testimonial/testimonial.php:159, widgets/testimonial/testimonial.php:201
|
2102 |
msgid "Image size"
|
2103 |
msgstr ""
|
2104 |
|
2105 |
+
#: widgets/hero/hero.php:102, widgets/layout-slider/layout-slider.php:63, widgets/slider/slider.php:67
|
2106 |
msgid "Background image type"
|
2107 |
msgstr ""
|
2108 |
|
2109 |
+
#: widgets/hero/hero.php:104, widgets/slider/slider.php:69
|
2110 |
msgid "Cover"
|
2111 |
msgstr ""
|
2112 |
|
2113 |
+
#: widgets/hero/hero.php:110, widgets/layout-slider/layout-slider.php:72
|
2114 |
msgid "Background image opacity"
|
2115 |
msgstr ""
|
2116 |
|
2117 |
+
#: widgets/hero/hero.php:130, widgets/layout-slider/layout-slider.php:92
|
2118 |
msgid "Open URL in a new window"
|
2119 |
msgstr ""
|
2120 |
|
2121 |
+
#: widgets/hero/hero.php:135, widgets/layout-slider/layout-slider.php:97, widgets/slider/slider.php:43
|
2122 |
msgid "Video"
|
2123 |
msgstr ""
|
2124 |
|
2125 |
+
#: widgets/hero/hero.php:136, widgets/layout-slider/layout-slider.php:98, widgets/slider/slider.php:44
|
2126 |
msgid "Background videos"
|
2127 |
msgstr ""
|
2128 |
|
2129 |
+
#: widgets/hero/hero.php:151, widgets/layout-slider/layout-slider.php:113
|
2130 |
msgid "Slider Controls"
|
2131 |
msgstr ""
|
2132 |
|
2133 |
+
#: widgets/hero/hero.php:157, widgets/layout-slider/layout-slider.php:119
|
2134 |
msgid "Design and Layout"
|
2135 |
msgstr ""
|
2136 |
|
2137 |
+
#: widgets/hero/hero.php:168
|
2138 |
msgid "Responsive Height"
|
2139 |
msgstr ""
|
2140 |
|
2141 |
+
#: widgets/hero/hero.php:174, widgets/layout-slider/layout-slider.php:130
|
2142 |
msgid "Top and bottom padding"
|
2143 |
msgstr ""
|
2144 |
|
2145 |
+
#: widgets/hero/hero.php:180, widgets/layout-slider/layout-slider.php:136
|
2146 |
msgid "Extra top padding"
|
2147 |
msgstr ""
|
2148 |
|
2149 |
+
#: widgets/hero/hero.php:181, widgets/layout-slider/layout-slider.php:137
|
2150 |
msgid "Additional padding added to the top of the slider"
|
2151 |
msgstr ""
|
2152 |
|
2153 |
+
#: widgets/hero/hero.php:187, widgets/layout-slider/layout-slider.php:143
|
2154 |
msgid "Side padding"
|
2155 |
msgstr ""
|
2156 |
|
2157 |
+
#: widgets/hero/hero.php:193, widgets/layout-slider/layout-slider.php:149
|
2158 |
msgid "Maximum container width"
|
2159 |
msgstr ""
|
2160 |
|
2161 |
+
#: widgets/hero/hero.php:199
|
2162 |
msgid "Heading font"
|
2163 |
msgstr ""
|
2164 |
|
2165 |
+
#: widgets/hero/hero.php:205, widgets/layout-slider/layout-slider.php:155
|
2166 |
msgid "Heading color"
|
2167 |
msgstr ""
|
2168 |
|
2169 |
+
#: widgets/hero/hero.php:211, widgets/layout-slider/layout-slider.php:161
|
2170 |
msgid "Heading size"
|
2171 |
msgstr ""
|
2172 |
|
2173 |
+
#: widgets/hero/hero.php:242, widgets/layout-slider/layout-slider.php:167
|
2174 |
msgid "Heading shadow intensity"
|
2175 |
msgstr ""
|
2176 |
|
2177 |
+
#: widgets/hero/hero.php:255, widgets/layout-slider/layout-slider.php:175
|
2178 |
msgid "Text size"
|
2179 |
msgstr ""
|
2180 |
|
2181 |
+
#: widgets/hero/hero.php:260
|
2182 |
msgid "Text font"
|
2183 |
msgstr ""
|
2184 |
|
2185 |
+
#: widgets/hero/hero.php:265
|
2186 |
msgid "Text shadow intensity"
|
2187 |
msgstr ""
|
2188 |
|
2189 |
+
#: widgets/hero/hero.php:274
|
2190 |
msgid "Link color"
|
2191 |
msgstr ""
|
2192 |
|
2193 |
+
#: widgets/hero/hero.php:279
|
2194 |
msgid "Link Hover Color"
|
2195 |
msgstr ""
|
2196 |
|
2197 |
+
#: widgets/hero/hero.php:435
|
2198 |
msgid "This setting controls when the Hero widget will switch to the responsive height for slides. This breakpoint will only be used if a responsive height is set in the hero settings. The default value is 780px"
|
2199 |
msgstr ""
|
2200 |
|
2201 |
+
#: widgets/icon/icon.php:16
|
2202 |
msgid "SiteOrigin Icon"
|
2203 |
msgstr ""
|
2204 |
|
2205 |
+
#: widgets/icon/icon.php:18
|
2206 |
msgid "An icon widget."
|
2207 |
msgstr ""
|
2208 |
|
2209 |
+
#: widgets/image-grid/image-grid.php:15
|
2210 |
msgid "SiteOrigin Image Grid"
|
2211 |
msgstr ""
|
2212 |
|
2213 |
+
#: widgets/image-grid/image-grid.php:17
|
2214 |
msgid "Display a grid of images."
|
2215 |
msgstr ""
|
2216 |
|
2217 |
+
#: widgets/image-grid/image-grid.php:53, widgets/simple-masonry/simple-masonry.php:47
|
2218 |
msgid "Images"
|
2219 |
msgstr ""
|
2220 |
|
2221 |
+
#: widgets/image-grid/image-grid.php:67, widgets/price-table/price-table.php:74
|
2222 |
msgid "Image title"
|
2223 |
msgstr ""
|
2224 |
|
2225 |
+
#: widgets/image-grid/image-grid.php:71, widgets/social-media-buttons/social-media-buttons.php:73, widgets/testimonial/testimonial.php:87
|
2226 |
msgid "URL"
|
2227 |
msgstr ""
|
2228 |
|
2229 |
+
#: widgets/image-grid/image-grid.php:76, widgets/image/image.php:93, widgets/slider/slider.php:89
|
2230 |
msgid "Open in new window"
|
2231 |
msgstr ""
|
2232 |
|
2233 |
+
#: widgets/image-grid/image-grid.php:83
|
2234 |
msgid "Display"
|
2235 |
msgstr ""
|
2236 |
|
2237 |
+
#: widgets/image-grid/image-grid.php:92
|
2238 |
msgid "Maximum image height"
|
2239 |
msgstr ""
|
2240 |
|
2241 |
+
#: widgets/image-grid/image-grid.php:97
|
2242 |
msgid "Maximum image width"
|
2243 |
msgstr ""
|
2244 |
|
2245 |
+
#: widgets/image-grid/image-grid.php:102
|
2246 |
msgid "Spacing"
|
2247 |
msgstr ""
|
2248 |
|
2249 |
+
#: widgets/image-grid/image-grid.php:103
|
2250 |
msgid "Amount of spacing between images."
|
2251 |
msgstr ""
|
2252 |
|
2253 |
+
#: widgets/image-grid/image-grid.php:152, widgets/image/image.php:201
|
2254 |
msgid "Add a Lightbox to your images with %sSiteOrigin Premium%s"
|
2255 |
msgstr ""
|
2256 |
|
2257 |
+
#: widgets/image/image.php:13
|
2258 |
msgid "SiteOrigin Image"
|
2259 |
msgstr ""
|
2260 |
|
2261 |
+
#: widgets/image/image.php:15
|
2262 |
msgid "A simple image widget with massive power."
|
2263 |
msgstr ""
|
2264 |
|
2265 |
+
#: widgets/image/image.php:31
|
2266 |
msgid "Image file"
|
2267 |
msgstr ""
|
2268 |
|
2269 |
+
#: widgets/image/image.php:43
|
2270 |
msgid "Image alignment"
|
2271 |
msgstr ""
|
2272 |
|
2273 |
+
#: widgets/image/image.php:55
|
2274 |
msgid "Title alignment"
|
2275 |
msgstr ""
|
2276 |
|
2277 |
+
#: widgets/image/image.php:72
|
2278 |
msgid "Title position"
|
2279 |
msgstr ""
|
2280 |
|
2281 |
+
#: widgets/image/image.php:83
|
2282 |
msgid "Alt text"
|
2283 |
msgstr ""
|
2284 |
|
2285 |
+
#: widgets/image/image.php:99
|
2286 |
msgid "Bound"
|
2287 |
msgstr ""
|
2288 |
|
2289 |
+
#: widgets/image/image.php:100
|
2290 |
msgid "Make sure the image doesn't extend beyond its container."
|
2291 |
msgstr ""
|
2292 |
|
2293 |
+
#: widgets/image/image.php:105
|
2294 |
msgid "Full Width"
|
2295 |
msgstr ""
|
2296 |
|
2297 |
+
#: widgets/image/image.php:106
|
2298 |
msgid "Resize image to fit its container."
|
2299 |
msgstr ""
|
2300 |
|
2301 |
+
#: widgets/layout-slider/layout-slider.php:18
|
2302 |
msgid "SiteOrigin Layout Slider"
|
2303 |
msgstr ""
|
2304 |
|
2305 |
+
#: widgets/layout-slider/layout-slider.php:20
|
2306 |
msgid "A slider that allows you to create responsive columnized content for each slide."
|
2307 |
msgstr ""
|
2308 |
|
2309 |
+
#: widgets/layout-slider/layout-slider.php:34, widgets/slider/slider.php:33
|
2310 |
msgid "Slider frames"
|
2311 |
msgstr ""
|
2312 |
|
2313 |
+
#: widgets/layout-slider/layout-slider.php:66, widgets/slider/slider.php:70
|
2314 |
msgid "Tile"
|
2315 |
msgstr ""
|
2316 |
|
2317 |
+
#: widgets/layout-slider/layout-slider.php:196
|
2318 |
msgid "This widget requires: "
|
2319 |
msgstr ""
|
2320 |
|
2321 |
+
#: widgets/layout-slider/layout-slider.php:262
|
2322 |
msgid "This widget requires Page Builder."
|
2323 |
msgstr ""
|
2324 |
|
2325 |
+
#: widgets/post-carousel/post-carousel.php:49
|
2326 |
msgid "SiteOrigin Post Carousel"
|
2327 |
msgstr ""
|
2328 |
|
2329 |
+
#: widgets/post-carousel/post-carousel.php:51
|
2330 |
msgid "Display your posts as a carousel."
|
2331 |
msgstr ""
|
2332 |
|
2333 |
+
#: widgets/post-carousel/post-carousel.php:103
|
2334 |
msgid "Default Thumbnail"
|
2335 |
msgstr ""
|
2336 |
|
2337 |
+
#: widgets/post-carousel/post-carousel.php:104
|
2338 |
msgid "Choose Thumbnail"
|
2339 |
msgstr ""
|
2340 |
|
2341 |
+
#: widgets/post-carousel/post-carousel.php:105
|
2342 |
msgid "Set Thumbnail"
|
2343 |
msgstr ""
|
2344 |
|
2345 |
+
#: widgets/post-carousel/post-carousel.php:111
|
2346 |
msgid "Featured Image size"
|
2347 |
msgstr ""
|
2348 |
|
2349 |
+
#: widgets/post-carousel/post-carousel.php:117
|
2350 |
msgid "Posts query"
|
2351 |
msgstr ""
|
2352 |
|
2353 |
+
#: widgets/post-carousel/tpl/base.php:16, widgets/post-carousel/tpl/base.php:24
|
2354 |
msgid "Next"
|
2355 |
msgstr ""
|
2356 |
|
2357 |
+
#: widgets/post-carousel/tpl/base.php:17, widgets/post-carousel/tpl/base.php:22
|
2358 |
msgid "Previous"
|
2359 |
msgstr ""
|
2360 |
|
2361 |
+
#: widgets/price-table/price-table.php:14
|
2362 |
msgid "SiteOrigin Price Table"
|
2363 |
msgstr ""
|
2364 |
|
2365 |
+
#: widgets/price-table/price-table.php:16
|
2366 |
msgid "A simple Price Table."
|
2367 |
msgstr ""
|
2368 |
|
2369 |
+
#: widgets/price-table/price-table.php:46
|
2370 |
msgid "Columns"
|
2371 |
msgstr ""
|
2372 |
|
2373 |
+
#: widgets/price-table/price-table.php:47
|
2374 |
msgid "Column"
|
2375 |
msgstr ""
|
2376 |
|
2377 |
+
#: widgets/price-table/price-table.php:56
|
2378 |
msgid "Featured"
|
2379 |
msgstr ""
|
2380 |
|
2381 |
+
#: widgets/price-table/price-table.php:79
|
2382 |
msgid "Image alt text"
|
2383 |
msgstr ""
|
2384 |
|
2385 |
+
#: widgets/price-table/price-table.php:84
|
2386 |
msgid "Price"
|
2387 |
msgstr ""
|
2388 |
|
2389 |
+
#: widgets/price-table/price-table.php:88
|
2390 |
msgid "Per"
|
2391 |
msgstr ""
|
2392 |
|
2393 |
+
#: widgets/price-table/price-table.php:96
|
2394 |
msgid "Button URL"
|
2395 |
msgstr ""
|
2396 |
|
2397 |
+
#: widgets/price-table/price-table.php:114
|
2398 |
msgid "Hover text"
|
2399 |
msgstr ""
|
2400 |
|
2401 |
+
#: widgets/price-table/price-table.php:131
|
2402 |
msgid "Price table theme"
|
2403 |
msgstr ""
|
2404 |
|
2405 |
+
#: widgets/price-table/price-table.php:139
|
2406 |
msgid "Header color"
|
2407 |
msgstr ""
|
2408 |
|
2409 |
+
#: widgets/price-table/price-table.php:144
|
2410 |
msgid "Featured header color"
|
2411 |
msgstr ""
|
2412 |
|
2413 |
+
#: widgets/price-table/price-table.php:154
|
2414 |
msgid "Featured button color"
|
2415 |
msgstr ""
|
2416 |
|
2417 |
+
#: widgets/price-table/price-table.php:159
|
2418 |
msgid "Open Button URL in a new window"
|
2419 |
msgstr ""
|
2420 |
|
2421 |
+
#: widgets/price-table/price-table.php:164
|
2422 |
msgid "Equalize row heights"
|
2423 |
msgstr ""
|
2424 |
|
2425 |
+
#: widgets/simple-masonry/simple-masonry.php:14
|
2426 |
msgid "SiteOrigin Simple Masonry"
|
2427 |
msgstr ""
|
2428 |
|
2429 |
+
#: widgets/simple-masonry/simple-masonry.php:16
|
2430 |
msgid "A simple masonry layout widget."
|
2431 |
msgstr ""
|
2432 |
|
2433 |
+
#: widgets/simple-masonry/simple-masonry.php:58
|
2434 |
msgid "Column span"
|
2435 |
msgstr ""
|
2436 |
|
2437 |
+
#: widgets/simple-masonry/simple-masonry.php:59
|
2438 |
msgid "Number of columns this item should span. (Limited to number of columns selected in Layout section below.)"
|
2439 |
msgstr ""
|
2440 |
|
2441 |
+
#: widgets/simple-masonry/simple-masonry.php:66
|
2442 |
msgid "Row span"
|
2443 |
msgstr ""
|
2444 |
|
2445 |
+
#: widgets/simple-masonry/simple-masonry.php:67
|
2446 |
msgid "Number of rows this item should span. (Limited to number of columns selected in Layout section below.)"
|
2447 |
msgstr ""
|
2448 |
|
2449 |
+
#: widgets/simple-masonry/simple-masonry.php:89
|
2450 |
msgid "Desktop Layout"
|
2451 |
msgstr ""
|
2452 |
|
2453 |
+
#: widgets/simple-masonry/simple-masonry.php:93, widgets/simple-masonry/simple-masonry.php:124, widgets/simple-masonry/simple-masonry.php:155
|
2454 |
msgid "Number of columns"
|
2455 |
msgstr ""
|
2456 |
|
2457 |
+
#: widgets/simple-masonry/simple-masonry.php:100, widgets/simple-masonry/simple-masonry.php:131, widgets/simple-masonry/simple-masonry.php:162
|
2458 |
msgid "Row height"
|
2459 |
msgstr ""
|
2460 |
|
2461 |
+
#: widgets/simple-masonry/simple-masonry.php:101, widgets/simple-masonry/simple-masonry.php:132, widgets/simple-masonry/simple-masonry.php:163
|
2462 |
msgid "Leave blank to match calculated column width."
|
2463 |
msgstr ""
|
2464 |
|
2465 |
+
#: widgets/simple-masonry/simple-masonry.php:106, widgets/simple-masonry/simple-masonry.php:137, widgets/simple-masonry/simple-masonry.php:168
|
2466 |
msgid "Gutter"
|
2467 |
msgstr ""
|
2468 |
|
2469 |
+
#: widgets/simple-masonry/simple-masonry.php:107, widgets/simple-masonry/simple-masonry.php:138, widgets/simple-masonry/simple-masonry.php:169
|
2470 |
msgid "Space between masonry items."
|
2471 |
msgstr ""
|
2472 |
|
2473 |
+
#: widgets/simple-masonry/simple-masonry.php:114
|
2474 |
msgid "Tablet Layout"
|
2475 |
msgstr ""
|
2476 |
|
2477 |
+
#: widgets/simple-masonry/simple-masonry.php:119, widgets/simple-masonry/simple-masonry.php:150
|
2478 |
msgid "Break point"
|
2479 |
msgstr ""
|
2480 |
|
2481 |
+
#: widgets/simple-masonry/simple-masonry.php:145
|
2482 |
msgid "Mobile Layout"
|
2483 |
msgstr ""
|
2484 |
|
2485 |
+
#: widgets/simple-masonry/simple-masonry.php:224
|
2486 |
msgid "Add a Lightbox to your masonry images with %sSiteOrigin Premium%s"
|
2487 |
msgstr ""
|
2488 |
|
2489 |
+
#: widgets/slider/slider.php:15
|
2490 |
msgid "SiteOrigin Slider"
|
2491 |
msgstr ""
|
2492 |
|
2493 |
+
#: widgets/slider/slider.php:17
|
2494 |
msgid "A responsive slider widget that supports images and video."
|
2495 |
msgstr ""
|
2496 |
|
2497 |
+
#: widgets/slider/slider.php:62
|
2498 |
msgid "Background Color"
|
2499 |
msgstr ""
|
2500 |
|
2501 |
+
#: widgets/slider/slider.php:78
|
2502 |
msgid "Foreground image"
|
2503 |
msgstr ""
|
2504 |
|
2505 |
+
#: widgets/slider/slider.php:96
|
2506 |
msgid "Controls"
|
2507 |
msgstr ""
|
2508 |
|
2509 |
+
#: widgets/slider/slider.php:267
|
2510 |
msgid "Add a Lightbox to your image slides with %sSiteOrigin Premium%s"
|
2511 |
msgstr ""
|
2512 |
|
2513 |
+
#: widgets/social-media-buttons/data/networks.php:5
|
2514 |
msgid "Facebook"
|
2515 |
msgstr ""
|
2516 |
|
2517 |
+
#: widgets/social-media-buttons/data/networks.php:11
|
2518 |
msgid "Twitter"
|
2519 |
msgstr ""
|
2520 |
|
2521 |
+
#: widgets/social-media-buttons/data/networks.php:17
|
2522 |
msgid "Google+"
|
2523 |
msgstr ""
|
2524 |
|
2525 |
+
#: widgets/social-media-buttons/data/networks.php:23
|
2526 |
msgid "RSS"
|
2527 |
msgstr ""
|
2528 |
|
2529 |
+
#: widgets/social-media-buttons/data/networks.php:35
|
2530 |
msgid "Snapchat"
|
2531 |
msgstr ""
|
2532 |
|
2533 |
+
#: widgets/social-media-buttons/data/networks.php:41
|
2534 |
msgid "LinkedIn"
|
2535 |
msgstr ""
|
2536 |
|
2537 |
+
#: widgets/social-media-buttons/data/networks.php:47
|
2538 |
msgid "Pinterest"
|
2539 |
msgstr ""
|
2540 |
|
2541 |
+
#: widgets/social-media-buttons/data/networks.php:53
|
2542 |
msgid "Tumblr"
|
2543 |
msgstr ""
|
2544 |
|
2545 |
+
#: widgets/social-media-buttons/data/networks.php:59
|
2546 |
msgid "Instagram"
|
2547 |
msgstr ""
|
2548 |
|
2549 |
+
#: widgets/social-media-buttons/data/networks.php:65
|
2550 |
msgid "VK"
|
2551 |
msgstr ""
|
2552 |
|
2553 |
+
#: widgets/social-media-buttons/data/networks.php:71
|
2554 |
msgid "Flickr"
|
2555 |
msgstr ""
|
2556 |
|
2557 |
+
#: widgets/social-media-buttons/data/networks.php:77
|
2558 |
msgid "Vine"
|
2559 |
msgstr ""
|
2560 |
|
2561 |
+
#: widgets/social-media-buttons/data/networks.php:86
|
2562 |
msgid "500px"
|
2563 |
msgstr ""
|
2564 |
|
2565 |
+
#: widgets/social-media-buttons/data/networks.php:92
|
2566 |
msgid "Behance"
|
2567 |
msgstr ""
|
2568 |
|
2569 |
+
#: widgets/social-media-buttons/data/networks.php:98
|
2570 |
msgid "Bitbucket"
|
2571 |
msgstr ""
|
2572 |
|
2573 |
+
#: widgets/social-media-buttons/data/networks.php:104
|
2574 |
msgid "Codepen"
|
2575 |
msgstr ""
|
2576 |
|
2577 |
+
#: widgets/social-media-buttons/data/networks.php:110
|
2578 |
msgid "Delicious"
|
2579 |
msgstr ""
|
2580 |
|
2581 |
+
#: widgets/social-media-buttons/data/networks.php:116
|
2582 |
msgid "deviantArt"
|
2583 |
msgstr ""
|
2584 |
|
2585 |
+
#: widgets/social-media-buttons/data/networks.php:122
|
2586 |
msgid "Dribbble"
|
2587 |
msgstr ""
|
2588 |
|
2589 |
+
#: widgets/social-media-buttons/data/networks.php:128
|
2590 |
msgid "Dropbox"
|
2591 |
msgstr ""
|
2592 |
|
2593 |
+
#: widgets/social-media-buttons/data/networks.php:134
|
2594 |
msgid "Foursquare"
|
2595 |
msgstr ""
|
2596 |
|
2597 |
+
#: widgets/social-media-buttons/data/networks.php:140
|
2598 |
msgid "Github"
|
2599 |
msgstr ""
|
2600 |
|
2601 |
+
#: widgets/social-media-buttons/data/networks.php:146
|
2602 |
msgid "Gratipay"
|
2603 |
msgstr ""
|
2604 |
|
2605 |
+
#: widgets/social-media-buttons/data/networks.php:152
|
2606 |
msgid "Hacker News"
|
2607 |
msgstr ""
|
2608 |
|
2609 |
+
#: widgets/social-media-buttons/data/networks.php:158
|
2610 |
msgid "JSFiddle"
|
2611 |
msgstr ""
|
2612 |
|
2613 |
+
#: widgets/social-media-buttons/data/networks.php:164
|
2614 |
msgid "Last.fm"
|
2615 |
msgstr ""
|
2616 |
|
2617 |
+
#: widgets/social-media-buttons/data/networks.php:170
|
2618 |
msgid "Reddit"
|
2619 |
msgstr ""
|
2620 |
|
2621 |
+
#: widgets/social-media-buttons/data/networks.php:176
|
2622 |
msgid "Slack"
|
2623 |
msgstr ""
|
2624 |
|
2625 |
+
#: widgets/social-media-buttons/data/networks.php:182
|
2626 |
msgid "Slideshare"
|
2627 |
msgstr ""
|
2628 |
|
2629 |
+
#: widgets/social-media-buttons/data/networks.php:188
|
2630 |
msgid "Soundcloud"
|
2631 |
msgstr ""
|
2632 |
|
2633 |
+
#: widgets/social-media-buttons/data/networks.php:194
|
2634 |
msgid "Spotify"
|
2635 |
msgstr ""
|
2636 |
|
2637 |
+
#: widgets/social-media-buttons/data/networks.php:200
|
2638 |
msgid "Stack Exchange"
|
2639 |
msgstr ""
|
2640 |
|
2641 |
+
#: widgets/social-media-buttons/data/networks.php:206
|
2642 |
msgid "Stack Overflow"
|
2643 |
msgstr ""
|
2644 |
|
2645 |
+
#: widgets/social-media-buttons/data/networks.php:212
|
2646 |
msgid "Steam"
|
2647 |
msgstr ""
|
2648 |
|
2649 |
+
#: widgets/social-media-buttons/data/networks.php:218
|
2650 |
msgid "StumbleUpon"
|
2651 |
msgstr ""
|
2652 |
|
2653 |
+
#: widgets/social-media-buttons/data/networks.php:224
|
2654 |
msgid "Trello"
|
2655 |
msgstr ""
|
2656 |
|
2657 |
+
#: widgets/social-media-buttons/data/networks.php:230
|
2658 |
msgid "TripAdvisor"
|
2659 |
msgstr ""
|
2660 |
|
2661 |
+
#: widgets/social-media-buttons/data/networks.php:236
|
2662 |
msgid "Twitch"
|
2663 |
msgstr ""
|
2664 |
|
2665 |
+
#: widgets/social-media-buttons/data/networks.php:242
|
2666 |
msgid "Vimeo"
|
2667 |
msgstr ""
|
2668 |
|
2669 |
+
#: widgets/social-media-buttons/data/networks.php:248
|
2670 |
+
msgid "WhatsApp"
|
2671 |
+
msgstr ""
|
2672 |
+
|
2673 |
+
#: widgets/social-media-buttons/data/networks.php:254
|
2674 |
msgid "WordPress"
|
2675 |
msgstr ""
|
2676 |
|
2677 |
+
#: widgets/social-media-buttons/data/networks.php:260
|
2678 |
msgid "Xing"
|
2679 |
msgstr ""
|
2680 |
|
2681 |
+
#: widgets/social-media-buttons/data/networks.php:266
|
2682 |
msgid "Yahoo"
|
2683 |
msgstr ""
|
2684 |
|
2685 |
+
#: widgets/social-media-buttons/data/networks.php:272
|
2686 |
msgid "Yelp"
|
2687 |
msgstr ""
|
2688 |
|
2689 |
+
#: widgets/social-media-buttons/data/networks.php:278
|
2690 |
msgid "YouTube"
|
2691 |
msgstr ""
|
2692 |
|
2693 |
+
#: widgets/social-media-buttons/social-media-buttons.php:18
|
2694 |
msgid "SiteOrigin Social Media Buttons"
|
2695 |
msgstr ""
|
2696 |
|
2697 |
+
#: widgets/social-media-buttons/social-media-buttons.php:20
|
2698 |
msgid "A social media buttons widget."
|
2699 |
msgstr ""
|
2700 |
|
2701 |
+
#: widgets/social-media-buttons/social-media-buttons.php:32
|
2702 |
msgid "Mobile Collapse Width"
|
2703 |
msgstr ""
|
2704 |
|
2705 |
+
#: widgets/social-media-buttons/social-media-buttons.php:34
|
2706 |
msgid "This setting allows you to set the resoloution for when the Mobile Align setting will be used."
|
2707 |
msgstr ""
|
2708 |
|
2709 |
+
#: widgets/social-media-buttons/social-media-buttons.php:57
|
2710 |
msgid "Networks"
|
2711 |
msgstr ""
|
2712 |
|
2713 |
+
#: widgets/social-media-buttons/social-media-buttons.php:58
|
2714 |
msgid "Network"
|
2715 |
msgstr ""
|
2716 |
|
2717 |
+
#: widgets/social-media-buttons/social-media-buttons.php:68
|
2718 |
msgid "Select network"
|
2719 |
msgstr ""
|
2720 |
|
2721 |
+
#: widgets/social-media-buttons/social-media-buttons.php:159
|
2722 |
msgid "Mobile Align"
|
2723 |
msgstr ""
|
2724 |
|
2725 |
+
#: widgets/social-media-buttons/tpl/default.php:9
|
2726 |
msgid "%s on %s"
|
2727 |
msgstr ""
|
2728 |
|
2729 |
+
#: widgets/tabs/tabs.php:14
|
2730 |
msgid "SiteOrigin Tabs"
|
2731 |
msgstr ""
|
2732 |
|
2733 |
+
#: widgets/tabs/tabs.php:16
|
2734 |
msgid "A tabs widget."
|
2735 |
msgstr ""
|
2736 |
|
2737 |
+
#: widgets/tabs/tabs.php:50, widgets/tabs/tabs.php:100
|
2738 |
msgid "Tabs"
|
2739 |
msgstr ""
|
2740 |
|
2741 |
+
#: widgets/tabs/tabs.php:69
|
2742 |
msgid "Initially selected tab"
|
2743 |
msgstr ""
|
2744 |
|
2745 |
+
#: widgets/tabs/tabs.php:71
|
2746 |
msgid "The position of the tab to be selected when the page first loads."
|
2747 |
msgstr ""
|
2748 |
|
2749 |
+
#: widgets/tabs/tabs.php:80
|
2750 |
msgid "Tabs container"
|
2751 |
msgstr ""
|
2752 |
|
2753 |
+
#: widgets/tabs/tabs.php:138
|
2754 |
msgid "Border hover width"
|
2755 |
msgstr ""
|
2756 |
|
2757 |
+
#: widgets/tabs/tabs.php:247
|
2758 |
msgid "Get more customization options and the ability to use widgets and layouts as your tabs content with %sSiteOrigin Premium%s"
|
2759 |
msgstr ""
|
2760 |
|
2761 |
+
#: widgets/taxonomy/taxonomy.php:16
|
2762 |
msgid "SiteOrigin Taxonomy"
|
2763 |
msgstr ""
|
2764 |
|
2765 |
+
#: widgets/taxonomy/taxonomy.php:18
|
2766 |
msgid "A taxonomy widget."
|
2767 |
msgstr ""
|
2768 |
|
2769 |
+
#: widgets/taxonomy/taxonomy.php:46
|
2770 |
msgid "Display as"
|
2771 |
msgstr ""
|
2772 |
|
2773 |
+
#: widgets/taxonomy/taxonomy.php:48
|
2774 |
msgid "Links"
|
2775 |
msgstr ""
|
2776 |
|
2777 |
+
#: widgets/taxonomy/taxonomy.php:59
|
2778 |
msgid "Hover color"
|
2779 |
msgstr ""
|
2780 |
|
2781 |
+
#: widgets/testimonial/testimonial.php:14
|
2782 |
msgid "SiteOrigin Testimonials"
|
2783 |
msgstr ""
|
2784 |
|
2785 |
+
#: widgets/testimonial/testimonial.php:16
|
2786 |
msgid "Share your product/service testimonials in a variety of different ways."
|
2787 |
msgstr ""
|
2788 |
|
2789 |
+
#: widgets/testimonial/testimonial.php:44
|
2790 |
msgid "Testimonials"
|
2791 |
msgstr ""
|
2792 |
|
2793 |
+
#: widgets/testimonial/testimonial.php:45
|
2794 |
msgid "Testimonial"
|
2795 |
msgstr ""
|
2796 |
|
2797 |
+
#: widgets/testimonial/testimonial.php:55
|
2798 |
msgid "The author of the testimonial"
|
2799 |
msgstr ""
|
2800 |
|
2801 |
+
#: widgets/testimonial/testimonial.php:60
|
2802 |
msgid "Link name"
|
2803 |
msgstr ""
|
2804 |
|
2805 |
+
#: widgets/testimonial/testimonial.php:66
|
2806 |
msgid "Their location or company name"
|
2807 |
msgstr ""
|
2808 |
|
2809 |
+
#: widgets/testimonial/testimonial.php:76
|
2810 |
msgid "Link image"
|
2811 |
msgstr ""
|
2812 |
|
2813 |
+
#: widgets/testimonial/testimonial.php:82
|
2814 |
msgid "What your customer had to say"
|
2815 |
msgstr ""
|
2816 |
|
2817 |
+
#: widgets/testimonial/testimonial.php:92
|
2818 |
msgid "Open In New Window"
|
2819 |
msgstr ""
|
2820 |
|
2821 |
+
#: widgets/testimonial/testimonial.php:104, widgets/testimonial/testimonial.php:122, widgets/testimonial/testimonial.php:151
|
2822 |
msgid "Testimonials per row"
|
2823 |
msgstr ""
|
2824 |
|
2825 |
+
#: widgets/testimonial/testimonial.php:113
|
2826 |
msgid "Responsive"
|
2827 |
msgstr ""
|
2828 |
|
2829 |
+
#: widgets/testimonial/testimonial.php:118
|
2830 |
msgid "Tablet"
|
2831 |
msgstr ""
|
2832 |
|
2833 |
+
#: widgets/testimonial/testimonial.php:138, widgets/testimonial/testimonial.php:167
|
2834 |
msgid "Resolution"
|
2835 |
msgstr ""
|
2836 |
|
2837 |
+
#: widgets/testimonial/testimonial.php:139
|
2838 |
+
msgid "The resolution to treat as a tablet resolution."
|
2839 |
msgstr ""
|
2840 |
|
2841 |
+
#: widgets/testimonial/testimonial.php:147
|
2842 |
msgid "Mobile Phone"
|
2843 |
msgstr ""
|
2844 |
|
2845 |
+
#: widgets/testimonial/testimonial.php:168
|
2846 |
+
msgid "The resolution to treat as a mobile resolution."
|
2847 |
msgstr ""
|
2848 |
|
2849 |
+
#: widgets/testimonial/testimonial.php:191
|
2850 |
msgid "Testimonial image shape"
|
2851 |
msgstr ""
|
2852 |
|
2853 |
+
#: widgets/testimonial/testimonial.php:193
|
2854 |
msgid "Square"
|
2855 |
msgstr ""
|
2856 |
|
2857 |
+
#: widgets/testimonial/testimonial.php:194
|
2858 |
msgid "Round"
|
2859 |
msgstr ""
|
2860 |
|
2861 |
+
#: widgets/testimonial/testimonial.php:212
|
2862 |
msgid "Colors"
|
2863 |
msgstr ""
|
2864 |
|
2865 |
+
#: widgets/testimonial/testimonial.php:216
|
2866 |
msgid "Widget Background"
|
2867 |
msgstr ""
|
2868 |
|
2869 |
+
#: widgets/testimonial/testimonial.php:220
|
2870 |
msgid "Text Background"
|
2871 |
msgstr ""
|
2872 |
|
2873 |
+
#: widgets/testimonial/testimonial.php:242
|
2874 |
msgid "Testimonial Radius"
|
2875 |
msgstr ""
|
2876 |
|
2877 |
+
#: widgets/testimonial/testimonial.php:251
|
2878 |
msgid "User position"
|
2879 |
msgstr ""
|
2880 |
|
2881 |
+
#: widgets/testimonial/testimonial.php:255
|
2882 |
msgid "Middle"
|
2883 |
msgstr ""
|
2884 |
|
2885 |
+
#: widgets/testimonial/testimonial.php:262
|
2886 |
msgid "Testimonial layout"
|
2887 |
msgstr ""
|
2888 |
|
2889 |
+
#: widgets/testimonial/testimonial.php:264
|
2890 |
msgid "Side by side"
|
2891 |
msgstr ""
|
2892 |
|
2893 |
+
#: widgets/testimonial/testimonial.php:265
|
2894 |
msgid "Text above user"
|
2895 |
msgstr ""
|
2896 |
|
2897 |
+
#: widgets/testimonial/testimonial.php:266
|
2898 |
msgid "Text below user"
|
2899 |
msgstr ""
|
2900 |
|
2901 |
+
#: widgets/video/video.php:17
|
2902 |
msgid "SiteOrigin Video Player"
|
2903 |
msgstr ""
|
2904 |
|
2905 |
+
#: widgets/video/video.php:19
|
2906 |
msgid "A video player widget."
|
2907 |
msgstr ""
|
2908 |
|
2909 |
+
#: widgets/video/video.php:36
|
2910 |
msgid "Video location"
|
2911 |
msgstr ""
|
2912 |
|
2913 |
+
#: widgets/video/video.php:39
|
2914 |
msgid "Self hosted"
|
2915 |
msgstr ""
|
2916 |
|
2917 |
+
#: widgets/video/video.php:40
|
2918 |
msgid "Externally hosted"
|
2919 |
msgstr ""
|
2920 |
|
2921 |
+
#: widgets/video/video.php:52
|
2922 |
msgid "Video File"
|
2923 |
msgstr ""
|
2924 |
|
2925 |
+
#: widgets/video/video.php:56
|
2926 |
msgid "Sources"
|
2927 |
msgstr ""
|
2928 |
|
2929 |
+
#: widgets/video/video.php:61
|
2930 |
msgid "Select video"
|
2931 |
msgstr ""
|
2932 |
|
2933 |
+
#: widgets/video/video.php:73
|
2934 |
msgid "Select cover image"
|
2935 |
msgstr ""
|
2936 |
|
2937 |
+
#: widgets/video/video.php:95
|
2938 |
msgid "Video Playback"
|
2939 |
msgstr ""
|
2940 |
|
2941 |
+
#: widgets/video/video.php:105
|
|
|
|
|
|
|
|
|
2942 |
msgid "Use oEmbed"
|
2943 |
msgstr ""
|
2944 |
|
2945 |
+
#: widgets/video/video.php:106
|
2946 |
msgid "Always use the embedded video rather than the MediaElement player."
|
2947 |
msgstr ""
|
2948 |
|
2949 |
+
#: widgets/video/video.php:115
|
2950 |
msgid "Show related videos."
|
2951 |
msgstr ""
|
2952 |
|
2953 |
+
#: widgets/video/video.php:116
|
2954 |
msgid "If the external host supports it."
|
2955 |
msgstr ""
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Tags: bundle, widget, button, slider, image, carousel, price table, google maps, tinymce, social links
|
3 |
Requires at least: 4.2
|
4 |
Tested up to: 4.9.1
|
5 |
-
Stable tag: 1.
|
6 |
-
Build time: 2018-
|
7 |
License: GPLv3 or later
|
8 |
Contributors: gpriday, braam-genis
|
9 |
Donate link: https://siteorigin.com/downloads/contribution/
|
@@ -65,6 +65,27 @@ The SiteOrigin Widgets Bundle is the perfect platform to build widgets for your
|
|
65 |
|
66 |
== Changelog ==
|
67 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
= 1.11.8 - 12 April 2018 =
|
69 |
* Added action just before rendering widget previews.
|
70 |
* Editor: Removed `unwpautop`.
|
2 |
Tags: bundle, widget, button, slider, image, carousel, price table, google maps, tinymce, social links
|
3 |
Requires at least: 4.2
|
4 |
Tested up to: 4.9.1
|
5 |
+
Stable tag: 1.12.0
|
6 |
+
Build time: 2018-07-11T16:45:12+02:00
|
7 |
License: GPLv3 or later
|
8 |
Contributors: gpriday, braam-genis
|
9 |
Donate link: https://siteorigin.com/downloads/contribution/
|
65 |
|
66 |
== Changelog ==
|
67 |
|
68 |
+
= 1.12.0 - 11 July 2018 =
|
69 |
+
* Contact: Add dedicated textarea height.
|
70 |
+
* Social Media Buttons: Adds WhatsApp social network.
|
71 |
+
* Features: Allow icon size to use a different unit of measurement.
|
72 |
+
* Repeater field: Update editor id in media buttons when duplicating item with TinyMCE editor.
|
73 |
+
* Posts field: taxonomy description.
|
74 |
+
* Price Table: Disable equalized row heights on mobile.
|
75 |
+
* Beaver Builder: Force icon fonts.
|
76 |
+
* Slider widgets: Added autoplay option for background videos.
|
77 |
+
* Maps: Renamed Google maps script to more sensible `sow.google-map.js`
|
78 |
+
* Editor: Prevent errors when visual editing is disabled for a user.
|
79 |
+
* Optimized images.
|
80 |
+
* Accordion/tabs: Trigger 'setup_widgets' to ensure any widgets in panels are initialized correctly.
|
81 |
+
* Contact: Use 'From' email address if there is no email field in the form.
|
82 |
+
* Hero: Filter out the align field in the button sub-widget form.
|
83 |
+
* Testimonials: Switch mobile and tablet resolution width field descriptions.
|
84 |
+
* Posts field: Allow clearing dates.
|
85 |
+
* Font field: Use correct value for 'Helvetica Neue' and added 'Arial' option.
|
86 |
+
* TA: Additional setting to allow clearing the default background colors.
|
87 |
+
* Contact: Allow a value of '0' for required fields and subject values.
|
88 |
+
|
89 |
= 1.11.8 - 12 April 2018 =
|
90 |
* Added action just before rendering widget previews.
|
91 |
* Editor: Removed `unwpautop`.
|
so-widgets-bundle.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: SiteOrigin Widgets Bundle
|
4 |
Description: A collection of all widgets, neatly bundled into a single plugin. It's also a framework to code your own widgets on top of.
|
5 |
-
Version: 1.
|
6 |
Text Domain: so-widgets-bundle
|
7 |
Domain Path: /lang
|
8 |
Author: SiteOrigin
|
@@ -12,7 +12,7 @@ License: GPL3
|
|
12 |
License URI: https://www.gnu.org/licenses/gpl-3.0.txt
|
13 |
*/
|
14 |
|
15 |
-
define('SOW_BUNDLE_VERSION', '1.
|
16 |
define('SOW_BUNDLE_BASE_FILE', __FILE__);
|
17 |
|
18 |
// Allow JS suffix to be pre-set
|
@@ -772,7 +772,7 @@ class SiteOrigin_Widgets_Bundle {
|
|
772 |
);
|
773 |
wp_register_script(
|
774 |
'sow-google-map',
|
775 |
-
plugin_dir_url( SOW_BUNDLE_BASE_FILE ) . 'js/sow.google
|
776 |
array( 'jquery' ),
|
777 |
SOW_BUNDLE_VERSION
|
778 |
);
|
2 |
/*
|
3 |
Plugin Name: SiteOrigin Widgets Bundle
|
4 |
Description: A collection of all widgets, neatly bundled into a single plugin. It's also a framework to code your own widgets on top of.
|
5 |
+
Version: 1.12.0
|
6 |
Text Domain: so-widgets-bundle
|
7 |
Domain Path: /lang
|
8 |
Author: SiteOrigin
|
12 |
License URI: https://www.gnu.org/licenses/gpl-3.0.txt
|
13 |
*/
|
14 |
|
15 |
+
define('SOW_BUNDLE_VERSION', '1.12.0');
|
16 |
define('SOW_BUNDLE_BASE_FILE', __FILE__);
|
17 |
|
18 |
// Allow JS suffix to be pre-set
|
772 |
);
|
773 |
wp_register_script(
|
774 |
'sow-google-map',
|
775 |
+
plugin_dir_url( SOW_BUNDLE_BASE_FILE ) . 'js/sow.google-map' . SOW_BUNDLE_JS_SUFFIX . '.js',
|
776 |
array( 'jquery' ),
|
777 |
SOW_BUNDLE_VERSION
|
778 |
);
|
widgets/accordion/assets/banner.svg
CHANGED
@@ -1,18 +1 @@
|
|
1 |
-
|
2 |
-
<!-- Generator: Adobe Illustrator 22.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
-
viewBox="0 0 120 120" style="enable-background:new 0 0 120 120;" xml:space="preserve">
|
5 |
-
<style type="text/css">
|
6 |
-
.st0{fill:#1880B6;}
|
7 |
-
.st1{fill:#8ED9EF;stroke:#324249;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
|
8 |
-
.st2{fill:#F2F0DA;stroke:#324249;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
|
9 |
-
</style>
|
10 |
-
<rect id="Call_to_Action" class="st0" width="120" height="120"/>
|
11 |
-
<g transform="translate(7 1)">
|
12 |
-
<rect x="28" y="70" class="st1" width="50" height="20"/>
|
13 |
-
<path class="st2" d="M28,80h50"/>
|
14 |
-
<rect x="30" y="38" class="st2" width="46" height="32"/>
|
15 |
-
<path class="st2" d="M38,46h18 M38,54h30 M38,62h22"/>
|
16 |
-
<rect x="28" y="28" class="st1" width="50" height="10"/>
|
17 |
-
</g>
|
18 |
-
</svg>
|
1 |
+
<svg enable-background="new 0 0 120 120" viewBox="0 0 120 120" xmlns="http://www.w3.org/2000/svg"><path d="m0 0h120v120h-120z" fill="#1880b6"/><g stroke="#324249" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" transform="translate(7 1)"><path d="m28 70h50v20h-50z" fill="#8ed9ef"/><g fill="#f2f0da"><path d="m28 80h50"/><path d="m30 38h46v32h-46z"/><path d="m38 46h18m-18 8h30m-30 8h22"/></g><path d="m28 28h50v10h-50z" fill="#8ed9ef"/></g></svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
widgets/accordion/js/accordion.js
CHANGED
@@ -7,6 +7,9 @@ jQuery( function ( $ ) {
|
|
7 |
sowb.setupAccordion = function() {
|
8 |
$( '.sow-accordion' ).each( function ( index, element ) {
|
9 |
var $widget = $( this ).closest( '.so-widget-sow-accordion' );
|
|
|
|
|
|
|
10 |
var useAnchorTags = $widget.data( 'useAnchorTags' );
|
11 |
var initialScrollPanel = $widget.data( 'initialScrollPanel' );
|
12 |
|
@@ -25,6 +28,7 @@ jQuery( function ( $ ) {
|
|
25 |
$panel.find( '> .sow-accordion-panel-content' ).slideDown(
|
26 |
function() {
|
27 |
$( this ).trigger( 'show' );
|
|
|
28 |
}
|
29 |
);
|
30 |
$panel.addClass( 'sow-accordion-panel-open' );
|
@@ -108,6 +112,8 @@ jQuery( function ( $ ) {
|
|
108 |
window.scrollTo( 0, $initialScrollPanel.offset().top - navOffset );
|
109 |
}
|
110 |
}
|
|
|
|
|
111 |
} );
|
112 |
};
|
113 |
|
7 |
sowb.setupAccordion = function() {
|
8 |
$( '.sow-accordion' ).each( function ( index, element ) {
|
9 |
var $widget = $( this ).closest( '.so-widget-sow-accordion' );
|
10 |
+
if ( $widget.data( 'initialized' ) ) {
|
11 |
+
return $( this );
|
12 |
+
}
|
13 |
var useAnchorTags = $widget.data( 'useAnchorTags' );
|
14 |
var initialScrollPanel = $widget.data( 'initialScrollPanel' );
|
15 |
|
28 |
$panel.find( '> .sow-accordion-panel-content' ).slideDown(
|
29 |
function() {
|
30 |
$( this ).trigger( 'show' );
|
31 |
+
$( sowb ).trigger( 'setup_widgets' );
|
32 |
}
|
33 |
);
|
34 |
$panel.addClass( 'sow-accordion-panel-open' );
|
112 |
window.scrollTo( 0, $initialScrollPanel.offset().top - navOffset );
|
113 |
}
|
114 |
}
|
115 |
+
|
116 |
+
$widget.data( 'initialized', true );
|
117 |
} );
|
118 |
};
|
119 |
|
widgets/accordion/js/accordion.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
var sowb=window.sowb||{};jQuery(function(o){sowb.setupAccordion=function(){o(".sow-accordion").each(function(n,a){var i=o(this).closest(".so-widget-sow-accordion")
|
1 |
+
var sowb=window.sowb||{};jQuery(function(o){sowb.setupAccordion=function(){o(".sow-accordion").each(function(n,a){var i=o(this).closest(".so-widget-sow-accordion");if(i.data("initialized"))return o(this);var e=i.data("useAnchorTags"),t=i.data("initialScrollPanel"),c=o(a).find("> .sow-accordion-panel");c.not(".sow-accordion-panel-open").find(".sow-accordion-panel-content").hide();var s=c.filter(".sow-accordion-panel-open").toArray(),r=function(){},d=function(n,a){var i=o(n);i.is(".sow-accordion-panel-open")||(i.find("> .sow-accordion-panel-content").slideDown(function(){o(this).trigger("show"),o(sowb).trigger("setup_widgets")}),i.addClass("sow-accordion-panel-open"),s.push(n),a||r())},w=function(n,a){var i=o(n);i.is(".sow-accordion-panel-open")&&(i.find("> .sow-accordion-panel-content").slideUp(function(){o(this).trigger("hide")}),i.removeClass("sow-accordion-panel-open"),s.splice(s.indexOf(n),1),a||r())};if(c.find("> .sow-accordion-panel-header").click(function(){var n=o(this),a=i.data("maxOpenPanels"),e=n.closest(".sow-accordion-panel");e.is(".sow-accordion-panel-open")?w(e.get(0)):d(e.get(0)),!isNaN(a)&&a>0&&s.length>a&&w(s[0])}),e){r=function(){for(var n=[],a=0;a<s.length;a++){var i=o(s[a]).data("anchor");i&&(n[a]=i)}n&&n.length?window.location.hash=n.join(","):window.history.pushState("",document.title,window.location.pathname+window.location.search)};var l=function(){for(var n=c.toArray(),a=0;a<n.length;a++){panel=n[a];var i=o(panel).data("anchor");i&&window.location.hash.indexOf(i)>-1?d(panel,!0):w(panel,!0)}};if(o(window).on("hashchange",l),window.location.hash?l():r(),t>0){var p=t>c.length?c.last():c.eq(t-1);window.scrollTo(0,p.offset().top-90)}}i.data("initialized",!0)})},sowb.setupAccordion(),o(sowb).on("setup_widgets",sowb.setupAccordion)}),window.sowb=sowb;
|
widgets/button/assets/banner.svg
CHANGED
@@ -1,30 +1 @@
|
|
1 |
-
|
2 |
-
<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
-
viewBox="55 277 240 240" style="enable-background:new 55 277 240 240;" xml:space="preserve">
|
5 |
-
<style type="text/css">
|
6 |
-
.st0{fill:#1880B6;}
|
7 |
-
.st1{fill:#F2F0DA;}
|
8 |
-
.st2{fill:#8ED9EF;}
|
9 |
-
.st3{fill:#324249;}
|
10 |
-
</style>
|
11 |
-
<rect id="Button" x="55" y="277" class="st0" width="240" height="240"/>
|
12 |
-
<g>
|
13 |
-
<polygon class="st1" points="209.3,426.4 190,434.4 198.4,454.1 194,456.3 185.5,436.3 167,444 167,387.5 "/>
|
14 |
-
<path class="st2" d="M235,405c0,2.2-1.8,4-4,4h-34.7l-30-27.5c-0.6-0.5-1.4-0.7-2.2-0.4c-0.7,0.3-1.2,1-1.2,1.8v26h-44
|
15 |
-
c-2.2,0-4-1.8-4-4v-64c0-2.2,1.8-4,4-4h112c2.2,0,4,1.8,4,4V405z"/>
|
16 |
-
<g>
|
17 |
-
<path class="st3" d="M231.1,333H118.9c-4.3,0-7.9,3.5-7.9,7.9v64.3c0,4.3,3.5,7.9,7.9,7.9H163v34c0,0.7,0.3,1.3,0.9,1.7
|
18 |
-
c0.3,0.2,0.7,0.3,1.1,0.3c0.3,0,0.5-0.1,0.8-0.2l17.6-7.3l7.8,18.3c0.2,0.5,0.6,0.9,1.1,1.1c0.2,0.1,0.5,0.1,0.7,0.1
|
19 |
-
c0.3,0,0.6-0.1,0.9-0.2l8-4c0.9-0.5,1.4-1.6,0.9-2.6l-7.6-17.7l18.5-7.7c0.6-0.3,1.1-0.8,1.2-1.5c0.1-0.7-0.1-1.4-0.6-1.8
|
20 |
-
L200.7,413h30.5c4.3,0,7.9-3.5,7.9-7.9v-64.3C239,336.5,235.5,333,231.1,333z M209.3,426.4l-19.3,8.1l8.4,19.6l-4.4,2.2l-8.6-19.9
|
21 |
-
L167,444v-56.5L209.3,426.4z M235,405c0,2.2-1.8,4-4,4h-34.7l-30-27.5c-0.6-0.5-1.4-0.7-2.2-0.4c-0.7,0.3-1.2,1-1.2,1.8v26h-44
|
22 |
-
c-2.2,0-4-1.8-4-4v-64c0-2.2,1.8-4,4-4h112c2.2,0,4,1.8,4,4V405z"/>
|
23 |
-
<path class="st3" d="M165,349c-1.1,0-2,0.9-2,2v20c0,1.1,0.9,2,2,2s2-0.9,2-2v-20C167,349.9,166.1,349,165,349z"/>
|
24 |
-
<path class="st3" d="M153,381h-20c-1.1,0-2,0.9-2,2s0.9,2,2,2h20c1.1,0,2-0.9,2-2S154.1,381,153,381z"/>
|
25 |
-
<path class="st3" d="M199,383c0-1.1-0.9-2-2-2h-20c-1.1,0-2,0.9-2,2s0.9,2,2,2h20C198.1,385,199,384.1,199,383z"/>
|
26 |
-
<path class="st3" d="M142.4,357.6c-0.8-0.8-2-0.8-2.8,0s-0.8,2,0,2.8l14.1,14.1c0.8,0.8,2,0.8,2.8,0s0.8-2,0-2.8L142.4,357.6z"/>
|
27 |
-
<path class="st3" d="M190.4,360.4c0.8-0.8,0.8-2,0-2.8s-2-0.8-2.8,0l-14.1,14.1c-0.8,0.8-0.8,2,0,2.8s2,0.8,2.8,0L190.4,360.4z"/>
|
28 |
-
</g>
|
29 |
-
</g>
|
30 |
-
</svg>
|
1 |
+
<svg enable-background="new 55 277 240 240" viewBox="55 277 240 240" xmlns="http://www.w3.org/2000/svg"><path d="m55 277h240v240h-240z" fill="#1880b6"/><path d="m209.3 426.4-19.3 8 8.4 19.7-4.4 2.2-8.5-20-18.5 7.7v-56.5z" fill="#f2f0da"/><path d="m235 405c0 2.2-1.8 4-4 4h-34.7l-30-27.5c-.6-.5-1.4-.7-2.2-.4-.7.3-1.2 1-1.2 1.8v26h-44c-2.2 0-4-1.8-4-4v-64c0-2.2 1.8-4 4-4h112c2.2 0 4 1.8 4 4v64.1z" fill="#8ed9ef"/><g fill="#324249"><path d="m231.1 333h-112.2c-4.3 0-7.9 3.5-7.9 7.9v64.3c0 4.3 3.5 7.9 7.9 7.9h44.1v34c0 .7.3 1.3.9 1.7.3.2.7.3 1.1.3.3 0 .5-.1.8-.2l17.6-7.3 7.8 18.3c.2.5.6.9 1.1 1.1.2.1.5.1.7.1.3 0 .6-.1.9-.2l8-4c.9-.5 1.4-1.6.9-2.6l-7.6-17.7 18.5-7.7c.6-.3 1.1-.8 1.2-1.5s-.1-1.4-.6-1.8l-13.6-12.6h30.5c4.3 0 7.9-3.5 7.9-7.9v-64.3c-.1-4.3-3.6-7.8-8-7.8zm-21.8 93.4-19.3 8.1 8.4 19.6-4.4 2.2-8.6-19.9-18.4 7.6v-56.5zm25.7-21.4c0 2.2-1.8 4-4 4h-34.7l-30-27.5c-.6-.5-1.4-.7-2.2-.4-.7.3-1.2 1-1.2 1.8v26h-44c-2.2 0-4-1.8-4-4v-64c0-2.2 1.8-4 4-4h112c2.2 0 4 1.8 4 4v64.1z"/><path d="m165 349c-1.1 0-2 .9-2 2v20c0 1.1.9 2 2 2s2-.9 2-2v-20c0-1.1-.9-2-2-2z"/><path d="m153 381h-20c-1.1 0-2 .9-2 2s.9 2 2 2h20c1.1 0 2-.9 2-2s-.9-2-2-2z"/><path d="m199 383c0-1.1-.9-2-2-2h-20c-1.1 0-2 .9-2 2s.9 2 2 2h20c1.1 0 2-.9 2-2z"/><path d="m142.4 357.6c-.8-.8-2-.8-2.8 0s-.8 2 0 2.8l14.1 14.1c.8.8 2 .8 2.8 0s.8-2 0-2.8z"/><path d="m190.4 360.4c.8-.8.8-2 0-2.8s-2-.8-2.8 0l-14.1 14.1c-.8.8-.8 2 0 2.8s2 .8 2.8 0z"/></g></svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
widgets/contact/assets/banner.svg
CHANGED
@@ -1,43 +1 @@
|
|
1 |
-
|
2 |
-
<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
-
viewBox="55 277 240 240" style="enable-background:new 55 277 240 240;" xml:space="preserve">
|
5 |
-
<style type="text/css">
|
6 |
-
.st0{fill:#1880B6;}
|
7 |
-
.st1{fill:#F2F0DA;}
|
8 |
-
.st2{fill:#8ED9EF;}
|
9 |
-
.st3{fill:#324249;}
|
10 |
-
.st4{opacity:0.2;}
|
11 |
-
</style>
|
12 |
-
<rect id="Call_to_Action" x="55" y="277" class="st0" width="240" height="240"/>
|
13 |
-
<g>
|
14 |
-
<path class="st1" d="M139,337h72c2.2,0,4,1.8,4,4v46.2l-40,29.3l-40-29.3V341C135,338.8,136.8,337,139,337z"/>
|
15 |
-
<g>
|
16 |
-
<path class="st2" d="M233.2,373.3c-0.4-0.2-0.8-0.4-1.2-0.7c-0.1-0.1-5.6-3.1-13-7.2v18.8l14.6-10.7
|
17 |
-
C233.5,373.5,233.4,373.4,233.2,373.3z"/>
|
18 |
-
<path class="st2" d="M131,365.4c-7.4,4.1-12.9,7.1-13,7.2c-0.5,0.3-0.9,0.5-1.3,0.7c-0.1,0.1-0.2,0.1-0.3,0.1l14.6,10.7V365.4z"/>
|
19 |
-
<path class="st2" d="M176.2,420.6c-0.4,0.3-0.8,0.4-1.2,0.4s-0.8-0.1-1.2-0.4L115,377.5V453c0,2.1,1.8,4,4,4h112c2.1,0,4-1.7,4-4
|
20 |
-
v-75.5L176.2,420.6z"/>
|
21 |
-
<rect x="155" y="365" class="st2" width="40" height="8"/>
|
22 |
-
<polygon class="st2" points="190.7,405 195,401.9 195,397 155,397 155,401.9 159.3,405 "/>
|
23 |
-
</g>
|
24 |
-
<g>
|
25 |
-
<path class="st3" d="M151.6,417.6l-28,28c-0.8,0.8-0.8,2,0,2.8c0.4,0.4,0.9,0.6,1.4,0.6s1-0.2,1.4-0.6l28-28c0.8-0.8,0.8-2,0-2.8
|
26 |
-
S152.4,416.8,151.6,417.6z"/>
|
27 |
-
<path class="st3" d="M223.6,448.4c0.4,0.4,0.9,0.6,1.4,0.6s1-0.2,1.4-0.6c0.8-0.8,0.8-2,0-2.8L199,418.2c-0.8-0.8-2-0.8-2.8,0
|
28 |
-
s-0.8,2,0,2.8L223.6,448.4z"/>
|
29 |
-
<path class="st3" d="M235.1,369.8c-0.3-0.2-0.7-0.4-1.1-0.6c-0.6-0.4-6.9-3.9-15-8.4v-19.9c0-4.3-3.5-7.9-7.9-7.9h-72.3
|
30 |
-
c-4.3,0-7.9,3.5-7.9,7.9v19.9c-8.1,4.5-14.4,8.1-15,8.4c-0.4,0.3-0.9,0.5-1.2,0.7c-1.8,1-3.8,2-3.8,5V453c0,4.2,3.6,8,8,8h112
|
31 |
-
c4.1,0,8-3.7,8-8v-78.1C239,371.9,236.8,370.7,235.1,369.8z M219,365.4c7.4,4.1,12.8,7.2,13,7.2c0.4,0.2,0.8,0.5,1.2,0.7
|
32 |
-
c0.2,0.1,0.3,0.2,0.4,0.2L219,384.3V365.4z M135,341c0-2.2,1.8-4,4-4h72c2.2,0,4,1.8,4,4v46.2l-16,11.7V393h-48v5.9l-16-11.7V341z
|
33 |
-
M190.7,405h-31.4l-4.3-3.1V397h40v4.9L190.7,405z M185.3,409l-10.3,7.5l-10.3-7.5H185.3z M116.7,373.4c0.4-0.2,0.9-0.5,1.3-0.7
|
34 |
-
c0.1-0.1,5.6-3.1,13-7.2v18.8l-14.6-10.7C116.5,373.5,116.6,373.5,116.7,373.4z M235,453c0,2.3-1.9,4-4,4H119c-2.2,0-4-1.9-4-4
|
35 |
-
v-75.5l58.8,43.1c0.4,0.3,0.8,0.4,1.2,0.4s0.8-0.1,1.2-0.4l58.8-43.1V453z"/>
|
36 |
-
<path class="st3" d="M199,361h-48v16h48V361z M195,373h-40v-8h40V373z"/>
|
37 |
-
</g>
|
38 |
-
<g class="st4">
|
39 |
-
<path d="M153,357h20c1.1,0,2-0.9,2-2s-0.9-2-2-2h-20c-1.1,0-2,0.9-2,2S151.9,357,153,357z"/>
|
40 |
-
<path d="M173,385h-20c-1.1,0-2,0.9-2,2s0.9,2,2,2h20c1.1,0,2-0.9,2-2S174.1,385,173,385z"/>
|
41 |
-
</g>
|
42 |
-
</g>
|
43 |
-
</svg>
|
1 |
+
<svg enable-background="new 55 277 240 240" viewBox="55 277 240 240" xmlns="http://www.w3.org/2000/svg"><path d="m55 277h240v240h-240z" fill="#1880b6"/><path d="m139 337h72c2.2 0 4 1.8 4 4v46.2l-40 29.3-40-29.3v-46.2c0-2.2 1.8-4 4-4z" fill="#f2f0da"/><g fill="#8ed9ef"><path d="m233.2 373.3c-.4-.2-.8-.4-1.2-.7-.1-.1-5.6-3.1-13-7.2v18.8l14.6-10.7c-.1 0-.2-.1-.4-.2z"/><path d="m131 365.4c-7.4 4.1-12.9 7.1-13 7.2-.5.3-.9.5-1.3.7-.1.1-.2.1-.3.1l14.6 10.7z"/><path d="m176.2 420.6c-.4.3-.8.4-1.2.4s-.8-.1-1.2-.4l-58.8-43.1v75.5c0 2.1 1.8 4 4 4h112c2.1 0 4-1.7 4-4v-75.5z"/><path d="m155 365h40v8h-40z"/><path d="m190.7 405 4.3-3.1v-4.9h-40v4.9l4.3 3.1z"/></g><path d="m151.6 417.6-28 28c-.8.8-.8 2 0 2.8.4.4.9.6 1.4.6s1-.2 1.4-.6l28-28c.8-.8.8-2 0-2.8s-2-.8-2.8 0z" fill="#324249"/><path d="m223.6 448.4c.4.4.9.6 1.4.6s1-.2 1.4-.6c.8-.8.8-2 0-2.8l-27.4-27.4c-.8-.8-2-.8-2.8 0s-.8 2 0 2.8z" fill="#324249"/><path d="m235.1 369.8c-.3-.2-.7-.4-1.1-.6-.6-.4-6.9-3.9-15-8.4v-19.9c0-4.3-3.5-7.9-7.9-7.9h-72.3c-4.3 0-7.9 3.5-7.9 7.9v19.9c-8.1 4.5-14.4 8.1-15 8.4-.4.3-.9.5-1.2.7-1.8 1-3.8 2-3.8 5v78.1c0 4.2 3.6 8 8 8h112c4.1 0 8-3.7 8-8v-78.1c.1-3-2.1-4.2-3.8-5.1zm-16.1-4.4c7.4 4.1 12.8 7.2 13 7.2.4.2.8.5 1.2.7.2.1.3.2.4.2l-14.6 10.8zm-84-24.4c0-2.2 1.8-4 4-4h72c2.2 0 4 1.8 4 4v46.2l-16 11.7v-5.9h-48v5.9l-16-11.7zm55.7 64h-31.4l-4.3-3.1v-4.9h40v4.9zm-5.4 4-10.3 7.5-10.3-7.5zm-68.6-35.6c.4-.2.9-.5 1.3-.7.1-.1 5.6-3.1 13-7.2v18.8l-14.6-10.7c.1-.1.2-.1.3-.2zm118.3 79.6c0 2.3-1.9 4-4 4h-112c-2.2 0-4-1.9-4-4v-75.5l58.8 43.1c.4.3.8.4 1.2.4s.8-.1 1.2-.4l58.8-43.1z" fill="#324249"/><path d="m199 361h-48v16h48zm-4 12h-40v-8h40z" fill="#324249"/><g opacity=".2"><path d="m153 357h20c1.1 0 2-.9 2-2s-.9-2-2-2h-20c-1.1 0-2 .9-2 2s.9 2 2 2z"/><path d="m173 385h-20c-1.1 0-2 .9-2 2s.9 2 2 2h20c1.1 0 2-.9 2-2s-.9-2-2-2z"/></g></svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
widgets/contact/contact.php
CHANGED
@@ -416,6 +416,10 @@ class SiteOrigin_Widgets_ContactForm_Widget extends SiteOrigin_Widget {
|
|
416 |
'type' => 'measurement',
|
417 |
'label' => __( 'Height', 'so-widgets-bundle' )
|
418 |
),
|
|
|
|
|
|
|
|
|
419 |
'background' => array(
|
420 |
'type' => 'color',
|
421 |
'label' => __( 'Background', 'so-widgets-bundle' ),
|
@@ -785,6 +789,7 @@ class SiteOrigin_Widgets_ContactForm_Widget extends SiteOrigin_Widget {
|
|
785 |
'field_margin' => $instance['design']['fields']['margin'],
|
786 |
'field_padding' => $instance['design']['fields']['padding'],
|
787 |
'field_height' => $instance['design']['fields']['height'],
|
|
|
788 |
'field_background' => $instance['design']['fields']['background'],
|
789 |
'field_border_color' => $instance['design']['fields']['border_color'],
|
790 |
'field_border_width' => $instance['design']['fields']['border_width'],
|
@@ -993,9 +998,9 @@ class SiteOrigin_Widgets_ContactForm_Widget extends SiteOrigin_Widget {
|
|
993 |
continue;
|
994 |
}
|
995 |
$field_name = $this->name_from_label( ! empty( $field['label'] ) ? $field['label'] : $i, $field_ids ) . '-' . $instance['_sow_form_id'];
|
996 |
-
$value =
|
997 |
-
|
998 |
-
if (
|
999 |
if ( $field['required']['required'] ) {
|
1000 |
// Add in the default subject
|
1001 |
if ( $field['type'] == 'subject' && ! empty( $instance['settings']['default_subject'] ) ) {
|
@@ -1041,7 +1046,12 @@ class SiteOrigin_Widgets_ContactForm_Widget extends SiteOrigin_Widget {
|
|
1041 |
}
|
1042 |
}
|
1043 |
|
1044 |
-
// Add in
|
|
|
|
|
|
|
|
|
|
|
1045 |
if ( ! isset( $email_fields['subject'] ) && ! empty( $instance['settings']['default_subject'] ) ) {
|
1046 |
$email_fields['subject'] = $instance['settings']['default_subject'];
|
1047 |
}
|
@@ -1118,7 +1128,7 @@ class SiteOrigin_Widgets_ContactForm_Widget extends SiteOrigin_Widget {
|
|
1118 |
$errors['email'] = __( 'The email address is invalid', 'so-widgets-bundle' );
|
1119 |
}
|
1120 |
|
1121 |
-
if (
|
1122 |
$errors['subject'] = __( 'Missing subject', 'so-widgets-bundle' );
|
1123 |
}
|
1124 |
|
416 |
'type' => 'measurement',
|
417 |
'label' => __( 'Height', 'so-widgets-bundle' )
|
418 |
),
|
419 |
+
'height_textarea' => array(
|
420 |
+
'type' => 'measurement',
|
421 |
+
'label' => __( 'Text Area Height', 'so-widgets-bundle' )
|
422 |
+
),
|
423 |
'background' => array(
|
424 |
'type' => 'color',
|
425 |
'label' => __( 'Background', 'so-widgets-bundle' ),
|
789 |
'field_margin' => $instance['design']['fields']['margin'],
|
790 |
'field_padding' => $instance['design']['fields']['padding'],
|
791 |
'field_height' => $instance['design']['fields']['height'],
|
792 |
+
'field_height_textarea' => ! empty( $instance['design']['fields']['height_textarea'] ) ? $instance['design']['fields']['height_textarea'] : '',
|
793 |
'field_background' => $instance['design']['fields']['background'],
|
794 |
'field_border_color' => $instance['design']['fields']['border_color'],
|
795 |
'field_border_width' => $instance['design']['fields']['border_width'],
|
998 |
continue;
|
999 |
}
|
1000 |
$field_name = $this->name_from_label( ! empty( $field['label'] ) ? $field['label'] : $i, $field_ids ) . '-' . $instance['_sow_form_id'];
|
1001 |
+
$value = isset( $post_vars[ $field_name ] ) ? $post_vars[ $field_name ] : '';
|
1002 |
+
|
1003 |
+
if ( strlen( $value ) == 0 ) {
|
1004 |
if ( $field['required']['required'] ) {
|
1005 |
// Add in the default subject
|
1006 |
if ( $field['type'] == 'subject' && ! empty( $instance['settings']['default_subject'] ) ) {
|
1046 |
}
|
1047 |
}
|
1048 |
|
1049 |
+
// Add in a default email address if no email field is defined in the form at all.
|
1050 |
+
if ( ! isset( $email_fields['email'] ) && ! empty( $instance['settings']['from'] ) ) {
|
1051 |
+
$email_fields['email'] = $instance['settings']['from'];
|
1052 |
+
}
|
1053 |
+
|
1054 |
+
// Add in the default subject if no subject field is defined in the form at all.
|
1055 |
if ( ! isset( $email_fields['subject'] ) && ! empty( $instance['settings']['default_subject'] ) ) {
|
1056 |
$email_fields['subject'] = $instance['settings']['default_subject'];
|
1057 |
}
|
1128 |
$errors['email'] = __( 'The email address is invalid', 'so-widgets-bundle' );
|
1129 |
}
|
1130 |
|
1131 |
+
if ( ! isset( $email_fields['subject'] ) ) {
|
1132 |
$errors['subject'] = __( 'Missing subject', 'so-widgets-bundle' );
|
1133 |
}
|
1134 |
|
widgets/contact/styles/default.less
CHANGED
@@ -70,7 +70,16 @@
|
|
70 |
@field_border_width: default;
|
71 |
@field_border_style: default;
|
72 |
@field_height: default;
|
|
|
73 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
textarea,
|
75 |
.sow-text-field {
|
76 |
display: block;
|
@@ -81,7 +90,6 @@
|
|
81 |
margin: @field_margin;
|
82 |
border: @field_border_width @field_border_style @field_border_color;
|
83 |
padding: @field_padding;
|
84 |
-
height: @field_height;
|
85 |
|
86 |
background: @field_background;
|
87 |
color: @field_font_color;
|
70 |
@field_border_width: default;
|
71 |
@field_border_style: default;
|
72 |
@field_height: default;
|
73 |
+
@field_height_textarea: default;
|
74 |
|
75 |
+
.sow-text-field {
|
76 |
+
height: @field_height;
|
77 |
+
}
|
78 |
+
|
79 |
+
textarea {
|
80 |
+
height: @field_height_textarea;
|
81 |
+
}
|
82 |
+
|
83 |
textarea,
|
84 |
.sow-text-field {
|
85 |
display: block;
|
90 |
margin: @field_margin;
|
91 |
border: @field_border_width @field_border_style @field_border_color;
|
92 |
padding: @field_padding;
|
|
|
93 |
|
94 |
background: @field_background;
|
95 |
color: @field_font_color;
|
widgets/cta/assets/banner.svg
CHANGED
@@ -1,33 +1 @@
|
|
1 |
-
|
2 |
-
<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
-
viewBox="55 277 240 240" style="enable-background:new 55 277 240 240;" xml:space="preserve">
|
5 |
-
<style type="text/css">
|
6 |
-
.st0{fill:#1880B6;}
|
7 |
-
.st1{fill:#324249;}
|
8 |
-
.st2{fill:#8ED9EF;}
|
9 |
-
.st3{fill:#F2F0DA;}
|
10 |
-
</style>
|
11 |
-
<rect id="Call_to_Action" x="55" y="277" class="st0" width="240" height="240"/>
|
12 |
-
<g>
|
13 |
-
<path class="st1" d="M207,373.2v-35.7c0-2.3-1.4-4.4-4.3-4.4c-1.2,0-3.7,1.9-4.8,2.7c-1.4,1.1-17.8,15.7-25.5,21.2H137
|
14 |
-
c-0.3,0-26,0.3-26,26s25.7,26,26,26h10v48c0,2.2,1.8,4,4,4h12c2.2,0,4-1.8,4-4v-48h5.4l27.5,22.8c1.1,0.8,2.3,1.2,3.5,1.2
|
15 |
-
c1.8,0,3.7-1.2,3.7-4v-36.2c4.6-0.9,8-5,8-9.8S211.6,374.1,207,373.2z M163,457h-12v-48h12V457z M171,405h-34c-0.9,0-22-0.2-22-22
|
16 |
-
c0-21.7,21.1-22,22-22h34V405z M203,427.5c0,0.8-0.8,1.2-1.4,0.5L175,406V360c4.1-2.9,24.5-20.1,26.2-21.5c0.9-0.7,1.8-0.5,1.8,0.8
|
17 |
-
L203,427.5z M207,388.6v-11.3c2.3,0.8,4,3,4,5.6C211,385.6,209.3,387.8,207,388.6z"/>
|
18 |
-
<path class="st1" d="M216.9,396.5c-0.4,0.4-2.3,2-1.2,3.4c1.1,1.4,2.4,0.7,3.5-0.1c4.4-3.4,7.9-9.8,7.9-16.9c0-7-2.8-12.6-7.4-16.5
|
19 |
-
c-0.5-0.5-2.4-1.9-3.7-0.5c-1.2,1.4,0.6,3.1,0.8,3.3c3.8,3.3,6.3,7.9,6.3,13.7C223,388.6,220.6,393.3,216.9,396.5z"/>
|
20 |
-
<path class="st1" d="M218.2,351.7c-0.5-0.2-2.2-1-2.9,0.8c-0.7,1.7,1.2,2.8,1.4,2.9c11,4.5,18.3,15,18.3,27.6
|
21 |
-
c0,12.5-7.6,23.2-18.5,27.7c-0.2,0.1-2,0.9-1.2,2.9c0.6,1.7,2.3,0.9,2.9,0.7c12.2-5.1,20.8-17.2,20.8-31.4
|
22 |
-
C239,368.8,230.6,356.8,218.2,351.7z"/>
|
23 |
-
</g>
|
24 |
-
<g>
|
25 |
-
<path class="st2" d="M115,383c0,21.8,21.1,22,22,22h34v-44h-34C136.1,361,115,361.3,115,383z"/>
|
26 |
-
<path class="st2" d="M201.2,338.5c-1.7,1.5-22.1,18.6-26.2,21.5V406l26.5,22c0.7,0.7,1.4,0.3,1.4-0.5l0-88.2
|
27 |
-
C203,338,202,337.7,201.2,338.5z"/>
|
28 |
-
</g>
|
29 |
-
<g>
|
30 |
-
<rect x="151" y="409" class="st3" width="12" height="48"/>
|
31 |
-
<path class="st3" d="M207,377.4v11.3c2.3-0.8,4-3,4-5.6C211,380.4,209.3,378.2,207,377.4z"/>
|
32 |
-
</g>
|
33 |
-
</svg>
|
1 |
+
<svg enable-background="new 55 277 240 240" viewBox="55 277 240 240" xmlns="http://www.w3.org/2000/svg"><path d="m55 277h240v240h-240z" fill="#1880b6"/><g fill="#324249"><path d="m207 373.2v-35.7c0-2.3-1.4-4.4-4.3-4.4-1.2 0-3.7 1.9-4.8 2.7-1.4 1.1-17.8 15.7-25.5 21.2h-35.4c-.3 0-26 .3-26 26s25.7 26 26 26h10v48c0 2.2 1.8 4 4 4h12c2.2 0 4-1.8 4-4v-48h5.4l27.5 22.8c1.1.8 2.3 1.2 3.5 1.2 1.8 0 3.7-1.2 3.7-4v-36.2c4.6-.9 8-5 8-9.8s-3.5-8.9-8.1-9.8zm-44 83.8h-12v-48h12zm8-52h-34c-.9 0-22-.2-22-22 0-21.7 21.1-22 22-22h34zm32 22.5c0 .8-.8 1.2-1.4.5l-26.6-22v-46c4.1-2.9 24.5-20.1 26.2-21.5.9-.7 1.8-.5 1.8.8zm4-38.9v-11.3c2.3.8 4 3 4 5.6 0 2.7-1.7 4.9-4 5.7z"/><path d="m216.9 396.5c-.4.4-2.3 2-1.2 3.4s2.4.7 3.5-.1c4.4-3.4 7.9-9.8 7.9-16.9 0-7-2.8-12.6-7.4-16.5-.5-.5-2.4-1.9-3.7-.5-1.2 1.4.6 3.1.8 3.3 3.8 3.3 6.3 7.9 6.3 13.7-.1 5.7-2.5 10.4-6.2 13.6z"/><path d="m218.2 351.7c-.5-.2-2.2-1-2.9.8-.7 1.7 1.2 2.8 1.4 2.9 11 4.5 18.3 15 18.3 27.6 0 12.5-7.6 23.2-18.5 27.7-.2.1-2 .9-1.2 2.9.6 1.7 2.3.9 2.9.7 12.2-5.1 20.8-17.2 20.8-31.4 0-14.1-8.4-26.1-20.8-31.2z"/></g><path d="m115 383c0 21.8 21.1 22 22 22h34v-44h-34c-.9 0-22 .3-22 22z" fill="#8ed9ef"/><path d="m201.2 338.5c-1.7 1.5-22.1 18.6-26.2 21.5v46l26.5 22c.7.7 1.4.3 1.4-.5v-88.2c.1-1.3-.9-1.6-1.7-.8z" fill="#8ed9ef"/><path d="m151 409h12v48h-12z" fill="#f2f0da"/><path d="m207 377.4v11.3c2.3-.8 4-3 4-5.6 0-2.7-1.7-4.9-4-5.7z" fill="#f2f0da"/></svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
widgets/cta/css/style.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.sow-cta-base{zoom:1;
|
1 |
+
.sow-cta-base{zoom:1;padding:2em 2.5em}.sow-cta-base:before{content:'';display:block}.sow-cta-base:after{content:'';display:table;clear:both}.sow-cta-base .sow-cta-text .sow-cta-title,.sow-cta-base .sow-cta-text .sow-cta-subtitle,.sow-cta-base .sow-cta-text p{margin:.4em 0}.sow-cta-base .sow-cta-text .sow-cta-title{margin-top:0}.sow-cta-base .sow-cta-text .sow-cta-subtitle,.sow-cta-base .sow-cta-text p{margin-bottom:0;font-weight:normal}@media screen and (max-width:640px){.sow-cta-base{text-align:center;padding:1.75em}.sow-cta-base .sow-cta-text{float:none}.sow-cta-base .so-widget-sow-button{display:inline-block;float:none;margin-top:2em !important;margin-left:0 !important}}
|
widgets/cta/cta.php
CHANGED
@@ -80,6 +80,11 @@ class SiteOrigin_Widget_Cta_Widget extends SiteOrigin_Widget {
|
|
80 |
'type' => 'color',
|
81 |
'label' => __('Border color', 'so-widgets-bundle'),
|
82 |
),
|
|
|
|
|
|
|
|
|
|
|
83 |
'title_color' => array(
|
84 |
'type' => 'color',
|
85 |
'label' => __('Title color', 'so-widgets-bundle'),
|
@@ -125,6 +130,23 @@ class SiteOrigin_Widget_Cta_Widget extends SiteOrigin_Widget {
|
|
125 |
unset( $child_widget_form['design']['fields']['align'] );
|
126 |
return $child_widget_form;
|
127 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
128 |
|
129 |
function get_form_teaser(){
|
130 |
if( class_exists( 'SiteOrigin_Premium' ) ) return false;
|
80 |
'type' => 'color',
|
81 |
'label' => __('Border color', 'so-widgets-bundle'),
|
82 |
),
|
83 |
+
'use_default_background' => array(
|
84 |
+
'type' => 'checkbox',
|
85 |
+
'label' => __( 'Use default background colors', 'so-widgets-bundle' ),
|
86 |
+
'default' => true,
|
87 |
+
),
|
88 |
'title_color' => array(
|
89 |
'type' => 'color',
|
90 |
'label' => __('Title color', 'so-widgets-bundle'),
|
130 |
unset( $child_widget_form['design']['fields']['align'] );
|
131 |
return $child_widget_form;
|
132 |
}
|
133 |
+
|
134 |
+
function modify_instance( $instance ) {
|
135 |
+
if ( ! isset( $instance['design']['use_default_background'] ) ) {
|
136 |
+
$instance['design']['use_default_background'] = true;
|
137 |
+
}
|
138 |
+
|
139 |
+
if ( ! empty( $instance['design']['use_default_background'] ) ) {
|
140 |
+
if ( empty( $instance['design']['background_color'] ) ) {
|
141 |
+
$instance['design']['background_color'] = '#F8F8F8';
|
142 |
+
}
|
143 |
+
if ( empty( $instance['design']['border_color'] ) ) {
|
144 |
+
$instance['design']['border_color'] = '#E3E3E3';
|
145 |
+
}
|
146 |
+
}
|
147 |
+
|
148 |
+
return $instance;
|
149 |
+
}
|
150 |
|
151 |
function get_form_teaser(){
|
152 |
if( class_exists( 'SiteOrigin_Premium' ) ) return false;
|
widgets/cta/styles/default.less
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
|
3 |
.widget-function('import_google_font');
|
4 |
|
5 |
-
@border_color:
|
6 |
-
@background_color:
|
7 |
@title_color: default;
|
8 |
@title_font_family: default;
|
9 |
@title_font_weight: default;
|
@@ -14,8 +14,12 @@
|
|
14 |
@subtitle_font_size: default;
|
15 |
|
16 |
.sow-cta-base {
|
17 |
-
|
18 |
-
|
|
|
|
|
|
|
|
|
19 |
|
20 |
.sow-cta-text {
|
21 |
.sow-cta- {
|
2 |
|
3 |
.widget-function('import_google_font');
|
4 |
|
5 |
+
@border_color: default;
|
6 |
+
@background_color: default;
|
7 |
@title_color: default;
|
8 |
@title_font_family: default;
|
9 |
@title_font_weight: default;
|
14 |
@subtitle_font_size: default;
|
15 |
|
16 |
.sow-cta-base {
|
17 |
+
& when ( iscolor( @border_color ) ) {
|
18 |
+
border: 1px solid @border_color;
|
19 |
+
}
|
20 |
+
& when ( iscolor( @background_color ) ) {
|
21 |
+
background-color: @background_color;
|
22 |
+
}
|
23 |
|
24 |
.sow-cta-text {
|
25 |
.sow-cta- {
|
widgets/editor/assets/banner.svg
CHANGED
@@ -1,38 +1 @@
|
|
1 |
-
|
2 |
-
<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
-
viewBox="55 277 240 240" style="enable-background:new 55 277 240 240;" xml:space="preserve">
|
5 |
-
<style type="text/css">
|
6 |
-
.st0{fill:#1880B6;}
|
7 |
-
.st1{fill:#F2F0DA;}
|
8 |
-
.st2{opacity:0.2;}
|
9 |
-
.st3{fill:#324249;}
|
10 |
-
</style>
|
11 |
-
<rect id="Call_to_Action_2_" x="55" y="277" class="st0" width="240" height="240"/>
|
12 |
-
<g>
|
13 |
-
<g>
|
14 |
-
<path class="st1" d="M219,337h-88c-2.2,0-4,1.8-4,4v112c0,2.2,1.8,4,4,4h88c2.2,0,4-1.8,4-4v-84v-28C223,338.8,221.2,337,219,337z
|
15 |
-
"/>
|
16 |
-
</g>
|
17 |
-
<g class="st2">
|
18 |
-
<path d="M145,361h24c1.1,0,2-0.9,2-2s-0.9-2-2-2h-24c-1.1,0-2,0.9-2,2S143.9,361,145,361z"/>
|
19 |
-
<path d="M145,413h32c1.1,0,2-0.9,2-2s-0.9-2-2-2h-32c-1.1,0-2,0.9-2,2S143.9,413,145,413z"/>
|
20 |
-
<path d="M185,413h20c1.1,0,2-0.9,2-2s-0.9-2-2-2h-20c-1.1,0-2,0.9-2,2S183.9,413,185,413z"/>
|
21 |
-
<path d="M145,377h32c1.1,0,2-0.9,2-2s-0.9-2-2-2h-32c-1.1,0-2,0.9-2,2S143.9,377,145,377z"/>
|
22 |
-
<path d="M185,377h20c1.1,0,2-0.9,2-2s-0.9-2-2-2h-20c-1.1,0-2,0.9-2,2S183.9,377,185,377z"/>
|
23 |
-
<path d="M205,433h-36c-1.1,0-2,0.9-2,2s0.9,2,2,2h36c1.1,0,2-0.9,2-2S206.1,433,205,433z"/>
|
24 |
-
<path d="M161,433h-16c-1.1,0-2,0.9-2,2s0.9,2,2,2h16c1.1,0,2-0.9,2-2S162.1,433,161,433z"/>
|
25 |
-
<path d="M145,425h8c1.1,0,2-0.9,2-2s-0.9-2-2-2h-8c-1.1,0-2,0.9-2,2S143.9,425,145,425z"/>
|
26 |
-
<path d="M161,421c-1.1,0-2,0.9-2,2s0.9,2,2,2h12c1.1,0,2-0.9,2-2s-0.9-2-2-2H161z"/>
|
27 |
-
<path d="M205,421h-24c-1.1,0-2,0.9-2,2s0.9,2,2,2h24c1.1,0,2-0.9,2-2S206.1,421,205,421z"/>
|
28 |
-
<path d="M205,397h-36c-1.1,0-2,0.9-2,2s0.9,2,2,2h36c1.1,0,2-0.9,2-2S206.1,397,205,397z"/>
|
29 |
-
<path d="M161,397h-16c-1.1,0-2,0.9-2,2s0.9,2,2,2h16c1.1,0,2-0.9,2-2S162.1,397,161,397z"/>
|
30 |
-
<path d="M145,389h8c1.1,0,2-0.9,2-2s-0.9-2-2-2h-8c-1.1,0-2,0.9-2,2S143.9,389,145,389z"/>
|
31 |
-
<path d="M161,385c-1.1,0-2,0.9-2,2s0.9,2,2,2h12c1.1,0,2-0.9,2-2s-0.9-2-2-2H161z"/>
|
32 |
-
<path d="M205,385h-24c-1.1,0-2,0.9-2,2s0.9,2,2,2h24c1.1,0,2-0.9,2-2S206.1,385,205,385z"/>
|
33 |
-
</g>
|
34 |
-
</g>
|
35 |
-
<path class="st3" d="M227,453v-4V345v-4c0-4.4-3.6-8-8-8h-88c-4.4,0-8,3.6-8,8v4v104v4c0,4.4,3.6,8,8,8h88
|
36 |
-
C223.4,461,227,457.4,227,453L227,453z M223,369v84c0,2.2-1.8,4-4,4h-88c-2.2,0-4-1.8-4-4V341c0-2.2,1.8-4,4-4h88c2.2,0,4,1.8,4,4
|
37 |
-
V369z"/>
|
38 |
-
</svg>
|
1 |
+
<svg enable-background="new 55 277 240 240" viewBox="55 277 240 240" xmlns="http://www.w3.org/2000/svg"><path d="m55 277h240v240h-240z" fill="#1880b6"/><path d="m219 337h-88c-2.2 0-4 1.8-4 4v112c0 2.2 1.8 4 4 4h88c2.2 0 4-1.8 4-4v-84-28c0-2.2-1.8-4-4-4z" fill="#f2f0da"/><g opacity=".2"><path d="m145 361h24c1.1 0 2-.9 2-2s-.9-2-2-2h-24c-1.1 0-2 .9-2 2s.9 2 2 2z"/><path d="m145 413h32c1.1 0 2-.9 2-2s-.9-2-2-2h-32c-1.1 0-2 .9-2 2s.9 2 2 2z"/><path d="m185 413h20c1.1 0 2-.9 2-2s-.9-2-2-2h-20c-1.1 0-2 .9-2 2s.9 2 2 2z"/><path d="m145 377h32c1.1 0 2-.9 2-2s-.9-2-2-2h-32c-1.1 0-2 .9-2 2s.9 2 2 2z"/><path d="m185 377h20c1.1 0 2-.9 2-2s-.9-2-2-2h-20c-1.1 0-2 .9-2 2s.9 2 2 2z"/><path d="m205 433h-36c-1.1 0-2 .9-2 2s.9 2 2 2h36c1.1 0 2-.9 2-2s-.9-2-2-2z"/><path d="m161 433h-16c-1.1 0-2 .9-2 2s.9 2 2 2h16c1.1 0 2-.9 2-2s-.9-2-2-2z"/><path d="m145 425h8c1.1 0 2-.9 2-2s-.9-2-2-2h-8c-1.1 0-2 .9-2 2s.9 2 2 2z"/><path d="m161 421c-1.1 0-2 .9-2 2s.9 2 2 2h12c1.1 0 2-.9 2-2s-.9-2-2-2z"/><path d="m205 421h-24c-1.1 0-2 .9-2 2s.9 2 2 2h24c1.1 0 2-.9 2-2s-.9-2-2-2z"/><path d="m205 397h-36c-1.1 0-2 .9-2 2s.9 2 2 2h36c1.1 0 2-.9 2-2s-.9-2-2-2z"/><path d="m161 397h-16c-1.1 0-2 .9-2 2s.9 2 2 2h16c1.1 0 2-.9 2-2s-.9-2-2-2z"/><path d="m145 389h8c1.1 0 2-.9 2-2s-.9-2-2-2h-8c-1.1 0-2 .9-2 2s.9 2 2 2z"/><path d="m161 385c-1.1 0-2 .9-2 2s.9 2 2 2h12c1.1 0 2-.9 2-2s-.9-2-2-2z"/><path d="m205 385h-24c-1.1 0-2 .9-2 2s.9 2 2 2h24c1.1 0 2-.9 2-2s-.9-2-2-2z"/></g><path d="m227 453v-4-104-4c0-4.4-3.6-8-8-8h-88c-4.4 0-8 3.6-8 8v4 104 4c0 4.4 3.6 8 8 8h88c4.4 0 8-3.6 8-8zm-4-84v84c0 2.2-1.8 4-4 4h-88c-2.2 0-4-1.8-4-4v-112c0-2.2 1.8-4 4-4h88c2.2 0 4 1.8 4 4z" fill="#324249"/></svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
widgets/features/assets/banner.svg
CHANGED
@@ -1,56 +1 @@
|
|
1 |
-
|
2 |
-
<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
-
viewBox="55 277 240 240" style="enable-background:new 55 277 240 240;" xml:space="preserve">
|
5 |
-
<style type="text/css">
|
6 |
-
.st0{fill:#1880B6;}
|
7 |
-
.st1{fill:#324249;}
|
8 |
-
.st2{fill:#8ED9EF;}
|
9 |
-
.st3{fill:#F2F0DA;}
|
10 |
-
</style>
|
11 |
-
<rect id="Button_1_" x="55" y="277" class="st0" width="240" height="240"/>
|
12 |
-
<g>
|
13 |
-
<path class="st1" d="M231,333H119c-4.4,0-8,3.6-8,8v112c0,4.4,3.6,8,8,8h112c4.4,0,8-3.6,8-8V341C239,336.6,235.4,333,231,333z
|
14 |
-
M183,373c0-8.8,7.2-16,16-16c8.8,0,16,7.2,16,16c0,8.8-7.2,16-16,16h-16L183,373L183,373z M115,341c0-2.2,1.8-4,4-4h48v24.1
|
15 |
-
c-3.6-4.9-9.4-8.1-16-8.1c-11,0-20,9-20,20c0,6.6,3.2,12.4,8.1,16H115V341z M167,373v16h-16c-8.8,0-16-7.2-16-16s7.2-16,16-16
|
16 |
-
S167,364.2,167,373z M167,457h-48c-2.2,0-4-1.8-4-4v-48h24.1c-4.9,3.6-8.1,9.4-8.1,16c0,11,9,20,20,20c6.6,0,12.4-3.2,16-8.1V457z
|
17 |
-
M167,421c0,8.8-7.2,16-16,16s-16-7.2-16-16c0-8.8,7.2-16,16-16h16V421z M235,453c0,2.2-1.8,4-4,4h-48v-24.1
|
18 |
-
c3.6,4.9,9.4,8.1,16,8.1c11,0,20-9,20-20c0-6.6-3.2-12.4-8.1-16H235V453z M183,421v-16h16c8.8,0,16,7.2,16,16s-7.2,16-16,16
|
19 |
-
C190.2,437,183,429.8,183,421z M235,401h-56v56h-8v-56h-56v-8h56v-56h8v56h56V401z M235,389h-24.1c4.9-3.6,8.1-9.4,8.1-16
|
20 |
-
c0-11-9-20-20-20c-6.6,0-12.4,3.2-16,8.1V337h48c2.2,0,4,1.8,4,4V389z"/>
|
21 |
-
<path class="st1" d="M211,373c0-6.6-5.4-12-12-12s-12,5.4-12,12v12h12C205.6,385,211,379.6,211,373z M191,373c0-4.4,3.6-8,8-8
|
22 |
-
c4.4,0,8,3.6,8,8s-3.6,8-8,8h-8L191,373L191,373z"/>
|
23 |
-
<path class="st1" d="M151,361c-6.6,0-12,5.4-12,12s5.4,12,12,12h12v-12C163,366.4,157.6,361,151,361z M159,381h-8c-4.4,0-8-3.6-8-8
|
24 |
-
c0-4.4,3.6-8,8-8s8,3.6,8,8V381z"/>
|
25 |
-
<path class="st1" d="M139,421c0,6.6,5.4,12,12,12s12-5.4,12-12v-12h-12C144.4,409,139,414.4,139,421z M159,421c0,4.4-3.6,8-8,8
|
26 |
-
c-4.4,0-8-3.6-8-8s3.6-8,8-8h8L159,421L159,421z"/>
|
27 |
-
<path class="st1" d="M199,433c6.6,0,12-5.4,12-12s-5.4-12-12-12h-12v12C187,427.6,192.4,433,199,433z M191,413h8c4.4,0,8,3.6,8,8
|
28 |
-
c0,4.4-3.6,8-8,8c-4.4,0-8-3.6-8-8V413z"/>
|
29 |
-
</g>
|
30 |
-
<g>
|
31 |
-
<path class="st2" d="M115,341v48h24.1c-4.9-3.6-8.1-9.4-8.1-16c0-11,9-20,20-20c6.6,0,12.4,3.2,16,8.1V337h-48
|
32 |
-
C116.8,337,115,338.8,115,341z"/>
|
33 |
-
<path class="st2" d="M151,441c-11,0-20-9-20-20c0-6.6,3.2-12.4,8.1-16H115v48c0,2.2,1.8,4,4,4h48v-24.1
|
34 |
-
C163.4,437.8,157.6,441,151,441z"/>
|
35 |
-
<path class="st2" d="M219,421c0,11-9,20-20,20c-6.6,0-12.4-3.2-16-8.1V457h48c2.2,0,4-1.8,4-4v-48h-24.1
|
36 |
-
C215.8,408.6,219,414.4,219,421z"/>
|
37 |
-
<path class="st2" d="M231,337h-48v24.1c3.6-4.9,9.4-8.1,16-8.1c11,0,20,9,20,20c0,6.6-3.2,12.4-8.1,16H235v-48
|
38 |
-
C235,338.8,233.2,337,231,337z"/>
|
39 |
-
<path class="st2" d="M207,373c0-4.4-3.6-8-8-8s-8,3.6-8,8v8h8C203.4,381,207,377.4,207,373z"/>
|
40 |
-
<path class="st2" d="M151,381h8v-8c0-4.4-3.6-8-8-8c-4.4,0-8,3.6-8,8S146.6,381,151,381z"/>
|
41 |
-
<path class="st2" d="M151,429c4.4,0,8-3.6,8-8v-8h-8c-4.4,0-8,3.6-8,8C143,425.4,146.6,429,151,429z"/>
|
42 |
-
<path class="st2" d="M191,421c0,4.4,3.6,8,8,8c4.4,0,8-3.6,8-8c0-4.4-3.6-8-8-8h-8V421z"/>
|
43 |
-
</g>
|
44 |
-
<g>
|
45 |
-
<path class="st3" d="M215,373c0-8.8-7.2-16-16-16c-8.8,0-16,7.2-16,16v16h16C207.8,389,215,381.8,215,373z M187,373
|
46 |
-
c0-6.6,5.4-12,12-12s12,5.4,12,12s-5.4,12-12,12h-12L187,373L187,373z"/>
|
47 |
-
<path class="st3" d="M151,389h16v-16c0-8.8-7.2-16-16-16s-16,7.2-16,16S142.2,389,151,389z M151,361c6.6,0,12,5.4,12,12v12h-12
|
48 |
-
c-6.6,0-12-5.4-12-12S144.4,361,151,361z"/>
|
49 |
-
<path class="st3" d="M135,421c0,8.8,7.2,16,16,16c8.8,0,16-7.2,16-16v-16h-16C142.2,405,135,412.2,135,421z M163,421
|
50 |
-
c0,6.6-5.4,12-12,12c-6.6,0-12-5.4-12-12s5.4-12,12-12h12L163,421L163,421z"/>
|
51 |
-
<path class="st3" d="M199,405h-16v16c0,8.8,7.2,16,16,16c8.8,0,16-7.2,16-16C215,412.2,207.8,405,199,405z M199,433
|
52 |
-
c-6.6,0-12-5.4-12-12v-12h12c6.6,0,12,5.4,12,12C211,427.6,205.6,433,199,433z"/>
|
53 |
-
<polygon class="st3" points="179,393 179,337 171,337 171,393 115,393 115,401 171,401 171,457 179,457 179,401 235,401 235,393
|
54 |
-
"/>
|
55 |
-
</g>
|
56 |
-
</svg>
|
1 |
+
<svg enable-background="new 55 277 240 240" viewBox="55 277 240 240" xmlns="http://www.w3.org/2000/svg"><path d="m55 277h240v240h-240z" fill="#1880b6"/><path d="m231 333h-112c-4.4 0-8 3.6-8 8v112c0 4.4 3.6 8 8 8h112c4.4 0 8-3.6 8-8v-112c0-4.4-3.6-8-8-8zm-48 40c0-8.8 7.2-16 16-16s16 7.2 16 16-7.2 16-16 16h-16zm-68-32c0-2.2 1.8-4 4-4h48v24.1c-3.6-4.9-9.4-8.1-16-8.1-11 0-20 9-20 20 0 6.6 3.2 12.4 8.1 16h-24.1zm52 32v16h-16c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16zm0 84h-48c-2.2 0-4-1.8-4-4v-48h24.1c-4.9 3.6-8.1 9.4-8.1 16 0 11 9 20 20 20 6.6 0 12.4-3.2 16-8.1zm0-36c0 8.8-7.2 16-16 16s-16-7.2-16-16 7.2-16 16-16h16zm68 32c0 2.2-1.8 4-4 4h-48v-24.1c3.6 4.9 9.4 8.1 16 8.1 11 0 20-9 20-20 0-6.6-3.2-12.4-8.1-16h24.1zm-52-32v-16h16c8.8 0 16 7.2 16 16s-7.2 16-16 16-16-7.2-16-16zm52-20h-56v56h-8v-56h-56v-8h56v-56h8v56h56zm0-12h-24.1c4.9-3.6 8.1-9.4 8.1-16 0-11-9-20-20-20-6.6 0-12.4 3.2-16 8.1v-24.1h48c2.2 0 4 1.8 4 4z" fill="#324249"/><path d="m211 373c0-6.6-5.4-12-12-12s-12 5.4-12 12v12h12c6.6 0 12-5.4 12-12zm-20 0c0-4.4 3.6-8 8-8s8 3.6 8 8-3.6 8-8 8h-8z" fill="#324249"/><path d="m151 361c-6.6 0-12 5.4-12 12s5.4 12 12 12h12v-12c0-6.6-5.4-12-12-12zm8 20h-8c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8z" fill="#324249"/><path d="m139 421c0 6.6 5.4 12 12 12s12-5.4 12-12v-12h-12c-6.6 0-12 5.4-12 12zm20 0c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8h8z" fill="#324249"/><path d="m199 433c6.6 0 12-5.4 12-12s-5.4-12-12-12h-12v12c0 6.6 5.4 12 12 12zm-8-20h8c4.4 0 8 3.6 8 8s-3.6 8-8 8-8-3.6-8-8z" fill="#324249"/><g fill="#8ed9ef"><path d="m115 341v48h24.1c-4.9-3.6-8.1-9.4-8.1-16 0-11 9-20 20-20 6.6 0 12.4 3.2 16 8.1v-24.1h-48c-2.2 0-4 1.8-4 4z"/><path d="m151 441c-11 0-20-9-20-20 0-6.6 3.2-12.4 8.1-16h-24.1v48c0 2.2 1.8 4 4 4h48v-24.1c-3.6 4.9-9.4 8.1-16 8.1z"/><path d="m219 421c0 11-9 20-20 20-6.6 0-12.4-3.2-16-8.1v24.1h48c2.2 0 4-1.8 4-4v-48h-24.1c4.9 3.6 8.1 9.4 8.1 16z"/><path d="m231 337h-48v24.1c3.6-4.9 9.4-8.1 16-8.1 11 0 20 9 20 20 0 6.6-3.2 12.4-8.1 16h24.1v-48c0-2.2-1.8-4-4-4z"/><path d="m207 373c0-4.4-3.6-8-8-8s-8 3.6-8 8v8h8c4.4 0 8-3.6 8-8z"/><path d="m151 381h8v-8c0-4.4-3.6-8-8-8s-8 3.6-8 8 3.6 8 8 8z"/><path d="m151 429c4.4 0 8-3.6 8-8v-8h-8c-4.4 0-8 3.6-8 8s3.6 8 8 8z"/><path d="m191 421c0 4.4 3.6 8 8 8s8-3.6 8-8-3.6-8-8-8h-8z"/></g><path d="m215 373c0-8.8-7.2-16-16-16s-16 7.2-16 16v16h16c8.8 0 16-7.2 16-16zm-28 0c0-6.6 5.4-12 12-12s12 5.4 12 12-5.4 12-12 12h-12z" fill="#f2f0da"/><path d="m151 389h16v-16c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16zm0-28c6.6 0 12 5.4 12 12v12h-12c-6.6 0-12-5.4-12-12s5.4-12 12-12z" fill="#f2f0da"/><path d="m135 421c0 8.8 7.2 16 16 16s16-7.2 16-16v-16h-16c-8.8 0-16 7.2-16 16zm28 0c0 6.6-5.4 12-12 12s-12-5.4-12-12 5.4-12 12-12h12z" fill="#f2f0da"/><path d="m199 405h-16v16c0 8.8 7.2 16 16 16s16-7.2 16-16-7.2-16-16-16zm0 28c-6.6 0-12-5.4-12-12v-12h12c6.6 0 12 5.4 12 12s-5.4 12-12 12z" fill="#f2f0da"/><path d="m179 393v-56h-8v56h-56v8h56v56h8v-56h56v-8z" fill="#f2f0da"/></svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
widgets/features/images/containers/explode.svg
CHANGED
@@ -1,8 +1 @@
|
|
1 |
-
|
2 |
-
<!-- Generator: Adobe Illustrator 17.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5 |
-
viewBox="0 0 24 24" enable-background="new 0 0 24 24" xml:space="preserve">
|
6 |
-
<polygon points="12,0 14.3,6.4 20.4,3.5 17.5,9.7 23.9,12 17.5,14.3 20.4,20.4 14.3,17.5 12,23.9 9.7,17.5 3.5,20.4 6.4,14.3 0,12
|
7 |
-
6.4,9.7 3.5,3.5 9.7,6.4 "/>
|
8 |
-
</svg>
|
1 |
+
<svg enable-background="new 0 0 24 24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="m12 0 2.3 6.4 6.1-2.9-2.9 6.2 6.4 2.3-6.4 2.3 2.9 6.1-6.1-2.9-2.3 6.4-2.3-6.4-6.2 2.9 2.9-6.1-6.4-2.3 6.4-2.3-2.9-6.2 6.2 2.9z"/></svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
widgets/features/images/containers/frame.svg
CHANGED
@@ -1,7 +1 @@
|
|
1 |
-
|
2 |
-
<!-- Generator: Adobe Illustrator 17.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5 |
-
viewBox="0 0 24 24" enable-background="new 0 0 24 24" xml:space="preserve">
|
6 |
-
<path d="M20,24H4c0-2.2-1.8-4-4-4V4c2.2,0,4-1.8,4-4h16c0,2.2,1.8,4,4,4v16C21.8,20,20,21.8,20,24z"/>
|
7 |
-
</svg>
|
1 |
+
<svg enable-background="new 0 0 24 24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="m20 24h-16c0-2.2-1.8-4-4-4v-16c2.2 0 4-1.8 4-4h16c0 2.2 1.8 4 4 4v16c-2.2 0-4 1.8-4 4z"/></svg>
|
|
|
|
|
|
|
|
|
|
|
|
widgets/features/images/containers/hex.svg
CHANGED
@@ -1,7 +1 @@
|
|
1 |
-
|
2 |
-
<!-- Generator: Adobe Illustrator 17.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5 |
-
viewBox="0 0 24 24" enable-background="new 0 0 24 24" xml:space="preserve">
|
6 |
-
<polygon points="6,22.4 0,12 6,1.6 18,1.6 24,12 18,22.4 "/>
|
7 |
-
</svg>
|
1 |
+
<svg enable-background="new 0 0 24 24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="m6 22.4-6-10.4 6-10.4h12l6 10.4-6 10.4z"/></svg>
|
|
|
|
|
|
|
|
|
|
|
|
widgets/features/images/containers/octagon.svg
CHANGED
@@ -1,8 +1 @@
|
|
1 |
-
|
2 |
-
<!-- Generator: Adobe Illustrator 17.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5 |
-
viewBox="0 0 24 24" enable-background="new 0 0 24 24" xml:space="preserve">
|
6 |
-
<path d="M19.5,24H4.5c-1.7-1.7-2.7-2.7-4.5-4.5V4.5C1.7,2.7,2.7,1.7,4.5,0h15.1c1.7,1.7,2.7,2.7,4.5,4.5v15.1
|
7 |
-
C22.3,21.3,21.3,22.3,19.5,24z"/>
|
8 |
-
</svg>
|
1 |
+
<svg enable-background="new 0 0 24 24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="m19.5 24h-15c-1.7-1.7-2.7-2.7-4.5-4.5v-15c1.7-1.8 2.7-2.8 4.5-4.5h15.1c1.7 1.7 2.7 2.7 4.5 4.5v15.1c-1.8 1.7-2.8 2.7-4.6 4.4z"/></svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
widgets/features/images/containers/round.svg
CHANGED
@@ -1,7 +1 @@
|
|
1 |
-
|
2 |
-
<!-- Generator: Adobe Illustrator 17.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5 |
-
viewBox="0 0 24 24" enable-background="new 0 0 24 24" xml:space="preserve">
|
6 |
-
<circle cx="12" cy="12" r="12"/>
|
7 |
-
</svg>
|
1 |
+
<svg enable-background="new 0 0 24 24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="12"/></svg>
|
|
|
|
|
|
|
|
|
|
|
|
widgets/features/images/containers/rounded-hex.svg
CHANGED
@@ -1,10 +1 @@
|
|
1 |
-
|
2 |
-
<!-- Generator: Adobe Illustrator 17.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5 |
-
viewBox="0 0 24 24" enable-background="new 0 0 24 24" xml:space="preserve">
|
6 |
-
<g>
|
7 |
-
<path d="M7.7,22.9c-1.1,0-2.4-0.8-3-1.7l-4.3-7.4c-0.6-1-0.6-2.5,0-3.5l4.3-7.4c0.6-1,1.9-1.7,3-1.7h8.5c1.1,0,2.4,0.8,3,1.7
|
8 |
-
l4.3,7.4c0.5,1,0.5,2.5,0,3.5l-4.3,7.4c-0.5,1-1.9,1.7-3,1.7H7.7z"/>
|
9 |
-
</g>
|
10 |
-
</svg>
|
1 |
+
<svg enable-background="new 0 0 24 24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="m7.7 22.9c-1.1 0-2.4-.8-3-1.7l-4.3-7.4c-.6-1-.6-2.5 0-3.5l4.3-7.4c.6-1 1.9-1.7 3-1.7h8.5c1.1 0 2.4.8 3 1.7l4.3 7.4c.5 1 .5 2.5 0 3.5l-4.3 7.4c-.5 1-1.9 1.7-3 1.7z"/></svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
widgets/features/images/containers/rounded-square.svg
CHANGED
@@ -1,7 +1 @@
|
|
1 |
-
|
2 |
-
<!-- Generator: Adobe Illustrator 17.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5 |
-
viewBox="0 0 24 24" enable-background="new 0 0 24 24" xml:space="preserve">
|
6 |
-
<path d="M24,20c0,2.2-1.8,4-4,4H4c-2.2,0-4-1.8-4-4V4c0-2.2,1.8-4,4-4H20c2.2,0,4,1.8,4,4V20z"/>
|
7 |
-
</svg>
|
1 |
+
<svg enable-background="new 0 0 24 24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="m24 20c0 2.2-1.8 4-4 4h-16c-2.2 0-4-1.8-4-4v-16c0-2.2 1.8-4 4-4h16c2.2 0 4 1.8 4 4z"/></svg>
|
|
|
|
|
|
|
|
|
|
|
|
widgets/features/images/containers/rounded-sticker.svg
CHANGED
@@ -1,12 +1 @@
|
|
1 |
-
|
2 |
-
<!-- Generator: Adobe Illustrator 17.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5 |
-
viewBox="0 0 24 24" enable-background="new 0 0 24 24" xml:space="preserve">
|
6 |
-
<path d="M12,0L12,0c0.3,2,2.9,2.5,3.9,0.7l0-0.1l0,0.1c-0.3,2,2,3.2,3.5,1.9l0,0l0,0.1c-1,1.7,0.8,3.7,2.7,2.9l0.1,0l0,0
|
7 |
-
c-1.5,1.3-0.4,3.8,1.6,3.6l0.1,0l-0.1,0c-1.8,0.8-1.6,3.4,0.3,3.9l0.1,0l-0.1,0c-2,0.2-2.6,2.7-1,3.8l0.1,0l-0.1,0
|
8 |
-
c-1.9-0.5-3.4,1.7-2.1,3.3l0,0l-0.1,0c-1.7-1.1-3.8,0.5-3.1,2.4l0,0.1l0,0c-1.2-1.6-3.7-0.7-3.7,1.3l0,0.1l0-0.1
|
9 |
-
c-0.6-1.9-3.3-1.9-3.9,0l0,0.1l0-0.1c0-2-2.5-2.8-3.7-1.3l0,0l0-0.1c0.7-1.9-1.4-3.5-3.1-2.4l-0.1,0l0,0c1.2-1.6-0.2-3.8-2.1-3.3
|
10 |
-
l-0.1,0l0.1,0c1.7-1.1,1-3.7-1-3.8l-0.1,0l0.1,0C2,12.6,2.2,9.9,0.4,9.1l-0.1,0l0.1,0c2,0.2,3-2.3,1.6-3.6l0,0l0.1,0
|
11 |
-
c1.8,0.8,3.6-1.2,2.7-2.9l0-0.1l0,0C6.1,4,8.4,2.7,8.1,0.7l0-0.1l0,0.1C9.1,2.5,11.7,2,12,0L12,0z"/>
|
12 |
-
</svg>
|
1 |
+
<svg enable-background="new 0 0 24 24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="m12 0c.3 2 2.9 2.5 3.9.7v-.1.1c-.3 2 2 3.2 3.5 1.9v.1c-1 1.7.8 3.7 2.7 2.9h.1c-1.5 1.3-.4 3.8 1.6 3.6h.1-.1c-1.8.8-1.6 3.4.3 3.9h.1-.1c-2 .2-2.6 2.7-1 3.8h.1-.1c-1.9-.5-3.4 1.7-2.1 3.3h-.1c-1.7-1.1-3.8.5-3.1 2.4v.1c-1.2-1.6-3.7-.7-3.7 1.3v.1-.1c-.6-1.9-3.3-1.9-3.9 0v.1-.1c0-2-2.5-2.8-3.7-1.3v-.1c.7-1.9-1.4-3.5-3.1-2.4h-.1c1.2-1.6-.2-3.8-2.1-3.3h-.1.1c1.7-1.1 1-3.7-1-3.8h-.1.1c1.8-.5 2-3.2.2-4h-.1.1c2 .2 3-2.3 1.6-3.6h.1c1.8.8 3.6-1.2 2.7-2.9v-.1c1.3 1.5 3.6.2 3.3-1.8v-.1.1c1 1.8 3.6 1.3 3.9-.7z"/></svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
widgets/features/images/containers/square.svg
CHANGED
@@ -1,7 +1 @@
|
|
1 |
-
|
2 |
-
<!-- Generator: Adobe Illustrator 17.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5 |
-
viewBox="0 0 24 24" enable-background="new 0 0 24 24" xml:space="preserve">
|
6 |
-
<rect width="24" height="24"/>
|
7 |
-
</svg>
|
1 |
+
<svg enable-background="new 0 0 24 24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="m0 0h24v24h-24z"/></svg>
|
|
|
|
|
|
|
|
|
|
|
|
widgets/features/images/containers/sticker.svg
CHANGED
@@ -1,9 +1 @@
|
|
1 |
-
|
2 |
-
<!-- Generator: Adobe Illustrator 17.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5 |
-
viewBox="0 0 24 24" enable-background="new 0 0 24 24" xml:space="preserve">
|
6 |
-
<polygon points="12,0 13.8,1.3 15.9,0.7 17.2,2.5 19.4,2.5 20,4.7 22.1,5.5 21.9,7.7 23.7,9.1 22.8,11.2 24,13.1 22.5,14.7 23,16.9
|
7 |
-
21.1,18 20.9,20.3 18.7,20.6 17.7,22.7 15.5,22.3 14,24 12,22.9 10,24 8.5,22.3 6.3,22.7 5.3,20.6 3.1,20.3 2.9,18 1,16.9 1.5,14.7
|
8 |
-
0,13.1 1.2,11.2 0.3,9.1 2.1,7.7 1.9,5.5 4,4.7 4.6,2.5 6.8,2.5 8.1,0.7 10.2,1.3 "/>
|
9 |
-
</svg>
|
1 |
+
<svg enable-background="new 0 0 24 24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="m12 0 1.8 1.3 2.1-.6 1.3 1.8h2.2l.6 2.2 2.1.8-.2 2.2 1.8 1.4-.9 2.1 1.2 1.9-1.5 1.6.5 2.2-1.9 1.1-.2 2.3-2.2.3-1 2.1-2.2-.4-1.5 1.7-2-1.1-2 1.1-1.5-1.7-2.2.4-1-2.1-2.2-.3-.2-2.3-1.9-1.1.5-2.2-1.5-1.6 1.2-1.9-.9-2.1 1.8-1.4-.2-2.2 2.1-.8.6-2.2h2.2l1.3-1.8 2.1.6z"/></svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
widgets/features/tpl/default.php
CHANGED
@@ -27,7 +27,7 @@ $last_row = floor( ( count($instance['features']) - 1 ) / $instance['per_row'] )
|
|
27 |
}
|
28 |
}
|
29 |
else {
|
30 |
-
if(!empty($instance['icon_size'])) $icon_styles[] = 'font-size: '.intval($instance['icon_size']).'
|
31 |
if(!empty($feature['icon_color'])) $icon_styles[] = 'color: '.$feature['icon_color'];
|
32 |
|
33 |
echo siteorigin_widget_get_icon($feature['icon'], $icon_styles);
|
27 |
}
|
28 |
}
|
29 |
else {
|
30 |
+
if(!empty($instance['icon_size'])) $icon_styles[] = 'font-size: '.intval($instance['icon_size']) . esc_attr( $instance['icon_size_unit'] );
|
31 |
if(!empty($feature['icon_color'])) $icon_styles[] = 'color: '.$feature['icon_color'];
|
32 |
|
33 |
echo siteorigin_widget_get_icon($feature['icon'], $icon_styles);
|
widgets/google-map/assets/banner.svg
CHANGED
@@ -1,44 +1 @@
|
|
1 |
-
|
2 |
-
<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
-
viewBox="55 277 240 240" style="enable-background:new 55 277 240 240;" xml:space="preserve">
|
5 |
-
<style type="text/css">
|
6 |
-
.st0{fill:#1880B6;}
|
7 |
-
.st1{fill:#324249;}
|
8 |
-
.st2{fill:#8ED9EF;}
|
9 |
-
.st3{fill:#F2F0DA;}
|
10 |
-
</style>
|
11 |
-
<rect id="Call_to_Action_1_" x="55" y="277" class="st0" width="240" height="240"/>
|
12 |
-
<g>
|
13 |
-
<g>
|
14 |
-
<path class="st1" d="M151,369c6.6,0,12-5.4,12-12s-5.4-12-12-12s-12,5.4-12,12S144.4,369,151,369z M151,349c4.4,0,8,3.6,8,8
|
15 |
-
s-3.6,8-8,8s-8-3.6-8-8S146.6,349,151,349z"/>
|
16 |
-
<path class="st1" d="M231,357h-56c0-13.3-10.7-24-24-24s-24,10.7-24,24h-8c-4.4,0-8,3.6-8,8v88c0,4.4,3.6,8,8,8h112
|
17 |
-
c4.4,0,8-3.6,8-8v-88C239,360.6,235.4,357,231,357z M151,337c11,0,20,9,20,20c0,3.1-0.6,6.5-2.1,8.9l-17.6,25.6L133,365.8
|
18 |
-
c-1.4-2.4-2-5.7-2-8.8C131,346,140,337,151,337z M115,365c0-2.2,1.8-4,4-4h8.4c0,0,0,0,0,0c0.4,2.4,1.1,4.8,2.1,6.4
|
19 |
-
c0,0.1,6.1,8.7,11.5,16.4l0.5,3.6l-26.5,4V365z M119,457c-2.2,0-4-1.8-4-4v-41.6l29.5-4.4l7.5,50H119z M235,453c0,2.2-1.8,4-4,4
|
20 |
-
h-59l-3-19.9l66-0.1V453z M235,421h-68.6l-2.3-16.9l70.9-10.6V421z M235,389.4l-75.5,11.3l3.6,24.3H235v8l-66.6,0.1l-4-0.1l3.6,24
|
21 |
-
h-12l-8.2-54.5l-32.8,4.9v-12l31-4.6c2.3,3.2,3.8,5.4,3.8,5.4c0.4,0.5,1,0.8,1.6,0.8c0,0,0,0,0,0c0.6,0,1.3-0.3,1.6-0.9
|
22 |
-
c0,0,2.1-3.1,4.9-7.1l77.1-11.6V389.4z M235,373.4l-73.9,11.1l0-0.1c5.3-7.7,11.2-16.4,11.2-16.4c1.2-2.1,1.9-4.4,2.3-6.9H231
|
23 |
-
c2.2,0,4,1.8,4,4V373.4z"/>
|
24 |
-
</g>
|
25 |
-
<g>
|
26 |
-
<path class="st2" d="M141,383.8c-5.5-7.7-11.5-16.2-11.5-16.4c-1-1.7-1.7-4-2.1-6.4c0,0,0,0,0,0H119c-2.2,0-4,1.8-4,4v26.4l26.5-4
|
27 |
-
L141,383.8z"/>
|
28 |
-
<path class="st2" d="M115,411.4V453c0,2.2,1.8,4,4,4h33l-7.5-50L115,411.4z"/>
|
29 |
-
<path class="st2" d="M172,457h59c2.2,0,4-1.8,4-4v-16l-66,0.1L172,457z"/>
|
30 |
-
<polygon class="st2" points="166.4,421 235,421 235,393.4 164.1,404.1 "/>
|
31 |
-
<path class="st2" d="M231,361h-56.4c-0.4,2.5-1.1,4.8-2.3,6.9c0,0-5.9,8.7-11.2,16.4l0,0.1l73.9-11.1V365
|
32 |
-
C235,362.8,233.2,361,231,361z"/>
|
33 |
-
</g>
|
34 |
-
<g>
|
35 |
-
<path class="st3" d="M151,337c-11,0-20,9-20,20c0,3.1,0.6,6.5,2,8.8l18.3,25.7l17.6-25.6c1.5-2.4,2.1-5.8,2.1-8.9
|
36 |
-
C171,346,162,337,151,337z M151,369c-6.6,0-12-5.4-12-12s5.4-12,12-12s12,5.4,12,12S157.6,369,151,369z"/>
|
37 |
-
</g>
|
38 |
-
<g>
|
39 |
-
<path class="st3" d="M235,377.4L157.9,389c-2.8,4.1-4.9,7.1-4.9,7.1c-0.4,0.5-1,0.9-1.6,0.9c0,0,0,0,0,0c-0.6,0-1.2-0.3-1.6-0.8
|
40 |
-
c0,0-1.6-2.2-3.8-5.4l-31,4.6v12l32.8-4.9L156,457h12l-3.6-24l4,0.1L235,433v-8h-71.8l-3.6-24.3l75.5-11.3V377.4z"/>
|
41 |
-
</g>
|
42 |
-
<circle class="st0" cx="151" cy="357" r="8"/>
|
43 |
-
</g>
|
44 |
-
</svg>
|
1 |
+
<svg enable-background="new 55 277 240 240" viewBox="55 277 240 240" xmlns="http://www.w3.org/2000/svg"><path d="m55 277h240v240h-240z" fill="#1880b6"/><path d="m151 369c6.6 0 12-5.4 12-12s-5.4-12-12-12-12 5.4-12 12 5.4 12 12 12zm0-20c4.4 0 8 3.6 8 8s-3.6 8-8 8-8-3.6-8-8 3.6-8 8-8z" fill="#324249"/><path d="m231 357h-56c0-13.3-10.7-24-24-24s-24 10.7-24 24h-8c-4.4 0-8 3.6-8 8v88c0 4.4 3.6 8 8 8h112c4.4 0 8-3.6 8-8v-88c0-4.4-3.6-8-8-8zm-80-20c11 0 20 9 20 20 0 3.1-.6 6.5-2.1 8.9l-17.6 25.6-18.3-25.7c-1.4-2.4-2-5.7-2-8.8 0-11 9-20 20-20zm-36 28c0-2.2 1.8-4 4-4h8.4c.4 2.4 1.1 4.8 2.1 6.4 0 .1 6.1 8.7 11.5 16.4l.5 3.6-26.5 4zm4 92c-2.2 0-4-1.8-4-4v-41.6l29.5-4.4 7.5 50zm116-4c0 2.2-1.8 4-4 4h-59l-3-19.9 66-.1zm0-32h-68.6l-2.3-16.9 70.9-10.6zm0-31.6-75.5 11.3 3.6 24.3h71.9v8l-66.6.1-4-.1 3.6 24h-12l-8.2-54.5-32.8 4.9v-12l31-4.6c2.3 3.2 3.8 5.4 3.8 5.4.4.5 1 .8 1.6.8.6 0 1.3-.3 1.6-.9 0 0 2.1-3.1 4.9-7.1l77.1-11.6zm0-16-73.9 11.1v-.1c5.3-7.7 11.2-16.4 11.2-16.4 1.2-2.1 1.9-4.4 2.3-6.9h56.4c2.2 0 4 1.8 4 4z" fill="#324249"/><g fill="#8ed9ef"><path d="m141 383.8c-5.5-7.7-11.5-16.2-11.5-16.4-1-1.7-1.7-4-2.1-6.4h-8.4c-2.2 0-4 1.8-4 4v26.4l26.5-4z"/><path d="m115 411.4v41.6c0 2.2 1.8 4 4 4h33l-7.5-50z"/><path d="m172 457h59c2.2 0 4-1.8 4-4v-16l-66 .1z"/><path d="m166.4 421h68.6v-27.6l-70.9 10.7z"/><path d="m231 361h-56.4c-.4 2.5-1.1 4.8-2.3 6.9 0 0-5.9 8.7-11.2 16.4v.1l73.9-11.1v-8.3c0-2.2-1.8-4-4-4z"/></g><path d="m151 337c-11 0-20 9-20 20 0 3.1.6 6.5 2 8.8l18.3 25.7 17.6-25.6c1.5-2.4 2.1-5.8 2.1-8.9 0-11-9-20-20-20zm0 32c-6.6 0-12-5.4-12-12s5.4-12 12-12 12 5.4 12 12-5.4 12-12 12z" fill="#f2f0da"/><path d="m235 377.4-77.1 11.6c-2.8 4.1-4.9 7.1-4.9 7.1-.4.5-1 .9-1.6.9-.6 0-1.2-.3-1.6-.8 0 0-1.6-2.2-3.8-5.4l-31 4.6v12l32.8-4.9 8.2 54.5h12l-3.6-24 4 .1 66.6-.1v-8h-71.8l-3.6-24.3 75.5-11.3v-12z" fill="#f2f0da"/><circle cx="151" cy="357" fill="#1880b6" r="8"/></svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
widgets/headline/assets/banner.svg
CHANGED
@@ -1,38 +1 @@
|
|
1 |
-
|
2 |
-
<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
-
viewBox="55 277 240 240" style="enable-background:new 55 277 240 240;" xml:space="preserve">
|
5 |
-
<style type="text/css">
|
6 |
-
.st0{fill:#1880B6;}
|
7 |
-
.st1{fill:#8ED9EF;}
|
8 |
-
.st2{fill:#324249;}
|
9 |
-
.st3{opacity:0.2;}
|
10 |
-
.st4{fill:#F2F0DA;}
|
11 |
-
</style>
|
12 |
-
<rect id="Headline_1_" x="55" y="277" class="st0" width="240" height="240"/>
|
13 |
-
<g>
|
14 |
-
<g>
|
15 |
-
<path class="st1" d="M231,333h-92c-1.9,0-4,2.4-4,4v92c0,4.4-3.6,8-8,8c-1.1,0-2-0.9-2-2s0.9-2,2-2c2.2,0,4-1.8,4-4v-52h-12
|
16 |
-
c-2.1,0-4,2.3-4,4v56c0,9.8,6.4,16,12,16h96c5.9,0,12-6,12-12V337C235,334.9,233,333,231,333z M219,389c0,2.2-1.8,4-4,4h-60
|
17 |
-
c-2.2,0-4-1.8-4-4v-24c0-2.2,1.8-4,4-4h60c2.2,0,4,1.8,4,4V389z"/>
|
18 |
-
</g>
|
19 |
-
<g>
|
20 |
-
<path class="st2" d="M215,361h-60c-2.2,0-4,1.8-4,4v24c0,2.2,1.8,4,4,4h60c2.2,0,4-1.8,4-4v-24C219,362.8,217.2,361,215,361z
|
21 |
-
M215,389h-60v-24h60V389z"/>
|
22 |
-
<path class="st2" d="M231,329h-92c-4.4,0-8,3.9-8,8v36h-12c-4.2,0-8,4.1-8,8v56c0,12,7.7,20,16,20h96c8.1,0,16-8,16-16V337
|
23 |
-
C239,332.6,235.3,329,231,329z M235,441c0,6-6.1,12-12,12h-96c-5.6,0-12-6.2-12-16v-56c0-1.8,1.9-4,4-4h12v52c0,2.2-1.8,4-4,4
|
24 |
-
c-1.1,0-2,0.9-2,2c0,1.1,0.9,2,2,2c4.4,0,8-3.6,8-8v-92c0-1.6,2.1-4,4-4h92c2,0,4,1.9,4,4V441z"/>
|
25 |
-
</g>
|
26 |
-
<g class="st3">
|
27 |
-
<path d="M153,353h24c1.1,0,2-0.9,2-2c0-1.1-0.9-2-2-2h-24c-1.1,0-2,0.9-2,2C151,352.1,151.9,353,153,353z"/>
|
28 |
-
<path d="M153,405h36c1.1,0,2-0.9,2-2c0-1.1-0.9-2-2-2h-36c-1.1,0-2,0.9-2,2C151,404.1,151.9,405,153,405z"/>
|
29 |
-
<path d="M197,405h20c1.1,0,2-0.9,2-2c0-1.1-0.9-2-2-2h-20c-1.1,0-2,0.9-2,2C195,404.1,195.9,405,197,405z"/>
|
30 |
-
<path d="M217,425h-36c-1.1,0-2,0.9-2,2s0.9,2,2,2h36c1.1,0,2-0.9,2-2S218.1,425,217,425z"/>
|
31 |
-
<path d="M173,425h-20c-1.1,0-2,0.9-2,2s0.9,2,2,2h20c1.1,0,2-0.9,2-2S174.1,425,173,425z"/>
|
32 |
-
<path d="M153,417h12c1.1,0,2-0.9,2-2c0-1.1-0.9-2-2-2h-12c-1.1,0-2,0.9-2,2C151,416.1,151.9,417,153,417z"/>
|
33 |
-
<path d="M173,413c-1.1,0-2,0.9-2,2c0,1.1,0.9,2,2,2h12c1.1,0,2-0.9,2-2c0-1.1-0.9-2-2-2H173z"/>
|
34 |
-
<path d="M217,413h-24c-1.1,0-2,0.9-2,2c0,1.1,0.9,2,2,2h24c1.1,0,2-0.9,2-2C219,413.9,218.1,413,217,413z"/>
|
35 |
-
</g>
|
36 |
-
<rect x="155" y="365" class="st4" width="60" height="24"/>
|
37 |
-
</g>
|
38 |
-
</svg>
|
1 |
+
<svg enable-background="new 55 277 240 240" viewBox="55 277 240 240" xmlns="http://www.w3.org/2000/svg"><path d="m55 277h240v240h-240z" fill="#1880b6"/><path d="m231 333h-92c-1.9 0-4 2.4-4 4v92c0 4.4-3.6 8-8 8-1.1 0-2-.9-2-2s.9-2 2-2c2.2 0 4-1.8 4-4v-52h-12c-2.1 0-4 2.3-4 4v56c0 9.8 6.4 16 12 16h96c5.9 0 12-6 12-12v-104c0-2.1-2-4-4-4zm-12 56c0 2.2-1.8 4-4 4h-60c-2.2 0-4-1.8-4-4v-24c0-2.2 1.8-4 4-4h60c2.2 0 4 1.8 4 4z" fill="#8ed9ef"/><path d="m215 361h-60c-2.2 0-4 1.8-4 4v24c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4v-24c0-2.2-1.8-4-4-4zm0 28h-60v-24h60z" fill="#324249"/><path d="m231 329h-92c-4.4 0-8 3.9-8 8v36h-12c-4.2 0-8 4.1-8 8v56c0 12 7.7 20 16 20h96c8.1 0 16-8 16-16v-104c0-4.4-3.7-8-8-8zm4 112c0 6-6.1 12-12 12h-96c-5.6 0-12-6.2-12-16v-56c0-1.8 1.9-4 4-4h12v52c0 2.2-1.8 4-4 4-1.1 0-2 .9-2 2s.9 2 2 2c4.4 0 8-3.6 8-8v-92c0-1.6 2.1-4 4-4h92c2 0 4 1.9 4 4z" fill="#324249"/><g opacity=".2"><path d="m153 353h24c1.1 0 2-.9 2-2s-.9-2-2-2h-24c-1.1 0-2 .9-2 2s.9 2 2 2z"/><path d="m153 405h36c1.1 0 2-.9 2-2s-.9-2-2-2h-36c-1.1 0-2 .9-2 2s.9 2 2 2z"/><path d="m197 405h20c1.1 0 2-.9 2-2s-.9-2-2-2h-20c-1.1 0-2 .9-2 2s.9 2 2 2z"/><path d="m217 425h-36c-1.1 0-2 .9-2 2s.9 2 2 2h36c1.1 0 2-.9 2-2s-.9-2-2-2z"/><path d="m173 425h-20c-1.1 0-2 .9-2 2s.9 2 2 2h20c1.1 0 2-.9 2-2s-.9-2-2-2z"/><path d="m153 417h12c1.1 0 2-.9 2-2s-.9-2-2-2h-12c-1.1 0-2 .9-2 2s.9 2 2 2z"/><path d="m173 413c-1.1 0-2 .9-2 2s.9 2 2 2h12c1.1 0 2-.9 2-2s-.9-2-2-2z"/><path d="m217 413h-24c-1.1 0-2 .9-2 2s.9 2 2 2h24c1.1 0 2-.9 2-2s-.9-2-2-2z"/></g><path d="m155 365h60v24h-60z" fill="#f2f0da"/></svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
widgets/hero/assets/banner.svg
CHANGED
@@ -1,16 +1 @@
|
|
1 |
-
|
2 |
-
<!-- Generator: Adobe Illustrator 22.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
-
viewBox="0 0 120 120" style="enable-background:new 0 0 120 120;" xml:space="preserve">
|
5 |
-
<style type="text/css">
|
6 |
-
.st0{fill:#1880B6;}
|
7 |
-
.st1{fill:#F2F0DA;stroke:#324249;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
|
8 |
-
.st2{fill:#8ED9EF;stroke:#324249;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
|
9 |
-
</style>
|
10 |
-
<rect id="Call_to_Action" class="st0" width="120" height="120"/>
|
11 |
-
<g transform="translate(3 9)">
|
12 |
-
<rect x="28" y="28" class="st1" width="58" height="46"/>
|
13 |
-
<path class="st1" d="M38,44h38 M42,50h30 M44,38h26"/>
|
14 |
-
<rect x="47" y="60" class="st2" width="20" height="6"/>
|
15 |
-
</g>
|
16 |
-
</svg>
|
1 |
+
<svg enable-background="new 0 0 120 120" viewBox="0 0 120 120" xmlns="http://www.w3.org/2000/svg"><path d="m0 0h120v120h-120z" fill="#1880b6"/><g stroke="#324249" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" transform="translate(3 9)"><path d="m28 28h58v46h-58z" fill="#f2f0da"/><path d="m38 44h38m-34 6h30m-28-12h26" fill="#f2f0da"/><path d="m47 60h20v6h-20z" fill="#8ed9ef"/></g></svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
widgets/hero/hero.php
CHANGED
@@ -75,6 +75,7 @@ class SiteOrigin_Widget_Hero_Widget extends SiteOrigin_Widget_Base_Slider {
|
|
75 |
'type' => 'widget',
|
76 |
'class' => 'SiteOrigin_Widget_Button_Widget',
|
77 |
'label' => __('Button', 'so-widgets-bundle'),
|
|
|
78 |
'collapsible' => false,
|
79 |
)
|
80 |
)
|
@@ -282,6 +283,13 @@ class SiteOrigin_Widget_Hero_Widget extends SiteOrigin_Widget_Base_Slider {
|
|
282 |
),
|
283 |
);
|
284 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
285 |
|
286 |
/**
|
287 |
* Get everything necessary for the background image.
|
@@ -291,7 +299,7 @@ class SiteOrigin_Widget_Hero_Widget extends SiteOrigin_Widget_Base_Slider {
|
|
291 |
*
|
292 |
* @return array
|
293 |
*/
|
294 |
-
function get_frame_background( $i, $frame ){
|
295 |
$background_image = siteorigin_widgets_get_attachment_image_src(
|
296 |
$frame['background']['image'],
|
297 |
!empty( $frame['background']['size'] ) ? $frame['background']['size'] : 'full',
|
75 |
'type' => 'widget',
|
76 |
'class' => 'SiteOrigin_Widget_Button_Widget',
|
77 |
'label' => __('Button', 'so-widgets-bundle'),
|
78 |
+
'form_filter' => array( $this, 'filter_button_widget_form' ),
|
79 |
'collapsible' => false,
|
80 |
)
|
81 |
)
|
283 |
),
|
284 |
);
|
285 |
}
|
286 |
+
|
287 |
+
function filter_button_widget_form( $form_fields ) {
|
288 |
+
|
289 |
+
unset( $form_fields['design']['fields']['align'] );
|
290 |
+
|
291 |
+
return $form_fields;
|
292 |
+
}
|
293 |
|
294 |
/**
|
295 |
* Get everything necessary for the background image.
|
299 |
*
|
300 |
* @return array
|
301 |
*/
|
302 |
+
function get_frame_background( $i, $frame ) {
|
303 |
$background_image = siteorigin_widgets_get_attachment_image_src(
|
304 |
$frame['background']['image'],
|
305 |
!empty( $frame['background']['size'] ) ? $frame['background']['size'] : 'full',
|
widgets/icon/assets/banner.svg
CHANGED
@@ -1,21 +1 @@
|
|
1 |
-
|
2 |
-
<!-- Generator: Adobe Illustrator 22.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
-
viewBox="0 0 120 120" style="enable-background:new 0 0 120 120;" xml:space="preserve">
|
5 |
-
<style type="text/css">
|
6 |
-
.st0{fill:#1880B6;}
|
7 |
-
.st1{fill:#8ED9EF;stroke:#324249;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
|
8 |
-
.st2{fill:#F2F0DA;stroke:#324249;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
|
9 |
-
</style>
|
10 |
-
<rect id="Call_to_Action" class="st0" width="120" height="120"/>
|
11 |
-
<g transform="translate(4 3)">
|
12 |
-
<path class="st1" d="M33.7,51.2c0.6-2.4,1.5-4.6,2.7-6.6L34,41.4c-0.6-0.8-0.5-1.9,0.2-2.6l4.6-4.6c0.7-0.7,1.8-0.8,2.6-0.2
|
13 |
-
l3.2,2.4c2-1.2,4.2-2.2,6.6-2.7l0.5-4c0.1-1,1-1.7,2-1.7h6.5c1,0,1.8,0.7,2,1.7l0.5,4c2.4,0.6,4.6,1.5,6.6,2.7l3.2-2.4
|
14 |
-
c0.8-0.6,1.9-0.5,2.6,0.2l4.6,4.6c0.7,0.7,0.8,1.8,0.2,2.6l-2.4,3.2c1.2,2,2.2,4.2,2.7,6.6l4,0.5c1,0.1,1.7,1,1.7,2v6.5
|
15 |
-
c0,1-0.7,1.8-1.7,2l-4,0.5c-0.6,2.4-1.5,4.6-2.7,6.6l2.4,3.2c0.6,0.8,0.5,1.9-0.2,2.6l-4.6,4.6c-0.7,0.7-1.8,0.8-2.6,0.2l-3.2-2.4
|
16 |
-
c-2,1.2-4.2,2.2-6.6,2.7l-0.5,4c-0.1,1-1,1.7-2,1.7h-6.5c-1,0-1.8-0.7-2-1.7l-0.5-4c-2.4-0.6-4.6-1.5-6.6-2.7L41.4,80
|
17 |
-
c-0.8,0.6-1.9,0.5-2.6-0.2l-4.6-4.6c-0.7-0.7-0.8-1.8-0.2-2.6l2.4-3.2c-1.2-2-2.2-4.2-2.7-6.6l-4-0.5c-1-0.1-1.7-1-1.7-2v-6.5
|
18 |
-
c0-1,0.7-1.8,1.7-2L33.7,51.2z M57,70c7.2,0,13-5.8,13-13s-5.8-13-13-13s-13,5.8-13,13S49.8,70,57,70z"/>
|
19 |
-
<circle class="st2" cx="57" cy="57" r="5"/>
|
20 |
-
</g>
|
21 |
-
</svg>
|
1 |
+
<svg enable-background="new 0 0 120 120" viewBox="0 0 120 120" xmlns="http://www.w3.org/2000/svg"><path d="m0 0h120v120h-120z" fill="#1880b6"/><g stroke="#324249" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" transform="translate(4 3)"><path d="m33.7 51.2c.6-2.4 1.5-4.6 2.7-6.6l-2.4-3.2c-.6-.8-.5-1.9.2-2.6l4.6-4.6c.7-.7 1.8-.8 2.6-.2l3.2 2.4c2-1.2 4.2-2.2 6.6-2.7l.5-4c.1-1 1-1.7 2-1.7h6.5c1 0 1.8.7 2 1.7l.5 4c2.4.6 4.6 1.5 6.6 2.7l3.2-2.4c.8-.6 1.9-.5 2.6.2l4.6 4.6c.7.7.8 1.8.2 2.6l-2.4 3.2c1.2 2 2.2 4.2 2.7 6.6l4 .5c1 .1 1.7 1 1.7 2v6.5c0 1-.7 1.8-1.7 2l-4 .5c-.6 2.4-1.5 4.6-2.7 6.6l2.4 3.2c.6.8.5 1.9-.2 2.6l-4.6 4.6c-.7.7-1.8.8-2.6.2l-3.2-2.4c-2 1.2-4.2 2.2-6.6 2.7l-.5 4c-.1 1-1 1.7-2 1.7h-6.5c-1 0-1.8-.7-2-1.7l-.5-4c-2.4-.6-4.6-1.5-6.6-2.7l-3.2 2.5c-.8.6-1.9.5-2.6-.2l-4.6-4.6c-.7-.7-.8-1.8-.2-2.6l2.4-3.2c-1.2-2-2.2-4.2-2.7-6.6l-4-.5c-1-.1-1.7-1-1.7-2v-6.5c0-1 .7-1.8 1.7-2zm23.3 18.8c7.2 0 13-5.8 13-13s-5.8-13-13-13-13 5.8-13 13 5.8 13 13 13z" fill="#8ed9ef"/><circle cx="57" cy="57" fill="#f2f0da" r="5"/></g></svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
widgets/image-grid/assets/banner.svg
CHANGED
@@ -1,31 +1 @@
|
|
1 |
-
|
2 |
-
<!-- Generator: Adobe Illustrator 22.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
-
viewBox="0 0 120 120" style="enable-background:new 0 0 120 120;" xml:space="preserve">
|
5 |
-
<style type="text/css">
|
6 |
-
.st0{fill:#1880B6;}
|
7 |
-
.st1{fill:#8ED9EF;stroke:#324249;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
|
8 |
-
.st2{fill:#F2F0DA;stroke:#324249;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
|
9 |
-
</style>
|
10 |
-
<rect id="Call_to_Action" y="0" class="st0" width="120" height="120"/>
|
11 |
-
<g transform="translate(4 4)">
|
12 |
-
<g transform="translate(0 30)">
|
13 |
-
<rect x="28" y="28" class="st1" width="26" height="26"/>
|
14 |
-
<path class="st2" d="M54,54H28l14.6-14.6c0.8-0.8,2-0.8,2.8,0L54,48V54z"/>
|
15 |
-
<circle class="st2" cx="36" cy="36" r="4"/>
|
16 |
-
</g>
|
17 |
-
<g transform="translate(30 30)">
|
18 |
-
<polygon class="st1" points="28,28 54,28 54,54 28,54 "/>
|
19 |
-
<path class="st2" d="M54,54H28l14.6-14.6c0.8-0.8,2-0.8,2.8,0L54,48V54z"/>
|
20 |
-
<circle class="st2" cx="36" cy="36" r="4"/>
|
21 |
-
</g>
|
22 |
-
<rect x="28" y="28" class="st1" width="26" height="26"/>
|
23 |
-
<path class="st2" d="M54,54H28l14.6-14.6c0.8-0.8,2-0.8,2.8,0L54,48V54z"/>
|
24 |
-
<circle class="st2" cx="36" cy="36" r="4"/>
|
25 |
-
<g transform="translate(30)">
|
26 |
-
<rect x="28" y="28" class="st1" width="26" height="26"/>
|
27 |
-
<path class="st2" d="M54,54H28l14.6-14.6c0.8-0.8,2-0.8,2.8,0L54,48V54z"/>
|
28 |
-
<circle class="st2" cx="36" cy="36" r="4"/>
|
29 |
-
</g>
|
30 |
-
</g>
|
31 |
-
</svg>
|
1 |
+
<svg enable-background="new 0 0 120 120" viewBox="0 0 120 120" xmlns="http://www.w3.org/2000/svg"><path d="m0 0h120v120h-120z" fill="#1880b6"/><g stroke="#324249" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" transform="translate(4 4)"><g transform="translate(0 30)"><path d="m28 28h26v26h-26z" fill="#8ed9ef"/><g fill="#f2f0da"><path d="m54 54h-26l14.6-14.6c.8-.8 2-.8 2.8 0l8.6 8.6z"/><circle cx="36" cy="36" r="4"/></g></g><g transform="translate(30 30)"><path d="m28 28h26v26h-26z" fill="#8ed9ef"/><g fill="#f2f0da"><path d="m54 54h-26l14.6-14.6c.8-.8 2-.8 2.8 0l8.6 8.6z"/><circle cx="36" cy="36" r="4"/></g></g><path d="m28 28h26v26h-26z" fill="#8ed9ef"/><path d="m54 54h-26l14.6-14.6c.8-.8 2-.8 2.8 0l8.6 8.6z" fill="#f2f0da"/><circle cx="36" cy="36" fill="#f2f0da" r="4"/><g transform="translate(30)"><path d="m28 28h26v26h-26z" fill="#8ed9ef"/><g fill="#f2f0da"><path d="m54 54h-26l14.6-14.6c.8-.8 2-.8 2.8 0l8.6 8.6z"/><circle cx="36" cy="36" r="4"/></g></g></g></svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
widgets/image/assets/banner.svg
CHANGED
@@ -1,36 +1 @@
|
|
1 |
-
|
2 |
-
<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
-
viewBox="55 277 240 240" style="enable-background:new 55 277 240 240;" xml:space="preserve">
|
5 |
-
<style type="text/css">
|
6 |
-
.st0{fill:#1880B6;}
|
7 |
-
.st1{fill:#8ED9EF;}
|
8 |
-
.st2{fill:#F2F0DA;}
|
9 |
-
.st3{fill:#324249;}
|
10 |
-
</style>
|
11 |
-
<rect id="Button_2_" x="55" y="277" class="st0" width="240" height="240"/>
|
12 |
-
<g>
|
13 |
-
<path class="st1" d="M235,409.7l-22.4-22.4c-3.1-3.1-8.2-3.1-11.3,0L167,421.7l-14.3-14.3c-3.1-3.1-8.2-3.1-11.3,0L115,433.7V353
|
14 |
-
c0-2.2,1.8-4,4-4h112c2.2,0,4,1.8,4,4V409.7z"/>
|
15 |
-
<g>
|
16 |
-
<circle class="st2" cx="157" cy="375" r="6"/>
|
17 |
-
<path class="st2" d="M231,445c2.2,0,4-1.8,4-4v-25.7l-25.2-25.2c-1.6-1.6-4.1-1.6-5.7,0l-41.7,41.8c-0.8,0.8-2,0.8-2.8,0
|
18 |
-
c-0.8-0.8-0.8-2,0-2.8l4.6-4.6c0,0,0,0,0,0c-1.9-1.9-14.3-14.3-14.3-14.3c-1.6-1.6-4.1-1.6-5.7,0L115,439.4v1.6c0,2.2,1.8,4,4,4
|
19 |
-
H231z"/>
|
20 |
-
</g>
|
21 |
-
<g>
|
22 |
-
<path class="st3" d="M231,345H119c-4.4,0-8,3.6-8,8v88c0,4.4,3.6,8,8,8h112c4.4,0,8-3.6,8-8v-88C239,348.6,235.4,345,231,345z
|
23 |
-
M235,441c0,2.2-1.8,4-4,4H119c-2.2,0-4-1.8-4-4v-1.6l29.2-29.2c1.6-1.6,4.1-1.6,5.7,0c0,0,12.4,12.4,14.3,14.3c0,0,0,0,0,0
|
24 |
-
l-4.6,4.6c-0.8,0.8-0.8,2,0,2.8c0.8,0.8,2,0.8,2.8,0l41.7-41.8c1.6-1.6,4.1-1.6,5.7,0l25.2,25.2V441z M235,409.7l-22.4-22.4
|
25 |
-
c-3.1-3.1-8.2-3.1-11.3,0L167,421.7l-14.3-14.3c-3.1-3.1-8.2-3.1-11.3,0L115,433.7V353c0-2.2,1.8-4,4-4h112c2.2,0,4,1.8,4,4V409.7
|
26 |
-
z"/>
|
27 |
-
<path class="st3" d="M173,373h-6.2c-0.3-1.3-0.8-2.5-1.5-3.5l4.4-4.4c0.8-0.8,0.8-2,0-2.8c-0.8-0.8-2-0.8-2.8,0l-4.4,4.4
|
28 |
-
c-1.1-0.7-2.2-1.2-3.5-1.5V359c0-1.1-0.9-2-2-2c-1.1,0-2,0.9-2,2v6.2c-1.3,0.3-2.5,0.8-3.5,1.5l-4.4-4.4c-0.8-0.8-2-0.8-2.8,0
|
29 |
-
c-0.8,0.8-0.8,2.1,0,2.8l4.4,4.4c-0.7,1.1-1.2,2.2-1.5,3.5H141c-1.1,0-2,0.9-2,2c0,1.1,0.9,2,2,2h6.2c0.3,1.3,0.8,2.5,1.5,3.5
|
30 |
-
l-4.4,4.4c-0.8,0.8-0.8,2,0,2.8c0.8,0.8,2.1,0.8,2.8,0l4.4-4.4c1.1,0.7,2.2,1.2,3.5,1.5v6.2c0,1.1,0.9,2,2,2c1.1,0,2-0.9,2-2v-6.2
|
31 |
-
c1.3-0.3,2.5-0.8,3.5-1.5l4.4,4.4c0.8,0.8,2,0.8,2.8,0c0.8-0.8,0.8-2.1,0-2.8l-4.4-4.4c0.7-1.1,1.2-2.2,1.5-3.5h6.2
|
32 |
-
c1.1,0,2-0.9,2-2C175,373.9,174.1,373,173,373z M157,381c-3.3,0-6-2.7-6-6c0,0,0,0,0,0c0,0,0,0,0,0c0-3.3,2.7-6,6-6s6,2.7,6,6
|
33 |
-
C163,378.3,160.3,381,157,381z"/>
|
34 |
-
</g>
|
35 |
-
</g>
|
36 |
-
</svg>
|
1 |
+
<svg enable-background="new 55 277 240 240" viewBox="55 277 240 240" xmlns="http://www.w3.org/2000/svg"><path d="m55 277h240v240h-240z" fill="#1880b6"/><path d="m235 409.7-22.4-22.4c-3.1-3.1-8.2-3.1-11.3 0l-34.3 34.4-14.3-14.3c-3.1-3.1-8.2-3.1-11.3 0l-26.4 26.3v-80.7c0-2.2 1.8-4 4-4h112c2.2 0 4 1.8 4 4z" fill="#8ed9ef"/><circle cx="157" cy="375" fill="#f2f0da" r="6"/><path d="m231 445c2.2 0 4-1.8 4-4v-25.7l-25.2-25.2c-1.6-1.6-4.1-1.6-5.7 0l-41.7 41.8c-.8.8-2 .8-2.8 0s-.8-2 0-2.8l4.6-4.6c-1.9-1.9-14.3-14.3-14.3-14.3-1.6-1.6-4.1-1.6-5.7 0l-29.2 29.2v1.6c0 2.2 1.8 4 4 4z" fill="#f2f0da"/><g fill="#324249"><path d="m231 345h-112c-4.4 0-8 3.6-8 8v88c0 4.4 3.6 8 8 8h112c4.4 0 8-3.6 8-8v-88c0-4.4-3.6-8-8-8zm4 96c0 2.2-1.8 4-4 4h-112c-2.2 0-4-1.8-4-4v-1.6l29.2-29.2c1.6-1.6 4.1-1.6 5.7 0 0 0 12.4 12.4 14.3 14.3l-4.6 4.6c-.8.8-.8 2 0 2.8s2 .8 2.8 0l41.7-41.8c1.6-1.6 4.1-1.6 5.7 0l25.2 25.2zm0-31.3-22.4-22.4c-3.1-3.1-8.2-3.1-11.3 0l-34.3 34.4-14.3-14.3c-3.1-3.1-8.2-3.1-11.3 0l-26.4 26.3v-80.7c0-2.2 1.8-4 4-4h112c2.2 0 4 1.8 4 4z"/><path d="m173 373h-6.2c-.3-1.3-.8-2.5-1.5-3.5l4.4-4.4c.8-.8.8-2 0-2.8s-2-.8-2.8 0l-4.4 4.4c-1.1-.7-2.2-1.2-3.5-1.5v-6.2c0-1.1-.9-2-2-2s-2 .9-2 2v6.2c-1.3.3-2.5.8-3.5 1.5l-4.4-4.4c-.8-.8-2-.8-2.8 0s-.8 2.1 0 2.8l4.4 4.4c-.7 1.1-1.2 2.2-1.5 3.5h-6.2c-1.1 0-2 .9-2 2s.9 2 2 2h6.2c.3 1.3.8 2.5 1.5 3.5l-4.4 4.4c-.8.8-.8 2 0 2.8s2.1.8 2.8 0l4.4-4.4c1.1.7 2.2 1.2 3.5 1.5v6.2c0 1.1.9 2 2 2s2-.9 2-2v-6.2c1.3-.3 2.5-.8 3.5-1.5l4.4 4.4c.8.8 2 .8 2.8 0s.8-2.1 0-2.8l-4.4-4.4c.7-1.1 1.2-2.2 1.5-3.5h6.2c1.1 0 2-.9 2-2s-.9-2-2-2zm-16 8c-3.3 0-6-2.7-6-6 0-3.3 2.7-6 6-6s6 2.7 6 6-2.7 6-6 6z"/></g></svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
widgets/layout-slider/assets/banner.svg
CHANGED
@@ -1,18 +1 @@
|
|
1 |
-
|
2 |
-
<!-- Generator: Adobe Illustrator 22.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
-
viewBox="0 0 120 120" style="enable-background:new 0 0 120 120;" xml:space="preserve">
|
5 |
-
<style type="text/css">
|
6 |
-
.st0{fill:#1880B6;}
|
7 |
-
.st1{fill:#8ED9EF;stroke:#324249;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
|
8 |
-
.st2{fill:#F2F0DA;stroke:#324249;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
|
9 |
-
</style>
|
10 |
-
<rect id="Call_to_Action" y="0" class="st0" width="120" height="120"/>
|
11 |
-
<g transform="translate(1 7)">
|
12 |
-
<path class="st1" d="M34,74h-3c-1.7,0-3-1.3-3-3V35c0-1.7,1.3-3,3-3h3"/>
|
13 |
-
<path class="st1" d="M84,32h3c1.7,0,3,1.3,3,3v36c0,1.7-1.3,3-3,3h-3"/>
|
14 |
-
<path class="st1" d="M37,28h44c1.7,0,3,1.3,3,3v44c0,1.7-1.3,3-3,3H37c-1.7,0-3-1.3-3-3V31C34,29.3,35.3,28,37,28z"/>
|
15 |
-
<rect x="40" y="34" class="st2" width="38" height="38"/>
|
16 |
-
<path class="st2" d="M40,50h38 M52,72V50"/>
|
17 |
-
</g>
|
18 |
-
</svg>
|
1 |
+
<svg enable-background="new 0 0 120 120" viewBox="0 0 120 120" xmlns="http://www.w3.org/2000/svg"><path d="m0 0h120v120h-120z" fill="#1880b6"/><g stroke="#324249" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" transform="translate(1 7)"><g fill="#8ed9ef"><path d="m34 74h-3c-1.7 0-3-1.3-3-3v-36c0-1.7 1.3-3 3-3h3"/><path d="m84 32h3c1.7 0 3 1.3 3 3v36c0 1.7-1.3 3-3 3h-3"/><path d="m37 28h44c1.7 0 3 1.3 3 3v44c0 1.7-1.3 3-3 3h-44c-1.7 0-3-1.3-3-3v-44c0-1.7 1.3-3 3-3z"/></g><path d="m40 34h38v38h-38z" fill="#f2f0da"/><path d="m40 50h38m-26 22v-22" fill="#f2f0da"/></g></svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
widgets/layout-slider/layout-slider.php
CHANGED
@@ -1,314 +1,314 @@
|
|
1 |
-
<?php
|
2 |
-
/*
|
3 |
-
Widget Name: Layout Slider
|
4 |
-
Description: A slider that allows you to create responsive columnized content for each slide.
|
5 |
-
Author: SiteOrigin
|
6 |
-
Author URI: https://siteorigin.com
|
7 |
-
*/
|
8 |
-
|
9 |
-
if( !class_exists( 'SiteOrigin_Widget_Base_Slider' ) ) include_once plugin_dir_path(SOW_BUNDLE_BASE_FILE) . '/base/inc/widgets/base-slider.class.php';
|
10 |
-
|
11 |
-
class SiteOrigin_Widget_LayoutSlider_Widget extends SiteOrigin_Widget_Base_Slider {
|
12 |
-
|
13 |
-
protected $buttons = array();
|
14 |
-
|
15 |
-
function __construct() {
|
16 |
-
parent::__construct(
|
17 |
-
'sow-layout-slider',
|
18 |
-
__('SiteOrigin Layout Slider', 'so-widgets-bundle'),
|
19 |
-
array(
|
20 |
-
'description' => __('A slider that allows you to create responsive columnized content for each slide.', 'so-widgets-bundle'),
|
21 |
-
'help' => 'https://siteorigin.com/widgets-bundle/layout-slider-widget/',
|
22 |
-
'panels_title' => false,
|
23 |
-
),
|
24 |
-
array( ),
|
25 |
-
false,
|
26 |
-
plugin_dir_path(__FILE__)
|
27 |
-
);
|
28 |
-
}
|
29 |
-
|
30 |
-
function get_widget_form(){
|
31 |
-
return array(
|
32 |
-
'frames' => array(
|
33 |
-
'type' => 'repeater',
|
34 |
-
'label' => __('Slider frames', 'so-widgets-bundle'),
|
35 |
-
'item_name' => __('Frame', 'so-widgets-bundle'),
|
36 |
-
'item_label' => array(
|
37 |
-
'selector' => "[id*='frames-title']",
|
38 |
-
'update_event' => 'change',
|
39 |
-
'value_method' => 'val'
|
40 |
-
),
|
41 |
-
|
42 |
-
'fields' => array(
|
43 |
-
|
44 |
-
'content' => array(
|
45 |
-
'type' => 'builder',
|
46 |
-
'builder_type' => 'layout_slider_builder',
|
47 |
-
'label' => __( 'Content', 'so-widgets-bundle' ),
|
48 |
-
),
|
49 |
-
|
50 |
-
'background' => array(
|
51 |
-
'type' => 'section',
|
52 |
-
'label' => __('Background', 'so-widgets-bundle'),
|
53 |
-
'fields' => array(
|
54 |
-
'image' => array(
|
55 |
-
'type' => 'media',
|
56 |
-
'label' => __( 'Background image', 'so-widgets-bundle' ),
|
57 |
-
'library' => 'image',
|
58 |
-
'fallback' => true,
|
59 |
-
),
|
60 |
-
|
61 |
-
'image_type' => array(
|
62 |
-
'type' => 'select',
|
63 |
-
'label' => __( 'Background image type', 'so-widgets-bundle' ),
|
64 |
-
'options' => array(
|
65 |
-
'cover' => __( 'Cover', 'so-widgets-bundle '),
|
66 |
-
'tile' => __( 'Tile', 'so-widgets-bundle' ),
|
67 |
-
),
|
68 |
-
'default' => 'cover',
|
69 |
-
),
|
70 |
-
|
71 |
-
'opacity' => array(
|
72 |
-
'label' => __( 'Background image opacity', 'so-widgets-bundle' ),
|
73 |
-
'type' => 'slider',
|
74 |
-
'min' => 0,
|
75 |
-
'max' => 100,
|
76 |
-
'default' => 100,
|
77 |
-
),
|
78 |
-
|
79 |
-
'color' => array(
|
80 |
-
'type' => 'color',
|
81 |
-
'label' => __( 'Background color', 'so-widgets-bundle' ),
|
82 |
-
'default' => '#333333',
|
83 |
-
),
|
84 |
-
|
85 |
-
'url' => array(
|
86 |
-
'type' => 'link',
|
87 |
-
'label' => __( 'Destination URL', 'so-widgets-bundle' ),
|
88 |
-
),
|
89 |
-
|
90 |
-
'new_window' => array(
|
91 |
-
'type' => 'checkbox',
|
92 |
-
'label' => __( 'Open URL in a new window', 'so-widgets-bundle' ),
|
93 |
-
),
|
94 |
-
|
95 |
-
'videos' => array(
|
96 |
-
'type' => 'repeater',
|
97 |
-
'item_name' => __('Video', 'so-widgets-bundle'),
|
98 |
-
'label' => __('Background videos', 'so-widgets-bundle'),
|
99 |
-
'item_label' => array(
|
100 |
-
'selector' => "[id*='frames-background_videos-url']",
|
101 |
-
'update_event' => 'change',
|
102 |
-
'value_method' => 'val'
|
103 |
-
),
|
104 |
-
'fields' => $this->video_form_fields(),
|
105 |
-
),
|
106 |
-
)
|
107 |
-
),
|
108 |
-
),
|
109 |
-
),
|
110 |
-
|
111 |
-
'controls' => array(
|
112 |
-
'type' => 'section',
|
113 |
-
'label' => __('Slider Controls', 'so-widgets-bundle'),
|
114 |
-
'fields' => $this->control_form_fields()
|
115 |
-
),
|
116 |
-
|
117 |
-
'design' => array(
|
118 |
-
'type' => 'section',
|
119 |
-
'label' => __('Design and Layout', 'so-widgets-bundle'),
|
120 |
-
'fields' => array(
|
121 |
-
|
122 |
-
'height' => array(
|
123 |
-
'type' => 'measurement',
|
124 |
-
'label' => __( 'Height', 'so-widgets-bundle' ),
|
125 |
-
'default' => 'default',
|
126 |
-
),
|
127 |
-
|
128 |
-
'padding' => array(
|
129 |
-
'type' => 'measurement',
|
130 |
-
'label' => __('Top and bottom padding', 'so-widgets-bundle'),
|
131 |
-
'default' => '50px',
|
132 |
-
),
|
133 |
-
|
134 |
-
'extra_top_padding' => array(
|
135 |
-
'type' => 'measurement',
|
136 |
-
'label' => __('Extra top padding', 'so-widgets-bundle'),
|
137 |
-
'description' => __('Additional padding added to the top of the slider', 'so-widgets-bundle'),
|
138 |
-
'default' => '0px',
|
139 |
-
),
|
140 |
-
|
141 |
-
'padding_sides' => array(
|
142 |
-
'type' => 'measurement',
|
143 |
-
'label' => __('Side padding', 'so-widgets-bundle'),
|
144 |
-
'default' => '20px',
|
145 |
-
),
|
146 |
-
|
147 |
-
'width' => array(
|
148 |
-
'type' => 'measurement',
|
149 |
-
'label' => __('Maximum container width', 'so-widgets-bundle'),
|
150 |
-
'default' => '1280px',
|
151 |
-
),
|
152 |
-
|
153 |
-
'heading_color' => array(
|
154 |
-
'type' => 'color',
|
155 |
-
'label' => __('Heading color', 'so-widgets-bundle'),
|
156 |
-
'default' => '#FFFFFF',
|
157 |
-
),
|
158 |
-
|
159 |
-
'heading_size' => array(
|
160 |
-
'type' => 'measurement',
|
161 |
-
'label' => __('Heading size', 'so-widgets-bundle'),
|
162 |
-
'default' => '38px',
|
163 |
-
),
|
164 |
-
|
165 |
-
'heading_shadow' => array(
|
166 |
-
'type' => 'slider',
|
167 |
-
'label' => __('Heading shadow intensity', 'so-widgets-bundle'),
|
168 |
-
'max' => 100,
|
169 |
-
'min' => 0,
|
170 |
-
'default' => 50,
|
171 |
-
),
|
172 |
-
|
173 |
-
'text_size' => array(
|
174 |
-
'type' => 'measurement',
|
175 |
-
'label' => __('Text size', 'so-widgets-bundle'),
|
176 |
-
'default' => '16px',
|
177 |
-
),
|
178 |
-
|
179 |
-
'text_color' => array(
|
180 |
-
'type' => 'color',
|
181 |
-
'label' => __('Text color', 'so-widgets-bundle'),
|
182 |
-
'default' => '#F6F6F6',
|
183 |
-
),
|
184 |
-
|
185 |
-
)
|
186 |
-
),
|
187 |
-
);
|
188 |
-
}
|
189 |
-
|
190 |
-
function form( $instance, $form_type = 'widget' ) {
|
191 |
-
if( defined('SITEORIGIN_PANELS_VERSION') ) {
|
192 |
-
parent::form( $instance, $form_type );
|
193 |
-
} else {
|
194 |
-
?>
|
195 |
-
<p>
|
196 |
-
<?php _e( 'This widget requires: ', 'so-widgets-bundle' ) ?>
|
197 |
-
<a href="https://siteorigin.com/page-builder/" target="_blank" rel="noopener noreferrer"><?php _e( 'SiteOrigin Page Builder', 'so-widgets-bundle' ) ?></a>
|
198 |
-
</p>
|
199 |
-
<?php
|
200 |
-
}
|
201 |
-
}
|
202 |
-
|
203 |
-
/**
|
204 |
-
* Get everything necessary for the background image.
|
205 |
-
*
|
206 |
-
* @param $i
|
207 |
-
* @param $frame
|
208 |
-
*
|
209 |
-
* @return array
|
210 |
-
*/
|
211 |
-
function get_frame_background( $i, $frame ){
|
212 |
-
$background_image = siteorigin_widgets_get_attachment_image_src(
|
213 |
-
$frame['background']['image'],
|
214 |
-
'full',
|
215 |
-
!empty( $frame['background']['image_fallback'] ) ? $frame['background']['image_fallback'] : ''
|
216 |
-
);
|
217 |
-
|
218 |
-
return array(
|
219 |
-
'color' => !empty( $frame['background']['color'] ) ? $frame['background']['color'] : false,
|
220 |
-
'image' => !empty( $background_image[0] ) ? $background_image[0] : false,
|
221 |
-
'image-width' => !empty( $background_image[1] ) ? $background_image[1] : 0,
|
222 |
-
'image-height' => !empty( $background_image[2] ) ? $background_image[2] : 0,
|
223 |
-
'image-sizing' => $frame['background']['image_type'],
|
224 |
-
'url' => !empty( $frame['background']['url'] ) ? $frame['background']['url'] : false,
|
225 |
-
'new_window' => !empty( $frame['background']['new_window'] ),
|
226 |
-
'videos' => $frame['background']['videos'],
|
227 |
-
'video-sizing' => 'background',
|
228 |
-
'opacity' => intval($frame['background']['opacity'])/100,
|
229 |
-
);
|
230 |
-
}
|
231 |
-
|
232 |
-
/**
|
233 |
-
* Render the actual content of the frame
|
234 |
-
*
|
235 |
-
* @param $i
|
236 |
-
* @param $frame
|
237 |
-
*/
|
238 |
-
function render_frame_contents($i, $frame) {
|
239 |
-
?>
|
240 |
-
<div class="sow-slider-image-container">
|
241 |
-
<div class="sow-slider-image-wrapper">
|
242 |
-
<?php echo $this->process_content( $frame['content'], $frame ); ?>
|
243 |
-
</div>
|
244 |
-
</div>
|
245 |
-
<?php
|
246 |
-
}
|
247 |
-
|
248 |
-
/**
|
249 |
-
* Process the content.
|
250 |
-
*
|
251 |
-
* @param $content
|
252 |
-
* @param $frame
|
253 |
-
*
|
254 |
-
* @return string
|
255 |
-
*/
|
256 |
-
function process_content( $content, $frame ) {
|
257 |
-
if( function_exists( 'siteorigin_panels_render' ) ) {
|
258 |
-
$content_builder_id = substr( md5( json_encode( $content ) ), 0, 8 );
|
259 |
-
echo siteorigin_panels_render( 'w'.$content_builder_id, true, $content );
|
260 |
-
}
|
261 |
-
else {
|
262 |
-
echo __( 'This widget requires Page Builder.', 'so-widgets-bundle' );
|
263 |
-
}
|
264 |
-
}
|
265 |
-
|
266 |
-
/**
|
267 |
-
* The less variables to control the design of the slider
|
268 |
-
*
|
269 |
-
* @param $instance
|
270 |
-
*
|
271 |
-
* @return array
|
272 |
-
*/
|
273 |
-
function get_less_variables($instance) {
|
274 |
-
$less = array();
|
275 |
-
|
276 |
-
// Slider navigation controls
|
277 |
-
$less['nav_color_hex'] = $instance['controls']['nav_color_hex'];
|
278 |
-
$less['nav_size'] = $instance['controls']['nav_size'];
|
279 |
-
|
280 |
-
// Hero specific design
|
281 |
-
//Measurement field type options
|
282 |
-
$meas_options = array();
|
283 |
-
$meas_options['slide_padding'] = $instance['design']['padding'];
|
284 |
-
$meas_options['slide_padding_extra_top'] = $instance['design']['extra_top_padding'];
|
285 |
-
$meas_options['slide_padding_sides'] = $instance['design']['padding_sides'];
|
286 |
-
$meas_options['slide_width'] = $instance['design']['width'];
|
287 |
-
$meas_options['slide_height'] = $instance['design']['height'];
|
288 |
-
|
289 |
-
$meas_options['heading_size'] = $instance['design']['heading_size'];
|
290 |
-
$meas_options['text_size'] = $instance['design']['text_size'];
|
291 |
-
|
292 |
-
foreach ( $meas_options as $key => $val ) {
|
293 |
-
$less[ $key ] = $this->add_default_measurement_unit( $val );
|
294 |
-
}
|
295 |
-
|
296 |
-
$less['heading_shadow'] = intval( $instance['design']['heading_shadow'] );
|
297 |
-
|
298 |
-
$less['heading_color'] = $instance['design']['heading_color'];
|
299 |
-
$less['text_color'] = $instance['design']['text_color'];
|
300 |
-
|
301 |
-
return $less;
|
302 |
-
}
|
303 |
-
|
304 |
-
function add_default_measurement_unit($val) {
|
305 |
-
if (!empty($val)) {
|
306 |
-
if (!preg_match('/\d+([a-zA-Z%]+)/', $val)) {
|
307 |
-
$val .= 'px';
|
308 |
-
}
|
309 |
-
}
|
310 |
-
return $val;
|
311 |
-
}
|
312 |
-
}
|
313 |
-
|
314 |
-
siteorigin_widget_register('sow-layout-slider', __FILE__, 'SiteOrigin_Widget_LayoutSlider_Widget');
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
Widget Name: Layout Slider
|
4 |
+
Description: A slider that allows you to create responsive columnized content for each slide.
|
5 |
+
Author: SiteOrigin
|
6 |
+
Author URI: https://siteorigin.com
|
7 |
+
*/
|
8 |
+
|
9 |
+
if( !class_exists( 'SiteOrigin_Widget_Base_Slider' ) ) include_once plugin_dir_path(SOW_BUNDLE_BASE_FILE) . '/base/inc/widgets/base-slider.class.php';
|
10 |
+
|
11 |
+
class SiteOrigin_Widget_LayoutSlider_Widget extends SiteOrigin_Widget_Base_Slider {
|
12 |
+
|
13 |
+
protected $buttons = array();
|
14 |
+
|
15 |
+
function __construct() {
|
16 |
+
parent::__construct(
|
17 |
+
'sow-layout-slider',
|
18 |
+
__('SiteOrigin Layout Slider', 'so-widgets-bundle'),
|
19 |
+
array(
|
20 |
+
'description' => __('A slider that allows you to create responsive columnized content for each slide.', 'so-widgets-bundle'),
|
21 |
+
'help' => 'https://siteorigin.com/widgets-bundle/layout-slider-widget/',
|
22 |
+
'panels_title' => false,
|
23 |
+
),
|
24 |
+
array( ),
|
25 |
+
false,
|
26 |
+
plugin_dir_path(__FILE__)
|
27 |
+
);
|
28 |
+
}
|
29 |
+
|
30 |
+
function get_widget_form(){
|
31 |
+
return array(
|
32 |
+
'frames' => array(
|
33 |
+
'type' => 'repeater',
|
34 |
+
'label' => __('Slider frames', 'so-widgets-bundle'),
|
35 |
+
'item_name' => __('Frame', 'so-widgets-bundle'),
|
36 |
+
'item_label' => array(
|
37 |
+
'selector' => "[id*='frames-title']",
|
38 |
+
'update_event' => 'change',
|
39 |
+
'value_method' => 'val'
|
40 |
+
),
|
41 |
+
|
42 |
+
'fields' => array(
|
43 |
+
|
44 |
+
'content' => array(
|
45 |
+
'type' => 'builder',
|
46 |
+
'builder_type' => 'layout_slider_builder',
|
47 |
+
'label' => __( 'Content', 'so-widgets-bundle' ),
|
48 |
+
),
|
49 |
+
|
50 |
+
'background' => array(
|
51 |
+
'type' => 'section',
|
52 |
+
'label' => __('Background', 'so-widgets-bundle'),
|
53 |
+
'fields' => array(
|
54 |
+
'image' => array(
|
55 |
+
'type' => 'media',
|
56 |
+
'label' => __( 'Background image', 'so-widgets-bundle' ),
|
57 |
+
'library' => 'image',
|
58 |
+
'fallback' => true,
|
59 |
+
),
|
60 |
+
|
61 |
+
'image_type' => array(
|
62 |
+
'type' => 'select',
|
63 |
+
'label' => __( 'Background image type', 'so-widgets-bundle' ),
|
64 |
+
'options' => array(
|
65 |
+
'cover' => __( 'Cover', 'so-widgets-bundle '),
|
66 |
+
'tile' => __( 'Tile', 'so-widgets-bundle' ),
|
67 |
+
),
|
68 |
+
'default' => 'cover',
|
69 |
+
),
|
70 |
+
|
71 |
+
'opacity' => array(
|
72 |
+
'label' => __( 'Background image opacity', 'so-widgets-bundle' ),
|
73 |
+
'type' => 'slider',
|
74 |
+
'min' => 0,
|
75 |
+
'max' => 100,
|
76 |
+
'default' => 100,
|
77 |
+
),
|
78 |
+
|
79 |
+
'color' => array(
|
80 |
+
'type' => 'color',
|
81 |
+
'label' => __( 'Background color', 'so-widgets-bundle' ),
|
82 |
+
'default' => '#333333',
|
83 |
+
),
|
84 |
+
|
85 |
+
'url' => array(
|
86 |
+
'type' => 'link',
|
87 |
+
'label' => __( 'Destination URL', 'so-widgets-bundle' ),
|
88 |
+
),
|
89 |
+
|
90 |
+
'new_window' => array(
|
91 |
+
'type' => 'checkbox',
|
92 |
+
'label' => __( 'Open URL in a new window', 'so-widgets-bundle' ),
|
93 |
+
),
|
94 |
+
|
95 |
+
'videos' => array(
|
96 |
+
'type' => 'repeater',
|
97 |
+
'item_name' => __('Video', 'so-widgets-bundle'),
|
98 |
+
'label' => __('Background videos', 'so-widgets-bundle'),
|
99 |
+
'item_label' => array(
|
100 |
+
'selector' => "[id*='frames-background_videos-url']",
|
101 |
+
'update_event' => 'change',
|
102 |
+
'value_method' => 'val'
|
103 |
+
),
|
104 |
+
'fields' => $this->video_form_fields(),
|
105 |
+
),
|
106 |
+
)
|
107 |
+
),
|
108 |
+
),
|
109 |
+
),
|
110 |
+
|
111 |
+
'controls' => array(
|
112 |
+
'type' => 'section',
|
113 |
+
'label' => __('Slider Controls', 'so-widgets-bundle'),
|
114 |
+
'fields' => $this->control_form_fields()
|
115 |
+
),
|
116 |
+
|
117 |
+
'design' => array(
|
118 |
+
'type' => 'section',
|
119 |
+
'label' => __('Design and Layout', 'so-widgets-bundle'),
|
120 |
+
'fields' => array(
|
121 |
+
|
122 |
+
'height' => array(
|
123 |
+
'type' => 'measurement',
|
124 |
+
'label' => __( 'Height', 'so-widgets-bundle' ),
|
125 |
+
'default' => 'default',
|
126 |
+
),
|
127 |
+
|
128 |
+
'padding' => array(
|
129 |
+
'type' => 'measurement',
|
130 |
+
'label' => __('Top and bottom padding', 'so-widgets-bundle'),
|
131 |
+
'default' => '50px',
|
132 |
+
),
|
133 |
+
|
134 |
+
'extra_top_padding' => array(
|
135 |
+
'type' => 'measurement',
|
136 |
+
'label' => __('Extra top padding', 'so-widgets-bundle'),
|
137 |
+
'description' => __('Additional padding added to the top of the slider', 'so-widgets-bundle'),
|
138 |
+
'default' => '0px',
|
139 |
+
),
|
140 |
+
|
141 |
+
'padding_sides' => array(
|
142 |
+
'type' => 'measurement',
|
143 |
+
'label' => __('Side padding', 'so-widgets-bundle'),
|
144 |
+
'default' => '20px',
|
145 |
+
),
|
146 |
+
|
147 |
+
'width' => array(
|
148 |
+
'type' => 'measurement',
|
149 |
+
'label' => __('Maximum container width', 'so-widgets-bundle'),
|
150 |
+
'default' => '1280px',
|
151 |
+
),
|
152 |
+
|
153 |
+
'heading_color' => array(
|
154 |
+
'type' => 'color',
|
155 |
+
'label' => __('Heading color', 'so-widgets-bundle'),
|
156 |
+
'default' => '#FFFFFF',
|
157 |
+
),
|
158 |
+
|
159 |
+
'heading_size' => array(
|
160 |
+
'type' => 'measurement',
|
161 |
+
'label' => __('Heading size', 'so-widgets-bundle'),
|
162 |
+
'default' => '38px',
|
163 |
+
),
|
164 |
+
|
165 |
+
'heading_shadow' => array(
|
166 |
+
'type' => 'slider',
|
167 |
+
'label' => __('Heading shadow intensity', 'so-widgets-bundle'),
|
168 |
+
'max' => 100,
|
169 |
+
'min' => 0,
|
170 |
+
'default' => 50,
|
171 |
+
),
|
172 |
+
|
173 |
+
'text_size' => array(
|
174 |
+
'type' => 'measurement',
|
175 |
+
'label' => __('Text size', 'so-widgets-bundle'),
|
176 |
+
'default' => '16px',
|
177 |
+
),
|
178 |
+
|
179 |
+
'text_color' => array(
|
180 |
+
'type' => 'color',
|
181 |
+
'label' => __('Text color', 'so-widgets-bundle'),
|
182 |
+
'default' => '#F6F6F6',
|
183 |
+
),
|
184 |
+
|
185 |
+
)
|
186 |
+
),
|
187 |
+
);
|
188 |
+
}
|
189 |
+
|
190 |
+
function form( $instance, $form_type = 'widget' ) {
|
191 |
+
if( is_admin() && defined('SITEORIGIN_PANELS_VERSION') ) {
|
192 |
+
parent::form( $instance, $form_type );
|
193 |
+
} else {
|
194 |
+
?>
|
195 |
+
<p>
|
196 |
+
<?php _e( 'This widget requires: ', 'so-widgets-bundle' ) ?>
|
197 |
+
<a href="https://siteorigin.com/page-builder/" target="_blank" rel="noopener noreferrer"><?php _e( 'SiteOrigin Page Builder', 'so-widgets-bundle' ) ?></a>
|
198 |
+
</p>
|
199 |
+
<?php
|
200 |
+
}
|
201 |
+
}
|
202 |
+
|
203 |
+
/**
|
204 |
+
* Get everything necessary for the background image.
|
205 |
+
*
|
206 |
+
* @param $i
|
207 |
+
* @param $frame
|
208 |
+
*
|
209 |
+
* @return array
|
210 |
+
*/
|
211 |
+
function get_frame_background( $i, $frame ){
|
212 |
+
$background_image = siteorigin_widgets_get_attachment_image_src(
|
213 |
+
$frame['background']['image'],
|
214 |
+
'full',
|
215 |
+
!empty( $frame['background']['image_fallback'] ) ? $frame['background']['image_fallback'] : ''
|
216 |
+
);
|
217 |
+
|
218 |
+
return array(
|
219 |
+
'color' => !empty( $frame['background']['color'] ) ? $frame['background']['color'] : false,
|
220 |
+
'image' => !empty( $background_image[0] ) ? $background_image[0] : false,
|
221 |
+
'image-width' => !empty( $background_image[1] ) ? $background_image[1] : 0,
|
222 |
+
'image-height' => !empty( $background_image[2] ) ? $background_image[2] : 0,
|
223 |
+
'image-sizing' => $frame['background']['image_type'],
|
224 |
+
'url' => !empty( $frame['background']['url'] ) ? $frame['background']['url'] : false,
|
225 |
+
'new_window' => !empty( $frame['background']['new_window'] ),
|
226 |
+
'videos' => $frame['background']['videos'],
|
227 |
+
'video-sizing' => 'background',
|
228 |
+
'opacity' => intval($frame['background']['opacity'])/100,
|
229 |
+
);
|
230 |
+
}
|
231 |
+
|
232 |
+
/**
|
233 |
+
* Render the actual content of the frame
|
234 |
+
*
|
235 |
+
* @param $i
|
236 |
+
* @param $frame
|
237 |
+
*/
|
238 |
+
function render_frame_contents($i, $frame) {
|
239 |
+
?>
|
240 |
+
<div class="sow-slider-image-container">
|
241 |
+
<div class="sow-slider-image-wrapper">
|
242 |
+
<?php echo $this->process_content( $frame['content'], $frame ); ?>
|
243 |
+
</div>
|
244 |
+
</div>
|
245 |
+
<?php
|
246 |
+
}
|
247 |
+
|
248 |
+
/**
|
249 |
+
* Process the content.
|
250 |
+
*
|
251 |
+
* @param $content
|
252 |
+
* @param $frame
|
253 |
+
*
|
254 |
+
* @return string
|
255 |
+
*/
|
256 |
+
function process_content( $content, $frame ) {
|
257 |
+
if( function_exists( 'siteorigin_panels_render' ) ) {
|
258 |
+
$content_builder_id = substr( md5( json_encode( $content ) ), 0, 8 );
|
259 |
+
echo siteorigin_panels_render( 'w'.$content_builder_id, true, $content );
|
260 |
+
}
|
261 |
+
else {
|
262 |
+
echo __( 'This widget requires Page Builder.', 'so-widgets-bundle' );
|
263 |
+
}
|
264 |
+
}
|
265 |
+
|
266 |
+
/**
|
267 |
+
* The less variables to control the design of the slider
|
268 |
+
*
|
269 |
+
* @param $instance
|
270 |
+
*
|
271 |
+
* @return array
|
272 |
+
*/
|
273 |
+
function get_less_variables($instance) {
|
274 |
+
$less = array();
|
275 |
+
|
276 |
+
// Slider navigation controls
|
277 |
+
$less['nav_color_hex'] = $instance['controls']['nav_color_hex'];
|
278 |
+
$less['nav_size'] = $instance['controls']['nav_size'];
|
279 |
+
|
280 |
+
// Hero specific design
|
281 |
+
//Measurement field type options
|
282 |
+
$meas_options = array();
|
283 |
+
$meas_options['slide_padding'] = $instance['design']['padding'];
|
284 |
+
$meas_options['slide_padding_extra_top'] = $instance['design']['extra_top_padding'];
|
285 |
+
$meas_options['slide_padding_sides'] = $instance['design']['padding_sides'];
|
286 |
+
$meas_options['slide_width'] = $instance['design']['width'];
|
287 |
+
$meas_options['slide_height'] = $instance['design']['height'];
|
288 |
+
|
289 |
+
$meas_options['heading_size'] = $instance['design']['heading_size'];
|
290 |
+
$meas_options['text_size'] = $instance['design']['text_size'];
|
291 |
+
|
292 |
+
foreach ( $meas_options as $key => $val ) {
|
293 |
+
$less[ $key ] = $this->add_default_measurement_unit( $val );
|
294 |
+
}
|
295 |
+
|
296 |
+
$less['heading_shadow'] = intval( $instance['design']['heading_shadow'] );
|
297 |
+
|
298 |
+
$less['heading_color'] = $instance['design']['heading_color'];
|
299 |
+
$less['text_color'] = $instance['design']['text_color'];
|
300 |
+
|
301 |
+
return $less;
|
302 |
+
}
|
303 |
+
|
304 |
+
function add_default_measurement_unit($val) {
|
305 |
+
if (!empty($val)) {
|
306 |
+
if (!preg_match('/\d+([a-zA-Z%]+)/', $val)) {
|
307 |
+
$val .= 'px';
|
308 |
+
}
|
309 |
+
}
|
310 |
+
return $val;
|
311 |
+
}
|
312 |
+
}
|
313 |
+
|
314 |
+
siteorigin_widget_register('sow-layout-slider', __FILE__, 'SiteOrigin_Widget_LayoutSlider_Widget');
|
widgets/layout-slider/styles/default.less
CHANGED
@@ -1,59 +1,59 @@
|
|
1 |
-
@import "../../../base/less/mixins";
|
2 |
-
|
3 |
-
@nav_color_hex: #FFFFFF;
|
4 |
-
@nav_size: 25;
|
5 |
-
|
6 |
-
@slide_padding: 50px;
|
7 |
-
@slide_padding_extra_top: 0px;
|
8 |
-
@slide_padding_sides: 10px;
|
9 |
-
@slide_width: 1280px;
|
10 |
-
@slide_height: default;
|
11 |
-
@heading_size: 38px;
|
12 |
-
@text_size: 16px;
|
13 |
-
@text_color: #F6F6F6;
|
14 |
-
@heading_shadow: 50;
|
15 |
-
|
16 |
-
@heading_color: #FFFFFF;
|
17 |
-
|
18 |
-
.sow-slider-base {
|
19 |
-
|
20 |
-
ul.sow-slider-images {
|
21 |
-
|
22 |
-
.sow-slider-image-wrapper {
|
23 |
-
padding: @slide_padding+@slide_padding_extra_top @slide_padding_sides @slide_padding @slide_padding_sides;
|
24 |
-
|
25 |
-
max-width: @slide_width;
|
26 |
-
height: @slide_height;
|
27 |
-
|
28 |
-
h1,h2,h3,h4,h5,h6{
|
29 |
-
line-height: 1.375em;
|
30 |
-
color: @heading_color;
|
31 |
-
text-shadow: 0 2px 2px rgba( 0, 0, 0, @heading_shadow/100 );
|
32 |
-
margin: 0.1em 0;
|
33 |
-
}
|
34 |
-
|
35 |
-
p{
|
36 |
-
color: @text_color;
|
37 |
-
text-shadow: 0 1px 2px rgba(0,0,0,0.25);
|
38 |
-
margin: 1em 0;
|
39 |
-
font-size: @text_size;
|
40 |
-
}
|
41 |
-
}
|
42 |
-
}
|
43 |
-
|
44 |
-
.sow-slider-pagination {
|
45 |
-
li a {
|
46 |
-
background: @nav_color_hex;
|
47 |
-
}
|
48 |
-
}
|
49 |
-
|
50 |
-
.sow-slide-nav {
|
51 |
-
|
52 |
-
font-size: ~"@{nav_size}px";
|
53 |
-
|
54 |
-
a {
|
55 |
-
color: @nav_color_hex;
|
56 |
-
}
|
57 |
-
}
|
58 |
-
|
59 |
-
}
|
1 |
+
@import "../../../base/less/mixins";
|
2 |
+
|
3 |
+
@nav_color_hex: #FFFFFF;
|
4 |
+
@nav_size: 25;
|
5 |
+
|
6 |
+
@slide_padding: 50px;
|
7 |
+
@slide_padding_extra_top: 0px;
|
8 |
+
@slide_padding_sides: 10px;
|
9 |
+
@slide_width: 1280px;
|
10 |
+
@slide_height: default;
|
11 |
+
@heading_size: 38px;
|
12 |
+
@text_size: 16px;
|
13 |
+
@text_color: #F6F6F6;
|
14 |
+
@heading_shadow: 50;
|
15 |
+
|
16 |
+
@heading_color: #FFFFFF;
|
17 |
+
|
18 |
+
.sow-slider-base {
|
19 |
+
|
20 |
+
ul.sow-slider-images {
|
21 |
+
|
22 |
+
.sow-slider-image-wrapper {
|
23 |
+
padding: @slide_padding+@slide_padding_extra_top @slide_padding_sides @slide_padding @slide_padding_sides;
|
24 |
+
|
25 |
+
max-width: @slide_width;
|
26 |
+
height: @slide_height;
|
27 |
+
|
28 |
+
h1,h2,h3,h4,h5,h6{
|
29 |
+
line-height: 1.375em;
|
30 |
+
color: @heading_color;
|
31 |
+
text-shadow: 0 2px 2px rgba( 0, 0, 0, @heading_shadow/100 );
|
32 |
+
margin: 0.1em 0;
|
33 |
+
}
|
34 |
+
|
35 |
+
p{
|
36 |
+
color: @text_color;
|
37 |
+
text-shadow: 0 1px 2px rgba(0,0,0,0.25);
|
38 |
+
margin: 1em 0;
|
39 |
+
font-size: @text_size;
|
40 |
+
}
|
41 |
+
}
|
42 |
+
}
|
43 |
+
|
44 |
+
.sow-slider-pagination {
|
45 |
+
li a {
|
46 |
+
background: @nav_color_hex;
|
47 |
+
}
|
48 |
+
}
|
49 |
+
|
50 |
+
.sow-slide-nav {
|
51 |
+
|
52 |
+
font-size: ~"@{nav_size}px";
|
53 |
+
|
54 |
+
a {
|
55 |
+
color: @nav_color_hex;
|
56 |
+
}
|
57 |
+
}
|
58 |
+
|
59 |
+
}
|
widgets/post-carousel/assets/banner.svg
CHANGED
@@ -1,44 +1 @@
|
|
1 |
-
|
2 |
-
<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
-
viewBox="55 277 240 240" style="enable-background:new 55 277 240 240;" xml:space="preserve">
|
5 |
-
<style type="text/css">
|
6 |
-
.st0{fill:#1880B6;}
|
7 |
-
.st1{fill:#324249;}
|
8 |
-
.st2{fill:#F2F0DA;}
|
9 |
-
.st3{fill:#8ED9EF;}
|
10 |
-
.st4{opacity:0.2;}
|
11 |
-
</style>
|
12 |
-
<rect id="Call_to_Action_2_" x="55" y="277" class="st0" width="240" height="240"/>
|
13 |
-
<g>
|
14 |
-
<path class="st1" d="M231,341h-4v0c0-4.4-3.6-8-8-8h-88c-4.4,0-8,3.6-8,8h-4c-4.4,0-8,3.6-8,8v96c0,4.4,3.6,8,8,8h4
|
15 |
-
c0,4.4,3.6,8,8,8h88c4.4,0,8-3.6,8-8v0h4c4.4,0,8-3.6,8-8v-96C239,344.6,235.4,341,231,341z M123,449h-4c-2.2,0-4-1.8-4-4v-96
|
16 |
-
c0-2.2,1.8-4,4-4h4V449z M223,369v84c0,2.2-1.8,4-4,4h-88c-2.2,0-4-1.8-4-4V341c0-2.2,1.8-4,4-4h88c2.2,0,4,1.8,4,4V369z M235,445
|
17 |
-
c0,2.2-1.8,4-4,4h-4V345h4c2.2,0,4,1.8,4,4V445z"/>
|
18 |
-
<g>
|
19 |
-
<path class="st2" d="M219,337h-88c-2.2,0-4,1.8-4,4v112c0,2.2,1.8,4,4,4h88c2.2,0,4-1.8,4-4v-84v-28C223,338.8,221.2,337,219,337z
|
20 |
-
"/>
|
21 |
-
</g>
|
22 |
-
<g>
|
23 |
-
<path class="st3" d="M115,349v96c0,2.2,1.8,4,4,4h4V345h-4C116.8,345,115,346.8,115,349z"/>
|
24 |
-
<path class="st3" d="M231,345h-4v104h4c2.2,0,4-1.8,4-4v-96C235,346.8,233.2,345,231,345z"/>
|
25 |
-
</g>
|
26 |
-
<g class="st4">
|
27 |
-
<path d="M145,361h24c1.1,0,2-0.9,2-2s-0.9-2-2-2h-24c-1.1,0-2,0.9-2,2C143,360.1,143.9,361,145,361z"/>
|
28 |
-
<path d="M145,413h32c1.1,0,2-0.9,2-2s-0.9-2-2-2h-32c-1.1,0-2,0.9-2,2S143.9,413,145,413z"/>
|
29 |
-
<path d="M185,413h20c1.1,0,2-0.9,2-2s-0.9-2-2-2h-20c-1.1,0-2,0.9-2,2S183.9,413,185,413z"/>
|
30 |
-
<path d="M145,377h32c1.1,0,2-0.9,2-2s-0.9-2-2-2h-32c-1.1,0-2,0.9-2,2C143,376.1,143.9,377,145,377z"/>
|
31 |
-
<path d="M185,377h20c1.1,0,2-0.9,2-2s-0.9-2-2-2h-20c-1.1,0-2,0.9-2,2C183,376.1,183.9,377,185,377z"/>
|
32 |
-
<path d="M205,433h-36c-1.1,0-2,0.9-2,2s0.9,2,2,2h36c1.1,0,2-0.9,2-2S206.1,433,205,433z"/>
|
33 |
-
<path d="M161,433h-16c-1.1,0-2,0.9-2,2s0.9,2,2,2h16c1.1,0,2-0.9,2-2S162.1,433,161,433z"/>
|
34 |
-
<path d="M145,425h8c1.1,0,2-0.9,2-2s-0.9-2-2-2h-8c-1.1,0-2,0.9-2,2S143.9,425,145,425z"/>
|
35 |
-
<path d="M161,421c-1.1,0-2,0.9-2,2s0.9,2,2,2h12c1.1,0,2-0.9,2-2s-0.9-2-2-2H161z"/>
|
36 |
-
<path d="M205,421h-24c-1.1,0-2,0.9-2,2s0.9,2,2,2h24c1.1,0,2-0.9,2-2S206.1,421,205,421z"/>
|
37 |
-
<path d="M205,397h-36c-1.1,0-2,0.9-2,2c0,1.1,0.9,2,2,2h36c1.1,0,2-0.9,2-2C207,397.9,206.1,397,205,397z"/>
|
38 |
-
<path d="M161,397h-16c-1.1,0-2,0.9-2,2c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2C163,397.9,162.1,397,161,397z"/>
|
39 |
-
<path d="M145,389h8c1.1,0,2-0.9,2-2s-0.9-2-2-2h-8c-1.1,0-2,0.9-2,2S143.9,389,145,389z"/>
|
40 |
-
<path d="M161,385c-1.1,0-2,0.9-2,2s0.9,2,2,2h12c1.1,0,2-0.9,2-2s-0.9-2-2-2H161z"/>
|
41 |
-
<path d="M205,385h-24c-1.1,0-2,0.9-2,2s0.9,2,2,2h24c1.1,0,2-0.9,2-2S206.1,385,205,385z"/>
|
42 |
-
</g>
|
43 |
-
</g>
|
44 |
-
</svg>
|
1 |
+
<svg enable-background="new 55 277 240 240" viewBox="55 277 240 240" xmlns="http://www.w3.org/2000/svg"><path d="m55 277h240v240h-240z" fill="#1880b6"/><path d="m231 341h-4c0-4.4-3.6-8-8-8h-88c-4.4 0-8 3.6-8 8h-4c-4.4 0-8 3.6-8 8v96c0 4.4 3.6 8 8 8h4c0 4.4 3.6 8 8 8h88c4.4 0 8-3.6 8-8h4c4.4 0 8-3.6 8-8v-96c0-4.4-3.6-8-8-8zm-108 108h-4c-2.2 0-4-1.8-4-4v-96c0-2.2 1.8-4 4-4h4zm100-80v84c0 2.2-1.8 4-4 4h-88c-2.2 0-4-1.8-4-4v-112c0-2.2 1.8-4 4-4h88c2.2 0 4 1.8 4 4zm12 76c0 2.2-1.8 4-4 4h-4v-104h4c2.2 0 4 1.8 4 4z" fill="#324249"/><path d="m219 337h-88c-2.2 0-4 1.8-4 4v112c0 2.2 1.8 4 4 4h88c2.2 0 4-1.8 4-4v-84-28c0-2.2-1.8-4-4-4z" fill="#f2f0da"/><path d="m115 349v96c0 2.2 1.8 4 4 4h4v-104h-4c-2.2 0-4 1.8-4 4z" fill="#8ed9ef"/><path d="m231 345h-4v104h4c2.2 0 4-1.8 4-4v-96c0-2.2-1.8-4-4-4z" fill="#8ed9ef"/><g opacity=".2"><path d="m145 361h24c1.1 0 2-.9 2-2s-.9-2-2-2h-24c-1.1 0-2 .9-2 2s.9 2 2 2z"/><path d="m145 413h32c1.1 0 2-.9 2-2s-.9-2-2-2h-32c-1.1 0-2 .9-2 2s.9 2 2 2z"/><path d="m185 413h20c1.1 0 2-.9 2-2s-.9-2-2-2h-20c-1.1 0-2 .9-2 2s.9 2 2 2z"/><path d="m145 377h32c1.1 0 2-.9 2-2s-.9-2-2-2h-32c-1.1 0-2 .9-2 2s.9 2 2 2z"/><path d="m185 377h20c1.1 0 2-.9 2-2s-.9-2-2-2h-20c-1.1 0-2 .9-2 2s.9 2 2 2z"/><path d="m205 433h-36c-1.1 0-2 .9-2 2s.9 2 2 2h36c1.1 0 2-.9 2-2s-.9-2-2-2z"/><path d="m161 433h-16c-1.1 0-2 .9-2 2s.9 2 2 2h16c1.1 0 2-.9 2-2s-.9-2-2-2z"/><path d="m145 425h8c1.1 0 2-.9 2-2s-.9-2-2-2h-8c-1.1 0-2 .9-2 2s.9 2 2 2z"/><path d="m161 421c-1.1 0-2 .9-2 2s.9 2 2 2h12c1.1 0 2-.9 2-2s-.9-2-2-2z"/><path d="m205 421h-24c-1.1 0-2 .9-2 2s.9 2 2 2h24c1.1 0 2-.9 2-2s-.9-2-2-2z"/><path d="m205 397h-36c-1.1 0-2 .9-2 2s.9 2 2 2h36c1.1 0 2-.9 2-2s-.9-2-2-2z"/><path d="m161 397h-16c-1.1 0-2 .9-2 2s.9 2 2 2h16c1.1 0 2-.9 2-2s-.9-2-2-2z"/><path d="m145 389h8c1.1 0 2-.9 2-2s-.9-2-2-2h-8c-1.1 0-2 .9-2 2s.9 2 2 2z"/><path d="m161 385c-1.1 0-2 .9-2 2s.9 2 2 2h12c1.1 0 2-.9 2-2s-.9-2-2-2z"/><path d="m205 385h-24c-1.1 0-2 .9-2 2s.9 2 2 2h24c1.1 0 2-.9 2-2s-.9-2-2-2z"/></g></svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
widgets/post-carousel/css/images/carousel-loader.gif
CHANGED
Binary file
|
widgets/price-table/assets/banner.svg
CHANGED
@@ -1,36 +1 @@
|
|
1 |
-
|
2 |
-
<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
-
viewBox="55 277 240 240" style="enable-background:new 55 277 240 240;" xml:space="preserve">
|
5 |
-
<style type="text/css">
|
6 |
-
.st0{fill:#1880B6;}
|
7 |
-
.st1{fill:#8ED9EF;}
|
8 |
-
.st2{fill:#F2F0DA;}
|
9 |
-
.st3{fill:#324249;}
|
10 |
-
.st4{opacity:0.2;}
|
11 |
-
</style>
|
12 |
-
<rect id="Price_Table_1_" x="55" y="277" class="st0" width="240" height="240"/>
|
13 |
-
<g>
|
14 |
-
<path class="st1" d="M215,337h-80c-5.9,0-12,6-12,12v104c0,2.1,2,4,4,4h80c1.9,0,4-2.4,4-4v-92c0-4.4,3.6-8,8-8c1.1,0,2,0.9,2,2
|
15 |
-
c0,1.1-0.9,2-2,2c-2.2,0-4,1.8-4,4v20h8c2.1,0,4-2.2,4-4v-24C227,343.2,220.6,337,215,337z M167,441c-15.5,0-28-12.5-28-28
|
16 |
-
c0-15.5,12.5-28,28-28s28,12.5,28,28C195,428.5,182.5,441,167,441z"/>
|
17 |
-
<path class="st2" d="M191,413c0-13.3-10.7-24-24-24c-13.3,0-24,10.7-24,24c0,13.3,10.7,24,24,24C180.3,437,191,426.3,191,413z"/>
|
18 |
-
<g>
|
19 |
-
<path class="st3" d="M215,333h-80c-8.1,0-16,8-16,16v104c0,4.4,3.7,8,8,8h80c4.4,0,8-3.9,8-8v-68h8c4.2,0,8-4.1,8-8v-24
|
20 |
-
C231,341,223.3,333,215,333z M227,377c0,1.8-1.9,4-4,4h-8v-20c0-2.2,1.8-4,4-4c1.1,0,2-0.9,2-2c0-1.1-0.9-2-2-2c-4.4,0-8,3.6-8,8
|
21 |
-
v92c0,1.6-2.1,4-4,4h-80c-2,0-4-1.9-4-4V349c0-6,6.1-12,12-12h80c5.6,0,12,6.2,12,16V377z"/>
|
22 |
-
<path class="st3" d="M167,403c2.2,0,4,1.8,4,4c0,1.1,0.9,2,2,2c1.1,0,2-0.9,2-2c0-3.7-2.6-6.8-6-7.7V399c0-1.1-0.9-2-2-2
|
23 |
-
s-2,0.9-2,2v0.3c-3.4,0.9-6,4-6,7.7c0,4.4,3.6,8,8,8c2.2,0,4,1.8,4,4c0,2.2-1.8,4-4,4c-2.2,0-4-1.8-4-4c0-1.1-0.9-2-2-2
|
24 |
-
s-2,0.9-2,2c0,3.7,2.6,6.8,6,7.7v0.3c0,1.1,0.9,2,2,2s2-0.9,2-2v-0.3c3.4-0.9,6-4,6-7.7c0-4.4-3.6-8-8-8c-2.2,0-4-1.8-4-4
|
25 |
-
C163,404.8,164.8,403,167,403z"/>
|
26 |
-
<path class="st3" d="M167,385c-15.5,0-28,12.5-28,28c0,15.5,12.5,28,28,28s28-12.5,28-28C195,397.5,182.5,385,167,385z M167,437
|
27 |
-
c-13.3,0-24-10.7-24-24c0-13.3,10.7-24,24-24c13.3,0,24,10.7,24,24C191,426.3,180.3,437,167,437z"/>
|
28 |
-
</g>
|
29 |
-
<g class="st4">
|
30 |
-
<path d="M141,365h32c1.1,0,2-0.9,2-2c0-1.1-0.9-2-2-2h-32c-1.1,0-2,0.9-2,2C139,364.1,139.9,365,141,365z"/>
|
31 |
-
<path d="M181,365h8c1.1,0,2-0.9,2-2c0-1.1-0.9-2-2-2h-8c-1.1,0-2,0.9-2,2C179,364.1,179.9,365,181,365z"/>
|
32 |
-
<path d="M189,373h-32c-1.1,0-2,0.9-2,2c0,1.1,0.9,2,2,2h32c1.1,0,2-0.9,2-2C191,373.9,190.1,373,189,373z"/>
|
33 |
-
<path d="M149,373h-8c-1.1,0-2,0.9-2,2c0,1.1,0.9,2,2,2h8c1.1,0,2-0.9,2-2C151,373.9,150.1,373,149,373z"/>
|
34 |
-
</g>
|
35 |
-
</g>
|
36 |
-
</svg>
|
1 |
+
<svg enable-background="new 55 277 240 240" viewBox="55 277 240 240" xmlns="http://www.w3.org/2000/svg"><path d="m55 277h240v240h-240z" fill="#1880b6"/><path d="m215 337h-80c-5.9 0-12 6-12 12v104c0 2.1 2 4 4 4h80c1.9 0 4-2.4 4-4v-92c0-4.4 3.6-8 8-8 1.1 0 2 .9 2 2s-.9 2-2 2c-2.2 0-4 1.8-4 4v20h8c2.1 0 4-2.2 4-4v-24c0-9.8-6.4-16-12-16zm-48 104c-15.5 0-28-12.5-28-28s12.5-28 28-28 28 12.5 28 28-12.5 28-28 28z" fill="#8ed9ef"/><path d="m191 413c0-13.3-10.7-24-24-24s-24 10.7-24 24 10.7 24 24 24 24-10.7 24-24z" fill="#f2f0da"/><g fill="#324249"><path d="m215 333h-80c-8.1 0-16 8-16 16v104c0 4.4 3.7 8 8 8h80c4.4 0 8-3.9 8-8v-68h8c4.2 0 8-4.1 8-8v-24c0-12-7.7-20-16-20zm12 44c0 1.8-1.9 4-4 4h-8v-20c0-2.2 1.8-4 4-4 1.1 0 2-.9 2-2s-.9-2-2-2c-4.4 0-8 3.6-8 8v92c0 1.6-2.1 4-4 4h-80c-2 0-4-1.9-4-4v-104c0-6 6.1-12 12-12h80c5.6 0 12 6.2 12 16z"/><path d="m167 403c2.2 0 4 1.8 4 4 0 1.1.9 2 2 2s2-.9 2-2c0-3.7-2.6-6.8-6-7.7v-.3c0-1.1-.9-2-2-2s-2 .9-2 2v.3c-3.4.9-6 4-6 7.7 0 4.4 3.6 8 8 8 2.2 0 4 1.8 4 4s-1.8 4-4 4-4-1.8-4-4c0-1.1-.9-2-2-2s-2 .9-2 2c0 3.7 2.6 6.8 6 7.7v.3c0 1.1.9 2 2 2s2-.9 2-2v-.3c3.4-.9 6-4 6-7.7 0-4.4-3.6-8-8-8-2.2 0-4-1.8-4-4s1.8-4 4-4z"/><path d="m167 385c-15.5 0-28 12.5-28 28s12.5 28 28 28 28-12.5 28-28-12.5-28-28-28zm0 52c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24z"/></g><g opacity=".2"><path d="m141 365h32c1.1 0 2-.9 2-2s-.9-2-2-2h-32c-1.1 0-2 .9-2 2s.9 2 2 2z"/><path d="m181 365h8c1.1 0 2-.9 2-2s-.9-2-2-2h-8c-1.1 0-2 .9-2 2s.9 2 2 2z"/><path d="m189 373h-32c-1.1 0-2 .9-2 2s.9 2 2 2h32c1.1 0 2-.9 2-2s-.9-2-2-2z"/><path d="m149 373h-8c-1.1 0-2 .9-2 2s.9 2 2 2h8c1.1 0 2-.9 2-2s-.9-2-2-2z"/></g></svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
widgets/price-table/js/pricetable.js
CHANGED
@@ -1,46 +1,46 @@
|
|
1 |
-
jQuery( function($){
|
2 |
-
$('.so-widget-sow-price-table .sow-equalize-row-heights').each(function () {
|
3 |
-
var $pt = $(this);
|
4 |
-
var equalizeHeights = function ( selector ) {
|
5 |
-
var maxHeight = 0;
|
6 |
-
var $elements = $pt.find(selector);
|
7 |
-
$elements.each(function () {
|
8 |
-
maxHeight = Math.max(maxHeight, $(this).height());
|
9 |
-
});
|
10 |
-
$elements.height(maxHeight);
|
11 |
-
};
|
12 |
-
|
13 |
-
var maxFeatures = 0;
|
14 |
-
$pt.find('.ow-pt-features').each(function () {
|
15 |
-
maxFeatures = Math.max(maxFeatures, $(this).find('.ow-pt-feature').length);
|
16 |
-
});
|
17 |
-
|
18 |
-
for (var i = 0; i < maxFeatures; i++) {
|
19 |
-
equalizeHeights('.ow-pt-feature-index-' + i);
|
20 |
-
}
|
21 |
-
|
22 |
-
var selectors = ['.ow-pt-title', '.ow-pt-details', '.ow-pt-image', '.ow-pt-features', '.ow-pt-button'];
|
23 |
-
selectors.forEach(equalizeHeights);
|
24 |
-
});
|
25 |
-
|
26 |
-
$('.ow-pt-icon[data-icon]').each(function(){
|
27 |
-
var $$ = $(this);
|
28 |
-
var icon = $$.data('icon');
|
29 |
-
|
30 |
-
if($('#so-pt-icon-' + icon).length) {
|
31 |
-
var svg = $('#so-pt-icon-' + icon + ' svg').clone().css({
|
32 |
-
'max-width' : 24,
|
33 |
-
'max-height' : 24
|
34 |
-
});
|
35 |
-
|
36 |
-
if($$.data('icon-color') !== '') {
|
37 |
-
svg.find('path').css( 'fill', $$.data('icon-color') );
|
38 |
-
}
|
39 |
-
else {
|
40 |
-
svg.find('path').css( 'fill', '#333333' );
|
41 |
-
}
|
42 |
-
|
43 |
-
$$.append(svg);
|
44 |
-
}
|
45 |
-
})
|
46 |
-
} );
|
1 |
+
jQuery( function($){
|
2 |
+
$('.so-widget-sow-price-table .sow-equalize-row-heights').each(function () {
|
3 |
+
var $pt = $(this);
|
4 |
+
var equalizeHeights = function ( selector ) {
|
5 |
+
var maxHeight = 0;
|
6 |
+
var $elements = $pt.find(selector);
|
7 |
+
$elements.each(function () {
|
8 |
+
maxHeight = Math.max(maxHeight, $(this).height());
|
9 |
+
});
|
10 |
+
$elements.height(maxHeight);
|
11 |
+
};
|
12 |
+
|
13 |
+
var maxFeatures = 0;
|
14 |
+
$pt.find('.ow-pt-features').each(function () {
|
15 |
+
maxFeatures = Math.max(maxFeatures, $(this).find('.ow-pt-feature').length);
|
16 |
+
});
|
17 |
+
|
18 |
+
for (var i = 0; i < maxFeatures; i++) {
|
19 |
+
equalizeHeights('.ow-pt-feature-index-' + i);
|
20 |
+
}
|
21 |
+
|
22 |
+
var selectors = ['.ow-pt-title', '.ow-pt-details', '.ow-pt-image', '.ow-pt-features', '.ow-pt-button'];
|
23 |
+
selectors.forEach(equalizeHeights);
|
24 |
+
});
|
25 |
+
|
26 |
+
$('.ow-pt-icon[data-icon]').each(function(){
|
27 |
+
var $$ = $(this);
|
28 |
+
var icon = $$.data('icon');
|
29 |
+
|
30 |
+
if($('#so-pt-icon-' + icon).length) {
|
31 |
+
var svg = $('#so-pt-icon-' + icon + ' svg').clone().css({
|
32 |
+
'max-width' : 24,
|
33 |
+
'max-height' : 24
|
34 |
+
});
|
35 |
+
|
36 |
+
if($$.data('icon-color') !== '') {
|
37 |
+
svg.find('path').css( 'fill', $$.data('icon-color') );
|
38 |
+
}
|
39 |
+
else {
|
40 |
+
svg.find('path').css( 'fill', '#333333' );
|
41 |
+
}
|
42 |
+
|
43 |
+
$$.append(svg);
|
44 |
+
}
|
45 |
+
})
|
46 |
+
} );
|
widgets/price-table/styles/atom.less
CHANGED
@@ -1,233 +1,238 @@
|
|
1 |
-
@import "../../../base/less/mixins";
|
2 |
-
|
3 |
-
/* Header colors */
|
4 |
-
@header_color: #65707f;
|
5 |
-
@featured_header_color: lighten(#65707f, 5%);
|
6 |
-
|
7 |
-
/* Button colors */
|
8 |
-
@button_color: #41a9d5;
|
9 |
-
@button_text_color: #FFFFFF;
|
10 |
-
@featured_button_color: lighten(#41a9d5, 5%);
|
11 |
-
@featured_button_text_color: #FFFFFF;
|
12 |
-
|
13 |
-
.ow-pt-columns-atom {
|
14 |
-
.clearfix();
|
15 |
-
padding-top: 20px;
|
16 |
-
|
17 |
-
.ow-pt-column {
|
18 |
-
float: left;
|
19 |
-
|
20 |
-
.ow-pt-title {
|
21 |
-
.gradient(@header_color, darken(@header_color, 10%), @header_color);
|
22 |
-
padding: 20px 0;
|
23 |
-
text-align: center;
|
24 |
-
color: #FFFFFF;
|
25 |
-
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
|
26 |
-
border: 1px solid darken(@header_color, 20%);
|
27 |
-
border-bottom: 0;
|
28 |
-
.border-radius(5px, 0, 0, 5px);
|
29 |
-
.box-shadow(~"inset 0 1px 0 rgba(255,255,255,0.5)");
|
30 |
-
font-size: 1.1em;
|
31 |
-
|
32 |
-
.ow-pt-subtitle {
|
33 |
-
font-size: 0.9em;
|
34 |
-
color: #F0F0F0;
|
35 |
-
}
|
36 |
-
}
|
37 |
-
|
38 |
-
.ow-pt-details {
|
39 |
-
.gradient(lighten(@header_color, 5%), lighten(@header_color, 1%), lighten(@header_color, 5%));
|
40 |
-
position: relative;
|
41 |
-
padding: 15px 25px;
|
42 |
-
|
43 |
-
border-width: 1px;
|
44 |
-
border-style: solid;
|
45 |
-
border-color: darken(@header_color, 2%);
|
46 |
-
border-top-color: darken(@header_color, 20%);
|
47 |
-
border-right-width: 0;
|
48 |
-
|
49 |
-
.box-shadow(~"inset 0px -15px 25px rgba(0,0,0,0.05)");
|
50 |
-
|
51 |
-
text-align: center;
|
52 |
-
|
53 |
-
.ow-pt-price {
|
54 |
-
color: #FFFFFF;
|
55 |
-
font-size: 2.5em;
|
56 |
-
line-height: 1.25em;
|
57 |
-
font-weight: 300;
|
58 |
-
text-shadow: 0 1px 1px rgba(0,0,0,0.25);
|
59 |
-
}
|
60 |
-
|
61 |
-
.ow-pt-per {
|
62 |
-
color: lighten(@header_color, 50%);
|
63 |
-
}
|
64 |
-
}
|
65 |
-
|
66 |
-
.ow-pt-image {
|
67 |
-
line-height: 0;
|
68 |
-
|
69 |
-
img {
|
70 |
-
display: block;
|
71 |
-
max-width: 100%;
|
72 |
-
height: auto;
|
73 |
-
.rounded(0);
|
74 |
-
}
|
75 |
-
}
|
76 |
-
|
77 |
-
.ow-pt-features {
|
78 |
-
font-size: 0.925em;
|
79 |
-
color: #5f6062;
|
80 |
-
|
81 |
-
.ow-pt-feature {
|
82 |
-
padding: 15px 20px;
|
83 |
-
background: #ffffff;
|
84 |
-
|
85 |
-
.sow-feature-icon {
|
86 |
-
display: table-cell;
|
87 |
-
vertical-align: middle;
|
88 |
-
padding-right: 10px;
|
89 |
-
}
|
90 |
-
|
91 |
-
.sow-feature-icon + .sow-feature-text {
|
92 |
-
display: table-cell;
|
93 |
-
vertical-align: middle;
|
94 |
-
}
|
95 |
-
|
96 |
-
.gradient(#FFFFFF, #fcfcfc, #FFFFFF);
|
97 |
-
|
98 |
-
&.ow-pt-feature-odd {
|
99 |
-
.gradient(#f1f1f1, #eeeeee, #f1f1f1);
|
100 |
-
}
|
101 |
-
|
102 |
-
text-shadow: 0 1px 0 #FFFFFF;
|
103 |
-
|
104 |
-
strong {
|
105 |
-
font-weight: 500;
|
106 |
-
}
|
107 |
-
|
108 |
-
p {
|
109 |
-
margin: 0;
|
110 |
-
display: inline-block;
|
111 |
-
}
|
112 |
-
|
113 |
-
[class^="sow-icon-"] {
|
114 |
-
display: inline-block;
|
115 |
-
margin-right: 0.5em;
|
116 |
-
}
|
117 |
-
|
118 |
-
&:last-child {
|
119 |
-
border-bottom-width: 0;
|
120 |
-
}
|
121 |
-
}
|
122 |
-
}
|
123 |
-
|
124 |
-
&.ow-pt-even {
|
125 |
-
|
126 |
-
.ow-pt-features .ow-pt-feature {
|
127 |
-
.gradient(#f9f9f9, #f6f6f6, #f9f9f9);
|
128 |
-
|
129 |
-
&.ow-pt-feature-odd {
|
130 |
-
.gradient(#eeeeee, #ebebeb, #eeeeee);
|
131 |
-
}
|
132 |
-
}
|
133 |
-
|
134 |
-
}
|
135 |
-
|
136 |
-
&.ow-pt-last {
|
137 |
-
.ow-pt-details {
|
138 |
-
border-right-width: 1px;
|
139 |
-
}
|
140 |
-
|
141 |
-
.ow-pt-features .ow-pt-feature {
|
142 |
-
border-right-width: 1px;
|
143 |
-
}
|
144 |
-
}
|
145 |
-
|
146 |
-
.ow-pt-button {
|
147 |
-
|
148 |
-
display: block;
|
149 |
-
padding: 15px;
|
150 |
-
text-align: center;
|
151 |
-
|
152 |
-
.gradient(#e8e8e8, #dadada, #e8e8e8);
|
153 |
-
|
154 |
-
border-top: 1px solid #E0E0E0;
|
155 |
-
border-bottom: 1px solid #cfcfcf;
|
156 |
-
|
157 |
-
a.ow-pt-link {
|
158 |
-
display: inline-block;
|
159 |
-
.rounded(3px);
|
160 |
-
font-size: 0.9em;
|
161 |
-
padding: 0.675em 1.25em;
|
162 |
-
text-decoration: none;
|
163 |
-
color: @button_text_color;
|
164 |
-
.gradient(@button_color, darken(@button_color, 10%), @button_color);
|
165 |
-
border: 1px solid darken(@button_color, 20%);
|
166 |
-
.box-shadow(~"inset 0 1px 0 rgba(255,255,255,0.25), 0 1px 2px rgba(0,0,0,0.15)");
|
167 |
-
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
|
168 |
-
margin: 0;
|
169 |
-
|
170 |
-
&:hover {
|
171 |
-
@button_color_hover: lighten(@button_color, 3%);
|
172 |
-
.gradient(@button_color_hover, darken(@button_color_hover, 10%), @button_color_hover);
|
173 |
-
border: 1px solid darken(@button_color_hover, 20%);
|
174 |
-
}
|
175 |
-
}
|
176 |
-
|
177 |
-
}
|
178 |
-
|
179 |
-
&.ow-pt-featured {
|
180 |
-
margin-top: -20px;
|
181 |
-
.ow-pt-title {
|
182 |
-
padding: 30px 0;
|
183 |
-
border-color: darken(@featured_header_color, 20%);
|
184 |
-
.gradient(@featured_header_color, darken(@featured_header_color, 10%), @featured_header_color);
|
185 |
-
}
|
186 |
-
|
187 |
-
.ow-pt-details {
|
188 |
-
border-color: darken(@featured_header_color, 2%);
|
189 |
-
border-top-color: darken(@featured_header_color, 20%);
|
190 |
-
.gradient(lighten(@featured_header_color, 5%), lighten(@featured_header_color, 1%), lighten(@featured_header_color, 5%));
|
191 |
-
}
|
192 |
-
|
193 |
-
.ow-pt-button a.ow-pt-link {
|
194 |
-
color: @featured_button_text_color;
|
195 |
-
.gradient(@featured_button_color, darken(@featured_button_color, 10%), @featured_button_color);
|
196 |
-
border: 1px solid darken(@featured_button_color, 20%);
|
197 |
-
|
198 |
-
&:hover {
|
199 |
-
@featured_button_color_hover: lighten(@featured_button_color, 3%);
|
200 |
-
.gradient(@featured_button_color_hover, darken(@featured_button_color_hover, 10%), @featured_button_color_hover);
|
201 |
-
border: 1px solid darken(@featured_button_color_hover, 20%);
|
202 |
-
}
|
203 |
-
}
|
204 |
-
}
|
205 |
-
}
|
206 |
-
}
|
207 |
-
|
208 |
-
@media (max-width:680px) {
|
209 |
-
.ow-pt-columns-atom {
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
|
|
|
|
|
|
|
|
|
1 |
+
@import "../../../base/less/mixins";
|
2 |
+
|
3 |
+
/* Header colors */
|
4 |
+
@header_color: #65707f;
|
5 |
+
@featured_header_color: lighten(#65707f, 5%);
|
6 |
+
|
7 |
+
/* Button colors */
|
8 |
+
@button_color: #41a9d5;
|
9 |
+
@button_text_color: #FFFFFF;
|
10 |
+
@featured_button_color: lighten(#41a9d5, 5%);
|
11 |
+
@featured_button_text_color: #FFFFFF;
|
12 |
+
|
13 |
+
.ow-pt-columns-atom {
|
14 |
+
.clearfix();
|
15 |
+
padding-top: 20px;
|
16 |
+
|
17 |
+
.ow-pt-column {
|
18 |
+
float: left;
|
19 |
+
|
20 |
+
.ow-pt-title {
|
21 |
+
.gradient(@header_color, darken(@header_color, 10%), @header_color);
|
22 |
+
padding: 20px 0;
|
23 |
+
text-align: center;
|
24 |
+
color: #FFFFFF;
|
25 |
+
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
|
26 |
+
border: 1px solid darken(@header_color, 20%);
|
27 |
+
border-bottom: 0;
|
28 |
+
.border-radius(5px, 0, 0, 5px);
|
29 |
+
.box-shadow(~"inset 0 1px 0 rgba(255,255,255,0.5)");
|
30 |
+
font-size: 1.1em;
|
31 |
+
|
32 |
+
.ow-pt-subtitle {
|
33 |
+
font-size: 0.9em;
|
34 |
+
color: #F0F0F0;
|
35 |
+
}
|
36 |
+
}
|
37 |
+
|
38 |
+
.ow-pt-details {
|
39 |
+
.gradient(lighten(@header_color, 5%), lighten(@header_color, 1%), lighten(@header_color, 5%));
|
40 |
+
position: relative;
|
41 |
+
padding: 15px 25px;
|
42 |
+
|
43 |
+
border-width: 1px;
|
44 |
+
border-style: solid;
|
45 |
+
border-color: darken(@header_color, 2%);
|
46 |
+
border-top-color: darken(@header_color, 20%);
|
47 |
+
border-right-width: 0;
|
48 |
+
|
49 |
+
.box-shadow(~"inset 0px -15px 25px rgba(0,0,0,0.05)");
|
50 |
+
|
51 |
+
text-align: center;
|
52 |
+
|
53 |
+
.ow-pt-price {
|
54 |
+
color: #FFFFFF;
|
55 |
+
font-size: 2.5em;
|
56 |
+
line-height: 1.25em;
|
57 |
+
font-weight: 300;
|
58 |
+
text-shadow: 0 1px 1px rgba(0,0,0,0.25);
|
59 |
+
}
|
60 |
+
|
61 |
+
.ow-pt-per {
|
62 |
+
color: lighten(@header_color, 50%);
|
63 |
+
}
|
64 |
+
}
|
65 |
+
|
66 |
+
.ow-pt-image {
|
67 |
+
line-height: 0;
|
68 |
+
|
69 |
+
img {
|
70 |
+
display: block;
|
71 |
+
max-width: 100%;
|
72 |
+
height: auto;
|
73 |
+
.rounded(0);
|
74 |
+
}
|
75 |
+
}
|
76 |
+
|
77 |
+
.ow-pt-features {
|
78 |
+
font-size: 0.925em;
|
79 |
+
color: #5f6062;
|
80 |
+
|
81 |
+
.ow-pt-feature {
|
82 |
+
padding: 15px 20px;
|
83 |
+
background: #ffffff;
|
84 |
+
|
85 |
+
.sow-feature-icon {
|
86 |
+
display: table-cell;
|
87 |
+
vertical-align: middle;
|
88 |
+
padding-right: 10px;
|
89 |
+
}
|
90 |
+
|
91 |
+
.sow-feature-icon + .sow-feature-text {
|
92 |
+
display: table-cell;
|
93 |
+
vertical-align: middle;
|
94 |
+
}
|
95 |
+
|
96 |
+
.gradient(#FFFFFF, #fcfcfc, #FFFFFF);
|
97 |
+
|
98 |
+
&.ow-pt-feature-odd {
|
99 |
+
.gradient(#f1f1f1, #eeeeee, #f1f1f1);
|
100 |
+
}
|
101 |
+
|
102 |
+
text-shadow: 0 1px 0 #FFFFFF;
|
103 |
+
|
104 |
+
strong {
|
105 |
+
font-weight: 500;
|
106 |
+
}
|
107 |
+
|
108 |
+
p {
|
109 |
+
margin: 0;
|
110 |
+
display: inline-block;
|
111 |
+
}
|
112 |
+
|
113 |
+
[class^="sow-icon-"] {
|
114 |
+
display: inline-block;
|
115 |
+
margin-right: 0.5em;
|
116 |
+
}
|
117 |
+
|
118 |
+
&:last-child {
|
119 |
+
border-bottom-width: 0;
|
120 |
+
}
|
121 |
+
}
|
122 |
+
}
|
123 |
+
|
124 |
+
&.ow-pt-even {
|
125 |
+
|
126 |
+
.ow-pt-features .ow-pt-feature {
|
127 |
+
.gradient(#f9f9f9, #f6f6f6, #f9f9f9);
|
128 |
+
|
129 |
+
&.ow-pt-feature-odd {
|
130 |
+
.gradient(#eeeeee, #ebebeb, #eeeeee);
|
131 |
+
}
|
132 |
+
}
|
133 |
+
|
134 |
+
}
|
135 |
+
|
136 |
+
&.ow-pt-last {
|
137 |
+
.ow-pt-details {
|
138 |
+
border-right-width: 1px;
|
139 |
+
}
|
140 |
+
|
141 |
+
.ow-pt-features .ow-pt-feature {
|
142 |
+
border-right-width: 1px;
|
143 |
+
}
|
144 |
+
}
|
145 |
+
|
146 |
+
.ow-pt-button {
|
147 |
+
|
148 |
+
display: block;
|
149 |
+
padding: 15px;
|
150 |
+
text-align: center;
|
151 |
+
|
152 |
+
.gradient(#e8e8e8, #dadada, #e8e8e8);
|
153 |
+
|
154 |
+
border-top: 1px solid #E0E0E0;
|
155 |
+
border-bottom: 1px solid #cfcfcf;
|
156 |
+
|
157 |
+
a.ow-pt-link {
|
158 |
+
display: inline-block;
|
159 |
+
.rounded(3px);
|
160 |
+
font-size: 0.9em;
|
161 |
+
padding: 0.675em 1.25em;
|
162 |
+
text-decoration: none;
|
163 |
+
color: @button_text_color;
|
164 |
+
.gradient(@button_color, darken(@button_color, 10%), @button_color);
|
165 |
+
border: 1px solid darken(@button_color, 20%);
|
166 |
+
.box-shadow(~"inset 0 1px 0 rgba(255,255,255,0.25), 0 1px 2px rgba(0,0,0,0.15)");
|
167 |
+
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
|
168 |
+
margin: 0;
|
169 |
+
|
170 |
+
&:hover {
|
171 |
+
@button_color_hover: lighten(@button_color, 3%);
|
172 |
+
.gradient(@button_color_hover, darken(@button_color_hover, 10%), @button_color_hover);
|
173 |
+
border: 1px solid darken(@button_color_hover, 20%);
|
174 |
+
}
|
175 |
+
}
|
176 |
+
|
177 |
+
}
|
178 |
+
|
179 |
+
&.ow-pt-featured {
|
180 |
+
margin-top: -20px;
|
181 |
+
.ow-pt-title {
|
182 |
+
padding: 30px 0;
|
183 |
+
border-color: darken(@featured_header_color, 20%);
|
184 |
+
.gradient(@featured_header_color, darken(@featured_header_color, 10%), @featured_header_color);
|
185 |
+
}
|
186 |
+
|
187 |
+
.ow-pt-details {
|
188 |
+
border-color: darken(@featured_header_color, 2%);
|
189 |
+
border-top-color: darken(@featured_header_color, 20%);
|
190 |
+
.gradient(lighten(@featured_header_color, 5%), lighten(@featured_header_color, 1%), lighten(@featured_header_color, 5%));
|
191 |
+
}
|
192 |
+
|
193 |
+
.ow-pt-button a.ow-pt-link {
|
194 |
+
color: @featured_button_text_color;
|
195 |
+
.gradient(@featured_button_color, darken(@featured_button_color, 10%), @featured_button_color);
|
196 |
+
border: 1px solid darken(@featured_button_color, 20%);
|
197 |
+
|
198 |
+
&:hover {
|
199 |
+
@featured_button_color_hover: lighten(@featured_button_color, 3%);
|
200 |
+
.gradient(@featured_button_color_hover, darken(@featured_button_color_hover, 10%), @featured_button_color_hover);
|
201 |
+
border: 1px solid darken(@featured_button_color_hover, 20%);
|
202 |
+
}
|
203 |
+
}
|
204 |
+
}
|
205 |
+
}
|
206 |
+
}
|
207 |
+
|
208 |
+
@media (max-width:680px) {
|
209 |
+
.ow-pt-columns-atom {
|
210 |
+
padding-top: 0;
|
211 |
+
|
212 |
+
&.sow-equalize-row-heights {
|
213 |
+
.ow-pt-title, .ow-pt-details, .ow-pt-image, .ow-pt-features, .ow-pt-button, .ow-pt-feature {
|
214 |
+
height: auto !important;
|
215 |
+
}
|
216 |
+
}
|
217 |
+
|
218 |
+
.ow-pt-column {
|
219 |
+
float: none;
|
220 |
+
width: auto !important;
|
221 |
+
margin-bottom: 20px;
|
222 |
+
|
223 |
+
&.ow-pt-featured {
|
224 |
+
margin-top: 0;
|
225 |
+
}
|
226 |
+
|
227 |
+
.ow-pt-details {
|
228 |
+
border-right-width: 1px;
|
229 |
+
}
|
230 |
+
|
231 |
+
.ow-pt-features {
|
232 |
+
.ow-pt-feature {
|
233 |
+
border-width: 0 1px 1px 1px;
|
234 |
+
}
|
235 |
+
}
|
236 |
+
}
|
237 |
+
}
|
238 |
+
}
|
widgets/simple-masonry/assets/banner.svg
CHANGED
@@ -1,20 +1 @@
|
|
1 |
-
|
2 |
-
<!-- Generator: Adobe Illustrator 22.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
-
viewBox="0 0 120 120" style="enable-background:new 0 0 120 120;" xml:space="preserve">
|
5 |
-
<style type="text/css">
|
6 |
-
.st0{fill:#1880B6;}
|
7 |
-
.st1{fill:#8ED9EF;stroke:#324249;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
|
8 |
-
.st2{fill:#F2F0DA;stroke:#324249;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
|
9 |
-
</style>
|
10 |
-
<rect id="Call_to_Action" class="st0" width="120" height="120"/>
|
11 |
-
<g transform="translate(4 4)">
|
12 |
-
<rect x="28" y="56" class="st1" width="16" height="28"/>
|
13 |
-
<rect x="68" y="46" class="st1" width="16" height="24"/>
|
14 |
-
<rect x="48" y="70" class="st1" width="16" height="14"/>
|
15 |
-
<rect x="28" y="28" class="st2" width="16" height="24"/>
|
16 |
-
<rect x="68" y="28" class="st2" width="16" height="14"/>
|
17 |
-
<rect x="68" y="74" class="st2" width="16" height="10"/>
|
18 |
-
<rect x="48" y="28" class="st1" width="16" height="38"/>
|
19 |
-
</g>
|
20 |
-
</svg>
|
1 |
+
<svg enable-background="new 0 0 120 120" viewBox="0 0 120 120" xmlns="http://www.w3.org/2000/svg"><path d="m0 0h120v120h-120z" fill="#1880b6"/><g stroke="#324249" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="m32 60h16v28h-16z" fill="#8ed9ef"/><path d="m72 50h16v24h-16z" fill="#8ed9ef"/><path d="m52 74h16v14h-16z" fill="#8ed9ef"/><path d="m32 32h16v24h-16z" fill="#f2f0da"/><path d="m72 32h16v14h-16z" fill="#f2f0da"/><path d="m72 78h16v10h-16z" fill="#f2f0da"/><path d="m52 32h16v38h-16z" fill="#8ed9ef"/></g></svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
widgets/simple-masonry/js/simple-masonry.js
CHANGED
@@ -1,80 +1,86 @@
|
|
1 |
-
/* globals jQuery, packery, sowb */
|
2 |
-
|
3 |
-
var sowb = window.sowb || {};
|
4 |
-
|
5 |
-
jQuery( function($){
|
6 |
-
sowb.setupSimpleMasonries = function() {
|
7 |
-
var $grid = $('.sow-masonry-grid');
|
8 |
-
|
9 |
-
|
10 |
-
$grid
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
var
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
var
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
var
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
$img.css('
|
50 |
-
|
51 |
-
|
52 |
-
$img.
|
53 |
-
$img.css('
|
54 |
-
|
55 |
-
|
56 |
-
$img.css('
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* globals jQuery, packery, sowb */
|
2 |
+
|
3 |
+
var sowb = window.sowb || {};
|
4 |
+
|
5 |
+
jQuery( function($){
|
6 |
+
sowb.setupSimpleMasonries = function() {
|
7 |
+
var $grid = $('.sow-masonry-grid');
|
8 |
+
|
9 |
+
if ( !$grid.is( ':visible' ) || $grid.data( 'initialized' ) ) {
|
10 |
+
return $grid;
|
11 |
+
}
|
12 |
+
|
13 |
+
var resizeMasonry = function(){
|
14 |
+
$grid.each(function(){
|
15 |
+
var $gridEl = $(this);
|
16 |
+
var layouts = $gridEl.data('layouts');
|
17 |
+
var tabletQuery = window.matchMedia('(max-width: ' + layouts.tablet.breakPoint + 'px)');
|
18 |
+
var mobileQuery = window.matchMedia('(max-width: ' + layouts.mobile.breakPoint + 'px)');
|
19 |
+
var layout = layouts.desktop;
|
20 |
+
if(mobileQuery.matches) {
|
21 |
+
layout = layouts.mobile;
|
22 |
+
} else if (tabletQuery.matches) {
|
23 |
+
layout = layouts.tablet;
|
24 |
+
}
|
25 |
+
var numColumns = layout.numColumns;
|
26 |
+
$gridEl.css('width', 'auto');
|
27 |
+
var horizontalGutterSpace = layout.gutter * ( numColumns - 1 );
|
28 |
+
var columnWidth = Math.floor( ( $gridEl.width() - ( horizontalGutterSpace ) ) / numColumns );
|
29 |
+
$gridEl.width( ( columnWidth * numColumns ) + horizontalGutterSpace );
|
30 |
+
|
31 |
+
$gridEl.imagesLoaded( function() {
|
32 |
+
$gridEl.find('> .sow-masonry-grid-item').each(function(){
|
33 |
+
var $$ = $(this);
|
34 |
+
var colSpan = $$.data('colSpan');
|
35 |
+
colSpan = Math.max(Math.min(colSpan, layout.numColumns), 1);
|
36 |
+
$$.width( ( columnWidth * colSpan ) + (layout.gutter * (colSpan-1)));
|
37 |
+
var rowSpan = $$.data('rowSpan');
|
38 |
+
rowSpan = Math.max(Math.min(rowSpan, layout.numColumns), 1);
|
39 |
+
//Use rowHeight if non-zero else fall back to matching columnWidth.
|
40 |
+
var rowHeight = layout.rowHeight || columnWidth;
|
41 |
+
$$.css('height', (rowHeight * rowSpan) + (layout.gutter * (rowSpan-1)));
|
42 |
+
|
43 |
+
var $img = $$.find('> img,> a > img');
|
44 |
+
var imgAR = $img.attr('height') > 0 ? $img.attr('width')/$img.attr('height') : 1;
|
45 |
+
var itemAR = $$.height() > 0 ? $$.width()/$$.height() : 1;
|
46 |
+
imgAR = parseFloat(imgAR.toFixed(3));
|
47 |
+
itemAR = parseFloat(itemAR.toFixed(3));
|
48 |
+
if(imgAR > itemAR) {
|
49 |
+
$img.css('width', 'auto');
|
50 |
+
$img.css('height', '100%');
|
51 |
+
$img.css('margin-top', '');
|
52 |
+
var marginLeft = ($img.width() - $$.width()) * -0.5;
|
53 |
+
$img.css('margin-left', marginLeft+'px');
|
54 |
+
}
|
55 |
+
else {
|
56 |
+
$img.css('height', 'auto');
|
57 |
+
$img.css('width', '100%');
|
58 |
+
$img.css('margin-left', '');
|
59 |
+
var marginTop = ($img.height() - $$.height()) * -0.5;
|
60 |
+
$img.css('margin-top', marginTop+'px');
|
61 |
+
}
|
62 |
+
});
|
63 |
+
$gridEl.packery({
|
64 |
+
itemSelector: '.sow-masonry-grid-item',
|
65 |
+
columnWidth: columnWidth,
|
66 |
+
gutter: layout.gutter
|
67 |
+
});
|
68 |
+
});
|
69 |
+
});
|
70 |
+
};
|
71 |
+
|
72 |
+
$(window).on('resize panelsStretchRows', resizeMasonry);
|
73 |
+
|
74 |
+
// Ensure that the masonry has resized correctly on load.
|
75 |
+
setTimeout( function () {
|
76 |
+
resizeMasonry();
|
77 |
+
}, 100 );
|
78 |
+
|
79 |
+
$grid.data( 'initialized', true );
|
80 |
+
};
|
81 |
+
sowb.setupSimpleMasonries();
|
82 |
+
|
83 |
+
$( sowb ).on( 'setup_widgets', sowb.setupSimpleMasonries );
|
84 |
+
} );
|
85 |
+
|
86 |
+
window.sowb = sowb;
|
widgets/simple-masonry/js/simple-masonry.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
var sowb=window.sowb||{};jQuery(function(t){sowb.setupSimpleMasonries=function(){var i=t(".sow-masonry-grid")
|
1 |
+
var sowb=window.sowb||{};jQuery(function(t){sowb.setupSimpleMasonries=function(){var i=t(".sow-masonry-grid");if(!i.is(":visible")||i.data("initialized"))return i;var a=function(){i.each(function(){var i=t(this),a=i.data("layouts"),e=window.matchMedia("(max-width: "+a.tablet.breakPoint+"px)"),s=window.matchMedia("(max-width: "+a.mobile.breakPoint+"px)"),o=a.desktop;s.matches?o=a.mobile:e.matches&&(o=a.tablet);var n=o.numColumns;i.css("width","auto");var r=o.gutter*(n-1),h=Math.floor((i.width()-r)/n);i.width(h*n+r),i.imagesLoaded(function(){i.find("> .sow-masonry-grid-item").each(function(){var i=t(this),a=i.data("colSpan");a=Math.max(Math.min(a,o.numColumns),1),i.width(h*a+o.gutter*(a-1));var e=i.data("rowSpan");e=Math.max(Math.min(e,o.numColumns),1);var s=o.rowHeight||h;i.css("height",s*e+o.gutter*(e-1));var n=i.find("> img,> a > img"),r=n.attr("height")>0?n.attr("width")/n.attr("height"):1,d=i.height()>0?i.width()/i.height():1;if(r=parseFloat(r.toFixed(3)),d=parseFloat(d.toFixed(3)),r>d){n.css("width","auto"),n.css("height","100%"),n.css("margin-top","");var w=-.5*(n.width()-i.width());n.css("margin-left",w+"px")}else{n.css("height","auto"),n.css("width","100%"),n.css("margin-left","");var m=-.5*(n.height()-i.height());n.css("margin-top",m+"px")}}),i.packery({itemSelector:".sow-masonry-grid-item",columnWidth:h,gutter:o.gutter})})})};t(window).on("resize panelsStretchRows",a),setTimeout(function(){a()},100),i.data("initialized",!0)},sowb.setupSimpleMasonries(),t(sowb).on("setup_widgets",sowb.setupSimpleMasonries)}),window.sowb=sowb;
|
widgets/slider/assets/banner.svg
CHANGED
@@ -1,40 +1 @@
|
|
1 |
-
|
2 |
-
<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
-
viewBox="55 277 240 240" style="enable-background:new 55 277 240 240;" xml:space="preserve">
|
5 |
-
<style type="text/css">
|
6 |
-
.st0{fill:#1880B6;}
|
7 |
-
.st1{fill:#8ED9EF;}
|
8 |
-
.st2{fill:#324249;}
|
9 |
-
.st3{fill:#F2F0DA;}
|
10 |
-
</style>
|
11 |
-
<rect id="Image_Slider_1_" x="55" y="277" class="st0" width="240" height="240"/>
|
12 |
-
<g>
|
13 |
-
<g>
|
14 |
-
<path class="st1" d="M219,349h-88c-2.2,0-4,1.8-4,4v72.7l22.4-22.4c3.1-3.1,8.2-3.1,11.3,0l10.3,10.3l22.3-30.3
|
15 |
-
c3.1-3.1,8.2-3.1,11.3,0l18.4,18.4V353C223,350.8,221.2,349,219,349z"/>
|
16 |
-
<path class="st1" d="M115,361v72c0,2.2,1.8,4,4,4h4v-80h-4C116.8,357,115,358.8,115,361z"/>
|
17 |
-
<path class="st1" d="M231,357h-4v80h4c2.2,0,4-1.8,4-4v-72C235,358.8,233.2,357,231,357z"/>
|
18 |
-
</g>
|
19 |
-
<g>
|
20 |
-
<path class="st2" d="M231,353h-4v0c0-4.4-3.6-8-8-8h-88c-4.4,0-8,3.6-8,8h-4c-4.4,0-8,3.6-8,8v72c0,4.4,3.6,8,8,8h4
|
21 |
-
c0,4.4,3.6,8,8,8h88c4.4,0,8-3.6,8-8v0h4c4.4,0,8-3.6,8-8v-72C239,356.6,235.4,353,231,353z M123,437h-4c-2.2,0-4-1.8-4-4v-72
|
22 |
-
c0-2.2,1.8-4,4-4h4V437z M223,441c0,2.2-1.8,4-4,4h-88c-2.2,0-4-1.8-4-4v-9.6l25.2-25.2c1.6-1.6,4.1-1.6,5.7,0
|
23 |
-
c0,0,8.4,8.4,10.3,10.3c1.9,1.9,3.8,1.9,5.7,0c1.9-1.9,22.3-30.3,22.3-30.3c1.6-1.6,4.1-1.6,5.7,0l21.2,21.2V441z M223,401.7
|
24 |
-
l-18.4-18.4c-3.1-3.1-8.2-3.1-11.3,0L171,413.7l-10.3-10.3c-3.1-3.1-8.2-3.1-11.3,0L127,425.7V353c0-2.2,1.8-4,4-4h88
|
25 |
-
c2.2,0,4,1.8,4,4V401.7z M235,433c0,2.2-1.8,4-4,4h-4v-80h4c2.2,0,4,1.8,4,4V433z"/>
|
26 |
-
<path class="st2" d="M169,373h-6.2c-0.3-1.3-0.8-2.5-1.5-3.5l4.4-4.4c0.8-0.8,0.8-2,0-2.8c-0.8-0.8-2-0.8-2.8,0l-4.4,4.4
|
27 |
-
c-1.1-0.7-2.2-1.2-3.5-1.5V359c0-1.1-0.9-2-2-2c-1.1,0-2,0.9-2,2v6.2c-1.3,0.3-2.5,0.8-3.5,1.5l-4.4-4.4c-0.8-0.8-2-0.8-2.8,0
|
28 |
-
c-0.8,0.8-0.8,2.1,0,2.8l4.4,4.4c-0.7,1-1.2,2.2-1.5,3.5H137c-1.1,0-2,0.9-2,2c0,1.1,0.9,2,2,2h6.2c0.3,1.3,0.8,2.5,1.5,3.5
|
29 |
-
l-4.4,4.4c-0.8,0.8-0.8,2,0,2.8c0.8,0.8,2.1,0.8,2.8,0l4.4-4.4c1.1,0.7,2.2,1.2,3.5,1.5v6.2c0,1.1,0.9,2,2,2c1.1,0,2-0.9,2-2v-6.2
|
30 |
-
c1.3-0.3,2.5-0.8,3.5-1.5l4.4,4.4c0.8,0.8,2,0.8,2.8,0c0.8-0.8,0.8-2.1,0-2.8l-4.4-4.4c0.7-1,1.2-2.2,1.5-3.5h6.2c1.1,0,2-0.9,2-2
|
31 |
-
C171,373.9,170.1,373,169,373z M153,381c-3.3,0-6-2.7-6-6l0,0c0,0,0,0,0,0c0-3.3,2.7-6,6-6s6,2.7,6,6C159,378.3,156.3,381,153,381
|
32 |
-
z"/>
|
33 |
-
</g>
|
34 |
-
<g>
|
35 |
-
<path class="st3" d="M201.8,386.1c-1.6-1.6-4.1-1.6-5.7,0c0,0-20.4,28.4-22.3,30.3c-1.9,1.9-3.8,1.9-5.7,0
|
36 |
-
c-1.9-1.9-10.3-10.3-10.3-10.3c-1.6-1.6-4.1-1.6-5.7,0L127,431.4v9.6c0,2.2,1.8,4,4,4h88c2.2,0,4-1.8,4-4v-33.7L201.8,386.1z"/>
|
37 |
-
<path class="st3" d="M153,381c3.3,0,6-2.7,6-6c0-3.3-2.7-6-6-6c-3.3,0-6,2.7-6,6C147,378.3,149.7,381,153,381z"/>
|
38 |
-
</g>
|
39 |
-
</g>
|
40 |
-
</svg>
|
1 |
+
<svg enable-background="new 55 277 240 240" viewBox="55 277 240 240" xmlns="http://www.w3.org/2000/svg"><path d="m55 277h240v240h-240z" fill="#1880b6"/><g fill="#8ed9ef"><path d="m219 349h-88c-2.2 0-4 1.8-4 4v72.7l22.4-22.4c3.1-3.1 8.2-3.1 11.3 0l10.3 10.3 22.3-30.3c3.1-3.1 8.2-3.1 11.3 0l18.4 18.4v-48.7c0-2.2-1.8-4-4-4z"/><path d="m115 361v72c0 2.2 1.8 4 4 4h4v-80h-4c-2.2 0-4 1.8-4 4z"/><path d="m231 357h-4v80h4c2.2 0 4-1.8 4-4v-72c0-2.2-1.8-4-4-4z"/></g><path d="m231 353h-4c0-4.4-3.6-8-8-8h-88c-4.4 0-8 3.6-8 8h-4c-4.4 0-8 3.6-8 8v72c0 4.4 3.6 8 8 8h4c0 4.4 3.6 8 8 8h88c4.4 0 8-3.6 8-8h4c4.4 0 8-3.6 8-8v-72c0-4.4-3.6-8-8-8zm-108 84h-4c-2.2 0-4-1.8-4-4v-72c0-2.2 1.8-4 4-4h4zm100 4c0 2.2-1.8 4-4 4h-88c-2.2 0-4-1.8-4-4v-9.6l25.2-25.2c1.6-1.6 4.1-1.6 5.7 0 0 0 8.4 8.4 10.3 10.3s3.8 1.9 5.7 0 22.3-30.3 22.3-30.3c1.6-1.6 4.1-1.6 5.7 0l21.2 21.2v33.6zm0-39.3-18.4-18.4c-3.1-3.1-8.2-3.1-11.3 0l-22.3 30.4-10.3-10.3c-3.1-3.1-8.2-3.1-11.3 0l-22.4 22.3v-72.7c0-2.2 1.8-4 4-4h88c2.2 0 4 1.8 4 4zm12 31.3c0 2.2-1.8 4-4 4h-4v-80h4c2.2 0 4 1.8 4 4z" fill="#324249"/><path d="m169 373h-6.2c-.3-1.3-.8-2.5-1.5-3.5l4.4-4.4c.8-.8.8-2 0-2.8s-2-.8-2.8 0l-4.4 4.4c-1.1-.7-2.2-1.2-3.5-1.5v-6.2c0-1.1-.9-2-2-2s-2 .9-2 2v6.2c-1.3.3-2.5.8-3.5 1.5l-4.4-4.4c-.8-.8-2-.8-2.8 0s-.8 2.1 0 2.8l4.4 4.4c-.7 1-1.2 2.2-1.5 3.5h-6.2c-1.1 0-2 .9-2 2s.9 2 2 2h6.2c.3 1.3.8 2.5 1.5 3.5l-4.4 4.4c-.8.8-.8 2 0 2.8s2.1.8 2.8 0l4.4-4.4c1.1.7 2.2 1.2 3.5 1.5v6.2c0 1.1.9 2 2 2s2-.9 2-2v-6.2c1.3-.3 2.5-.8 3.5-1.5l4.4 4.4c.8.8 2 .8 2.8 0s.8-2.1 0-2.8l-4.4-4.4c.7-1 1.2-2.2 1.5-3.5h6.2c1.1 0 2-.9 2-2s-.9-2-2-2zm-16 8c-3.3 0-6-2.7-6-6 0-3.3 2.7-6 6-6s6 2.7 6 6-2.7 6-6 6z" fill="#324249"/><path d="m201.8 386.1c-1.6-1.6-4.1-1.6-5.7 0 0 0-20.4 28.4-22.3 30.3s-3.8 1.9-5.7 0-10.3-10.3-10.3-10.3c-1.6-1.6-4.1-1.6-5.7 0l-25.1 25.3v9.6c0 2.2 1.8 4 4 4h88c2.2 0 4-1.8 4-4v-33.7z" fill="#f2f0da"/><path d="m153 381c3.3 0 6-2.7 6-6s-2.7-6-6-6-6 2.7-6 6 2.7 6 6 6z" fill="#f2f0da"/></svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
widgets/social-media-buttons/assets/banner.svg
CHANGED
@@ -1,39 +1 @@
|
|
1 |
-
|
2 |
-
<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
-
viewBox="55 277 240 240" style="enable-background:new 55 277 240 240;" xml:space="preserve">
|
5 |
-
<style type="text/css">
|
6 |
-
.st0{fill:#1880B6;}
|
7 |
-
.st1{fill:#8ED9EF;}
|
8 |
-
.st2{fill:#F2F0DA;}
|
9 |
-
.st3{fill:#324249;}
|
10 |
-
</style>
|
11 |
-
<rect id="Call_to_Action_2_" x="55" y="277" class="st0" width="240" height="240"/>
|
12 |
-
<g>
|
13 |
-
<g>
|
14 |
-
<path class="st1" d="M223,381v-32c0-2.2-1.8-4-4-4h-12v40h12C221.2,385,223,383.2,223,381z"/>
|
15 |
-
<path class="st1" d="M123,393h4v-40h-4c-2.2,0-4,1.8-4,4v32C119,391.2,120.8,393,123,393z"/>
|
16 |
-
<path class="st1" d="M127,405h-8c-2.2,0-4,1.8-4,4v40c0,2.2,1.8,4,4,4h40c2.2,0,4-1.8,4-4v-36h-28C130.6,413,127,409.4,127,405z"
|
17 |
-
/>
|
18 |
-
<path class="st1" d="M231,401h-24v4c0,4.4-3.6,8-8,8h-20v40c0,2.2,1.8,4,4,4h48c2.2,0,4-1.8,4-4v-48C235,402.8,233.2,401,231,401z
|
19 |
-
"/>
|
20 |
-
</g>
|
21 |
-
<path class="st2" d="M135,409h64c2.2,0,4-1.8,4-4v-64c0-2.2-1.8-4-4-4h-64c-2.2,0-4,1.8-4,4v64C131,407.2,132.8,409,135,409z"/>
|
22 |
-
<g>
|
23 |
-
<path class="st3" d="M171,365c0-2.6,1.6-4,4-4h4v-8c0,0-4.5,0-8,0c-4.7,0-8,3.9-8,8v8h-8v8h8v16h8v-16h8l2-8h-10V365z"/>
|
24 |
-
<path class="st3" d="M220.9,417.4c-1.2,0.7-2.5,1.2-3.8,1.5c-1.1-1.2-2.7-1.9-4.4-1.9c-3.3,0-6.1,2.7-6.1,6.1
|
25 |
-
c0,0.5,0.1,0.9,0.2,1.4c-5-0.3-9.5-2.7-12.5-6.3c-0.5,0.9-0.8,1.9-0.8,3c0,2.1,1.1,4,2.7,5c-1,0-1.9-0.3-2.7-0.8c0,0,0,0.1,0,0.1
|
26 |
-
c0,2.9,2.1,5.4,4.9,5.9c-0.5,0.1-1,0.2-1.6,0.2c-0.4,0-0.8,0-1.1-0.1c0.8,2.4,3,4.2,5.7,4.2c-2.1,1.6-4.7,2.6-7.5,2.6
|
27 |
-
c-0.5,0-1,0-1.4-0.1c2.7,1.7,5.9,2.7,9.3,2.7c11.1,0,17.2-9.2,17.2-17.2c0-0.3,0-0.5,0-0.8c1.2-0.9,2.2-1.9,3-3.1
|
28 |
-
c-1.1,0.5-2.3,0.8-3.5,1C219.5,420,220.5,418.9,220.9,417.4z"/>
|
29 |
-
<path class="st3" d="M231,397h-24v-8h12c4.4,0,8-3.6,8-8v-32c0-4.4-3.6-8-8-8h-12c0-4.4-3.6-8-8-8h-64c-4.4,0-8,3.6-8,8v8h-4
|
30 |
-
c-4.4,0-8,3.6-8,8v32c0,4.4,3.6,8,8,8h4v4h-8c-4.4,0-8,3.6-8,8v40c0,4.4,3.6,8,8,8h40c4.4,0,8-3.6,8-8v-36h8v40c0,4.4,3.6,8,8,8
|
31 |
-
h48c4.4,0,8-3.6,8-8v-48C239,400.6,235.4,397,231,397z M207,345h12c2.2,0,4,1.8,4,4v32c0,2.2-1.8,4-4,4h-12V345z M123,393
|
32 |
-
c-2.2,0-4-1.8-4-4v-32c0-2.2,1.8-4,4-4h4v40H123z M163,449c0,2.2-1.8,4-4,4h-40c-2.2,0-4-1.8-4-4v-40c0-2.2,1.8-4,4-4h8
|
33 |
-
c0,4.4,3.6,8,8,8h28V449z M135,409c-2.2,0-4-1.8-4-4v-64c0-2.2,1.8-4,4-4h64c2.2,0,4,1.8,4,4v64c0,2.2-1.8,4-4,4H135z M235,453
|
34 |
-
c0,2.2-1.8,4-4,4h-48c-2.2,0-4-1.8-4-4v-40h20c4.4,0,8-3.6,8-8v-4h24c2.2,0,4,1.8,4,4V453z"/>
|
35 |
-
<polygon class="st3" points="135,417 135,425 127,425 127,433 135,433 135,441 143,441 143,433 151,433 151,425 143,425 143,417
|
36 |
-
"/>
|
37 |
-
</g>
|
38 |
-
</g>
|
39 |
-
</svg>
|
1 |
+
<svg enable-background="new 55 277 240 240" viewBox="55 277 240 240" xmlns="http://www.w3.org/2000/svg"><path d="m55 277h240v240h-240z" fill="#1880b6"/><g fill="#8ed9ef"><path d="m223 381v-32c0-2.2-1.8-4-4-4h-12v40h12c2.2 0 4-1.8 4-4z"/><path d="m123 393h4v-40h-4c-2.2 0-4 1.8-4 4v32c0 2.2 1.8 4 4 4z"/><path d="m127 405h-8c-2.2 0-4 1.8-4 4v40c0 2.2 1.8 4 4 4h40c2.2 0 4-1.8 4-4v-36h-28c-4.4 0-8-3.6-8-8z"/><path d="m231 401h-24v4c0 4.4-3.6 8-8 8h-20v40c0 2.2 1.8 4 4 4h48c2.2 0 4-1.8 4-4v-48c0-2.2-1.8-4-4-4z"/></g><path d="m135 409h64c2.2 0 4-1.8 4-4v-64c0-2.2-1.8-4-4-4h-64c-2.2 0-4 1.8-4 4v64c0 2.2 1.8 4 4 4z" fill="#f2f0da"/><path d="m171 365c0-2.6 1.6-4 4-4h4v-8s-4.5 0-8 0c-4.7 0-8 3.9-8 8v8h-8v8h8v16h8v-16h8l2-8h-10z" fill="#324249"/><path d="m220.9 417.4c-1.2.7-2.5 1.2-3.8 1.5-1.1-1.2-2.7-1.9-4.4-1.9-3.3 0-6.1 2.7-6.1 6.1 0 .5.1.9.2 1.4-5-.3-9.5-2.7-12.5-6.3-.5.9-.8 1.9-.8 3 0 2.1 1.1 4 2.7 5-1 0-1.9-.3-2.7-.8v.1c0 2.9 2.1 5.4 4.9 5.9-.5.1-1 .2-1.6.2-.4 0-.8 0-1.1-.1.8 2.4 3 4.2 5.7 4.2-2.1 1.6-4.7 2.6-7.5 2.6-.5 0-1 0-1.4-.1 2.7 1.7 5.9 2.7 9.3 2.7 11.1 0 17.2-9.2 17.2-17.2 0-.3 0-.5 0-.8 1.2-.9 2.2-1.9 3-3.1-1.1.5-2.3.8-3.5 1 1-.8 2-1.9 2.4-3.4z" fill="#324249"/><path d="m231 397h-24v-8h12c4.4 0 8-3.6 8-8v-32c0-4.4-3.6-8-8-8h-12c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v8h-4c-4.4 0-8 3.6-8 8v32c0 4.4 3.6 8 8 8h4v4h-8c-4.4 0-8 3.6-8 8v40c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-36h8v40c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-24-52h12c2.2 0 4 1.8 4 4v32c0 2.2-1.8 4-4 4h-12zm-84 48c-2.2 0-4-1.8-4-4v-32c0-2.2 1.8-4 4-4h4v40zm40 56c0 2.2-1.8 4-4 4h-40c-2.2 0-4-1.8-4-4v-40c0-2.2 1.8-4 4-4h8c0 4.4 3.6 8 8 8h28zm-28-40c-2.2 0-4-1.8-4-4v-64c0-2.2 1.8-4 4-4h64c2.2 0 4 1.8 4 4v64c0 2.2-1.8 4-4 4zm100 44c0 2.2-1.8 4-4 4h-48c-2.2 0-4-1.8-4-4v-40h20c4.4 0 8-3.6 8-8v-4h24c2.2 0 4 1.8 4 4z" fill="#324249"/><path d="m135 417v8h-8v8h8v8h8v-8h8v-8h-8v-8z" fill="#324249"/></svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
widgets/social-media-buttons/data/networks.php
CHANGED
@@ -1,277 +1,283 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
return array(
|
4 |
-
'facebook' => array(
|
5 |
-
'label' => __( 'Facebook', 'so-widgets-bundle' ),
|
6 |
-
'base_url' => 'https://www.facebook.com/',
|
7 |
-
'icon_color' => '#FFFFFF',
|
8 |
-
'button_color' => '#3A5795'
|
9 |
-
),
|
10 |
-
'twitter' => array(
|
11 |
-
'label' => __( 'Twitter', 'so-widgets-bundle' ),
|
12 |
-
'base_url' => 'https://twitter.com/',
|
13 |
-
'icon_color' => '#FFFFFF',
|
14 |
-
'button_color' => '#78BDF1'
|
15 |
-
),
|
16 |
-
'google-plus' => array(
|
17 |
-
'label' => __( 'Google+', 'so-widgets-bundle' ),
|
18 |
-
'base_url' => 'https://plus.google.com/',
|
19 |
-
'icon_color' => '#FFFFFF',
|
20 |
-
'button_color' => '#DD4B39'
|
21 |
-
),
|
22 |
-
'rss' => array(
|
23 |
-
'label' => __( 'RSS', 'so-widgets-bundle' ),
|
24 |
-
'base_url' => get_bloginfo('rss_url'),
|
25 |
-
'icon_color' => '#FFFFFF',
|
26 |
-
'button_color' => '#FAA21B'
|
27 |
-
),
|
28 |
-
'envelope' => array(
|
29 |
-
'label' => __( 'Email', 'so-widgets-bundle' ),
|
30 |
-
'base_url' => 'mailto:',
|
31 |
-
'icon_color' => '#FFFFFF',
|
32 |
-
'button_color' => '#99C4E6'
|
33 |
-
),
|
34 |
-
'snapchat' => array(
|
35 |
-
'label' => __( 'Snapchat', 'so-widgets-bundle' ),
|
36 |
-
'base_url' => 'https://www.snapchat.com/',
|
37 |
-
'icon_color' => '#FFFFFF',
|
38 |
-
'button_color' => '#FFFC00'
|
39 |
-
),
|
40 |
-
'linkedin' => array(
|
41 |
-
'label' => __( 'LinkedIn', 'so-widgets-bundle' ),
|
42 |
-
'base_url' => 'https://www.linkedin.com/',
|
43 |
-
'icon_color' => '#FFFFFF',
|
44 |
-
'button_color' => '#0177B4'
|
45 |
-
),
|
46 |
-
'pinterest' => array(
|
47 |
-
'label' => __( 'Pinterest', 'so-widgets-bundle' ),
|
48 |
-
'base_url' => 'https://www.pinterest.com/',
|
49 |
-
'icon_color' => '#FFFFFF',
|
50 |
-
'button_color' => '#DB7C83'
|
51 |
-
),
|
52 |
-
'tumblr' => array(
|
53 |
-
'label' => __( 'Tumblr', 'so-widgets-bundle' ),
|
54 |
-
'base_url' => 'https://www.tumblr.com/',
|
55 |
-
'icon_color' => '#FFFFFF',
|
56 |
-
'button_color' => '#36465D'
|
57 |
-
),
|
58 |
-
'instagram' => array(
|
59 |
-
'label' => __( 'Instagram', 'so-widgets-bundle' ),
|
60 |
-
'base_url' => 'https://instagram.com/',
|
61 |
-
'icon_color' => '#FFFFFF',
|
62 |
-
'button_color' => '#3D739C'
|
63 |
-
),
|
64 |
-
'vk' => array(
|
65 |
-
'label' => __( 'VK', 'so-widgets-bundle' ),
|
66 |
-
'base_url' => 'https://vk.com/',
|
67 |
-
'icon_color' => '#FFFFFF',
|
68 |
-
'button_color' => '#537599'
|
69 |
-
),
|
70 |
-
'flickr' => array(
|
71 |
-
'label' => __( 'Flickr', 'so-widgets-bundle' ),
|
72 |
-
'base_url' => 'https://www.flickr.com/',
|
73 |
-
'icon_color' => '#FFFFFF',
|
74 |
-
'button_color' => '#D40057'
|
75 |
-
),
|
76 |
-
'vine' => array(
|
77 |
-
'label' => __( 'Vine', 'so-widgets-bundle' ),
|
78 |
-
'base_url' => 'https://vine.co/',
|
79 |
-
'icon_color' => '#FFFFFF',
|
80 |
-
'button_color' => '#17B48A'
|
81 |
-
),
|
82 |
-
|
83 |
-
// The rest of the networks, alphabetically
|
84 |
-
|
85 |
-
'500px' => array(
|
86 |
-
'label' => __( '500px', 'so-widgets-bundle' ),
|
87 |
-
'base_url' => 'https://500px.com/',
|
88 |
-
'icon_color' => '#FFFFFF',
|
89 |
-
'button_color' => '#292929'
|
90 |
-
),
|
91 |
-
'behance' => array(
|
92 |
-
'label' => __( 'Behance', 'so-widgets-bundle' ),
|
93 |
-
'base_url' => 'https://www.behance.net/',
|
94 |
-
'icon_color' => '#FFFFFF',
|
95 |
-
'button_color' => '#333333'
|
96 |
-
),
|
97 |
-
'bitbucket' => array(
|
98 |
-
'label' => __( 'Bitbucket', 'so-widgets-bundle' ),
|
99 |
-
'base_url' => 'https://bitbucket.org/',
|
100 |
-
'icon_color' => '#FFFFFF',
|
101 |
-
'button_color' => '#205081'
|
102 |
-
),
|
103 |
-
'codepen' => array(
|
104 |
-
'label' => __( 'Codepen', 'so-widgets-bundle' ),
|
105 |
-
'base_url' => 'https://codepen.io/',
|
106 |
-
'icon_color' => '#FFFFFF',
|
107 |
-
'button_color' => '#2A2A2A'
|
108 |
-
),
|
109 |
-
'delicious' => array(
|
110 |
-
'label' => __( 'Delicious', 'so-widgets-bundle' ),
|
111 |
-
'base_url' => 'https://delicious.com/',
|
112 |
-
'icon_color' => '#FFFFFF',
|
113 |
-
'button_color' => '#58ACFD'
|
114 |
-
),
|
115 |
-
'deviantart' => array(
|
116 |
-
'label' => __( 'deviantArt', 'so-widgets-bundle' ),
|
117 |
-
'base_url' => 'http://www.deviantart.com/',
|
118 |
-
'icon_color' => '#FFFFFF',
|
119 |
-
'button_color' => '#B2C01C'
|
120 |
-
),
|
121 |
-
'dribbble' => array(
|
122 |
-
'label' => __( 'Dribbble', 'so-widgets-bundle' ),
|
123 |
-
'base_url' => 'https://dribbble.com/',
|
124 |
-
'icon_color' => '#FFFFFF',
|
125 |
-
'button_color' => '#F26798'
|
126 |
-
),
|
127 |
-
'dropbox' => array(
|
128 |
-
'label' => __( 'Dropbox', 'so-widgets-bundle' ),
|
129 |
-
'base_url' => 'https://www.dropbox.com/',
|
130 |
-
'icon_color' => '#FFFFFF',
|
131 |
-
'button_color' => '#1388E6'
|
132 |
-
),
|
133 |
-
'foursquare' => array(
|
134 |
-
'label' => __( 'Foursquare', 'so-widgets-bundle' ),
|
135 |
-
'base_url' => 'https://foursquare.com/',
|
136 |
-
'icon_color' => '#FFFFFF',
|
137 |
-
'button_color' => '#EB4E79'
|
138 |
-
),
|
139 |
-
'github' => array(
|
140 |
-
'label' => __( 'Github', 'so-widgets-bundle' ),
|
141 |
-
'base_url' => 'https://github.com/',
|
142 |
-
'icon_color' => '#FFFFFF',
|
143 |
-
'button_color' => '#202021'
|
144 |
-
),
|
145 |
-
'gittip' => array(
|
146 |
-
'label' => __( 'Gratipay', 'so-widgets-bundle' ),
|
147 |
-
'base_url' => 'https://gratipay.com/',
|
148 |
-
'icon_color' => '#FFFFFF',
|
149 |
-
'button_color' => '#653614'
|
150 |
-
),
|
151 |
-
'hacker-news' => array(
|
152 |
-
'label' => __( 'Hacker News', 'so-widgets-bundle' ),
|
153 |
-
'base_url' => 'https://news.ycombinator.com/',
|
154 |
-
'icon_color' => '#FFFFFF',
|
155 |
-
'button_color' => '#FF6600'
|
156 |
-
),
|
157 |
-
'jsfiddle' => array(
|
158 |
-
'label' => __( 'JSFiddle', 'so-widgets-bundle' ),
|
159 |
-
'base_url' => 'http://jsfiddle.net/',
|
160 |
-
'icon_color' => '#FFFFFF',
|
161 |
-
'button_color' => '#4679BD'
|
162 |
-
),
|
163 |
-
'lastfm' => array(
|
164 |
-
'label' => __( 'Last.fm', 'so-widgets-bundle' ),
|
165 |
-
'base_url' => 'https://www.last.fm/',
|
166 |
-
'icon_color' => '#FFFFFF',
|
167 |
-
'button_color' => '#C02C0C'
|
168 |
-
),
|
169 |
-
'reddit' => array(
|
170 |
-
'label' => __( 'Reddit', 'so-widgets-bundle' ),
|
171 |
-
'base_url' => 'https://www.reddit.com/',
|
172 |
-
'icon_color' => '#FFFFFF',
|
173 |
-
'button_color' => '#CEE3F8'
|
174 |
-
),
|
175 |
-
'slack' => array(
|
176 |
-
'label' => __( 'Slack', 'so-widgets-bundle' ),
|
177 |
-
'base_url' => 'https://www.slack.com/',
|
178 |
-
'icon_color' => '#FFFFFF',
|
179 |
-
'button_color' => '#4D394B'
|
180 |
-
),
|
181 |
-
'slideshare' => array(
|
182 |
-
'label' => __( 'Slideshare', 'so-widgets-bundle' ),
|
183 |
-
'base_url' => 'https://www.slideshare.net/',
|
184 |
-
'icon_color' => '#FFFFFF',
|
185 |
-
'button_color' => '#00A8AA'
|
186 |
-
),
|
187 |
-
'soundcloud' => array(
|
188 |
-
'label' => __( 'Soundcloud', 'so-widgets-bundle' ),
|
189 |
-
'base_url' => 'https://soundcloud.com/',
|
190 |
-
'icon_color' => '#FFFFFF',
|
191 |
-
'button_color' => '#FE4600'
|
192 |
-
),
|
193 |
-
'spotify' => array(
|
194 |
-
'label' => __( 'Spotify', 'so-widgets-bundle' ),
|
195 |
-
'base_url' => 'https://www.spotify.com/',
|
196 |
-
'icon_color' => '#FFFFFF',
|
197 |
-
'button_color' => '#7BB72F'
|
198 |
-
),
|
199 |
-
'stack-exchange' => array(
|
200 |
-
'label' => __( 'Stack Exchange', 'so-widgets-bundle' ),
|
201 |
-
'base_url' => 'http://stackexchange.com/',
|
202 |
-
'icon_color' => '#FFFFFF',
|
203 |
-
'button_color' => '#245598'
|
204 |
-
),
|
205 |
-
'stack-overflow' => array(
|
206 |
-
'label' => __( 'Stack Overflow', 'so-widgets-bundle' ),
|
207 |
-
'base_url' => 'http://stackoverflow.com/',
|
208 |
-
'icon_color' => '#FFFFFF',
|
209 |
-
'button_color' => '#F57920'
|
210 |
-
),
|
211 |
-
'steam' => array(
|
212 |
-
'label' => __( 'Steam', 'so-widgets-bundle' ),
|
213 |
-
'base_url' => 'http://steamcommunity.com/',
|
214 |
-
'icon_color' => '#FFFFFF',
|
215 |
-
'button_color' => '#171A21'
|
216 |
-
),
|
217 |
-
'stumbleupon' => array(
|
218 |
-
'label' => __( 'StumbleUpon', 'so-widgets-bundle' ),
|
219 |
-
'base_url' => 'https://www.stumbleupon.com/',
|
220 |
-
'icon_color' => '#FFFFFF',
|
221 |
-
'button_color' => '#EB4924'
|
222 |
-
),
|
223 |
-
'trello' => array(
|
224 |
-
'label' => __( 'Trello', 'so-widgets-bundle' ),
|
225 |
-
'base_url' => 'https://trello.com/',
|
226 |
-
'icon_color' => '#FFFFFF',
|
227 |
-
'button_color' => '#0E74AF'
|
228 |
-
),
|
229 |
-
'tripadvisor' => array(
|
230 |
-
'label' => __( 'TripAdvisor', 'so-widgets-bundle' ),
|
231 |
-
'base_url' => 'https://www.tripadvisor.com/',
|
232 |
-
'icon_color' => '#FFFFFF',
|
233 |
-
'button_color' => '#589442'
|
234 |
-
),
|
235 |
-
'twitch' => array(
|
236 |
-
'label' => __( 'Twitch', 'so-widgets-bundle' ),
|
237 |
-
'base_url' => 'https://www.twitch.tv/',
|
238 |
-
'icon_color' => '#FFFFFF',
|
239 |
-
'button_color' => '#6542A6'
|
240 |
-
),
|
241 |
-
'vimeo-square' => array(
|
242 |
-
'label' => __( 'Vimeo', 'so-widgets-bundle' ),
|
243 |
-
'base_url' => 'https://vimeo.com/',
|
244 |
-
'icon_color' => '#FFFFFF',
|
245 |
-
'button_color' => '#5BC8FF'
|
246 |
-
),
|
247 |
-
'
|
248 |
-
'label' => __( '
|
249 |
-
'base_url' => 'https://
|
250 |
-
'icon_color' => '#
|
251 |
-
'button_color' => '#
|
252 |
-
),
|
253 |
-
'
|
254 |
-
'label' => __( '
|
255 |
-
'base_url' => 'https://
|
256 |
-
'icon_color' => '#
|
257 |
-
'button_color' => '#
|
258 |
-
),
|
259 |
-
'
|
260 |
-
'label' => __( '
|
261 |
-
'base_url' => 'https://
|
262 |
-
'icon_color' => '#FFFFFF',
|
263 |
-
'button_color' => '#
|
264 |
-
),
|
265 |
-
'
|
266 |
-
'label' => __( '
|
267 |
-
'base_url' => 'https://
|
268 |
-
'icon_color' => '#FFFFFF',
|
269 |
-
'button_color' => '#
|
270 |
-
),
|
271 |
-
'
|
272 |
-
'label' => __( '
|
273 |
-
'base_url' => 'https://www.
|
274 |
-
'icon_color' => '#FFFFFF',
|
275 |
-
'button_color' => '#
|
276 |
-
)
|
277 |
-
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
return array(
|
4 |
+
'facebook' => array(
|
5 |
+
'label' => __( 'Facebook', 'so-widgets-bundle' ),
|
6 |
+
'base_url' => 'https://www.facebook.com/',
|
7 |
+
'icon_color' => '#FFFFFF',
|
8 |
+
'button_color' => '#3A5795'
|
9 |
+
),
|
10 |
+
'twitter' => array(
|
11 |
+
'label' => __( 'Twitter', 'so-widgets-bundle' ),
|
12 |
+
'base_url' => 'https://twitter.com/',
|
13 |
+
'icon_color' => '#FFFFFF',
|
14 |
+
'button_color' => '#78BDF1'
|
15 |
+
),
|
16 |
+
'google-plus' => array(
|
17 |
+
'label' => __( 'Google+', 'so-widgets-bundle' ),
|
18 |
+
'base_url' => 'https://plus.google.com/',
|
19 |
+
'icon_color' => '#FFFFFF',
|
20 |
+
'button_color' => '#DD4B39'
|
21 |
+
),
|
22 |
+
'rss' => array(
|
23 |
+
'label' => __( 'RSS', 'so-widgets-bundle' ),
|
24 |
+
'base_url' => get_bloginfo('rss_url'),
|
25 |
+
'icon_color' => '#FFFFFF',
|
26 |
+
'button_color' => '#FAA21B'
|
27 |
+
),
|
28 |
+
'envelope' => array(
|
29 |
+
'label' => __( 'Email', 'so-widgets-bundle' ),
|
30 |
+
'base_url' => 'mailto:',
|
31 |
+
'icon_color' => '#FFFFFF',
|
32 |
+
'button_color' => '#99C4E6'
|
33 |
+
),
|
34 |
+
'snapchat' => array(
|
35 |
+
'label' => __( 'Snapchat', 'so-widgets-bundle' ),
|
36 |
+
'base_url' => 'https://www.snapchat.com/',
|
37 |
+
'icon_color' => '#FFFFFF',
|
38 |
+
'button_color' => '#FFFC00'
|
39 |
+
),
|
40 |
+
'linkedin' => array(
|
41 |
+
'label' => __( 'LinkedIn', 'so-widgets-bundle' ),
|
42 |
+
'base_url' => 'https://www.linkedin.com/',
|
43 |
+
'icon_color' => '#FFFFFF',
|
44 |
+
'button_color' => '#0177B4'
|
45 |
+
),
|
46 |
+
'pinterest' => array(
|
47 |
+
'label' => __( 'Pinterest', 'so-widgets-bundle' ),
|
48 |
+
'base_url' => 'https://www.pinterest.com/',
|
49 |
+
'icon_color' => '#FFFFFF',
|
50 |
+
'button_color' => '#DB7C83'
|
51 |
+
),
|
52 |
+
'tumblr' => array(
|
53 |
+
'label' => __( 'Tumblr', 'so-widgets-bundle' ),
|
54 |
+
'base_url' => 'https://www.tumblr.com/',
|
55 |
+
'icon_color' => '#FFFFFF',
|
56 |
+
'button_color' => '#36465D'
|
57 |
+
),
|
58 |
+
'instagram' => array(
|
59 |
+
'label' => __( 'Instagram', 'so-widgets-bundle' ),
|
60 |
+
'base_url' => 'https://instagram.com/',
|
61 |
+
'icon_color' => '#FFFFFF',
|
62 |
+
'button_color' => '#3D739C'
|
63 |
+
),
|
64 |
+
'vk' => array(
|
65 |
+
'label' => __( 'VK', 'so-widgets-bundle' ),
|
66 |
+
'base_url' => 'https://vk.com/',
|
67 |
+
'icon_color' => '#FFFFFF',
|
68 |
+
'button_color' => '#537599'
|
69 |
+
),
|
70 |
+
'flickr' => array(
|
71 |
+
'label' => __( 'Flickr', 'so-widgets-bundle' ),
|
72 |
+
'base_url' => 'https://www.flickr.com/',
|
73 |
+
'icon_color' => '#FFFFFF',
|
74 |
+
'button_color' => '#D40057'
|
75 |
+
),
|
76 |
+
'vine' => array(
|
77 |
+
'label' => __( 'Vine', 'so-widgets-bundle' ),
|
78 |
+
'base_url' => 'https://vine.co/',
|
79 |
+
'icon_color' => '#FFFFFF',
|
80 |
+
'button_color' => '#17B48A'
|
81 |
+
),
|
82 |
+
|
83 |
+
// The rest of the networks, alphabetically
|
84 |
+
|
85 |
+
'500px' => array(
|
86 |
+
'label' => __( '500px', 'so-widgets-bundle' ),
|
87 |
+
'base_url' => 'https://500px.com/',
|
88 |
+
'icon_color' => '#FFFFFF',
|
89 |
+
'button_color' => '#292929'
|
90 |
+
),
|
91 |
+
'behance' => array(
|
92 |
+
'label' => __( 'Behance', 'so-widgets-bundle' ),
|
93 |
+
'base_url' => 'https://www.behance.net/',
|
94 |
+
'icon_color' => '#FFFFFF',
|
95 |
+
'button_color' => '#333333'
|
96 |
+
),
|
97 |
+
'bitbucket' => array(
|
98 |
+
'label' => __( 'Bitbucket', 'so-widgets-bundle' ),
|
99 |
+
'base_url' => 'https://bitbucket.org/',
|
100 |
+
'icon_color' => '#FFFFFF',
|
101 |
+
'button_color' => '#205081'
|
102 |
+
),
|
103 |
+
'codepen' => array(
|
104 |
+
'label' => __( 'Codepen', 'so-widgets-bundle' ),
|
105 |
+
'base_url' => 'https://codepen.io/',
|
106 |
+
'icon_color' => '#FFFFFF',
|
107 |
+
'button_color' => '#2A2A2A'
|
108 |
+
),
|
109 |
+
'delicious' => array(
|
110 |
+
'label' => __( 'Delicious', 'so-widgets-bundle' ),
|
111 |
+
'base_url' => 'https://delicious.com/',
|
112 |
+
'icon_color' => '#FFFFFF',
|
113 |
+
'button_color' => '#58ACFD'
|
114 |
+
),
|
115 |
+
'deviantart' => array(
|
116 |
+
'label' => __( 'deviantArt', 'so-widgets-bundle' ),
|
117 |
+
'base_url' => 'http://www.deviantart.com/',
|
118 |
+
'icon_color' => '#FFFFFF',
|
119 |
+
'button_color' => '#B2C01C'
|
120 |
+
),
|
121 |
+
'dribbble' => array(
|
122 |
+
'label' => __( 'Dribbble', 'so-widgets-bundle' ),
|
123 |
+
'base_url' => 'https://dribbble.com/',
|
124 |
+
'icon_color' => '#FFFFFF',
|
125 |
+
'button_color' => '#F26798'
|
126 |
+
),
|
127 |
+
'dropbox' => array(
|
128 |
+
'label' => __( 'Dropbox', 'so-widgets-bundle' ),
|
129 |
+
'base_url' => 'https://www.dropbox.com/',
|
130 |
+
'icon_color' => '#FFFFFF',
|
131 |
+
'button_color' => '#1388E6'
|
132 |
+
),
|
133 |
+
'foursquare' => array(
|
134 |
+
'label' => __( 'Foursquare', 'so-widgets-bundle' ),
|
135 |
+
'base_url' => 'https://foursquare.com/',
|
136 |
+
'icon_color' => '#FFFFFF',
|
137 |
+
'button_color' => '#EB4E79'
|
138 |
+
),
|
139 |
+
'github' => array(
|
140 |
+
'label' => __( 'Github', 'so-widgets-bundle' ),
|
141 |
+
'base_url' => 'https://github.com/',
|
142 |
+
'icon_color' => '#FFFFFF',
|
143 |
+
'button_color' => '#202021'
|
144 |
+
),
|
145 |
+
'gittip' => array(
|
146 |
+
'label' => __( 'Gratipay', 'so-widgets-bundle' ),
|
147 |
+
'base_url' => 'https://gratipay.com/',
|
148 |
+
'icon_color' => '#FFFFFF',
|
149 |
+
'button_color' => '#653614'
|
150 |
+
),
|
151 |
+
'hacker-news' => array(
|
152 |
+
'label' => __( 'Hacker News', 'so-widgets-bundle' ),
|
153 |
+
'base_url' => 'https://news.ycombinator.com/',
|
154 |
+
'icon_color' => '#FFFFFF',
|
155 |
+
'button_color' => '#FF6600'
|
156 |
+
),
|
157 |
+
'jsfiddle' => array(
|
158 |
+
'label' => __( 'JSFiddle', 'so-widgets-bundle' ),
|
159 |
+
'base_url' => 'http://jsfiddle.net/',
|
160 |
+
'icon_color' => '#FFFFFF',
|
161 |
+
'button_color' => '#4679BD'
|
162 |
+
),
|
163 |
+
'lastfm' => array(
|
164 |
+
'label' => __( 'Last.fm', 'so-widgets-bundle' ),
|
165 |
+
'base_url' => 'https://www.last.fm/',
|
166 |
+
'icon_color' => '#FFFFFF',
|
167 |
+
'button_color' => '#C02C0C'
|
168 |
+
),
|
169 |
+
'reddit' => array(
|
170 |
+
'label' => __( 'Reddit', 'so-widgets-bundle' ),
|
171 |
+
'base_url' => 'https://www.reddit.com/',
|
172 |
+
'icon_color' => '#FFFFFF',
|
173 |
+
'button_color' => '#CEE3F8'
|
174 |
+
),
|
175 |
+
'slack' => array(
|
176 |
+
'label' => __( 'Slack', 'so-widgets-bundle' ),
|
177 |
+
'base_url' => 'https://www.slack.com/',
|
178 |
+
'icon_color' => '#FFFFFF',
|
179 |
+
'button_color' => '#4D394B'
|
180 |
+
),
|
181 |
+
'slideshare' => array(
|
182 |
+
'label' => __( 'Slideshare', 'so-widgets-bundle' ),
|
183 |
+
'base_url' => 'https://www.slideshare.net/',
|
184 |
+
'icon_color' => '#FFFFFF',
|
185 |
+
'button_color' => '#00A8AA'
|
186 |
+
),
|
187 |
+
'soundcloud' => array(
|
188 |
+
'label' => __( 'Soundcloud', 'so-widgets-bundle' ),
|
189 |
+
'base_url' => 'https://soundcloud.com/',
|
190 |
+
'icon_color' => '#FFFFFF',
|
191 |
+
'button_color' => '#FE4600'
|
192 |
+
),
|
193 |
+
'spotify' => array(
|
194 |
+
'label' => __( 'Spotify', 'so-widgets-bundle' ),
|
195 |
+
'base_url' => 'https://www.spotify.com/',
|
196 |
+
'icon_color' => '#FFFFFF',
|
197 |
+
'button_color' => '#7BB72F'
|
198 |
+
),
|
199 |
+
'stack-exchange' => array(
|
200 |
+
'label' => __( 'Stack Exchange', 'so-widgets-bundle' ),
|
201 |
+
'base_url' => 'http://stackexchange.com/',
|
202 |
+
'icon_color' => '#FFFFFF',
|
203 |
+
'button_color' => '#245598'
|
204 |
+
),
|
205 |
+
'stack-overflow' => array(
|
206 |
+
'label' => __( 'Stack Overflow', 'so-widgets-bundle' ),
|
207 |
+
'base_url' => 'http://stackoverflow.com/',
|
208 |
+
'icon_color' => '#FFFFFF',
|
209 |
+
'button_color' => '#F57920'
|
210 |
+
),
|
211 |
+
'steam' => array(
|
212 |
+
'label' => __( 'Steam', 'so-widgets-bundle' ),
|
213 |
+
'base_url' => 'http://steamcommunity.com/',
|
214 |
+
'icon_color' => '#FFFFFF',
|
215 |
+
'button_color' => '#171A21'
|
216 |
+
),
|
217 |
+
'stumbleupon' => array(
|
218 |
+
'label' => __( 'StumbleUpon', 'so-widgets-bundle' ),
|
219 |
+
'base_url' => 'https://www.stumbleupon.com/',
|
220 |
+
'icon_color' => '#FFFFFF',
|
221 |
+
'button_color' => '#EB4924'
|
222 |
+
),
|
223 |
+
'trello' => array(
|
224 |
+
'label' => __( 'Trello', 'so-widgets-bundle' ),
|
225 |
+
'base_url' => 'https://trello.com/',
|
226 |
+
'icon_color' => '#FFFFFF',
|
227 |
+
'button_color' => '#0E74AF'
|
228 |
+
),
|
229 |
+
'tripadvisor' => array(
|
230 |
+
'label' => __( 'TripAdvisor', 'so-widgets-bundle' ),
|
231 |
+
'base_url' => 'https://www.tripadvisor.com/',
|
232 |
+
'icon_color' => '#FFFFFF',
|
233 |
+
'button_color' => '#589442'
|
234 |
+
),
|
235 |
+
'twitch' => array(
|
236 |
+
'label' => __( 'Twitch', 'so-widgets-bundle' ),
|
237 |
+
'base_url' => 'https://www.twitch.tv/',
|
238 |
+
'icon_color' => '#FFFFFF',
|
239 |
+
'button_color' => '#6542A6'
|
240 |
+
),
|
241 |
+
'vimeo-square' => array(
|
242 |
+
'label' => __( 'Vimeo', 'so-widgets-bundle' ),
|
243 |
+
'base_url' => 'https://vimeo.com/',
|
244 |
+
'icon_color' => '#FFFFFF',
|
245 |
+
'button_color' => '#5BC8FF'
|
246 |
+
),
|
247 |
+
'whatsapp' => array(
|
248 |
+
'label' => __( 'WhatsApp', 'so-widgets-bundle' ),
|
249 |
+
'base_url' => 'https://www.whatsapp.com/',
|
250 |
+
'icon_color' => '#FFFFFF',
|
251 |
+
'button_color' => '#25D366'
|
252 |
+
),
|
253 |
+
'wordpress' => array(
|
254 |
+
'label' => __( 'WordPress', 'so-widgets-bundle' ),
|
255 |
+
'base_url' => 'https://wordpress.org/',
|
256 |
+
'icon_color' => '#797979',
|
257 |
+
'button_color' => '#222222'
|
258 |
+
),
|
259 |
+
'xing' => array(
|
260 |
+
'label' => __( 'Xing', 'so-widgets-bundle' ),
|
261 |
+
'base_url' => 'https://www.xing.com/',
|
262 |
+
'icon_color' => '#FFFFFF',
|
263 |
+
'button_color' => '#00605E'
|
264 |
+
),
|
265 |
+
'yahoo' => array(
|
266 |
+
'label' => __( 'Yahoo', 'so-widgets-bundle' ),
|
267 |
+
'base_url' => 'https://yahoo.com/',
|
268 |
+
'icon_color' => '#FFFFFF',
|
269 |
+
'button_color' => '#4101AF'
|
270 |
+
),
|
271 |
+
'yelp' => array(
|
272 |
+
'label' => __( 'Yelp', 'so-widgets-bundle' ),
|
273 |
+
'base_url' => 'https://www.yelp.com/',
|
274 |
+
'icon_color' => '#FFFFFF',
|
275 |
+
'button_color' => '#B4282E'
|
276 |
+
),
|
277 |
+
'youtube' => array(
|
278 |
+
'label' => __( 'YouTube', 'so-widgets-bundle' ),
|
279 |
+
'base_url' => 'https://www.youtube.com/',
|
280 |
+
'icon_color' => '#FFFFFF',
|
281 |
+
'button_color' => '#CF3427'
|
282 |
+
)
|
283 |
+
);
|
widgets/tabs/assets/banner.svg
CHANGED
@@ -1,17 +1 @@
|
|
1 |
-
|
2 |
-
<!-- Generator: Adobe Illustrator 22.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
-
viewBox="0 0 120 120" style="enable-background:new 0 0 120 120;" xml:space="preserve">
|
5 |
-
<style type="text/css">
|
6 |
-
.st0{fill:#1880B6;}
|
7 |
-
.st1{fill:#F2F0DA;stroke:#324249;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
|
8 |
-
.st2{fill:#8ED9EF;stroke:#324249;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
|
9 |
-
</style>
|
10 |
-
<rect id="Call_to_Action" class="st0" width="120" height="120"/>
|
11 |
-
<g transform="translate(5 5)">
|
12 |
-
<path class="st1" d="M31,28h48c1.7,0,3,1.3,3,3v48c0,1.7-1.3,3-3,3H31c-1.7,0-3-1.3-3-3V31C28,29.3,29.3,28,31,28z"/>
|
13 |
-
<path class="st1" d="M40,54h18 M40,62h30 M40,70h22"/>
|
14 |
-
<path class="st2" d="M64,28h15c1.7,0,3,1.3,3,3v11H64V28z"/>
|
15 |
-
<rect x="46" y="28" class="st2" width="18" height="14"/>
|
16 |
-
</g>
|
17 |
-
</svg>
|
1 |
+
<svg enable-background="new 0 0 120 120" viewBox="0 0 120 120" xmlns="http://www.w3.org/2000/svg"><path d="m0 0h120v120h-120z" fill="#1880b6"/><g stroke="#324249" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" transform="translate(5 5)"><path d="m31 28h48c1.7 0 3 1.3 3 3v48c0 1.7-1.3 3-3 3h-48c-1.7 0-3-1.3-3-3v-48c0-1.7 1.3-3 3-3z" fill="#f2f0da"/><path d="m40 54h18m-18 8h30m-30 8h22" fill="#f2f0da"/><g fill="#8ed9ef"><path d="m64 28h15c1.7 0 3 1.3 3 3v11h-18z"/><path d="m46 28h18v14h-18z"/></g></g></svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
widgets/tabs/js/tabs.js
CHANGED
@@ -8,6 +8,9 @@ jQuery( function ( $ ) {
|
|
8 |
$( '.sow-tabs' ).each( function ( index, element ) {
|
9 |
var $this = $( element );
|
10 |
var $widget = $this.closest( '.so-widget-sow-tabs' );
|
|
|
|
|
|
|
11 |
var useAnchorTags = $widget.data( 'useAnchorTags' );
|
12 |
|
13 |
var $tabPanelsContainer = $this.find( '> .sow-tabs-panel-container' );
|
@@ -36,6 +39,7 @@ jQuery( function ( $ ) {
|
|
36 |
$tabPanels.eq( selectedIndex ).fadeIn( 'fast',
|
37 |
function () {
|
38 |
$( this ).trigger( 'show' );
|
|
|
39 |
}
|
40 |
);
|
41 |
}
|
@@ -71,6 +75,8 @@ jQuery( function ( $ ) {
|
|
71 |
window.location.hash = $selectedTab.data( 'anchor' );
|
72 |
}
|
73 |
}
|
|
|
|
|
74 |
} );
|
75 |
};
|
76 |
|
8 |
$( '.sow-tabs' ).each( function ( index, element ) {
|
9 |
var $this = $( element );
|
10 |
var $widget = $this.closest( '.so-widget-sow-tabs' );
|
11 |
+
if ( $widget.data( 'initialized' ) ) {
|
12 |
+
return $( this );
|
13 |
+
}
|
14 |
var useAnchorTags = $widget.data( 'useAnchorTags' );
|
15 |
|
16 |
var $tabPanelsContainer = $this.find( '> .sow-tabs-panel-container' );
|
39 |
$tabPanels.eq( selectedIndex ).fadeIn( 'fast',
|
40 |
function () {
|
41 |
$( this ).trigger( 'show' );
|
42 |
+
$( sowb ).trigger( 'setup_widgets' );
|
43 |
}
|
44 |
);
|
45 |
}
|
75 |
window.location.hash = $selectedTab.data( 'anchor' );
|
76 |
}
|
77 |
}
|
78 |
+
|
79 |
+
$widget.data( 'initialized', true );
|
80 |
} );
|
81 |
};
|
82 |
|
widgets/tabs/js/tabs.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
var sowb=window.sowb||{};jQuery(function(a){sowb.setupTabs=function(){a(".sow-tabs").each(function(s
|
1 |
+
var sowb=window.sowb||{};jQuery(function(a){sowb.setupTabs=function(){a(".sow-tabs").each(function(t,s){var i=a(s),o=i.closest(".so-widget-sow-tabs");if(o.data("initialized"))return a(this);var n=o.data("useAnchorTags"),e=i.find("> .sow-tabs-panel-container"),w=i.find("> .sow-tabs-tab-container > .sow-tabs-tab"),d=i.find(".sow-tabs-tab-selected"),c=d.index(),r=e.find("> .sow-tabs-panel");r.not(":eq("+c+")").hide();var b=function(t,s){var i=a(t);if(i.is(".sow-tabs-tab-selected"))return!0;var o=i.index();if(o>-1){var e=w.filter(".sow-tabs-tab-selected");e.removeClass("sow-tabs-tab-selected");var d=e.index();r.eq(d).fadeOut("fast",function(){a(this).trigger("hide"),r.eq(o).fadeIn("fast",function(){a(this).trigger("show"),a(sowb).trigger("setup_widgets")})}),i.addClass("sow-tabs-tab-selected"),n&&!s&&(window.location.hash=i.data("anchor"))}};if(w.click(function(){b(this)}),n){var h=function(){if(window.location.hash){window.location.hash.replace("#","").split(",").forEach(function(a){var t=w.filter('[data-anchor="'+a+'"]');t&&b(t,!0)})}};a(window).on("hashchange",h),window.location.hash?h():window.location.hash=d.data("anchor")}o.data("initialized",!0)})},sowb.setupTabs(),a(sowb).on("setup_widgets",sowb.setupTabs)}),window.sowb=sowb;
|
widgets/taxonomy/assets/banner.svg
CHANGED
@@ -1,17 +1 @@
|
|
1 |
-
|
2 |
-
<!-- Generator: Adobe Illustrator 22.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
-
viewBox="0 0 120 120" style="enable-background:new 0 0 120 120;" xml:space="preserve">
|
5 |
-
<style type="text/css">
|
6 |
-
.st0{fill:#1880B6;}
|
7 |
-
.st1{fill:#8ED9EF;stroke:#324249;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
|
8 |
-
.st2{fill:#F2F0DA;stroke:#324249;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
|
9 |
-
</style>
|
10 |
-
<rect id="Call_to_Action" class="st0" width="120" height="120"/>
|
11 |
-
<g transform="translate(1 1)">
|
12 |
-
<path class="st1" d="M45,57L28,40V28h12l17,17L45,57z M34,36c1.1,0,2-0.9,2-2s-0.9-2-2-2s-2,0.9-2,2S32.9,36,34,36z M78,90L61,73
|
13 |
-
V61h12l17,17L78,90z M67,69c1.1,0,2-0.9,2-2s-0.9-2-2-2s-2,0.9-2,2S65.9,69,67,69z"/>
|
14 |
-
<path class="st2" d="M78,57L61,40V28h12l17,17L78,57z M67,36c1.1,0,2-0.9,2-2s-0.9-2-2-2s-2,0.9-2,2S65.9,36,67,36z M45,90L28,73
|
15 |
-
V61h12l17,17L45,90z M34,69c1.1,0,2-0.9,2-2s-0.9-2-2-2s-2,0.9-2,2S32.9,69,34,69z"/>
|
16 |
-
</g>
|
17 |
-
</svg>
|
1 |
+
<svg enable-background="new 0 0 120 120" viewBox="0 0 120 120" xmlns="http://www.w3.org/2000/svg"><path d="m0 0h120v120h-120z" fill="#1880b6"/><g stroke="#324249" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" transform="translate(1 1)"><path d="m45 57-17-17v-12h12l17 17zm-11-21c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm44 54-17-17v-12h12l17 17zm-11-21c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z" fill="#8ed9ef"/><path d="m78 57-17-17v-12h12l17 17zm-11-21c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm-22 54-17-17v-12h12l17 17zm-11-21c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z" fill="#f2f0da"/></g></svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
widgets/testimonial/assets/banner.svg
CHANGED
@@ -1,41 +1 @@
|
|
1 |
-
|
2 |
-
<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
-
viewBox="55 277 240 240" style="enable-background:new 55 277 240 240;" xml:space="preserve">
|
5 |
-
<style type="text/css">
|
6 |
-
.st0{fill:#1880B6;}
|
7 |
-
.st1{fill:#8ED9EF;}
|
8 |
-
.st2{fill:#324249;}
|
9 |
-
.st3{opacity:0.2;}
|
10 |
-
.st4{fill:#F2F0DA;}
|
11 |
-
</style>
|
12 |
-
<rect id="Testimonials_2_" x="55" y="277" class="st0" width="240" height="240"/>
|
13 |
-
<g>
|
14 |
-
<g>
|
15 |
-
<path class="st1" d="M211,389v-52c0-2.2-1.8-4-4-4h-88c-2.2,0-4,1.8-4,4v52c0,2.2,1.8,4,4,4c0,0,30.9,0,33,0s3.6,1.6,3.6,1.6
|
16 |
-
L179,418v-23c0-1.1,0.9-2,2-2h26C209.2,393,211,391.2,211,389z"/>
|
17 |
-
<path class="st1" d="M211,441c-15.7,0-19.6,7.4-20,8.4v3.6h40v-3.6C230.6,448.4,226.7,441,211,441z"/>
|
18 |
-
</g>
|
19 |
-
<g>
|
20 |
-
<g>
|
21 |
-
<path class="st2" d="M215,389v-52c0-4.4-3.6-8-8-8h-88c-4.4,0-8,3.6-8,8v52c0,4.4,3.6,8,8,8h33.2l27.4,27.4
|
22 |
-
c0.4,0.4,0.9,0.6,1.4,0.6c0.3,0,0.5,0,0.8-0.2c0.7-0.3,1.2-1,1.2-1.8v-26h24C211.4,397,215,393.4,215,389z M181,393
|
23 |
-
c-1.1,0-2,0.9-2,2v23l-23.4-23.4c0,0-1.5-1.6-3.6-1.6s-33,0-33,0c-2.2,0-4-1.8-4-4v-52c0-2.2,1.8-4,4-4h88c2.2,0,4,1.8,4,4v52
|
24 |
-
c0,2.2-1.8,4-4,4H181z"/>
|
25 |
-
<path class="st2" d="M219.2,437.8c2.3-2.2,3.8-5.3,3.8-8.8v-8c0-4.4-3.6-8-8-8h-8c-4.4,0-8,3.6-8,8v8c0,3.5,1.5,6.6,3.8,8.8
|
26 |
-
c-12.2,2.3-15.8,9.6-15.8,11.2v4c0,2.2,1.8,4,4,4h40c2.2,0,4-1.8,4-4v-4C235,447.3,231.3,440.1,219.2,437.8z M203,421
|
27 |
-
c0-2.2,1.8-4,4-4h8c2.2,0,4,1.8,4,4v8c0,4.4-3.6,8-8,8s-8-3.6-8-8V421z M231,453h-40v-3.6c0.4-1,4.3-8.4,20-8.4s19.6,7.4,20,8.4
|
28 |
-
V453z"/>
|
29 |
-
</g>
|
30 |
-
</g>
|
31 |
-
<g class="st3">
|
32 |
-
<path d="M133,353h24c1.1,0,2-0.9,2-2s-0.9-2-2-2h-24c-1.1,0-2,0.9-2,2S131.9,353,133,353z"/>
|
33 |
-
<path d="M169,353h8c1.1,0,2-0.9,2-2s-0.9-2-2-2h-8c-1.1,0-2,0.9-2,2S167.9,353,169,353z"/>
|
34 |
-
<path d="M151,363c0,1.1,0.9,2,2,2h40c1.1,0,2-0.9,2-2s-0.9-2-2-2h-40C151.9,361,151,361.9,151,363z"/>
|
35 |
-
<path d="M161,373h-28c-1.1,0-2,0.9-2,2s0.9,2,2,2h28c1.1,0,2-0.9,2-2S162.1,373,161,373z"/>
|
36 |
-
<path d="M193,373h-24c-1.1,0-2,0.9-2,2s0.9,2,2,2h24c1.1,0,2-0.9,2-2S194.1,373,193,373z"/>
|
37 |
-
<path d="M133,365h8c1.1,0,2-0.9,2-2s-0.9-2-2-2h-8c-1.1,0-2,0.9-2,2S131.9,365,133,365z"/>
|
38 |
-
</g>
|
39 |
-
<path class="st4" d="M203,421v8c0,4.4,3.6,8,8,8s8-3.6,8-8v-8c0-2.2-1.8-4-4-4h-8C204.8,417,203,418.8,203,421z"/>
|
40 |
-
</g>
|
41 |
-
</svg>
|
1 |
+
<svg enable-background="new 55 277 240 240" viewBox="55 277 240 240" xmlns="http://www.w3.org/2000/svg"><path d="m55 277h240v240h-240z" fill="#1880b6"/><path d="m211 389v-52c0-2.2-1.8-4-4-4h-88c-2.2 0-4 1.8-4 4v52c0 2.2 1.8 4 4 4h33s3.6 1.6 3.6 1.6l23.4 23.4v-23c0-1.1.9-2 2-2h26c2.2 0 4-1.8 4-4z" fill="#8ed9ef"/><path d="m211 441c-15.7 0-19.6 7.4-20 8.4v3.6h40v-3.6c-.4-1-4.3-8.4-20-8.4z" fill="#8ed9ef"/><path d="m215 389v-52c0-4.4-3.6-8-8-8h-88c-4.4 0-8 3.6-8 8v52c0 4.4 3.6 8 8 8h33.2l27.4 27.4c.4.4.9.6 1.4.6.3 0 .5 0 .8-.2.7-.3 1.2-1 1.2-1.8v-26h24c4.4 0 8-3.6 8-8zm-34 4c-1.1 0-2 .9-2 2v23l-23.4-23.4s-1.5-1.6-3.6-1.6-33 0-33 0c-2.2 0-4-1.8-4-4v-52c0-2.2 1.8-4 4-4h88c2.2 0 4 1.8 4 4v52c0 2.2-1.8 4-4 4z" fill="#324249"/><path d="m219.2 437.8c2.3-2.2 3.8-5.3 3.8-8.8v-8c0-4.4-3.6-8-8-8h-8c-4.4 0-8 3.6-8 8v8c0 3.5 1.5 6.6 3.8 8.8-12.2 2.3-15.8 9.6-15.8 11.2v4c0 2.2 1.8 4 4 4h40c2.2 0 4-1.8 4-4v-4c0-1.7-3.7-8.9-15.8-11.2zm-16.2-16.8c0-2.2 1.8-4 4-4h8c2.2 0 4 1.8 4 4v8c0 4.4-3.6 8-8 8s-8-3.6-8-8zm28 32h-40v-3.6c.4-1 4.3-8.4 20-8.4s19.6 7.4 20 8.4z" fill="#324249"/><g opacity=".2"><path d="m133 353h24c1.1 0 2-.9 2-2s-.9-2-2-2h-24c-1.1 0-2 .9-2 2s.9 2 2 2z"/><path d="m169 353h8c1.1 0 2-.9 2-2s-.9-2-2-2h-8c-1.1 0-2 .9-2 2s.9 2 2 2z"/><path d="m151 363c0 1.1.9 2 2 2h40c1.1 0 2-.9 2-2s-.9-2-2-2h-40c-1.1 0-2 .9-2 2z"/><path d="m161 373h-28c-1.1 0-2 .9-2 2s.9 2 2 2h28c1.1 0 2-.9 2-2s-.9-2-2-2z"/><path d="m193 373h-24c-1.1 0-2 .9-2 2s.9 2 2 2h24c1.1 0 2-.9 2-2s-.9-2-2-2z"/><path d="m133 365h8c1.1 0 2-.9 2-2s-.9-2-2-2h-8c-1.1 0-2 .9-2 2s.9 2 2 2z"/></g><path d="m203 421v8c0 4.4 3.6 8 8 8s8-3.6 8-8v-8c0-2.2-1.8-4-4-4h-8c-2.2 0-4 1.8-4 4z" fill="#f2f0da"/></svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
widgets/testimonial/testimonial.php
CHANGED
@@ -136,7 +136,7 @@ class SiteOrigin_Widgets_Testimonials_Widget extends SiteOrigin_Widget {
|
|
136 |
'width' => array(
|
137 |
'type' => 'text',
|
138 |
'label' => __( 'Resolution', 'so-widgets-bundle' ),
|
139 |
-
'description' => __( 'The resolution to treat as a
|
140 |
'default' => 800,
|
141 |
'sanitize' => 'intval',
|
142 |
)
|
@@ -165,7 +165,7 @@ class SiteOrigin_Widgets_Testimonials_Widget extends SiteOrigin_Widget {
|
|
165 |
'width' => array(
|
166 |
'type' => 'text',
|
167 |
'label' => __( 'Resolution', 'so-widgets-bundle' ),
|
168 |
-
'description' => __( 'The resolution to treat as a
|
169 |
'default' => 480,
|
170 |
'sanitize' => 'intval',
|
171 |
)
|
136 |
'width' => array(
|
137 |
'type' => 'text',
|
138 |
'label' => __( 'Resolution', 'so-widgets-bundle' ),
|
139 |
+
'description' => __( 'The resolution to treat as a tablet resolution.', 'so-widgets-bundle' ),
|
140 |
'default' => 800,
|
141 |
'sanitize' => 'intval',
|
142 |
)
|
165 |
'width' => array(
|
166 |
'type' => 'text',
|
167 |
'label' => __( 'Resolution', 'so-widgets-bundle' ),
|
168 |
+
'description' => __( 'The resolution to treat as a mobile resolution.', 'so-widgets-bundle' ),
|
169 |
'default' => 480,
|
170 |
'sanitize' => 'intval',
|
171 |
)
|
widgets/video/assets/banner.svg
CHANGED
@@ -1,36 +1 @@
|
|
1 |
-
|
2 |
-
<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4 |
-
viewBox="55 277 240 240" style="enable-background:new 55 277 240 240;" xml:space="preserve">
|
5 |
-
<style type="text/css">
|
6 |
-
.st0{fill:#1880B6;}
|
7 |
-
.st1{fill:#8ED9EF;}
|
8 |
-
.st2{fill:#324249;}
|
9 |
-
.st3{fill:#F2F0DA;}
|
10 |
-
</style>
|
11 |
-
<rect id="Button_1_" x="55" y="277" class="st0" width="240" height="240"/>
|
12 |
-
<g>
|
13 |
-
<g>
|
14 |
-
<path class="st1" d="M114.9,352.9v12h16v-16h-12C116.6,348.9,114.9,350.7,114.9,352.9z"/>
|
15 |
-
<rect x="114.9" y="368.9" class="st1" width="16" height="16"/>
|
16 |
-
<rect x="114.9" y="388.9" class="st1" width="16" height="16"/>
|
17 |
-
<rect x="114.9" y="409" class="st1" width="16" height="16"/>
|
18 |
-
<path class="st1" d="M114.9,441c0,2.2,1.8,4,4,4h12v-16h-16V441z"/>
|
19 |
-
<rect x="134.9" y="348.9" class="st1" width="80.1" height="96.1"/>
|
20 |
-
<path class="st1" d="M219,445h12c2.2,0,4-1.8,4-4v-12h-16L219,445L219,445z"/>
|
21 |
-
<rect x="219" y="409" class="st1" width="16" height="16"/>
|
22 |
-
<rect x="219" y="388.9" class="st1" width="16" height="16"/>
|
23 |
-
<rect x="219" y="368.9" class="st1" width="16" height="16"/>
|
24 |
-
<path class="st1" d="M231,348.9h-12v16h16v-12C235,350.7,233.2,348.9,231,348.9z"/>
|
25 |
-
</g>
|
26 |
-
<path class="st2" d="M164.9,417c0.3,0,0.6-0.1,0.9-0.2l28-17.8c0.7-0.3,1.1-1.2,1.1-2s-0.4-1.4-1.1-1.8l-28-18.1
|
27 |
-
c-0.6-0.3-1.4-0.3-1.9,0.1c-0.6,0.4-1,1-1,1.7v36c0,0.7,0.4,1.3,1,1.7C164.2,416.9,164.5,417,164.9,417z M166.9,382.5l22.5,14.5
|
28 |
-
l-22.5,14.5V382.5z"/>
|
29 |
-
<polygon class="st3" points="166.9,382.5 166.9,411.5 189.4,396.9 "/>
|
30 |
-
<path class="st2" d="M231,344.9H118.9c-4.4,0-8,3.3-8,7.8V441c0,4.4,3.6,8,8,8H231c4.4,0,8-3.6,8-8v-88.4
|
31 |
-
C239,348.2,235.4,344.9,231,344.9z M114.9,352.9c0-2.2,1.8-4,4-4h12v16h-16V352.9z M114.9,368.9h16v16h-16V368.9z M114.9,388.9h16
|
32 |
-
v16h-16V388.9z M114.9,409h16v16h-16V409z M118.9,445c-2.2,0-4-1.8-4-4v-12h16v16H118.9L118.9,445z M134.9,445v-96.1H215V445H134.9
|
33 |
-
z M235,441c0,2.2-1.8,4-4,4h-12v-16h16L235,441L235,441z M235,425h-16v-16h16V425z M235,404.9h-16v-16h16V404.9z M235,384.9h-16
|
34 |
-
v-16h16V384.9z M235,364.9h-16v-16h12c2.2,0,4,1.8,4,4L235,364.9L235,364.9z"/>
|
35 |
-
</g>
|
36 |
-
</svg>
|
1 |
+
<svg enable-background="new 55 277 240 240" viewBox="55 277 240 240" xmlns="http://www.w3.org/2000/svg"><path d="m55 277h240v240h-240z" fill="#1880b6"/><g fill="#8ed9ef"><path d="m114.9 352.9v12h16v-16h-12c-2.3 0-4 1.8-4 4z"/><path d="m114.9 368.9h16v16h-16z"/><path d="m114.9 388.9h16v16h-16z"/><path d="m114.9 409h16v16h-16z"/><path d="m114.9 441c0 2.2 1.8 4 4 4h12v-16h-16z"/><path d="m134.9 348.9h80.1v96.1h-80.1z"/><path d="m219 445h12c2.2 0 4-1.8 4-4v-12h-16z"/><path d="m219 409h16v16h-16z"/><path d="m219 388.9h16v16h-16z"/><path d="m219 368.9h16v16h-16z"/><path d="m231 348.9h-12v16h16v-12c0-2.2-1.8-4-4-4z"/></g><path d="m164.9 417c.3 0 .6-.1.9-.2l28-17.8c.7-.3 1.1-1.2 1.1-2s-.4-1.4-1.1-1.8l-28-18.1c-.6-.3-1.4-.3-1.9.1-.6.4-1 1-1 1.7v36c0 .7.4 1.3 1 1.7.3.3.6.4 1 .4zm2-34.5 22.5 14.5-22.5 14.5z" fill="#324249"/><path d="m166.9 382.5v29l22.5-14.6z" fill="#f2f0da"/><path d="m231 344.9h-112.1c-4.4 0-8 3.3-8 7.8v88.3c0 4.4 3.6 8 8 8h112.1c4.4 0 8-3.6 8-8v-88.4c0-4.4-3.6-7.7-8-7.7zm-116.1 8c0-2.2 1.8-4 4-4h12v16h-16zm0 16h16v16h-16zm0 20h16v16h-16zm0 20.1h16v16h-16zm4 36c-2.2 0-4-1.8-4-4v-12h16v16zm16 0v-96.1h80.1v96.1zm100.1-4c0 2.2-1.8 4-4 4h-12v-16h16zm0-16h-16v-16h16zm0-20.1h-16v-16h16zm0-20h-16v-16h16zm0-20h-16v-16h12c2.2 0 4 1.8 4 4z" fill="#324249"/></svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
widgets/video/css/controls-skin.png
CHANGED
Binary file
|
widgets/video/tpl/default.php
CHANGED
@@ -1,53 +1,55 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* @var $instance
|
4 |
-
* @var $args
|
5 |
-
* @var $player_id
|
6 |
-
* @var $autoplay
|
7 |
-
* @var $related_videos
|
8 |
-
* @var $skin_class
|
9 |
-
* @var $is_skinnable_video_host
|
10 |
-
* @var $sources
|
11 |
-
* @var $src
|
12 |
-
* @var $video_type
|
13 |
-
*/
|
14 |
-
|
15 |
-
if ( ! empty( $instance['title'] ) ) {
|
16 |
-
echo $args['before_title'] . esc_html( $instance['title'] ) . $args['after_title'];
|
17 |
-
}
|
18 |
-
|
19 |
-
$video_args = array(
|
20 |
-
'id' => $player_id,
|
21 |
-
'class' => 'sow-video-widget',
|
22 |
-
'preload' => 'auto',
|
23 |
-
'style' => 'width:100%;height:100%;',
|
24 |
-
);
|
25 |
-
if ( $autoplay ) {
|
26 |
-
$video_args['autoplay'] = 1;
|
27 |
-
}
|
28 |
-
if ( ! empty( $poster ) ) {
|
29 |
-
$video_args['poster'] = esc_url( $poster );
|
30 |
-
}
|
31 |
-
if ( $skin_class != 'default' ) {
|
32 |
-
$video_args['class'] = 'mejs-' . $skin_class;
|
33 |
-
}
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
<?php
|
44 |
-
|
45 |
-
<?php
|
46 |
-
|
47 |
-
<?php
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
<?php
|
52 |
-
|
53 |
-
<?php
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* @var $instance
|
4 |
+
* @var $args
|
5 |
+
* @var $player_id
|
6 |
+
* @var $autoplay
|
7 |
+
* @var $related_videos
|
8 |
+
* @var $skin_class
|
9 |
+
* @var $is_skinnable_video_host
|
10 |
+
* @var $sources
|
11 |
+
* @var $src
|
12 |
+
* @var $video_type
|
13 |
+
*/
|
14 |
+
|
15 |
+
if ( ! empty( $instance['title'] ) ) {
|
16 |
+
echo $args['before_title'] . esc_html( $instance['title'] ) . $args['after_title'];
|
17 |
+
}
|
18 |
+
|
19 |
+
$video_args = array(
|
20 |
+
'id' => $player_id,
|
21 |
+
'class' => 'sow-video-widget',
|
22 |
+
'preload' => 'auto',
|
23 |
+
'style' => 'width:100%;height:100%;',
|
24 |
+
);
|
25 |
+
if ( $autoplay ) {
|
26 |
+
$video_args['autoplay'] = 1;
|
27 |
+
}
|
28 |
+
if ( ! empty( $poster ) ) {
|
29 |
+
$video_args['poster'] = esc_url( $poster );
|
30 |
+
}
|
31 |
+
if ( $skin_class != 'default' ) {
|
32 |
+
$video_args['class'] = 'mejs-' . $skin_class;
|
33 |
+
}
|
34 |
+
|
35 |
+
$so_video = new SiteOrigin_Video();
|
36 |
+
|
37 |
+
do_action( 'siteorigin_widgets_sow-video_before_video', $instance );
|
38 |
+
?>
|
39 |
+
|
40 |
+
<div class="sow-video-wrapper">
|
41 |
+
<?php if ( $is_skinnable_video_host ) : ?>
|
42 |
+
<video
|
43 |
+
<?php foreach ( $video_args as $k => $v ) : ?>
|
44 |
+
<?php echo $k . '="' . $v . '" '; ?>
|
45 |
+
<?php endforeach; ?>
|
46 |
+
>
|
47 |
+
<?php foreach ( $sources as $source ) : ?>
|
48 |
+
<source type="<?php echo esc_attr( $source['video_type'] ) ?>" src="<?php echo esc_url( $source['src'] ) ?>"/>
|
49 |
+
<?php endforeach; ?>
|
50 |
+
</video>
|
51 |
+
<?php else : ?>
|
52 |
+
<?php echo $so_video->get_video_oembed( $src, $autoplay, $related_videos ); ?>
|
53 |
+
<?php endif; ?>
|
54 |
+
</div>
|
55 |
+
<?php do_action( 'siteorigin_widgets_sow-video_after_video', $instance ); ?>
|
widgets/video/video.php
CHANGED
@@ -1,346 +1,280 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/*
|
4 |
-
Widget Name: Video Player
|
5 |
-
Description: Play all your self or externally hosted videos in a customizable video player.
|
6 |
-
Author: SiteOrigin
|
7 |
-
Author URI: https://siteorigin.com
|
8 |
-
*/
|
9 |
-
|
10 |
-
|
11 |
-
class SiteOrigin_Widget_Video_Widget extends SiteOrigin_Widget {
|
12 |
-
|
13 |
-
function __construct() {
|
14 |
-
|
15 |
-
parent::__construct(
|
16 |
-
'sow-video',
|
17 |
-
__( 'SiteOrigin Video Player', 'so-widgets-bundle' ),
|
18 |
-
array(
|
19 |
-
'description' => __( 'A video player widget.', 'so-widgets-bundle' ),
|
20 |
-
'help' => 'http://siteorigin.com/widgets-bundle/video-widget-documentation/'
|
21 |
-
),
|
22 |
-
array(),
|
23 |
-
false,
|
24 |
-
plugin_dir_path( __FILE__ )
|
25 |
-
);
|
26 |
-
}
|
27 |
-
|
28 |
-
function get_widget_form() {
|
29 |
-
return array(
|
30 |
-
'title' => array(
|
31 |
-
'type' => 'text',
|
32 |
-
'label' => __( 'Title', 'so-widgets-bundle' )
|
33 |
-
),
|
34 |
-
'host_type' => array(
|
35 |
-
'type' => 'radio',
|
36 |
-
'label' => __( 'Video location', 'so-widgets-bundle' ),
|
37 |
-
'default' => 'self',
|
38 |
-
'options' => array(
|
39 |
-
'self' => __( 'Self hosted', 'so-widgets-bundle' ),
|
40 |
-
'external' => __( 'Externally hosted', 'so-widgets-bundle' ),
|
41 |
-
),
|
42 |
-
|
43 |
-
// This field should be a video type state emitter
|
44 |
-
'state_emitter' => array(
|
45 |
-
'callback' => 'select',
|
46 |
-
'args' => array( 'video_type' )
|
47 |
-
)
|
48 |
-
),
|
49 |
-
|
50 |
-
'video' => array(
|
51 |
-
'type' => 'section',
|
52 |
-
'label' => __( 'Video File', 'so-widgets-bundle' ),
|
53 |
-
'fields' => array(
|
54 |
-
'self_sources' => array(
|
55 |
-
'type' => 'repeater',
|
56 |
-
'label' => __( 'Sources', 'so-widgets-bundle' ),
|
57 |
-
'fields' => array(
|
58 |
-
'self_video' => array(
|
59 |
-
'type' => 'media',
|
60 |
-
'fallback' => true,
|
61 |
-
'label' => __( 'Select video', 'so-widgets-bundle' ),
|
62 |
-
'default' => '',
|
63 |
-
'library' => 'video',
|
64 |
-
),
|
65 |
-
),
|
66 |
-
'state_handler' => array(
|
67 |
-
'video_type[self]' => array( 'show' ),
|
68 |
-
'video_type[external]' => array( 'hide' ),
|
69 |
-
),
|
70 |
-
),
|
71 |
-
'self_poster' => array(
|
72 |
-
'type' => 'media',
|
73 |
-
'label' => __( 'Select cover image', 'so-widgets-bundle' ),
|
74 |
-
'default' => '',
|
75 |
-
'library' => 'image',
|
76 |
-
'state_handler' => array(
|
77 |
-
'video_type[self]' => array( 'show' ),
|
78 |
-
'video_type[external]' => array( 'hide' ),
|
79 |
-
),
|
80 |
-
),
|
81 |
-
'external_video' => array(
|
82 |
-
'type' => 'text',
|
83 |
-
'sanitize' => 'url',
|
84 |
-
'label' => __( 'Video URL', 'so-widgets-bundle' ),
|
85 |
-
'state_handler' => array(
|
86 |
-
'video_type[external]' => array( 'show' ),
|
87 |
-
'video_type[self]' => array( 'hide' ),
|
88 |
-
),
|
89 |
-
),
|
90 |
-
),
|
91 |
-
),
|
92 |
-
|
93 |
-
'playback' => array(
|
94 |
-
'type' => 'section',
|
95 |
-
'label' => __( 'Video Playback', 'so-widgets-bundle' ),
|
96 |
-
'fields' => array(
|
97 |
-
'autoplay' => array(
|
98 |
-
'type' => 'checkbox',
|
99 |
-
'default' => false,
|
100 |
-
'label' => __( 'Autoplay', 'so-widgets-bundle' )
|
101 |
-
),
|
102 |
-
'oembed' => array(
|
103 |
-
'type' => 'checkbox',
|
104 |
-
'default' => true,
|
105 |
-
'label' => __( 'Use oEmbed', 'so-widgets-bundle' ),
|
106 |
-
'description' => __( 'Always use the embedded video rather than the MediaElement player.', 'so-widgets-bundle' ),
|
107 |
-
'state_handler' => array(
|
108 |
-
'video_type[external]' => array( 'show' ),
|
109 |
-
'video_type[self]' => array( 'hide' ),
|
110 |
-
)
|
111 |
-
),
|
112 |
-
'related_videos' => array(
|
113 |
-
'type' => 'checkbox',
|
114 |
-
'default' => true,
|
115 |
-
'label' => __( 'Show related videos.', 'so-widgets-bundle' ),
|
116 |
-
'description' => __( 'If the external host supports it.', 'so-widgets-bundle' ),
|
117 |
-
'state_handler' => array(
|
118 |
-
'video_type[external]' => array( 'show' ),
|
119 |
-
'video_type[self]' => array( 'hide' ),
|
120 |
-
)
|
121 |
-
),
|
122 |
-
),
|
123 |
-
),
|
124 |
-
);
|
125 |
-
}
|
126 |
-
|
127 |
-
function enqueue_frontend_scripts( $instance ) {
|
128 |
-
$video_host = empty( $instance['host_type'] ) ? '' : $instance['host_type'];
|
129 |
-
if ( $video_host == 'external' ) {
|
130 |
-
$video_host = ! empty( $instance['video']['external_video'] ) ? $this->get_host_from_url( $instance['video']['external_video'] ) : '';
|
131 |
-
}
|
132 |
-
if ( $this->is_skinnable_video_host( $video_host ) ) {
|
133 |
-
if ( $video_host == 'vimeo' && ! wp_script_is( 'froogaloop' ) ) {
|
134 |
-
wp_enqueue_script( 'froogaloop' );
|
135 |
-
}
|
136 |
-
if ( ! wp_style_is( 'sow-html-player-responsive' ) ) {
|
137 |
-
wp_enqueue_style(
|
138 |
-
'html-player-responsive',
|
139 |
-
plugin_dir_url( __FILE__ ) . 'css/html-player-responsive.css',
|
140 |
-
array(),
|
141 |
-
SOW_BUNDLE_VERSION
|
142 |
-
);
|
143 |
-
}
|
144 |
-
if ( ! wp_style_is( 'wp-mediaelement' ) ) {
|
145 |
-
wp_enqueue_style( 'wp-mediaelement' );
|
146 |
-
}
|
147 |
-
if ( ! wp_script_is( 'so-video-widget' ) ) {
|
148 |
-
wp_enqueue_script(
|
149 |
-
'so-video-widget',
|
150 |
-
plugin_dir_url( __FILE__ ) . 'js/so-video-widget' . SOW_BUNDLE_JS_SUFFIX . '.js',
|
151 |
-
array( 'jquery', 'mediaelement' ),
|
152 |
-
SOW_BUNDLE_VERSION
|
153 |
-
);
|
154 |
-
}
|
155 |
-
}
|
156 |
-
parent::enqueue_frontend_scripts( $instance );
|
157 |
-
}
|
158 |
-
|
159 |
-
function get_template_name( $instance ) {
|
160 |
-
return 'default';
|
161 |
-
}
|
162 |
-
|
163 |
-
function get_template_variables( $instance, $args ) {
|
164 |
-
static $player_id = 1;
|
165 |
-
|
166 |
-
$self_sources = array();
|
167 |
-
$external_src = '';
|
168 |
-
$external_video_type = '';
|
169 |
-
$poster = '';
|
170 |
-
$video_host = $instance['host_type'];
|
171 |
-
if ( $video_host == 'self' ) {
|
172 |
-
|
173 |
-
if ( isset( $instance['video']['self_sources'] ) ) {
|
174 |
-
foreach ( $instance['video']['self_sources'] as $source ) {
|
175 |
-
$src = '';
|
176 |
-
$video_type = '';
|
177 |
-
if ( ! empty( $source['self_video'] ) ) {
|
178 |
-
// Handle an attachment video
|
179 |
-
$src = wp_get_attachment_url( $source['self_video'] );
|
180 |
-
$video_type = get_post_mime_type( $source['self_video'] );
|
181 |
-
} else if ( ! empty( $source['self_video_fallback'] ) ) {
|
182 |
-
// Handle an external URL video
|
183 |
-
$src = $source['self_video_fallback'];
|
184 |
-
$vid_info = wp_check_filetype( basename( $source['self_video_fallback'] ) );
|
185 |
-
$video_type = $vid_info['type'];
|
186 |
-
}
|
187 |
-
if ( ! empty( $src ) ) {
|
188 |
-
$self_sources[] = array( 'src' => $src, 'video_type' => $video_type );
|
189 |
-
}
|
190 |
-
}
|
191 |
-
}
|
192 |
-
$poster = ! empty( $instance['video']['self_poster'] ) ? wp_get_attachment_url( $instance['video']['self_poster'] ) : '';
|
193 |
-
} else {
|
194 |
-
$video_host = $this->get_host_from_url( $instance['video']['external_video'] );
|
195 |
-
$external_video_type = 'video/' . $video_host;
|
196 |
-
$external_src = ! empty( $instance['video']['external_video'] ) ? $instance['video']['external_video'] : '';
|
197 |
-
}
|
198 |
-
|
199 |
-
$return = array(
|
200 |
-
'player_id' => 'sow-player-' . ( $player_id ++ ),
|
201 |
-
'host_type' => $instance['host_type'],
|
202 |
-
'src' => $external_src,
|
203 |
-
'sources' => $self_sources,
|
204 |
-
'video_type' => $external_video_type,
|
205 |
-
'is_skinnable_video_host' => $this->is_skinnable_video_host( $video_host ),
|
206 |
-
'poster' => $poster,
|
207 |
-
'autoplay' => ! empty( $instance['playback']['autoplay'] ),
|
208 |
-
'related_videos' => ! empty( $instance['playback']['related_videos'] ),
|
209 |
-
'skin_class' => 'default'
|
210 |
-
);
|
211 |
-
|
212 |
-
// Force oEmbed for this video
|
213 |
-
if ( $instance['host_type'] == 'external' && $instance['playback']['oembed'] ) {
|
214 |
-
$return['is_skinnable_video_host'] = false;
|
215 |
-
}
|
216 |
-
|
217 |
-
return $return;
|
218 |
-
}
|
219 |
-
|
220 |
-
function get_style_name( $instance ) {
|
221 |
-
// For now, we'll only use the default style
|
222 |
-
return '';
|
223 |
-
}
|
224 |
-
|
225 |
-
/**
|
226 |
-
*
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
}
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
* The preg_replace callback that adds the rel param for YouTube videos.
|
282 |
-
*
|
283 |
-
* @param $match
|
284 |
-
*
|
285 |
-
* @return mixed
|
286 |
-
*/
|
287 |
-
function remove_related_videos( $match ) {
|
288 |
-
return str_replace( $match[1], add_query_arg( 'rel', 0, $match[1] ), $match[0] );
|
289 |
-
}
|
290 |
-
|
291 |
-
/**
|
292 |
-
* Get the video host from the URL
|
293 |
-
*
|
294 |
-
* @param $video_url
|
295 |
-
*
|
296 |
-
* @return string
|
297 |
-
*/
|
298 |
-
private function get_host_from_url( $video_url ) {
|
299 |
-
preg_match( '/https?:\/\/(www.)?([A-Za-z0-9\-]+)\./', $video_url, $matches );
|
300 |
-
|
301 |
-
return ( ! empty( $matches ) && count( $matches ) > 2 ) ? $matches[2] : '';
|
302 |
-
}
|
303 |
-
|
304 |
-
/**
|
305 |
-
* Check if the current host is skinnable
|
306 |
-
*
|
307 |
-
* @param $video_host
|
308 |
-
*
|
309 |
-
* @return bool
|
310 |
-
*/
|
311 |
-
private function is_skinnable_video_host( $video_host ) {
|
312 |
-
global $wp_version;
|
313 |
-
|
314 |
-
return $video_host == 'self' || ( ( $video_host == 'youtube' || $video_host == 'vimeo' ) && $wp_version >= 4.2 );
|
315 |
-
}
|
316 |
-
|
317 |
-
/**
|
318 |
-
*
|
319 |
-
* Update older versions of widget to use multiple sources.
|
320 |
-
*
|
321 |
-
* @param $instance
|
322 |
-
*
|
323 |
-
* @return mixed
|
324 |
-
*/
|
325 |
-
function modify_instance( $instance ) {
|
326 |
-
$video_src = array();
|
327 |
-
if ( isset( $instance['video']['self_video'] ) && ! empty( $instance['video']['self_video'] ) ) {
|
328 |
-
$video_src['self_video'] = $instance['video']['self_video'];
|
329 |
-
unset( $instance['video']['self_video'] );
|
330 |
-
}
|
331 |
-
if ( isset( $instance['video']['self_video_fallback'] ) && ! empty( $instance['video']['self_video_fallback'] ) ) {
|
332 |
-
$video_src['self_video_fallback'] = $instance['video']['self_video_fallback'];
|
333 |
-
unset( $instance['video']['self_video_fallback'] );
|
334 |
-
}
|
335 |
-
if ( ! empty( $video_src ) ) {
|
336 |
-
if ( ! isset( $instance['video']['self_sources'] ) ) {
|
337 |
-
$instance['video']['self_sources'] = array();
|
338 |
-
}
|
339 |
-
$instance['video']['self_sources'][] = $video_src;
|
340 |
-
}
|
341 |
-
|
342 |
-
return $instance;
|
343 |
-
}
|
344 |
-
}
|
345 |
-
|
346 |
-
siteorigin_widget_register( 'video', __FILE__, 'SiteOrigin_Widget_Video_Widget' );
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/*
|
4 |
+
Widget Name: Video Player
|
5 |
+
Description: Play all your self or externally hosted videos in a customizable video player.
|
6 |
+
Author: SiteOrigin
|
7 |
+
Author URI: https://siteorigin.com
|
8 |
+
*/
|
9 |
+
|
10 |
+
|
11 |
+
class SiteOrigin_Widget_Video_Widget extends SiteOrigin_Widget {
|
12 |
+
|
13 |
+
function __construct() {
|
14 |
+
|
15 |
+
parent::__construct(
|
16 |
+
'sow-video',
|
17 |
+
__( 'SiteOrigin Video Player', 'so-widgets-bundle' ),
|
18 |
+
array(
|
19 |
+
'description' => __( 'A video player widget.', 'so-widgets-bundle' ),
|
20 |
+
'help' => 'http://siteorigin.com/widgets-bundle/video-widget-documentation/'
|
21 |
+
),
|
22 |
+
array(),
|
23 |
+
false,
|
24 |
+
plugin_dir_path( __FILE__ )
|
25 |
+
);
|
26 |
+
}
|
27 |
+
|
28 |
+
function get_widget_form() {
|
29 |
+
return array(
|
30 |
+
'title' => array(
|
31 |
+
'type' => 'text',
|
32 |
+
'label' => __( 'Title', 'so-widgets-bundle' )
|
33 |
+
),
|
34 |
+
'host_type' => array(
|
35 |
+
'type' => 'radio',
|
36 |
+
'label' => __( 'Video location', 'so-widgets-bundle' ),
|
37 |
+
'default' => 'self',
|
38 |
+
'options' => array(
|
39 |
+
'self' => __( 'Self hosted', 'so-widgets-bundle' ),
|
40 |
+
'external' => __( 'Externally hosted', 'so-widgets-bundle' ),
|
41 |
+
),
|
42 |
+
|
43 |
+
// This field should be a video type state emitter
|
44 |
+
'state_emitter' => array(
|
45 |
+
'callback' => 'select',
|
46 |
+
'args' => array( 'video_type' )
|
47 |
+
)
|
48 |
+
),
|
49 |
+
|
50 |
+
'video' => array(
|
51 |
+
'type' => 'section',
|
52 |
+
'label' => __( 'Video File', 'so-widgets-bundle' ),
|
53 |
+
'fields' => array(
|
54 |
+
'self_sources' => array(
|
55 |
+
'type' => 'repeater',
|
56 |
+
'label' => __( 'Sources', 'so-widgets-bundle' ),
|
57 |
+
'fields' => array(
|
58 |
+
'self_video' => array(
|
59 |
+
'type' => 'media',
|
60 |
+
'fallback' => true,
|
61 |
+
'label' => __( 'Select video', 'so-widgets-bundle' ),
|
62 |
+
'default' => '',
|
63 |
+
'library' => 'video',
|
64 |
+
),
|
65 |
+
),
|
66 |
+
'state_handler' => array(
|
67 |
+
'video_type[self]' => array( 'show' ),
|
68 |
+
'video_type[external]' => array( 'hide' ),
|
69 |
+
),
|
70 |
+
),
|
71 |
+
'self_poster' => array(
|
72 |
+
'type' => 'media',
|
73 |
+
'label' => __( 'Select cover image', 'so-widgets-bundle' ),
|
74 |
+
'default' => '',
|
75 |
+
'library' => 'image',
|
76 |
+
'state_handler' => array(
|
77 |
+
'video_type[self]' => array( 'show' ),
|
78 |
+
'video_type[external]' => array( 'hide' ),
|
79 |
+
),
|
80 |
+
),
|
81 |
+
'external_video' => array(
|
82 |
+
'type' => 'text',
|
83 |
+
'sanitize' => 'url',
|
84 |
+
'label' => __( 'Video URL', 'so-widgets-bundle' ),
|
85 |
+
'state_handler' => array(
|
86 |
+
'video_type[external]' => array( 'show' ),
|
87 |
+
'video_type[self]' => array( 'hide' ),
|
88 |
+
),
|
89 |
+
),
|
90 |
+
),
|
91 |
+
),
|
92 |
+
|
93 |
+
'playback' => array(
|
94 |
+
'type' => 'section',
|
95 |
+
'label' => __( 'Video Playback', 'so-widgets-bundle' ),
|
96 |
+
'fields' => array(
|
97 |
+
'autoplay' => array(
|
98 |
+
'type' => 'checkbox',
|
99 |
+
'default' => false,
|
100 |
+
'label' => __( 'Autoplay', 'so-widgets-bundle' )
|
101 |
+
),
|
102 |
+
'oembed' => array(
|
103 |
+
'type' => 'checkbox',
|
104 |
+
'default' => true,
|
105 |
+
'label' => __( 'Use oEmbed', 'so-widgets-bundle' ),
|
106 |
+
'description' => __( 'Always use the embedded video rather than the MediaElement player.', 'so-widgets-bundle' ),
|
107 |
+
'state_handler' => array(
|
108 |
+
'video_type[external]' => array( 'show' ),
|
109 |
+
'video_type[self]' => array( 'hide' ),
|
110 |
+
)
|
111 |
+
),
|
112 |
+
'related_videos' => array(
|
113 |
+
'type' => 'checkbox',
|
114 |
+
'default' => true,
|
115 |
+
'label' => __( 'Show related videos.', 'so-widgets-bundle' ),
|
116 |
+
'description' => __( 'If the external host supports it.', 'so-widgets-bundle' ),
|
117 |
+
'state_handler' => array(
|
118 |
+
'video_type[external]' => array( 'show' ),
|
119 |
+
'video_type[self]' => array( 'hide' ),
|
120 |
+
)
|
121 |
+
),
|
122 |
+
),
|
123 |
+
),
|
124 |
+
);
|
125 |
+
}
|
126 |
+
|
127 |
+
function enqueue_frontend_scripts( $instance ) {
|
128 |
+
$video_host = empty( $instance['host_type'] ) ? '' : $instance['host_type'];
|
129 |
+
if ( $video_host == 'external' ) {
|
130 |
+
$video_host = ! empty( $instance['video']['external_video'] ) ? $this->get_host_from_url( $instance['video']['external_video'] ) : '';
|
131 |
+
}
|
132 |
+
if ( $this->is_skinnable_video_host( $video_host ) ) {
|
133 |
+
if ( $video_host == 'vimeo' && ! wp_script_is( 'froogaloop' ) ) {
|
134 |
+
wp_enqueue_script( 'froogaloop' );
|
135 |
+
}
|
136 |
+
if ( ! wp_style_is( 'sow-html-player-responsive' ) ) {
|
137 |
+
wp_enqueue_style(
|
138 |
+
'html-player-responsive',
|
139 |
+
plugin_dir_url( __FILE__ ) . 'css/html-player-responsive.css',
|
140 |
+
array(),
|
141 |
+
SOW_BUNDLE_VERSION
|
142 |
+
);
|
143 |
+
}
|
144 |
+
if ( ! wp_style_is( 'wp-mediaelement' ) ) {
|
145 |
+
wp_enqueue_style( 'wp-mediaelement' );
|
146 |
+
}
|
147 |
+
if ( ! wp_script_is( 'so-video-widget' ) ) {
|
148 |
+
wp_enqueue_script(
|
149 |
+
'so-video-widget',
|
150 |
+
plugin_dir_url( __FILE__ ) . 'js/so-video-widget' . SOW_BUNDLE_JS_SUFFIX . '.js',
|
151 |
+
array( 'jquery', 'mediaelement' ),
|
152 |
+
SOW_BUNDLE_VERSION
|
153 |
+
);
|
154 |
+
}
|
155 |
+
}
|
156 |
+
parent::enqueue_frontend_scripts( $instance );
|
157 |
+
}
|
158 |
+
|
159 |
+
function get_template_name( $instance ) {
|
160 |
+
return 'default';
|
161 |
+
}
|
162 |
+
|
163 |
+
function get_template_variables( $instance, $args ) {
|
164 |
+
static $player_id = 1;
|
165 |
+
|
166 |
+
$self_sources = array();
|
167 |
+
$external_src = '';
|
168 |
+
$external_video_type = '';
|
169 |
+
$poster = '';
|
170 |
+
$video_host = $instance['host_type'];
|
171 |
+
if ( $video_host == 'self' ) {
|
172 |
+
|
173 |
+
if ( isset( $instance['video']['self_sources'] ) ) {
|
174 |
+
foreach ( $instance['video']['self_sources'] as $source ) {
|
175 |
+
$src = '';
|
176 |
+
$video_type = '';
|
177 |
+
if ( ! empty( $source['self_video'] ) ) {
|
178 |
+
// Handle an attachment video
|
179 |
+
$src = wp_get_attachment_url( $source['self_video'] );
|
180 |
+
$video_type = get_post_mime_type( $source['self_video'] );
|
181 |
+
} else if ( ! empty( $source['self_video_fallback'] ) ) {
|
182 |
+
// Handle an external URL video
|
183 |
+
$src = $source['self_video_fallback'];
|
184 |
+
$vid_info = wp_check_filetype( basename( $source['self_video_fallback'] ) );
|
185 |
+
$video_type = $vid_info['type'];
|
186 |
+
}
|
187 |
+
if ( ! empty( $src ) ) {
|
188 |
+
$self_sources[] = array( 'src' => $src, 'video_type' => $video_type );
|
189 |
+
}
|
190 |
+
}
|
191 |
+
}
|
192 |
+
$poster = ! empty( $instance['video']['self_poster'] ) ? wp_get_attachment_url( $instance['video']['self_poster'] ) : '';
|
193 |
+
} else {
|
194 |
+
$video_host = $this->get_host_from_url( $instance['video']['external_video'] );
|
195 |
+
$external_video_type = 'video/' . $video_host;
|
196 |
+
$external_src = ! empty( $instance['video']['external_video'] ) ? $instance['video']['external_video'] : '';
|
197 |
+
}
|
198 |
+
|
199 |
+
$return = array(
|
200 |
+
'player_id' => 'sow-player-' . ( $player_id ++ ),
|
201 |
+
'host_type' => $instance['host_type'],
|
202 |
+
'src' => $external_src,
|
203 |
+
'sources' => $self_sources,
|
204 |
+
'video_type' => $external_video_type,
|
205 |
+
'is_skinnable_video_host' => $this->is_skinnable_video_host( $video_host ),
|
206 |
+
'poster' => $poster,
|
207 |
+
'autoplay' => ! empty( $instance['playback']['autoplay'] ),
|
208 |
+
'related_videos' => ! empty( $instance['playback']['related_videos'] ),
|
209 |
+
'skin_class' => 'default'
|
210 |
+
);
|
211 |
+
|
212 |
+
// Force oEmbed for this video
|
213 |
+
if ( $instance['host_type'] == 'external' && $instance['playback']['oembed'] ) {
|
214 |
+
$return['is_skinnable_video_host'] = false;
|
215 |
+
}
|
216 |
+
|
217 |
+
return $return;
|
218 |
+
}
|
219 |
+
|
220 |
+
function get_style_name( $instance ) {
|
221 |
+
// For now, we'll only use the default style
|
222 |
+
return '';
|
223 |
+
}
|
224 |
+
|
225 |
+
/**
|
226 |
+
* Get the video host from the URL
|
227 |
+
*
|
228 |
+
* @param $video_url
|
229 |
+
*
|
230 |
+
* @return string
|
231 |
+
*/
|
232 |
+
private function get_host_from_url( $video_url ) {
|
233 |
+
preg_match( '/https?:\/\/(www.)?([A-Za-z0-9\-]+)\./', $video_url, $matches );
|
234 |
+
|
235 |
+
return ( ! empty( $matches ) && count( $matches ) > 2 ) ? $matches[2] : '';
|
236 |
+
}
|
237 |
+
|
238 |
+
/**
|
239 |
+
* Check if the current host is skinnable
|
240 |
+
*
|
241 |
+
* @param $video_host
|
242 |
+
*
|
243 |
+
* @return bool
|
244 |
+
*/
|
245 |
+
private function is_skinnable_video_host( $video_host ) {
|
246 |
+
global $wp_version;
|
247 |
+
|
248 |
+
return $video_host == 'self' || ( ( $video_host == 'youtube' || $video_host == 'vimeo' ) && $wp_version >= 4.2 );
|
249 |
+
}
|
250 |
+
|
251 |
+
/**
|
252 |
+
*
|
253 |
+
* Update older versions of widget to use multiple sources.
|
254 |
+
*
|
255 |
+
* @param $instance
|
256 |
+
*
|
257 |
+
* @return mixed
|
258 |
+
*/
|
259 |
+
function modify_instance( $instance ) {
|
260 |
+
$video_src = array();
|
261 |
+
if ( isset( $instance['video']['self_video'] ) && ! empty( $instance['video']['self_video'] ) ) {
|
262 |
+
$video_src['self_video'] = $instance['video']['self_video'];
|
263 |
+
unset( $instance['video']['self_video'] );
|
264 |
+
}
|
265 |
+
if ( isset( $instance['video']['self_video_fallback'] ) && ! empty( $instance['video']['self_video_fallback'] ) ) {
|
266 |
+
$video_src['self_video_fallback'] = $instance['video']['self_video_fallback'];
|
267 |
+
unset( $instance['video']['self_video_fallback'] );
|
268 |
+
}
|
269 |
+
if ( ! empty( $video_src ) ) {
|
270 |
+
if ( ! isset( $instance['video']['self_sources'] ) ) {
|
271 |
+
$instance['video']['self_sources'] = array();
|
272 |
+
}
|
273 |
+
$instance['video']['self_sources'][] = $video_src;
|
274 |
+
}
|
275 |
+
|
276 |
+
return $instance;
|
277 |
+
}
|
278 |
+
}
|
279 |
+
|
280 |
+
siteorigin_widget_register( 'video', __FILE__, 'SiteOrigin_Widget_Video_Widget' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|