Version Description
- 10 January 2018 =
- Hero: Add margin-top to so-widget-sow-button for spacing.
- Accordion: Added overflow to prevent Image overlap.
- Google Maps: Always register Google Maps script.
- Social Buttons: Mobile Alignment global widget settings
- Contact Form: Ability to control the width of the submit button.
- Contact Form: Add alignment options for submit button.
- Contact Form: Setting submit button gradient intensity to 0 removes gradient.
- Contact Form: Add success and error hooks.
- Accordion: Don't output widget title if not set.
- Accordion: Icon title collapse fix.
- Contact Form: Add placeholder for field type input.
- Button: Icon placement setting.
- Hero: Adjustable Paragraph text shadow.
- Hero: Add font family setting for paragraphs.
- Hero: Add link color picker.
- Slider field: allow float values and allow specifying step size.
- Contact Form: Add ability to set onclick and id for submit button.
- Features: Add ability to control responsive breakpoint.
- Global Settings: Add support for global settings added by themes.
- Beaver Builder Compat: Don't enqueue assets when all widgets are deactivated.
- Hero: Text font empty check.
- Contact Form: Preserve existing location hash when contact form is submitted.
- Post Selector: Only include current post id in exclusion if singular.
- Copy correct radio values when duplicating repeater items.
- Checkbox field: Parse string value 'false' in checkbox field sanitization.
Download this release
Release Info
Developer | gpriday |
Plugin | SiteOrigin Widgets Bundle |
Version | 1.11.3 |
Comparing to | |
See all releases |
Code changes from version 1.11.2 to 1.11.3
- admin/tpl/admin.php +1 -1
- base/inc/fields/checkbox.class.php +1 -1
- base/inc/fields/slider.class.php +14 -4
- base/inc/fields/tinymce.class.php +0 -9
- base/inc/post-selector.php +1 -1
- base/js/admin.js +7 -6
- base/js/admin.min.js +1 -1
- compat/beaver-builder/beaver-builder.php +7 -0
- widgets/google-map/js/js-map.js → js/sow.google.map.js +3 -2
- js/sow.google.map.min.js +1 -0
- lang/so-widgets-bundle.pot +327 -275
- readme.txt +41 -3
- so-widgets-bundle.php +10 -4
- widgets/accordion/js/accordion.js +5 -1
- widgets/accordion/js/accordion.min.js +1 -1
- widgets/accordion/styles/default.less +2 -0
- widgets/accordion/tpl/default.php +3 -1
- widgets/button/button.php +22 -4
- widgets/button/styles/atom.less +6 -9
- widgets/button/styles/flat.less +6 -9
- widgets/button/styles/wire.less +5 -8
- widgets/contact/contact.php +50 -12
- widgets/contact/js/contact.js +3 -0
- widgets/contact/js/contact.min.js +1 -1
- widgets/contact/styles/default.less +11 -5
- widgets/contact/tpl/default.php +5 -3
- widgets/cta/styles/default.less +15 -0
- widgets/features/features.php +20 -3
- widgets/features/styles/default.less +3 -1
- widgets/google-map/google-map.php +0 -7
- widgets/google-map/js/js-map.min.js +0 -1
- widgets/hero/hero.php +50 -17
- widgets/hero/styles/default.less +24 -5
- widgets/social-media-buttons/social-media-buttons.php +31 -6
- widgets/social-media-buttons/styles/widget-mixins.less +6 -0
- widgets/tabs/js/tabs.js +12 -23
- widgets/tabs/js/tabs.min.js +1 -1
- widgets/tabs/styles/default.less +0 -4
- widgets/testimonial/styles/default.less +36 -0
- widgets/testimonial/tpl/default.php +2 -2
admin/tpl/admin.php
CHANGED
@@ -75,7 +75,7 @@
|
|
75 |
/** @var SiteOrigin_Widget $widget_object */
|
76 |
$widget_object = !empty( $widget_objects[ $file ] ) ? $widget_objects[ $file ] : false;
|
77 |
if( !empty( $widget_object ) && $widget_object->has_form( 'settings' ) ) {
|
78 |
-
$rel_path = str_replace( wp_normalize_path(
|
79 |
|
80 |
$form_url = add_query_arg( array(
|
81 |
'id' => $rel_path,
|
75 |
/** @var SiteOrigin_Widget $widget_object */
|
76 |
$widget_object = !empty( $widget_objects[ $file ] ) ? $widget_objects[ $file ] : false;
|
77 |
if( !empty( $widget_object ) && $widget_object->has_form( 'settings' ) ) {
|
78 |
+
$rel_path = str_replace( wp_normalize_path( WP_CONTENT_DIR ), '', $file );
|
79 |
|
80 |
$form_url = add_query_arg( array(
|
81 |
'id' => $rel_path,
|
base/inc/fields/checkbox.class.php
CHANGED
@@ -20,7 +20,7 @@ class SiteOrigin_Widget_Field_Checkbox extends SiteOrigin_Widget_Field_Base {
|
|
20 |
}
|
21 |
|
22 |
protected function sanitize_field_input( $value, $instance ) {
|
23 |
-
return ! empty( $value );
|
24 |
}
|
25 |
|
26 |
}
|
20 |
}
|
21 |
|
22 |
protected function sanitize_field_input( $value, $instance ) {
|
23 |
+
return ! empty( $value ) && ! ( is_string( $value ) && $value === 'false' );
|
24 |
}
|
25 |
|
26 |
}
|
base/inc/fields/slider.class.php
CHANGED
@@ -9,17 +9,26 @@ class SiteOrigin_Widget_Field_Slider extends SiteOrigin_Widget_Field_Base {
|
|
9 |
* The minimum value of the allowed range.
|
10 |
*
|
11 |
* @access protected
|
12 |
-
* @var
|
13 |
*/
|
14 |
protected $min;
|
|
|
15 |
/**
|
16 |
* The maximum value of the allowed range.
|
17 |
*
|
18 |
* @access protected
|
19 |
-
* @var
|
20 |
*/
|
21 |
protected $max;
|
22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
protected function render_field( $value, $instance ) {
|
24 |
?>
|
25 |
<div class="siteorigin-widget-slider-value"><?php echo ! empty( $value ) ? esc_html( $value ) : 0 ?></div>
|
@@ -28,8 +37,9 @@ class SiteOrigin_Widget_Field_Slider extends SiteOrigin_Widget_Field_Base {
|
|
28 |
</div>
|
29 |
<input type="number" class="siteorigin-widget-input" name="<?php echo esc_attr( $this->element_name ) ?>" id="<?php echo esc_attr( $this->element_id ) ?>"
|
30 |
value="<?php echo !empty( $value ) ? esc_attr( $value ) : 0 ?>"
|
31 |
-
min="<?php echo isset( $this->min ) ?
|
32 |
-
max="<?php echo isset( $this->max ) ?
|
|
|
33 |
<?php
|
34 |
}
|
35 |
|
9 |
* The minimum value of the allowed range.
|
10 |
*
|
11 |
* @access protected
|
12 |
+
* @var float
|
13 |
*/
|
14 |
protected $min;
|
15 |
+
|
16 |
/**
|
17 |
* The maximum value of the allowed range.
|
18 |
*
|
19 |
* @access protected
|
20 |
+
* @var float
|
21 |
*/
|
22 |
protected $max;
|
23 |
|
24 |
+
/**
|
25 |
+
* The step size when moving in the range.
|
26 |
+
*
|
27 |
+
* @access protected
|
28 |
+
* @var float
|
29 |
+
*/
|
30 |
+
protected $step;
|
31 |
+
|
32 |
protected function render_field( $value, $instance ) {
|
33 |
?>
|
34 |
<div class="siteorigin-widget-slider-value"><?php echo ! empty( $value ) ? esc_html( $value ) : 0 ?></div>
|
37 |
</div>
|
38 |
<input type="number" class="siteorigin-widget-input" name="<?php echo esc_attr( $this->element_name ) ?>" id="<?php echo esc_attr( $this->element_id ) ?>"
|
39 |
value="<?php echo !empty( $value ) ? esc_attr( $value ) : 0 ?>"
|
40 |
+
min="<?php echo isset( $this->min ) ? floatval( $this->min ) : 0 ?>"
|
41 |
+
max="<?php echo isset( $this->max ) ? floatval( $this->max ) : 100 ?>"
|
42 |
+
step="<?php echo isset( $this->step ) ? floatval( $this->step ) : 1 ?>"/>
|
43 |
<?php
|
44 |
}
|
45 |
|
base/inc/fields/tinymce.class.php
CHANGED
@@ -516,16 +516,7 @@ class SiteOrigin_Widget_Field_TinyMCE extends SiteOrigin_Widget_Field_Text_Input
|
|
516 |
|
517 |
echo '<div id="wp-' . esc_attr( $editor_id ) . '-media-buttons" class="wp-media-buttons">';
|
518 |
|
519 |
-
$screen = function_exists( 'get_current_screen' ) ? get_current_screen() : null;
|
520 |
-
// Temporarily disable the Jetpack Grunion contact form editor on the widgets screen.
|
521 |
-
if( ! is_null( $screen ) && $screen->id == 'widgets' ) {
|
522 |
-
remove_action( 'media_buttons', 'grunion_media_button', 999 );
|
523 |
-
}
|
524 |
do_action( 'media_buttons', $editor_id );
|
525 |
-
// Temporarily disable the Jetpack Grunion contact form editor on the widgets screen.
|
526 |
-
if( ! is_null( $screen ) && $screen->id == 'widgets' ) {
|
527 |
-
add_action( 'media_buttons', 'grunion_media_button', 999 );
|
528 |
-
}
|
529 |
|
530 |
echo "</div>\n";
|
531 |
|
516 |
|
517 |
echo '<div id="wp-' . esc_attr( $editor_id ) . '-media-buttons" class="wp-media-buttons">';
|
518 |
|
|
|
|
|
|
|
|
|
|
|
519 |
do_action( 'media_buttons', $editor_id );
|
|
|
|
|
|
|
|
|
520 |
|
521 |
echo "</div>\n";
|
522 |
|
base/inc/post-selector.php
CHANGED
@@ -88,7 +88,7 @@ function siteorigin_widget_post_selector_process_query( $query ){
|
|
88 |
}
|
89 |
|
90 |
// Exclude the current post (if applicable) to avoid any issues associated with showing the same post again
|
91 |
-
if( get_the_id() != false ){
|
92 |
$query['post__not_in'][] = get_the_id();
|
93 |
}
|
94 |
|
88 |
}
|
89 |
|
90 |
// Exclude the current post (if applicable) to avoid any issues associated with showing the same post again
|
91 |
+
if( is_singular() && get_the_id() != false ){
|
92 |
$query['post__not_in'][] = get_the_id();
|
93 |
}
|
94 |
|
base/js/admin.js
CHANGED
@@ -277,11 +277,12 @@ var sowbForms = window.sowbForms || {};
|
|
277 |
var $c = $$.find('.siteorigin-widget-value-slider');
|
278 |
|
279 |
$c.slider({
|
280 |
-
max:
|
281 |
-
min:
|
282 |
-
|
|
|
283 |
slide: function (event, ui) {
|
284 |
-
$input.val(
|
285 |
$input.trigger( 'change' );
|
286 |
},
|
287 |
change: function( event, ui ) {
|
@@ -290,7 +291,7 @@ var sowbForms = window.sowbForms || {};
|
|
290 |
});
|
291 |
$input.change(function(event, data) {
|
292 |
if ( ! ( data && data.silent ) ) {
|
293 |
-
$c.slider( 'value',
|
294 |
}
|
295 |
});
|
296 |
});
|
@@ -772,7 +773,7 @@ var sowbForms = window.sowbForms || {};
|
|
772 |
$soWidgetField.append($inputElement.remove());
|
773 |
}
|
774 |
else {
|
775 |
-
var $originalInput = $item.find('[name="' + nm + '"]');
|
776 |
if ($originalInput.length && $originalInput.val() != null) {
|
777 |
$inputElement.val($originalInput.val());
|
778 |
}
|
277 |
var $c = $$.find('.siteorigin-widget-value-slider');
|
278 |
|
279 |
$c.slider({
|
280 |
+
max: parseFloat($input.attr('max')),
|
281 |
+
min: parseFloat($input.attr('min')),
|
282 |
+
step: parseFloat($input.attr('step')),
|
283 |
+
value: parseFloat($input.val()),
|
284 |
slide: function (event, ui) {
|
285 |
+
$input.val( parseFloat( ui.value ) );
|
286 |
$input.trigger( 'change' );
|
287 |
},
|
288 |
change: function( event, ui ) {
|
291 |
});
|
292 |
$input.change(function(event, data) {
|
293 |
if ( ! ( data && data.silent ) ) {
|
294 |
+
$c.slider( 'value', parseFloat( $input.val() ) );
|
295 |
}
|
296 |
});
|
297 |
});
|
773 |
$soWidgetField.append($inputElement.remove());
|
774 |
}
|
775 |
else {
|
776 |
+
var $originalInput = id ? $item.find( '#' + id ) : $item.find('[name="' + nm + '"]');
|
777 |
if ($originalInput.length && $originalInput.val() != null) {
|
778 |
$inputElement.val($originalInput.val());
|
779 |
}
|
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,f,g,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 k in n)if(f=!1,null!==(s=k.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="",f=o.group===t&&void 0===c[o.group];else{g=o.name.split(",").map(function(e){return e.trim()});for(var F=0;F<g.length&&!(f=o.group===t&&g[F]===r);F++);}if(f){d=n[k],o.multi||(d=[d]);for(var F=0;F<d.length;F++)l=void 0!==d[F][1]&&Boolean(d[F][1])?i.find(d[F][1]):i,l[d[F][0]].apply(l,void 0!==d[F][2]?d[F][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(),f=n.find("> .siteorigin-widgets-form-timestamp"),g=parseInt(f.val()||0),c=JSON.parse(sessionStorage.getItem(l));if(c)if(c._sow_form_timestamp>g){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(){f.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:parseInt(t.attr("max")),min:parseInt(t.attr("min")),value:parseInt(t.val()),slide:function(e,i){t.val(parseInt(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",parseInt(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(){e(this).find(".siteorigin-widget-input").on("keyup change",v),e(this).find(".siteorigin-widget-input").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")},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")}}}),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()})})},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.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 r=e(this).closest(".siteorigin-widget-field-repeater-items"),n=e(this).closest(".siteorigin-widget-field-repeater-item"),a=function(){n.remove(),r.sortable("refresh").trigger("updateFieldPositions"),e(window).resize()};t&&t.silent?a():confirm(soWidgets.sure)&&n.slideUp("fast",a)}),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 f=tinymce.get(s);f&&i.val(f.getContent())}else if(i.is(".wp-color-picker")){var g=i.closest(".wp-picker-container"),c=i.closest(".siteorigin-widget-field");g.remove(),c.append(i.remove())}else{var p=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,k=e("body");(k.hasClass("wp-customizer")||k.hasClass("widgets-php"))&&0===r.closest(".panel-dialog").length&&(y+=1);var F=l.replace(new RegExp("((?:.*?\\[\\d+\\]){"+(y-1).toString()+"})?(.*?\\[)\\d+(\\])"),"$1$2"+o.toString()+"$3");i.attr("name",F),i.data("original-name",F)}),s.append(a).sortable("refresh").trigger("updateFieldPositions"),a.sowSetupRepeaterItems(),a.hide().slideDown("fast",function(){e(window).resize()})}),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("TEXTAREA"===i.prop("tagName")&&i.hasClass("wp-editor-area")){var d=null;"undefined"!=typeof tinyMCE&&(d=tinyMCE.get(i.attr("id"))),s=null===d||"function"!=typeof d.getContent||d.isHidden()?i.val():d.getContent()}else if("SELECT"===i.prop("tagName")){var l=i.find("option:selected");1===l.length?s=i.find("option:selected").val():l.length>1&&(s=_.map(i.find("option:selected"),function(i,t){return e(i).val()}))}else s=i.val();for(var f=0;f<n.length;f++)f===n.length-1?""===n[f]?a.push(s):a[n[f]]=s:(_.isUndefined(a[n[f]])&&(_.isNumber(n[f+1])||""===n[f+1]?a[n[f]]=[]:a[n[f]]={}),a=a[n[f]])}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 f=0;f<d-l;f++)i.find("> .siteorigin-widget-field-repeater-add").click();else if(!r&&d<l)for(var g=d;g<l;g++){var c=e(o.eq(g));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,f,g,p={},c=sowbForms.getContainerFieldId(i,"repeater",".siteorigin-widget-field-repeater-item");if(!1!==c){var u={};for(var m in n)u[m.replace("{$repeater}",c)]=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(f=!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="",f=o.group===t&&void 0===p[o.group];else{g=o.name.split(",").map(function(e){return e.trim()});for(var k=0;k<g.length&&!(f=o.group===t&&g[k]===r);k++);}if(f){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]:[]);p[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(),f=n.find("> .siteorigin-widgets-form-timestamp"),g=parseInt(f.val()||0),p=JSON.parse(sessionStorage.getItem(l));if(p)if(p._sow_form_timestamp>g){var c=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(c),c.find(".so-backup-restore").click(function(){sowbForms.setWidgetFormValues(r,p),c.slideUp("fast",function(){c.remove()})}),c.find(".so-backup-dismiss").click(function(){c.slideUp("fast",function(){sessionStorage.removeItem(l),c.remove()})})}else sessionStorage.removeItem(l);n.change(function(){f.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(){e(this).find(".siteorigin-widget-input").on("keyup change",v),e(this).find(".siteorigin-widget-input").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")},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")}}}),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()})})},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.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 r=e(this).closest(".siteorigin-widget-field-repeater-items"),n=e(this).closest(".siteorigin-widget-field-repeater-item"),a=function(){n.remove(),r.sortable("refresh").trigger("updateFieldPositions"),e(window).resize()};t&&t.silent?a():confirm(soWidgets.sure)&&n.slideUp("fast",a)}),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 f=tinymce.get(s);f&&i.val(f.getContent())}else if(i.is(".wp-color-picker")){var g=i.closest(".wp-picker-container"),p=i.closest(".siteorigin-widget-field");g.remove(),p.append(i.remove())}else{var c=s?n.find("#"+s):n.find('[name="'+l+'"]');c.length&&null!=c.val()&&i.val(c.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.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("TEXTAREA"===i.prop("tagName")&&i.hasClass("wp-editor-area")){var d=null;"undefined"!=typeof tinyMCE&&(d=tinyMCE.get(i.attr("id"))),s=null===d||"function"!=typeof d.getContent||d.isHidden()?i.val():d.getContent()}else if("SELECT"===i.prop("tagName")){var l=i.find("option:selected");1===l.length?s=i.find("option:selected").val():l.length>1&&(s=_.map(i.find("option:selected"),function(i,t){return e(i).val()}))}else s=i.val();for(var f=0;f<n.length;f++)f===n.length-1?""===n[f]?a.push(s):a[n[f]]=s:(_.isUndefined(a[n[f]])&&(_.isNumber(n[f+1])||""===n[f+1]?a[n[f]]=[]:a[n[f]]={}),a=a[n[f]])}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 f=0;f<d-l;f++)i.find("> .siteorigin-widget-field-repeater-add").click();else if(!r&&d<l)for(var g=d;g<l;g++){var p=e(o.eq(g));p.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 c=0;c<o.length;c++)o.eq(c).find("> .siteorigin-widget-field-repeater-item-form"),a(o.eq(c).find("> .siteorigin-widget-field-repeater-item-form"),s[c])}})};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;
|
compat/beaver-builder/beaver-builder.php
CHANGED
@@ -32,14 +32,21 @@ class SiteOrigin_Widgets_Bundle_Beaver_Builder {
|
|
32 |
global $wp_widget_factory;
|
33 |
|
34 |
// Beaver Builder does it's editing in the front end so enqueue required form scripts for active widgets.
|
|
|
35 |
foreach ( $wp_widget_factory->widgets as $class => $widget_obj ) {
|
36 |
if ( ! empty( $widget_obj ) && is_object( $widget_obj ) && is_subclass_of( $widget_obj, 'SiteOrigin_Widget' ) ) {
|
|
|
37 |
ob_start();
|
38 |
$widget_obj->form( array() );
|
39 |
ob_clean();
|
40 |
}
|
41 |
}
|
42 |
|
|
|
|
|
|
|
|
|
|
|
43 |
if ( ! wp_script_is( 'wp-color-picker' ) ) {
|
44 |
// wp-color-picker hasn't been registered because we're in the front end, so enqueue with full args.
|
45 |
wp_enqueue_script( 'iris', '/wp-admin/js/iris.min.js', array(
|
32 |
global $wp_widget_factory;
|
33 |
|
34 |
// Beaver Builder does it's editing in the front end so enqueue required form scripts for active widgets.
|
35 |
+
$any_widgets_active = false;
|
36 |
foreach ( $wp_widget_factory->widgets as $class => $widget_obj ) {
|
37 |
if ( ! empty( $widget_obj ) && is_object( $widget_obj ) && is_subclass_of( $widget_obj, 'SiteOrigin_Widget' ) ) {
|
38 |
+
$any_widgets_active = true;
|
39 |
ob_start();
|
40 |
$widget_obj->form( array() );
|
41 |
ob_clean();
|
42 |
}
|
43 |
}
|
44 |
|
45 |
+
// No widgets active. :/ Let's get outta here.
|
46 |
+
if ( ! $any_widgets_active ) {
|
47 |
+
return;
|
48 |
+
}
|
49 |
+
|
50 |
if ( ! wp_script_is( 'wp-color-picker' ) ) {
|
51 |
// wp-color-picker hasn't been registered because we're in the front end, so enqueue with full args.
|
52 |
wp_enqueue_script( 'iris', '/wp-admin/js/iris.min.js', array(
|
widgets/google-map/js/js-map.js → js/sow.google.map.js
RENAMED
@@ -70,7 +70,7 @@ sowb.SiteOriginGoogleMap = function($) {
|
|
70 |
this.linkAutocompleteField(options.autocomplete, options.autocompleteElement, map, options);
|
71 |
this.showMarkers(options.markerPositions, map, options);
|
72 |
this.showDirections(options.directions, map, options);
|
73 |
-
|
74 |
// If the Google Maps element is hidden it won't display properly. This is an attempt to make it display by
|
75 |
// calling resize when a custom 'show' event is fired. The 'show' event is something we fire in a few widgets
|
76 |
// like Accordion and Tabs and in future any widgets which might show and hide content using `display:none;`.
|
@@ -78,9 +78,10 @@ sowb.SiteOriginGoogleMap = function($) {
|
|
78 |
var $visParent = $( element ).closest( ':visible' );
|
79 |
$visParent.find( '> :hidden' ).on( 'show', function () {
|
80 |
google.maps.event.trigger(map, 'resize');
|
|
|
81 |
} );
|
82 |
}
|
83 |
-
|
84 |
},
|
85 |
|
86 |
linkAutocompleteField: function (autocomplete, autocompleteElement, map, options) {
|
70 |
this.linkAutocompleteField(options.autocomplete, options.autocompleteElement, map, options);
|
71 |
this.showMarkers(options.markerPositions, map, options);
|
72 |
this.showDirections(options.directions, map, options);
|
73 |
+
|
74 |
// If the Google Maps element is hidden it won't display properly. This is an attempt to make it display by
|
75 |
// calling resize when a custom 'show' event is fired. The 'show' event is something we fire in a few widgets
|
76 |
// like Accordion and Tabs and in future any widgets which might show and hide content using `display:none;`.
|
78 |
var $visParent = $( element ).closest( ':visible' );
|
79 |
$visParent.find( '> :hidden' ).on( 'show', function () {
|
80 |
google.maps.event.trigger(map, 'resize');
|
81 |
+
map.setCenter(location);
|
82 |
} );
|
83 |
}
|
84 |
+
|
85 |
},
|
86 |
|
87 |
linkAutocompleteField: function (autocomplete, autocompleteElement, map, options) {
|
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(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,"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;
|
lang/so-widgets-bundle.pot
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
# Copyright (C)
|
2 |
# This file is distributed under the same license as the so-widgets-bundle package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
@@ -7,7 +7,7 @@ msgstr ""
|
|
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:
|
11 |
"Last-Translator: SiteOrigin <support@siteorigin.com>\n"
|
12 |
"Language-Team: SiteOrigin <support@siteorigin.com>\n"
|
13 |
"X-Poedit-Basepath: ..\n"
|
@@ -25,7 +25,7 @@ msgstr ""
|
|
25 |
msgid "Filter Widgets"
|
26 |
msgstr ""
|
27 |
|
28 |
-
#: tmp/admin/tpl/admin.php:17, tmp/base/inc/fields/posts.class.php:12, tmp/widgets/google-map/google-map.php:
|
29 |
msgid "All"
|
30 |
msgstr ""
|
31 |
|
@@ -49,7 +49,7 @@ msgstr ""
|
|
49 |
msgid "Deactivate"
|
50 |
msgstr ""
|
51 |
|
52 |
-
#: tmp/admin/tpl/admin.php:90, tmp/widgets/contact/contact.php:58, tmp/widgets/google-map/google-map.php:
|
53 |
msgid "Settings"
|
54 |
msgstr ""
|
55 |
|
@@ -117,7 +117,7 @@ msgstr ""
|
|
117 |
msgid "SiteOrigin Page Builder"
|
118 |
msgstr ""
|
119 |
|
120 |
-
#: tmp/base/inc/fields/date-range.class.php:31, tmp/base/inc/fields/date-range.class.php:45, tmp/widgets/contact/contact.php:
|
121 |
msgid "From"
|
122 |
msgstr ""
|
123 |
|
@@ -297,7 +297,7 @@ msgstr ""
|
|
297 |
msgid "Author"
|
298 |
msgstr ""
|
299 |
|
300 |
-
#: tmp/base/inc/fields/posts.class.php:82, tmp/widgets/accordion/accordion.php:46, tmp/widgets/accordion/accordion.php:59, tmp/widgets/contact/contact.php:47, tmp/widgets/cta/cta.php:63, tmp/widgets/editor/editor.php:32, tmp/widgets/features/features.php:132, tmp/widgets/post-carousel/post-carousel.php:97, tmp/widgets/price-table/price-table.php:41, tmp/widgets/price-table/price-table.php:60, tmp/widgets/simple-masonry/simple-masonry.php:43, tmp/widgets/simple-masonry/simple-masonry.php:74, tmp/widgets/social-media-buttons/social-media-buttons.php:
|
301 |
msgid "Title"
|
302 |
msgstr ""
|
303 |
|
@@ -357,7 +357,7 @@ msgstr ""
|
|
357 |
msgid "Sticky posts"
|
358 |
msgstr ""
|
359 |
|
360 |
-
#: tmp/base/inc/fields/posts.class.php:115, tmp/compat/beaver-builder/beaver-builder.php:
|
361 |
msgid "Default"
|
362 |
msgstr ""
|
363 |
|
@@ -445,7 +445,7 @@ msgstr ""
|
|
445 |
msgid "Thin"
|
446 |
msgstr ""
|
447 |
|
448 |
-
#: tmp/base/inc/widgets/base-slider.class.php:79, tmp/widgets/button/button.php:
|
449 |
msgid "Medium"
|
450 |
msgstr ""
|
451 |
|
@@ -537,15 +537,15 @@ msgstr ""
|
|
537 |
msgid "Clicking %s will replace the current widget contents. You can revert by refreshing the page before updating."
|
538 |
msgstr ""
|
539 |
|
540 |
-
#: tmp/compat/beaver-builder/beaver-builder.php:
|
541 |
msgid "Clear"
|
542 |
msgstr ""
|
543 |
|
544 |
-
#: tmp/compat/beaver-builder/beaver-builder.php:
|
545 |
msgid "Select Color"
|
546 |
msgstr ""
|
547 |
|
548 |
-
#: tmp/compat/beaver-builder/beaver-builder.php:
|
549 |
msgid "Current Color"
|
550 |
msgstr ""
|
551 |
|
@@ -661,7 +661,7 @@ msgstr ""
|
|
661 |
msgid "Closed"
|
662 |
msgstr ""
|
663 |
|
664 |
-
#: tmp/widgets/accordion/accordion.php:79, tmp/widgets/contact/contact.php:
|
665 |
msgid "Design"
|
666 |
msgstr ""
|
667 |
|
@@ -669,7 +669,7 @@ msgstr ""
|
|
669 |
msgid "Headings"
|
670 |
msgstr ""
|
671 |
|
672 |
-
#: tmp/widgets/accordion/accordion.php:89, tmp/widgets/accordion/accordion.php:127, tmp/widgets/contact/contact.php:
|
673 |
msgid "Background color"
|
674 |
msgstr ""
|
675 |
|
@@ -685,7 +685,7 @@ msgstr ""
|
|
685 |
msgid "Title hover color"
|
686 |
msgstr ""
|
687 |
|
688 |
-
#: tmp/widgets/accordion/accordion.php:108, tmp/widgets/accordion/accordion.php:136, tmp/widgets/contact/contact.php:
|
689 |
msgid "Border color"
|
690 |
msgstr ""
|
691 |
|
@@ -693,7 +693,7 @@ msgstr ""
|
|
693 |
msgid "Border hover color"
|
694 |
msgstr ""
|
695 |
|
696 |
-
#: tmp/widgets/accordion/accordion.php:116, tmp/widgets/accordion/accordion.php:140, tmp/widgets/contact/contact.php:
|
697 |
msgid "Border width"
|
698 |
msgstr ""
|
699 |
|
@@ -721,11 +721,11 @@ msgstr ""
|
|
721 |
msgid "Button text"
|
722 |
msgstr ""
|
723 |
|
724 |
-
#: tmp/widgets/button/button.php:50, tmp/widgets/google-map/google-map.php:
|
725 |
msgid "Destination URL"
|
726 |
msgstr ""
|
727 |
|
728 |
-
#: tmp/widgets/button/button.php:56, tmp/widgets/google-map/google-map.php:
|
729 |
msgid "Open in a new window"
|
730 |
msgstr ""
|
731 |
|
@@ -733,7 +733,7 @@ msgstr ""
|
|
733 |
msgid "Icon"
|
734 |
msgstr ""
|
735 |
|
736 |
-
#: tmp/widgets/button/button.php:70, tmp/widgets/features/features.php:85, tmp/widgets/price-table/price-table.php:122, tmp/widgets/social-media-buttons/social-media-buttons.php:
|
737 |
msgid "Icon color"
|
738 |
msgstr ""
|
739 |
|
@@ -745,163 +745,175 @@ msgstr ""
|
|
745 |
msgid "Replaces the icon with your own image icon."
|
746 |
msgstr ""
|
747 |
|
748 |
-
#: tmp/widgets/button/button.php:
|
749 |
-
msgid "
|
750 |
msgstr ""
|
751 |
|
752 |
-
#: tmp/widgets/button/button.php:
|
753 |
-
msgid "
|
754 |
msgstr ""
|
755 |
|
756 |
-
#: tmp/widgets/button/button.php:
|
757 |
-
msgid "
|
758 |
msgstr ""
|
759 |
|
760 |
-
#: tmp/widgets/button/button.php:
|
761 |
-
msgid "
|
762 |
msgstr ""
|
763 |
|
764 |
-
#: tmp/widgets/button/button.php:
|
765 |
msgid "Left"
|
766 |
msgstr ""
|
767 |
|
768 |
-
#: tmp/widgets/button/button.php:
|
769 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
770 |
msgstr ""
|
771 |
|
772 |
-
#: tmp/widgets/button/button.php:
|
773 |
msgid "Center"
|
774 |
msgstr ""
|
775 |
|
776 |
-
#: tmp/widgets/button/button.php:
|
777 |
msgid "Justify"
|
778 |
msgstr ""
|
779 |
|
780 |
-
#: tmp/widgets/button/button.php:
|
781 |
msgid "Button theme"
|
782 |
msgstr ""
|
783 |
|
784 |
-
#: tmp/widgets/button/button.php:
|
785 |
msgid "Atom"
|
786 |
msgstr ""
|
787 |
|
788 |
-
#: tmp/widgets/button/button.php:
|
789 |
msgid "Flat"
|
790 |
msgstr ""
|
791 |
|
792 |
-
#: tmp/widgets/button/button.php:
|
793 |
msgid "Wire"
|
794 |
msgstr ""
|
795 |
|
796 |
-
#: tmp/widgets/button/button.php:
|
797 |
msgid "Button color"
|
798 |
msgstr ""
|
799 |
|
800 |
-
#: tmp/widgets/button/button.php:
|
801 |
msgid "Text color"
|
802 |
msgstr ""
|
803 |
|
804 |
-
#: tmp/widgets/button/button.php:
|
805 |
msgid "Use hover effects"
|
806 |
msgstr ""
|
807 |
|
808 |
-
#: tmp/widgets/button/button.php:
|
809 |
msgid "Font"
|
810 |
msgstr ""
|
811 |
|
812 |
-
#: tmp/widgets/button/button.php:
|
813 |
msgid "Font size"
|
814 |
msgstr ""
|
815 |
|
816 |
-
#: tmp/widgets/button/button.php:
|
817 |
msgid "Normal"
|
818 |
msgstr ""
|
819 |
|
820 |
-
#: tmp/widgets/button/button.php:
|
821 |
msgid "Large"
|
822 |
msgstr ""
|
823 |
|
824 |
-
#: tmp/widgets/button/button.php:
|
825 |
msgid "Extra large"
|
826 |
msgstr ""
|
827 |
|
828 |
-
#: tmp/widgets/button/button.php:
|
829 |
msgid "Rounding"
|
830 |
msgstr ""
|
831 |
|
832 |
-
#: tmp/widgets/button/button.php:
|
833 |
msgid "None"
|
834 |
msgstr ""
|
835 |
|
836 |
-
#: tmp/widgets/button/button.php:
|
837 |
msgid "Slightly rounded"
|
838 |
msgstr ""
|
839 |
|
840 |
-
#: tmp/widgets/button/button.php:
|
841 |
msgid "Very rounded"
|
842 |
msgstr ""
|
843 |
|
844 |
-
#: tmp/widgets/button/button.php:
|
845 |
msgid "Completely rounded"
|
846 |
msgstr ""
|
847 |
|
848 |
-
#: tmp/widgets/button/button.php:
|
849 |
msgid "Padding"
|
850 |
msgstr ""
|
851 |
|
852 |
-
#: tmp/widgets/button/button.php:
|
853 |
msgid "Low"
|
854 |
msgstr ""
|
855 |
|
856 |
-
#: tmp/widgets/button/button.php:
|
857 |
msgid "High"
|
858 |
msgstr ""
|
859 |
|
860 |
-
#: tmp/widgets/button/button.php:
|
861 |
msgid "Very high"
|
862 |
msgstr ""
|
863 |
|
864 |
-
#: tmp/widgets/button/button.php:
|
865 |
msgid "Other attributes and SEO"
|
866 |
msgstr ""
|
867 |
|
868 |
-
#: tmp/widgets/button/button.php:
|
869 |
msgid "Button ID"
|
870 |
msgstr ""
|
871 |
|
872 |
-
#: tmp/widgets/button/button.php:
|
873 |
msgid "An ID attribute allows you to target this button in Javascript."
|
874 |
msgstr ""
|
875 |
|
876 |
-
#: tmp/widgets/button/button.php:
|
877 |
msgid "Button Classes"
|
878 |
msgstr ""
|
879 |
|
880 |
-
#: tmp/widgets/button/button.php:
|
881 |
msgid "Additional CSS classes added to the button link."
|
882 |
msgstr ""
|
883 |
|
884 |
-
#: tmp/widgets/button/button.php:
|
885 |
msgid "Title attribute"
|
886 |
msgstr ""
|
887 |
|
888 |
-
#: tmp/widgets/button/button.php:
|
889 |
msgid "Adds a title attribute to the button link."
|
890 |
msgstr ""
|
891 |
|
892 |
-
#: tmp/widgets/button/button.php:
|
893 |
msgid "Onclick"
|
894 |
msgstr ""
|
895 |
|
896 |
-
#: tmp/widgets/button/button.php:
|
897 |
msgid "Run this Javascript when the button is clicked. Ideal for tracking."
|
898 |
msgstr ""
|
899 |
|
900 |
-
#: tmp/widgets/button/button.php:
|
901 |
msgid "Rel attribute"
|
902 |
msgstr ""
|
903 |
|
904 |
-
#: tmp/widgets/button/button.php:
|
905 |
msgid "Adds a rel attribute to the button link."
|
906 |
msgstr ""
|
907 |
|
@@ -969,415 +981,427 @@ msgstr ""
|
|
969 |
msgid "Submit button text"
|
970 |
msgstr ""
|
971 |
|
972 |
-
#: tmp/widgets/contact/contact.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
973 |
msgid "Indicate required fields with asterisk (*)"
|
974 |
msgstr ""
|
975 |
|
976 |
-
#: tmp/widgets/contact/contact.php:
|
977 |
msgid "Required field indicator message"
|
978 |
msgstr ""
|
979 |
|
980 |
-
#: tmp/widgets/contact/contact.php:
|
981 |
msgid "Fields marked with * are required"
|
982 |
msgstr ""
|
983 |
|
984 |
-
#: tmp/widgets/contact/contact.php:
|
985 |
msgid "Fields"
|
986 |
msgstr ""
|
987 |
|
988 |
-
#: tmp/widgets/contact/contact.php:
|
989 |
msgid "Field"
|
990 |
msgstr ""
|
991 |
|
992 |
-
#: tmp/widgets/contact/contact.php:
|
993 |
msgid "Field Type"
|
994 |
msgstr ""
|
995 |
|
996 |
-
#: tmp/widgets/contact/contact.php:
|
|
|
|
|
|
|
|
|
997 |
msgid "Name"
|
998 |
msgstr ""
|
999 |
|
1000 |
-
#: tmp/widgets/contact/contact.php:
|
1001 |
msgid "Email"
|
1002 |
msgstr ""
|
1003 |
|
1004 |
-
#: tmp/widgets/contact/contact.php:
|
1005 |
msgid "Subject"
|
1006 |
msgstr ""
|
1007 |
|
1008 |
-
#: tmp/widgets/contact/contact.php:
|
1009 |
msgid "Text"
|
1010 |
msgstr ""
|
1011 |
|
1012 |
-
#: tmp/widgets/contact/contact.php:
|
1013 |
msgid "Text Area"
|
1014 |
msgstr ""
|
1015 |
|
1016 |
-
#: tmp/widgets/contact/contact.php:
|
1017 |
msgid "Dropdown Select"
|
1018 |
msgstr ""
|
1019 |
|
1020 |
-
#: tmp/widgets/contact/contact.php:
|
1021 |
msgid "Checkboxes"
|
1022 |
msgstr ""
|
1023 |
|
1024 |
-
#: tmp/widgets/contact/contact.php:
|
1025 |
msgid "Radio"
|
1026 |
msgstr ""
|
1027 |
|
1028 |
-
#: tmp/widgets/contact/contact.php:
|
1029 |
msgid "Label"
|
1030 |
msgstr ""
|
1031 |
|
1032 |
-
#: tmp/widgets/contact/contact.php:
|
1033 |
msgid "Description"
|
1034 |
msgstr ""
|
1035 |
|
1036 |
-
#: tmp/widgets/contact/contact.php:
|
1037 |
msgid "This text will appear small beneath the input field."
|
1038 |
msgstr ""
|
1039 |
|
1040 |
-
#: tmp/widgets/contact/contact.php:
|
1041 |
msgid "Required Field"
|
1042 |
msgstr ""
|
1043 |
|
1044 |
-
#: tmp/widgets/contact/contact.php:
|
1045 |
msgid "Required field"
|
1046 |
msgstr ""
|
1047 |
|
1048 |
-
#: tmp/widgets/contact/contact.php:
|
1049 |
msgid "Is this field required?"
|
1050 |
msgstr ""
|
1051 |
|
1052 |
-
#: tmp/widgets/contact/contact.php:
|
1053 |
msgid "Missing message"
|
1054 |
msgstr ""
|
1055 |
|
1056 |
-
#: tmp/widgets/contact/contact.php:
|
1057 |
msgid "Error message to display if this field is missing."
|
1058 |
msgstr ""
|
1059 |
|
1060 |
-
#: tmp/widgets/contact/contact.php:
|
1061 |
msgid "Options"
|
1062 |
msgstr ""
|
1063 |
|
1064 |
-
#: tmp/widgets/contact/contact.php:
|
1065 |
msgid "Option"
|
1066 |
msgstr ""
|
1067 |
|
1068 |
-
#: tmp/widgets/contact/contact.php:
|
1069 |
msgid "Value"
|
1070 |
msgstr ""
|
1071 |
|
1072 |
-
#: tmp/widgets/contact/contact.php:
|
1073 |
msgid "Spam Protection"
|
1074 |
msgstr ""
|
1075 |
|
1076 |
-
#: tmp/widgets/contact/contact.php:
|
1077 |
msgid "reCAPTCHA"
|
1078 |
msgstr ""
|
1079 |
|
1080 |
-
#: tmp/widgets/contact/contact.php:
|
1081 |
msgid "Use reCAPTCHA"
|
1082 |
msgstr ""
|
1083 |
|
1084 |
-
#: tmp/widgets/contact/contact.php:
|
1085 |
msgid "reCAPTCHA Site Key"
|
1086 |
msgstr ""
|
1087 |
|
1088 |
-
#: tmp/widgets/contact/contact.php:
|
1089 |
msgid "reCAPTCHA Secret Key"
|
1090 |
msgstr ""
|
1091 |
|
1092 |
-
#: tmp/widgets/contact/contact.php:
|
1093 |
msgid "Theme"
|
1094 |
msgstr ""
|
1095 |
|
1096 |
-
#: tmp/widgets/contact/contact.php:
|
1097 |
msgid "Light"
|
1098 |
msgstr ""
|
1099 |
|
1100 |
-
#: tmp/widgets/contact/contact.php:
|
1101 |
msgid "Dark"
|
1102 |
msgstr ""
|
1103 |
|
1104 |
-
#: tmp/widgets/contact/contact.php:
|
1105 |
msgid "Challenge type"
|
1106 |
msgstr ""
|
1107 |
|
1108 |
-
#: tmp/widgets/contact/contact.php:
|
1109 |
msgid "Image"
|
1110 |
msgstr ""
|
1111 |
|
1112 |
-
#: tmp/widgets/contact/contact.php:
|
1113 |
msgid "Audio"
|
1114 |
msgstr ""
|
1115 |
|
1116 |
-
#: tmp/widgets/contact/contact.php:
|
1117 |
msgid "Size"
|
1118 |
msgstr ""
|
1119 |
|
1120 |
-
#: tmp/widgets/contact/contact.php:
|
1121 |
msgid "Compact"
|
1122 |
msgstr ""
|
1123 |
|
1124 |
-
#: tmp/widgets/contact/contact.php:
|
1125 |
msgid "Akismet"
|
1126 |
msgstr ""
|
1127 |
|
1128 |
-
#: tmp/widgets/contact/contact.php:
|
1129 |
msgid "Use Akismet filtering"
|
1130 |
msgstr ""
|
1131 |
|
1132 |
-
#: tmp/widgets/contact/contact.php:
|
1133 |
msgid "Spam action"
|
1134 |
msgstr ""
|
1135 |
|
1136 |
-
#: tmp/widgets/contact/contact.php:
|
1137 |
msgid "Show error message"
|
1138 |
msgstr ""
|
1139 |
|
1140 |
-
#: tmp/widgets/contact/contact.php:
|
1141 |
msgid "Tag as spam in subject"
|
1142 |
msgstr ""
|
1143 |
|
1144 |
-
#: tmp/widgets/contact/contact.php:
|
1145 |
msgid "How to handle submissions that are identified as spam."
|
1146 |
msgstr ""
|
1147 |
|
1148 |
-
#: tmp/widgets/contact/contact.php:
|
1149 |
msgid "Container"
|
1150 |
msgstr ""
|
1151 |
|
1152 |
-
#: tmp/widgets/contact/contact.php:
|
1153 |
msgid "Border style"
|
1154 |
msgstr ""
|
1155 |
|
1156 |
-
#: tmp/widgets/contact/contact.php:
|
1157 |
msgid "Hidden"
|
1158 |
msgstr ""
|
1159 |
|
1160 |
-
#: tmp/widgets/contact/contact.php:
|
1161 |
msgid "Dotted"
|
1162 |
msgstr ""
|
1163 |
|
1164 |
-
#: tmp/widgets/contact/contact.php:
|
1165 |
msgid "Dashed"
|
1166 |
msgstr ""
|
1167 |
|
1168 |
-
#: tmp/widgets/contact/contact.php:
|
1169 |
msgid "Solid"
|
1170 |
msgstr ""
|
1171 |
|
1172 |
-
#: tmp/widgets/contact/contact.php:
|
1173 |
msgid "Double"
|
1174 |
msgstr ""
|
1175 |
|
1176 |
-
#: tmp/widgets/contact/contact.php:
|
1177 |
msgid "Groove"
|
1178 |
msgstr ""
|
1179 |
|
1180 |
-
#: tmp/widgets/contact/contact.php:
|
1181 |
msgid "Ridge"
|
1182 |
msgstr ""
|
1183 |
|
1184 |
-
#: tmp/widgets/contact/contact.php:
|
1185 |
msgid "Inset"
|
1186 |
msgstr ""
|
1187 |
|
1188 |
-
#: tmp/widgets/contact/contact.php:
|
1189 |
msgid "Outset"
|
1190 |
msgstr ""
|
1191 |
|
1192 |
-
#: tmp/widgets/contact/contact.php:
|
1193 |
msgid "Field labels"
|
1194 |
msgstr ""
|
1195 |
|
1196 |
-
#: tmp/widgets/contact/contact.php:
|
1197 |
msgid "Color"
|
1198 |
msgstr ""
|
1199 |
|
1200 |
-
#: tmp/widgets/contact/contact.php:
|
1201 |
msgid "Position"
|
1202 |
msgstr ""
|
1203 |
|
1204 |
-
#: tmp/widgets/contact/contact.php:
|
1205 |
msgid "Above"
|
1206 |
msgstr ""
|
1207 |
|
1208 |
-
#: tmp/widgets/contact/contact.php:
|
1209 |
msgid "Below"
|
1210 |
msgstr ""
|
1211 |
|
1212 |
-
#: tmp/widgets/contact/contact.php:
|
1213 |
msgid "Inside"
|
1214 |
msgstr ""
|
1215 |
|
1216 |
-
#: tmp/widgets/contact/contact.php:
|
1217 |
msgid "Font Size"
|
1218 |
msgstr ""
|
1219 |
|
1220 |
-
#: tmp/widgets/contact/contact.php:
|
1221 |
msgid "Text Color"
|
1222 |
msgstr ""
|
1223 |
|
1224 |
-
#: tmp/widgets/contact/contact.php:
|
1225 |
msgid "Margin"
|
1226 |
msgstr ""
|
1227 |
|
1228 |
-
#: tmp/widgets/contact/contact.php:
|
1229 |
msgid "Height"
|
1230 |
msgstr ""
|
1231 |
|
1232 |
-
#: tmp/widgets/contact/contact.php:
|
1233 |
msgid "Background"
|
1234 |
msgstr ""
|
1235 |
|
1236 |
-
#: tmp/widgets/contact/contact.php:
|
1237 |
msgid " Border style"
|
1238 |
msgstr ""
|
1239 |
|
1240 |
-
#: tmp/widgets/contact/contact.php:
|
1241 |
msgid "Border rounding"
|
1242 |
msgstr ""
|
1243 |
|
1244 |
-
#: tmp/widgets/contact/contact.php:
|
1245 |
msgid "Field descriptions"
|
1246 |
msgstr ""
|
1247 |
|
1248 |
-
#: tmp/widgets/contact/contact.php:
|
1249 |
msgid "Style"
|
1250 |
msgstr ""
|
1251 |
|
1252 |
-
#: tmp/widgets/contact/contact.php:
|
1253 |
msgid "Italic"
|
1254 |
msgstr ""
|
1255 |
|
1256 |
-
#: tmp/widgets/contact/contact.php:
|
1257 |
msgid "Error messages"
|
1258 |
msgstr ""
|
1259 |
|
1260 |
-
#: tmp/widgets/contact/contact.php:
|
1261 |
msgid "Error background color"
|
1262 |
msgstr ""
|
1263 |
|
1264 |
-
#: tmp/widgets/contact/contact.php:
|
1265 |
msgid "Error border color"
|
1266 |
msgstr ""
|
1267 |
|
1268 |
-
#: tmp/widgets/contact/contact.php:
|
1269 |
msgid "Error text color"
|
1270 |
msgstr ""
|
1271 |
|
1272 |
-
#: tmp/widgets/contact/contact.php:
|
1273 |
msgid "Error padding"
|
1274 |
msgstr ""
|
1275 |
|
1276 |
-
#: tmp/widgets/contact/contact.php:
|
1277 |
msgid "Error margin"
|
1278 |
msgstr ""
|
1279 |
|
1280 |
-
#: tmp/widgets/contact/contact.php:
|
1281 |
msgid "Submit button"
|
1282 |
msgstr ""
|
1283 |
|
1284 |
-
#: tmp/widgets/contact/contact.php:
|
1285 |
msgid "Style submit button"
|
1286 |
msgstr ""
|
1287 |
|
1288 |
-
#: tmp/widgets/contact/contact.php:
|
1289 |
msgid "Style the button or leave it with default theme styling."
|
1290 |
msgstr ""
|
1291 |
|
1292 |
-
#: tmp/widgets/contact/contact.php:
|
1293 |
msgid "Gradient intensity"
|
1294 |
msgstr ""
|
1295 |
|
1296 |
-
#: tmp/widgets/contact/contact.php:
|
1297 |
msgid "Font weight"
|
1298 |
msgstr ""
|
1299 |
|
1300 |
-
#: tmp/widgets/contact/contact.php:
|
1301 |
msgid "Semi-bold"
|
1302 |
msgstr ""
|
1303 |
|
1304 |
-
#: tmp/widgets/contact/contact.php:
|
1305 |
msgid "Bold"
|
1306 |
msgstr ""
|
1307 |
|
1308 |
-
#: tmp/widgets/contact/contact.php:
|
1309 |
msgid "Inset highlight"
|
1310 |
msgstr ""
|
1311 |
|
1312 |
-
#: tmp/widgets/contact/contact.php:
|
1313 |
msgid "The white highlight at the bottom of the button"
|
1314 |
msgstr ""
|
1315 |
|
1316 |
-
#: tmp/widgets/contact/contact.php:
|
1317 |
msgid "Input focus"
|
1318 |
msgstr ""
|
1319 |
|
1320 |
-
#: tmp/widgets/contact/contact.php:
|
1321 |
msgid "Get more form fields for the Contact Form Widget in %s"
|
1322 |
msgstr ""
|
1323 |
|
1324 |
-
#: tmp/widgets/contact/contact.php:
|
1325 |
msgid "SiteOrigin Premium"
|
1326 |
msgstr ""
|
1327 |
|
1328 |
-
#: tmp/widgets/contact/contact.php:
|
1329 |
msgid "Your Name"
|
1330 |
msgstr ""
|
1331 |
|
1332 |
-
#: tmp/widgets/contact/contact.php:
|
1333 |
msgid "Please enter your name"
|
1334 |
msgstr ""
|
1335 |
|
1336 |
-
#: tmp/widgets/contact/contact.php:
|
1337 |
msgid "Your Email"
|
1338 |
msgstr ""
|
1339 |
|
1340 |
-
#: tmp/widgets/contact/contact.php:
|
1341 |
msgid "Please enter a valid email address"
|
1342 |
msgstr ""
|
1343 |
|
1344 |
-
#: tmp/widgets/contact/contact.php:
|
1345 |
msgid "Please enter a subject"
|
1346 |
msgstr ""
|
1347 |
|
1348 |
-
#: tmp/widgets/contact/contact.php:
|
1349 |
msgid "Message"
|
1350 |
msgstr ""
|
1351 |
|
1352 |
-
#: tmp/widgets/contact/contact.php:
|
1353 |
msgid "Please write something"
|
1354 |
msgstr ""
|
1355 |
|
1356 |
-
#: tmp/widgets/contact/contact.php:
|
1357 |
msgid "Invalid email address."
|
1358 |
msgstr ""
|
1359 |
|
1360 |
-
#: tmp/widgets/contact/contact.php:
|
1361 |
msgid "Error sending email, please try again later."
|
1362 |
msgstr ""
|
1363 |
|
1364 |
-
#: tmp/widgets/contact/contact.php:
|
1365 |
msgid "A valid email is required"
|
1366 |
msgstr ""
|
1367 |
|
1368 |
-
#: tmp/widgets/contact/contact.php:
|
1369 |
msgid "The email address is invalid"
|
1370 |
msgstr ""
|
1371 |
|
1372 |
-
#: tmp/widgets/contact/contact.php:
|
1373 |
msgid "Missing subject"
|
1374 |
msgstr ""
|
1375 |
|
1376 |
-
#: tmp/widgets/contact/contact.php:
|
1377 |
msgid "Error validating your Captcha response."
|
1378 |
msgstr ""
|
1379 |
|
1380 |
-
#: tmp/widgets/contact/contact.php:
|
1381 |
msgid "Unfortunately our system identified your message as spam."
|
1382 |
msgstr ""
|
1383 |
|
@@ -1445,15 +1469,7 @@ msgstr ""
|
|
1445 |
msgid "Container Position"
|
1446 |
msgstr ""
|
1447 |
|
1448 |
-
#: tmp/widgets/features/features.php:
|
1449 |
-
msgid "Top"
|
1450 |
-
msgstr ""
|
1451 |
-
|
1452 |
-
#: tmp/widgets/features/features.php:65
|
1453 |
-
msgid "Bottom"
|
1454 |
-
msgstr ""
|
1455 |
-
|
1456 |
-
#: tmp/widgets/features/features.php:80, tmp/widgets/social-media-buttons/social-media-buttons.php:66
|
1457 |
msgid "Icon title"
|
1458 |
msgstr ""
|
1459 |
|
@@ -1497,7 +1513,7 @@ msgstr ""
|
|
1497 |
msgid "Container size"
|
1498 |
msgstr ""
|
1499 |
|
1500 |
-
#: tmp/widgets/features/features.php:210, tmp/widgets/social-media-buttons/social-media-buttons.php:
|
1501 |
msgid "Icon size"
|
1502 |
msgstr ""
|
1503 |
|
@@ -1525,6 +1541,14 @@ msgstr ""
|
|
1525 |
msgid "Open more URL in a new window"
|
1526 |
msgstr ""
|
1527 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1528 |
#: tmp/widgets/google-map/google-map.php:16
|
1529 |
msgid "SiteOrigin Google Maps"
|
1530 |
msgstr ""
|
@@ -1533,379 +1557,379 @@ msgstr ""
|
|
1533 |
msgid "A Google Maps widget."
|
1534 |
msgstr ""
|
1535 |
|
1536 |
-
#: tmp/widgets/google-map/google-map.php:
|
1537 |
msgid "Map center"
|
1538 |
msgstr ""
|
1539 |
|
1540 |
-
#: tmp/widgets/google-map/google-map.php:
|
1541 |
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."
|
1542 |
msgstr ""
|
1543 |
|
1544 |
-
#: tmp/widgets/google-map/google-map.php:
|
1545 |
msgid "API key"
|
1546 |
msgstr ""
|
1547 |
|
1548 |
-
#: tmp/widgets/google-map/google-map.php:
|
1549 |
msgid "Enter your %sAPI key%s. Your map may not function correctly without one."
|
1550 |
msgstr ""
|
1551 |
|
1552 |
-
#: tmp/widgets/google-map/google-map.php:
|
1553 |
msgid "Set map display options."
|
1554 |
msgstr ""
|
1555 |
|
1556 |
-
#: tmp/widgets/google-map/google-map.php:
|
1557 |
msgid "Map type"
|
1558 |
msgstr ""
|
1559 |
|
1560 |
-
#: tmp/widgets/google-map/google-map.php:
|
1561 |
msgid "Interactive"
|
1562 |
msgstr ""
|
1563 |
|
1564 |
-
#: tmp/widgets/google-map/google-map.php:
|
1565 |
msgid "Static image"
|
1566 |
msgstr ""
|
1567 |
|
1568 |
-
#: tmp/widgets/google-map/google-map.php:
|
1569 |
msgid "Zoom level"
|
1570 |
msgstr ""
|
1571 |
|
1572 |
-
#: tmp/widgets/google-map/google-map.php:
|
1573 |
msgid "A value from 0 (the world) to 21 (street level)."
|
1574 |
msgstr ""
|
1575 |
|
1576 |
-
#: tmp/widgets/google-map/google-map.php:
|
1577 |
msgid "Scroll to zoom"
|
1578 |
msgstr ""
|
1579 |
|
1580 |
-
#: tmp/widgets/google-map/google-map.php:
|
1581 |
msgid "Allow scrolling over the map to zoom in or out."
|
1582 |
msgstr ""
|
1583 |
|
1584 |
-
#: tmp/widgets/google-map/google-map.php:
|
1585 |
msgid "Draggable"
|
1586 |
msgstr ""
|
1587 |
|
1588 |
-
#: tmp/widgets/google-map/google-map.php:
|
1589 |
msgid "Allow dragging the map to move it around."
|
1590 |
msgstr ""
|
1591 |
|
1592 |
-
#: tmp/widgets/google-map/google-map.php:
|
1593 |
msgid "Disable default UI"
|
1594 |
msgstr ""
|
1595 |
|
1596 |
-
#: tmp/widgets/google-map/google-map.php:
|
1597 |
msgid "Hides the default Google Maps controls."
|
1598 |
msgstr ""
|
1599 |
|
1600 |
-
#: tmp/widgets/google-map/google-map.php:
|
1601 |
msgid "Keep map centered"
|
1602 |
msgstr ""
|
1603 |
|
1604 |
-
#: tmp/widgets/google-map/google-map.php:
|
1605 |
msgid "Keeps the map centered when it's container is resized."
|
1606 |
msgstr ""
|
1607 |
|
1608 |
-
#: tmp/widgets/google-map/google-map.php:
|
1609 |
msgid "Fallback Image"
|
1610 |
msgstr ""
|
1611 |
|
1612 |
-
#: tmp/widgets/google-map/google-map.php:
|
1613 |
msgid "This image will be displayed if there are any problems with displaying the specified map."
|
1614 |
msgstr ""
|
1615 |
|
1616 |
-
#: tmp/widgets/google-map/google-map.php:
|
1617 |
msgid "Fallback Image Size"
|
1618 |
msgstr ""
|
1619 |
|
1620 |
-
#: tmp/widgets/google-map/google-map.php:
|
1621 |
msgid "Markers"
|
1622 |
msgstr ""
|
1623 |
|
1624 |
-
#: tmp/widgets/google-map/google-map.php:
|
1625 |
msgid "Use markers to identify points of interest on the map."
|
1626 |
msgstr ""
|
1627 |
|
1628 |
-
#: tmp/widgets/google-map/google-map.php:
|
1629 |
msgid "Show marker at map center"
|
1630 |
msgstr ""
|
1631 |
|
1632 |
-
#: tmp/widgets/google-map/google-map.php:
|
1633 |
msgid "Marker icon"
|
1634 |
msgstr ""
|
1635 |
|
1636 |
-
#: tmp/widgets/google-map/google-map.php:
|
1637 |
msgid "Replaces the default map marker with your own image."
|
1638 |
msgstr ""
|
1639 |
|
1640 |
-
#: tmp/widgets/google-map/google-map.php:
|
1641 |
msgid "Draggable markers"
|
1642 |
msgstr ""
|
1643 |
|
1644 |
-
#: tmp/widgets/google-map/google-map.php:
|
1645 |
msgid "Marker positions"
|
1646 |
msgstr ""
|
1647 |
|
1648 |
-
#: tmp/widgets/google-map/google-map.php:
|
1649 |
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."
|
1650 |
msgstr ""
|
1651 |
|
1652 |
-
#: tmp/widgets/google-map/google-map.php:
|
1653 |
msgid "Marker"
|
1654 |
msgstr ""
|
1655 |
|
1656 |
-
#: tmp/widgets/google-map/google-map.php:
|
1657 |
msgid "Place"
|
1658 |
msgstr ""
|
1659 |
|
1660 |
-
#: tmp/widgets/google-map/google-map.php:
|
1661 |
msgid "Info Window Content"
|
1662 |
msgstr ""
|
1663 |
|
1664 |
-
#: tmp/widgets/google-map/google-map.php:
|
1665 |
msgid "Info Window max width"
|
1666 |
msgstr ""
|
1667 |
|
1668 |
-
#: tmp/widgets/google-map/google-map.php:
|
1669 |
msgid "Custom Marker icon"
|
1670 |
msgstr ""
|
1671 |
|
1672 |
-
#: tmp/widgets/google-map/google-map.php:
|
1673 |
msgid "Replace the default map marker with your own image for each marker."
|
1674 |
msgstr ""
|
1675 |
|
1676 |
-
#: tmp/widgets/google-map/google-map.php:
|
1677 |
msgid "When should Info Windows be displayed?"
|
1678 |
msgstr ""
|
1679 |
|
1680 |
-
#: tmp/widgets/google-map/google-map.php:
|
1681 |
msgid "Click"
|
1682 |
msgstr ""
|
1683 |
|
1684 |
-
#: tmp/widgets/google-map/google-map.php:
|
1685 |
msgid "Mouse over"
|
1686 |
msgstr ""
|
1687 |
|
1688 |
-
#: tmp/widgets/google-map/google-map.php:
|
1689 |
msgid "Always"
|
1690 |
msgstr ""
|
1691 |
|
1692 |
-
#: tmp/widgets/google-map/google-map.php:
|
1693 |
msgid "Allow multiple simultaneous Info Windows?"
|
1694 |
msgstr ""
|
1695 |
|
1696 |
-
#: tmp/widgets/google-map/google-map.php:
|
1697 |
msgid "Styles"
|
1698 |
msgstr ""
|
1699 |
|
1700 |
-
#: tmp/widgets/google-map/google-map.php:
|
1701 |
msgid "Apply custom colors to map features, or hide them completely."
|
1702 |
msgstr ""
|
1703 |
|
1704 |
-
#: tmp/widgets/google-map/google-map.php:
|
1705 |
msgid "Map styles"
|
1706 |
msgstr ""
|
1707 |
|
1708 |
-
#: tmp/widgets/google-map/google-map.php:
|
1709 |
msgid "Custom"
|
1710 |
msgstr ""
|
1711 |
|
1712 |
-
#: tmp/widgets/google-map/google-map.php:
|
1713 |
msgid "Predefined Styles"
|
1714 |
msgstr ""
|
1715 |
|
1716 |
-
#: tmp/widgets/google-map/google-map.php:
|
1717 |
msgid "Styled map name"
|
1718 |
msgstr ""
|
1719 |
|
1720 |
-
#: tmp/widgets/google-map/google-map.php:
|
1721 |
msgid "Raw JSON styles"
|
1722 |
msgstr ""
|
1723 |
|
1724 |
-
#: tmp/widgets/google-map/google-map.php:
|
1725 |
msgid "Copy and paste predefined styles here from <a href=\"http://snazzymaps.com/\" target=\"_blank\" rel=\"noopener noreferrer\">Snazzy Maps</a>."
|
1726 |
msgstr ""
|
1727 |
|
1728 |
-
#: tmp/widgets/google-map/google-map.php:
|
1729 |
msgid "Custom map styles"
|
1730 |
msgstr ""
|
1731 |
|
1732 |
-
#: tmp/widgets/google-map/google-map.php:
|
1733 |
msgid "Select map feature to style"
|
1734 |
msgstr ""
|
1735 |
|
1736 |
-
#: tmp/widgets/google-map/google-map.php:
|
1737 |
msgid "Water"
|
1738 |
msgstr ""
|
1739 |
|
1740 |
-
#: tmp/widgets/google-map/google-map.php:
|
1741 |
msgid "Highways"
|
1742 |
msgstr ""
|
1743 |
|
1744 |
-
#: tmp/widgets/google-map/google-map.php:
|
1745 |
msgid "Arterial roads"
|
1746 |
msgstr ""
|
1747 |
|
1748 |
-
#: tmp/widgets/google-map/google-map.php:
|
1749 |
msgid "Local roads"
|
1750 |
msgstr ""
|
1751 |
|
1752 |
-
#: tmp/widgets/google-map/google-map.php:
|
1753 |
msgid "Transit lines"
|
1754 |
msgstr ""
|
1755 |
|
1756 |
-
#: tmp/widgets/google-map/google-map.php:
|
1757 |
msgid "Transit stations"
|
1758 |
msgstr ""
|
1759 |
|
1760 |
-
#: tmp/widgets/google-map/google-map.php:
|
1761 |
msgid "Man-made landscape"
|
1762 |
msgstr ""
|
1763 |
|
1764 |
-
#: tmp/widgets/google-map/google-map.php:
|
1765 |
msgid "Natural landscape landcover"
|
1766 |
msgstr ""
|
1767 |
|
1768 |
-
#: tmp/widgets/google-map/google-map.php:
|
1769 |
msgid "Natural landscape terrain"
|
1770 |
msgstr ""
|
1771 |
|
1772 |
-
#: tmp/widgets/google-map/google-map.php:
|
1773 |
msgid "Point of interest - Attractions"
|
1774 |
msgstr ""
|
1775 |
|
1776 |
-
#: tmp/widgets/google-map/google-map.php:
|
1777 |
msgid "Point of interest - Business"
|
1778 |
msgstr ""
|
1779 |
|
1780 |
-
#: tmp/widgets/google-map/google-map.php:
|
1781 |
msgid "Point of interest - Government"
|
1782 |
msgstr ""
|
1783 |
|
1784 |
-
#: tmp/widgets/google-map/google-map.php:
|
1785 |
msgid "Point of interest - Medical"
|
1786 |
msgstr ""
|
1787 |
|
1788 |
-
#: tmp/widgets/google-map/google-map.php:
|
1789 |
msgid "Point of interest - Parks"
|
1790 |
msgstr ""
|
1791 |
|
1792 |
-
#: tmp/widgets/google-map/google-map.php:
|
1793 |
msgid "Point of interest - Places of worship"
|
1794 |
msgstr ""
|
1795 |
|
1796 |
-
#: tmp/widgets/google-map/google-map.php:
|
1797 |
msgid "Point of interest - Schools"
|
1798 |
msgstr ""
|
1799 |
|
1800 |
-
#: tmp/widgets/google-map/google-map.php:
|
1801 |
msgid "Point of interest - Sports complexes"
|
1802 |
msgstr ""
|
1803 |
|
1804 |
-
#: tmp/widgets/google-map/google-map.php:
|
1805 |
msgid "Select element type to style"
|
1806 |
msgstr ""
|
1807 |
|
1808 |
-
#: tmp/widgets/google-map/google-map.php:
|
1809 |
msgid "Geometry"
|
1810 |
msgstr ""
|
1811 |
|
1812 |
-
#: tmp/widgets/google-map/google-map.php:
|
1813 |
msgid "Labels"
|
1814 |
msgstr ""
|
1815 |
|
1816 |
-
#: tmp/widgets/google-map/google-map.php:
|
1817 |
msgid "Visible"
|
1818 |
msgstr ""
|
1819 |
|
1820 |
-
#: tmp/widgets/google-map/google-map.php:
|
1821 |
msgid "Directions"
|
1822 |
msgstr ""
|
1823 |
|
1824 |
-
#: tmp/widgets/google-map/google-map.php:
|
1825 |
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."
|
1826 |
msgstr ""
|
1827 |
|
1828 |
-
#: tmp/widgets/google-map/google-map.php:
|
1829 |
msgid "Starting point"
|
1830 |
msgstr ""
|
1831 |
|
1832 |
-
#: tmp/widgets/google-map/google-map.php:
|
1833 |
msgid "Destination"
|
1834 |
msgstr ""
|
1835 |
|
1836 |
-
#: tmp/widgets/google-map/google-map.php:
|
1837 |
msgid "Travel mode"
|
1838 |
msgstr ""
|
1839 |
|
1840 |
-
#: tmp/widgets/google-map/google-map.php:
|
1841 |
msgid "Driving"
|
1842 |
msgstr ""
|
1843 |
|
1844 |
-
#: tmp/widgets/google-map/google-map.php:
|
1845 |
msgid "Walking"
|
1846 |
msgstr ""
|
1847 |
|
1848 |
-
#: tmp/widgets/google-map/google-map.php:
|
1849 |
msgid "Bicycling"
|
1850 |
msgstr ""
|
1851 |
|
1852 |
-
#: tmp/widgets/google-map/google-map.php:
|
1853 |
msgid "Transit"
|
1854 |
msgstr ""
|
1855 |
|
1856 |
-
#: tmp/widgets/google-map/google-map.php:
|
1857 |
msgid "Avoid highways"
|
1858 |
msgstr ""
|
1859 |
|
1860 |
-
#: tmp/widgets/google-map/google-map.php:
|
1861 |
msgid "Avoid tolls"
|
1862 |
msgstr ""
|
1863 |
|
1864 |
-
#: tmp/widgets/google-map/google-map.php:
|
1865 |
msgid "Preserve viewport"
|
1866 |
msgstr ""
|
1867 |
|
1868 |
-
#: tmp/widgets/google-map/google-map.php:
|
1869 |
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."
|
1870 |
msgstr ""
|
1871 |
|
1872 |
-
#: tmp/widgets/google-map/google-map.php:
|
1873 |
msgid "Waypoints"
|
1874 |
msgstr ""
|
1875 |
|
1876 |
-
#: tmp/widgets/google-map/google-map.php:
|
1877 |
msgid "Waypoint"
|
1878 |
msgstr ""
|
1879 |
|
1880 |
-
#: tmp/widgets/google-map/google-map.php:
|
1881 |
msgid "Location"
|
1882 |
msgstr ""
|
1883 |
|
1884 |
-
#: tmp/widgets/google-map/google-map.php:
|
1885 |
msgid "Stopover"
|
1886 |
msgstr ""
|
1887 |
|
1888 |
-
#: tmp/widgets/google-map/google-map.php:
|
1889 |
msgid "Whether or not this is a stop on the route or just a route preference."
|
1890 |
msgstr ""
|
1891 |
|
1892 |
-
#: tmp/widgets/google-map/google-map.php:
|
1893 |
msgid "Optimize waypoints"
|
1894 |
msgstr ""
|
1895 |
|
1896 |
-
#: tmp/widgets/google-map/google-map.php:
|
1897 |
msgid "Allow the Google Maps service to reorder waypoints for the shortest travelling distance."
|
1898 |
msgstr ""
|
1899 |
|
1900 |
-
#: tmp/widgets/google-map/google-map.php:
|
1901 |
msgid "Enter your %sAPI key%s. Your map won't function correctly without one."
|
1902 |
msgstr ""
|
1903 |
|
1904 |
-
#: tmp/widgets/google-map/google-map.php:
|
1905 |
msgid "There were no results for the place you entered. Please try another."
|
1906 |
msgstr ""
|
1907 |
|
1908 |
-
#: tmp/widgets/google-map/google-map.php:
|
1909 |
msgid "Custom Map"
|
1910 |
msgstr ""
|
1911 |
|
@@ -2109,10 +2133,26 @@ msgstr ""
|
|
2109 |
msgid "Heading shadow intensity"
|
2110 |
msgstr ""
|
2111 |
|
2112 |
-
#: tmp/widgets/hero/hero.php:
|
2113 |
msgid "Text size"
|
2114 |
msgstr ""
|
2115 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2116 |
#: tmp/widgets/icon/icon.php:16
|
2117 |
msgid "SiteOrigin Icon"
|
2118 |
msgstr ""
|
@@ -2137,7 +2177,7 @@ msgstr ""
|
|
2137 |
msgid "Image title"
|
2138 |
msgstr ""
|
2139 |
|
2140 |
-
#: tmp/widgets/image-grid/image-grid.php:71, tmp/widgets/social-media-buttons/social-media-buttons.php:
|
2141 |
msgid "URL"
|
2142 |
msgstr ""
|
2143 |
|
@@ -2605,18 +2645,30 @@ msgstr ""
|
|
2605 |
msgid "A social media buttons widget."
|
2606 |
msgstr ""
|
2607 |
|
2608 |
-
#: tmp/widgets/social-media-buttons/social-media-buttons.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2609 |
msgid "Networks"
|
2610 |
msgstr ""
|
2611 |
|
2612 |
-
#: tmp/widgets/social-media-buttons/social-media-buttons.php:
|
2613 |
msgid "Network"
|
2614 |
msgstr ""
|
2615 |
|
2616 |
-
#: tmp/widgets/social-media-buttons/social-media-buttons.php:
|
2617 |
msgid "Select network"
|
2618 |
msgstr ""
|
2619 |
|
|
|
|
|
|
|
|
|
2620 |
#: tmp/widgets/social-media-buttons/tpl/default.php:9
|
2621 |
msgid "%s on %s"
|
2622 |
msgstr ""
|
1 |
+
# Copyright (C) 2018 so-widgets-bundle
|
2 |
# This file is distributed under the same license as the so-widgets-bundle package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
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"
|
25 |
msgid "Filter Widgets"
|
26 |
msgstr ""
|
27 |
|
28 |
+
#: tmp/admin/tpl/admin.php:17, tmp/base/inc/fields/posts.class.php:12, tmp/widgets/google-map/google-map.php:337
|
29 |
msgid "All"
|
30 |
msgstr ""
|
31 |
|
49 |
msgid "Deactivate"
|
50 |
msgstr ""
|
51 |
|
52 |
+
#: tmp/admin/tpl/admin.php:90, tmp/widgets/contact/contact.php:58, tmp/widgets/google-map/google-map.php:63, tmp/widgets/testimonial/testimonial.php:99
|
53 |
msgid "Settings"
|
54 |
msgstr ""
|
55 |
|
117 |
msgid "SiteOrigin Page Builder"
|
118 |
msgstr ""
|
119 |
|
120 |
+
#: tmp/base/inc/fields/date-range.class.php:31, tmp/base/inc/fields/date-range.class.php:45, tmp/widgets/contact/contact.php:1188
|
121 |
msgid "From"
|
122 |
msgstr ""
|
123 |
|
297 |
msgid "Author"
|
298 |
msgstr ""
|
299 |
|
300 |
+
#: tmp/base/inc/fields/posts.class.php:82, tmp/widgets/accordion/accordion.php:46, tmp/widgets/accordion/accordion.php:59, tmp/widgets/contact/contact.php:47, tmp/widgets/cta/cta.php:63, tmp/widgets/editor/editor.php:32, tmp/widgets/features/features.php:132, tmp/widgets/post-carousel/post-carousel.php:97, tmp/widgets/price-table/price-table.php:41, tmp/widgets/price-table/price-table.php:60, tmp/widgets/simple-masonry/simple-masonry.php:43, tmp/widgets/simple-masonry/simple-masonry.php:74, tmp/widgets/social-media-buttons/social-media-buttons.php:53, tmp/widgets/tabs/tabs.php:46, tmp/widgets/tabs/tabs.php:59, tmp/widgets/taxonomy/taxonomy.php:33, tmp/widgets/testimonial/testimonial.php:40, tmp/widgets/video/video.php:32
|
301 |
msgid "Title"
|
302 |
msgstr ""
|
303 |
|
357 |
msgid "Sticky posts"
|
358 |
msgstr ""
|
359 |
|
360 |
+
#: tmp/base/inc/fields/posts.class.php:115, tmp/compat/beaver-builder/beaver-builder.php:65, tmp/widgets/google-map/google-map.php:269, tmp/widgets/image/image.php:46
|
361 |
msgid "Default"
|
362 |
msgstr ""
|
363 |
|
445 |
msgid "Thin"
|
446 |
msgstr ""
|
447 |
|
448 |
+
#: tmp/base/inc/widgets/base-slider.class.php:79, tmp/widgets/button/button.php:156, tmp/widgets/button/button.php:180, tmp/widgets/social-media-buttons/social-media-buttons.php:119, tmp/widgets/social-media-buttons/social-media-buttons.php:141, tmp/widgets/social-media-buttons/social-media-buttons.php:174
|
449 |
msgid "Medium"
|
450 |
msgstr ""
|
451 |
|
537 |
msgid "Clicking %s will replace the current widget contents. You can revert by refreshing the page before updating."
|
538 |
msgstr ""
|
539 |
|
540 |
+
#: tmp/compat/beaver-builder/beaver-builder.php:64
|
541 |
msgid "Clear"
|
542 |
msgstr ""
|
543 |
|
544 |
+
#: tmp/compat/beaver-builder/beaver-builder.php:66
|
545 |
msgid "Select Color"
|
546 |
msgstr ""
|
547 |
|
548 |
+
#: tmp/compat/beaver-builder/beaver-builder.php:67
|
549 |
msgid "Current Color"
|
550 |
msgstr ""
|
551 |
|
661 |
msgid "Closed"
|
662 |
msgstr ""
|
663 |
|
664 |
+
#: tmp/widgets/accordion/accordion.php:79, tmp/widgets/contact/contact.php:286, tmp/widgets/cta/cta.php:73, tmp/widgets/tabs/tabs.php:75, tmp/widgets/testimonial/testimonial.php:182
|
665 |
msgid "Design"
|
666 |
msgstr ""
|
667 |
|
669 |
msgid "Headings"
|
670 |
msgstr ""
|
671 |
|
672 |
+
#: tmp/widgets/accordion/accordion.php:89, tmp/widgets/accordion/accordion.php:127, tmp/widgets/contact/contact.php:296, tmp/widgets/contact/contact.php:525, tmp/widgets/cta/cta.php:77, tmp/widgets/hero/hero.php:118, tmp/widgets/layout-slider/layout-slider.php:81, tmp/widgets/social-media-buttons/social-media-buttons.php:85, tmp/widgets/tabs/tabs.php:85, tmp/widgets/tabs/tabs.php:105, tmp/widgets/tabs/tabs.php:149
|
673 |
msgid "Background color"
|
674 |
msgstr ""
|
675 |
|
685 |
msgid "Title hover color"
|
686 |
msgstr ""
|
687 |
|
688 |
+
#: tmp/widgets/accordion/accordion.php:108, tmp/widgets/accordion/accordion.php:136, tmp/widgets/contact/contact.php:306, tmp/widgets/contact/contact.php:419, tmp/widgets/contact/contact.php:535, tmp/widgets/cta/cta.php:81, tmp/widgets/tabs/tabs.php:90, tmp/widgets/tabs/tabs.php:124, tmp/widgets/tabs/tabs.php:158
|
689 |
msgid "Border color"
|
690 |
msgstr ""
|
691 |
|
693 |
msgid "Border hover color"
|
694 |
msgstr ""
|
695 |
|
696 |
+
#: tmp/widgets/accordion/accordion.php:116, tmp/widgets/accordion/accordion.php:140, tmp/widgets/contact/contact.php:311, tmp/widgets/contact/contact.php:424, tmp/widgets/contact/contact.php:551, tmp/widgets/tabs/tabs.php:94, tmp/widgets/tabs/tabs.php:134, tmp/widgets/tabs/tabs.php:162
|
697 |
msgid "Border width"
|
698 |
msgstr ""
|
699 |
|
721 |
msgid "Button text"
|
722 |
msgstr ""
|
723 |
|
724 |
+
#: tmp/widgets/button/button.php:50, tmp/widgets/google-map/google-map.php:97, tmp/widgets/headline/headline.php:44, tmp/widgets/headline/headline.php:115, tmp/widgets/hero/hero.php:124, tmp/widgets/icon/icon.php:56, tmp/widgets/image/image.php:76, tmp/widgets/layout-slider/layout-slider.php:87, tmp/widgets/simple-masonry/simple-masonry.php:78, tmp/widgets/slider/slider.php:84
|
725 |
msgid "Destination URL"
|
726 |
msgstr ""
|
727 |
|
728 |
+
#: tmp/widgets/button/button.php:56, tmp/widgets/google-map/google-map.php:108, tmp/widgets/headline/headline.php:49, tmp/widgets/headline/headline.php:120, tmp/widgets/icon/icon.php:62, tmp/widgets/simple-masonry/simple-masonry.php:83, tmp/widgets/social-media-buttons/social-media-buttons.php:96, tmp/widgets/taxonomy/taxonomy.php:64
|
729 |
msgid "Open in a new window"
|
730 |
msgstr ""
|
731 |
|
733 |
msgid "Icon"
|
734 |
msgstr ""
|
735 |
|
736 |
+
#: tmp/widgets/button/button.php:70, tmp/widgets/features/features.php:85, tmp/widgets/price-table/price-table.php:122, tmp/widgets/social-media-buttons/social-media-buttons.php:81
|
737 |
msgid "Icon color"
|
738 |
msgstr ""
|
739 |
|
745 |
msgid "Replaces the icon with your own image icon."
|
746 |
msgstr ""
|
747 |
|
748 |
+
#: tmp/widgets/button/button.php:81
|
749 |
+
msgid "Icon Placement"
|
750 |
msgstr ""
|
751 |
|
752 |
+
#: tmp/widgets/button/button.php:84, tmp/widgets/features/features.php:63
|
753 |
+
msgid "Top"
|
754 |
msgstr ""
|
755 |
|
756 |
+
#: tmp/widgets/button/button.php:85, tmp/widgets/button/button.php:111, tmp/widgets/contact/contact.php:361, tmp/widgets/contact/contact.php:376, tmp/widgets/contact/contact.php:596, tmp/widgets/cta/cta.php:97, tmp/widgets/features/features.php:64, tmp/widgets/headline/headline.php:89, tmp/widgets/headline/headline.php:160, tmp/widgets/headline/headline.php:215, tmp/widgets/icon/icon.php:49, tmp/widgets/image/image.php:48, tmp/widgets/social-media-buttons/social-media-buttons.php:152, tmp/widgets/social-media-buttons/social-media-buttons.php:163, tmp/widgets/testimonial/testimonial.php:254
|
757 |
+
msgid "Right"
|
758 |
msgstr ""
|
759 |
|
760 |
+
#: tmp/widgets/button/button.php:86, tmp/widgets/features/features.php:65
|
761 |
+
msgid "Bottom"
|
762 |
msgstr ""
|
763 |
|
764 |
+
#: tmp/widgets/button/button.php:87, tmp/widgets/button/button.php:110, tmp/widgets/contact/contact.php:360, tmp/widgets/contact/contact.php:375, tmp/widgets/contact/contact.php:595, tmp/widgets/cta/cta.php:96, tmp/widgets/features/features.php:66, tmp/widgets/headline/headline.php:88, tmp/widgets/headline/headline.php:159, tmp/widgets/headline/headline.php:214, tmp/widgets/icon/icon.php:48, tmp/widgets/image/image.php:47, tmp/widgets/social-media-buttons/social-media-buttons.php:151, tmp/widgets/social-media-buttons/social-media-buttons.php:162, tmp/widgets/testimonial/testimonial.php:253
|
765 |
msgid "Left"
|
766 |
msgstr ""
|
767 |
|
768 |
+
#: tmp/widgets/button/button.php:95, tmp/widgets/social-media-buttons/social-media-buttons.php:91
|
769 |
+
msgid "Design and layout"
|
770 |
+
msgstr ""
|
771 |
+
|
772 |
+
#: tmp/widgets/button/button.php:101, tmp/widgets/contact/contact.php:367, tmp/widgets/contact/contact.php:588, tmp/widgets/contact/contact.php:639, tmp/widgets/google-map/google-map.php:88
|
773 |
+
msgid "Width"
|
774 |
+
msgstr ""
|
775 |
+
|
776 |
+
#: tmp/widgets/button/button.php:102
|
777 |
+
msgid "Leave blank to let the button resize according to content."
|
778 |
+
msgstr ""
|
779 |
+
|
780 |
+
#: tmp/widgets/button/button.php:107, tmp/widgets/contact/contact.php:372, tmp/widgets/contact/contact.php:592, tmp/widgets/social-media-buttons/social-media-buttons.php:148
|
781 |
+
msgid "Align"
|
782 |
msgstr ""
|
783 |
|
784 |
+
#: tmp/widgets/button/button.php:112, tmp/widgets/contact/contact.php:377, tmp/widgets/contact/contact.php:597, tmp/widgets/headline/headline.php:87, tmp/widgets/headline/headline.php:158, tmp/widgets/headline/headline.php:213, tmp/widgets/icon/icon.php:47, tmp/widgets/image/image.php:49, tmp/widgets/social-media-buttons/social-media-buttons.php:153, tmp/widgets/social-media-buttons/social-media-buttons.php:164
|
785 |
msgid "Center"
|
786 |
msgstr ""
|
787 |
|
788 |
+
#: tmp/widgets/button/button.php:113, tmp/widgets/contact/contact.php:378, tmp/widgets/headline/headline.php:90, tmp/widgets/headline/headline.php:161, tmp/widgets/social-media-buttons/social-media-buttons.php:154, tmp/widgets/social-media-buttons/social-media-buttons.php:165
|
789 |
msgid "Justify"
|
790 |
msgstr ""
|
791 |
|
792 |
+
#: tmp/widgets/button/button.php:119, tmp/widgets/social-media-buttons/social-media-buttons.php:101
|
793 |
msgid "Button theme"
|
794 |
msgstr ""
|
795 |
|
796 |
+
#: tmp/widgets/button/button.php:122, tmp/widgets/price-table/price-table.php:133, tmp/widgets/social-media-buttons/social-media-buttons.php:104
|
797 |
msgid "Atom"
|
798 |
msgstr ""
|
799 |
|
800 |
+
#: tmp/widgets/button/button.php:123, tmp/widgets/social-media-buttons/social-media-buttons.php:105
|
801 |
msgid "Flat"
|
802 |
msgstr ""
|
803 |
|
804 |
+
#: tmp/widgets/button/button.php:124, tmp/widgets/social-media-buttons/social-media-buttons.php:106
|
805 |
msgid "Wire"
|
806 |
msgstr ""
|
807 |
|
808 |
+
#: tmp/widgets/button/button.php:131, tmp/widgets/price-table/price-table.php:149
|
809 |
msgid "Button color"
|
810 |
msgstr ""
|
811 |
|
812 |
+
#: tmp/widgets/button/button.php:136, tmp/widgets/contact/contact.php:563, tmp/widgets/hero/hero.php:243, tmp/widgets/layout-slider/layout-slider.php:181
|
813 |
msgid "Text color"
|
814 |
msgstr ""
|
815 |
|
816 |
+
#: tmp/widgets/button/button.php:142, tmp/widgets/social-media-buttons/social-media-buttons.php:111
|
817 |
msgid "Use hover effects"
|
818 |
msgstr ""
|
819 |
|
820 |
+
#: tmp/widgets/button/button.php:147, tmp/widgets/contact/contact.php:340, tmp/widgets/contact/contact.php:390, tmp/widgets/features/features.php:137, tmp/widgets/features/features.php:158, tmp/widgets/features/features.php:179, tmp/widgets/headline/headline.php:75, tmp/widgets/headline/headline.php:146
|
821 |
msgid "Font"
|
822 |
msgstr ""
|
823 |
|
824 |
+
#: tmp/widgets/button/button.php:153, tmp/widgets/contact/contact.php:345, tmp/widgets/contact/contact.php:568
|
825 |
msgid "Font size"
|
826 |
msgstr ""
|
827 |
|
828 |
+
#: tmp/widgets/button/button.php:155, tmp/widgets/contact/contact.php:253, tmp/widgets/contact/contact.php:474, tmp/widgets/contact/contact.php:576, tmp/widgets/social-media-buttons/social-media-buttons.php:118
|
829 |
msgid "Normal"
|
830 |
msgstr ""
|
831 |
|
832 |
+
#: tmp/widgets/button/button.php:157, tmp/widgets/social-media-buttons/social-media-buttons.php:120
|
833 |
msgid "Large"
|
834 |
msgstr ""
|
835 |
|
836 |
+
#: tmp/widgets/button/button.php:158, tmp/widgets/social-media-buttons/social-media-buttons.php:121
|
837 |
msgid "Extra large"
|
838 |
msgstr ""
|
839 |
|
840 |
+
#: tmp/widgets/button/button.php:164, tmp/widgets/social-media-buttons/social-media-buttons.php:126
|
841 |
msgid "Rounding"
|
842 |
msgstr ""
|
843 |
|
844 |
+
#: tmp/widgets/button/button.php:167, tmp/widgets/contact/contact.php:319, tmp/widgets/contact/contact.php:432, tmp/widgets/contact/contact.php:543, tmp/widgets/contact/contact.php:628, tmp/widgets/headline/headline.php:185, tmp/widgets/social-media-buttons/social-media-buttons.php:129
|
845 |
msgid "None"
|
846 |
msgstr ""
|
847 |
|
848 |
+
#: tmp/widgets/button/button.php:168, tmp/widgets/social-media-buttons/social-media-buttons.php:130
|
849 |
msgid "Slightly rounded"
|
850 |
msgstr ""
|
851 |
|
852 |
+
#: tmp/widgets/button/button.php:169, tmp/widgets/social-media-buttons/social-media-buttons.php:131
|
853 |
msgid "Very rounded"
|
854 |
msgstr ""
|
855 |
|
856 |
+
#: tmp/widgets/button/button.php:170, tmp/widgets/social-media-buttons/social-media-buttons.php:132
|
857 |
msgid "Completely rounded"
|
858 |
msgstr ""
|
859 |
|
860 |
+
#: tmp/widgets/button/button.php:176, tmp/widgets/contact/contact.php:301, tmp/widgets/contact/contact.php:407, tmp/widgets/contact/contact.php:583, tmp/widgets/social-media-buttons/social-media-buttons.php:137, tmp/widgets/testimonial/testimonial.php:233
|
861 |
msgid "Padding"
|
862 |
msgstr ""
|
863 |
|
864 |
+
#: tmp/widgets/button/button.php:179, tmp/widgets/social-media-buttons/social-media-buttons.php:140, tmp/widgets/social-media-buttons/social-media-buttons.php:173
|
865 |
msgid "Low"
|
866 |
msgstr ""
|
867 |
|
868 |
+
#: tmp/widgets/button/button.php:181, tmp/widgets/social-media-buttons/social-media-buttons.php:142, tmp/widgets/social-media-buttons/social-media-buttons.php:175
|
869 |
msgid "High"
|
870 |
msgstr ""
|
871 |
|
872 |
+
#: tmp/widgets/button/button.php:182, tmp/widgets/social-media-buttons/social-media-buttons.php:143, tmp/widgets/social-media-buttons/social-media-buttons.php:176
|
873 |
msgid "Very high"
|
874 |
msgstr ""
|
875 |
|
876 |
+
#: tmp/widgets/button/button.php:191
|
877 |
msgid "Other attributes and SEO"
|
878 |
msgstr ""
|
879 |
|
880 |
+
#: tmp/widgets/button/button.php:196, tmp/widgets/contact/contact.php:96
|
881 |
msgid "Button ID"
|
882 |
msgstr ""
|
883 |
|
884 |
+
#: tmp/widgets/button/button.php:197
|
885 |
msgid "An ID attribute allows you to target this button in Javascript."
|
886 |
msgstr ""
|
887 |
|
888 |
+
#: tmp/widgets/button/button.php:202
|
889 |
msgid "Button Classes"
|
890 |
msgstr ""
|
891 |
|
892 |
+
#: tmp/widgets/button/button.php:203
|
893 |
msgid "Additional CSS classes added to the button link."
|
894 |
msgstr ""
|
895 |
|
896 |
+
#: tmp/widgets/button/button.php:208
|
897 |
msgid "Title attribute"
|
898 |
msgstr ""
|
899 |
|
900 |
+
#: tmp/widgets/button/button.php:209
|
901 |
msgid "Adds a title attribute to the button link."
|
902 |
msgstr ""
|
903 |
|
904 |
+
#: tmp/widgets/button/button.php:214, tmp/widgets/contact/contact.php:101
|
905 |
msgid "Onclick"
|
906 |
msgstr ""
|
907 |
|
908 |
+
#: tmp/widgets/button/button.php:215
|
909 |
msgid "Run this Javascript when the button is clicked. Ideal for tracking."
|
910 |
msgstr ""
|
911 |
|
912 |
+
#: tmp/widgets/button/button.php:220
|
913 |
msgid "Rel attribute"
|
914 |
msgstr ""
|
915 |
|
916 |
+
#: tmp/widgets/button/button.php:221
|
917 |
msgid "Adds a rel attribute to the button link."
|
918 |
msgstr ""
|
919 |
|
981 |
msgid "Submit button text"
|
982 |
msgstr ""
|
983 |
|
984 |
+
#: tmp/widgets/contact/contact.php:97
|
985 |
+
msgid "An ID attribute allows you to target this button in JavaScript."
|
986 |
+
msgstr ""
|
987 |
+
|
988 |
+
#: tmp/widgets/contact/contact.php:102
|
989 |
+
msgid "Run this JavaScript when the button is clicked. Ideal for tracking."
|
990 |
+
msgstr ""
|
991 |
+
|
992 |
+
#: tmp/widgets/contact/contact.php:106
|
993 |
msgid "Indicate required fields with asterisk (*)"
|
994 |
msgstr ""
|
995 |
|
996 |
+
#: tmp/widgets/contact/contact.php:117
|
997 |
msgid "Required field indicator message"
|
998 |
msgstr ""
|
999 |
|
1000 |
+
#: tmp/widgets/contact/contact.php:118
|
1001 |
msgid "Fields marked with * are required"
|
1002 |
msgstr ""
|
1003 |
|
1004 |
+
#: tmp/widgets/contact/contact.php:130, tmp/widgets/contact/contact.php:386
|
1005 |
msgid "Fields"
|
1006 |
msgstr ""
|
1007 |
|
1008 |
+
#: tmp/widgets/contact/contact.php:131
|
1009 |
msgid "Field"
|
1010 |
msgstr ""
|
1011 |
|
1012 |
+
#: tmp/widgets/contact/contact.php:139
|
1013 |
msgid "Field Type"
|
1014 |
msgstr ""
|
1015 |
|
1016 |
+
#: tmp/widgets/contact/contact.php:140
|
1017 |
+
msgid "Select Field Type"
|
1018 |
+
msgstr ""
|
1019 |
+
|
1020 |
+
#: tmp/widgets/contact/contact.php:142, tmp/widgets/testimonial/testimonial.php:54
|
1021 |
msgid "Name"
|
1022 |
msgstr ""
|
1023 |
|
1024 |
+
#: tmp/widgets/contact/contact.php:143, tmp/widgets/social-media-buttons/data/networks.php:29
|
1025 |
msgid "Email"
|
1026 |
msgstr ""
|
1027 |
|
1028 |
+
#: tmp/widgets/contact/contact.php:144, tmp/widgets/contact/contact.php:703
|
1029 |
msgid "Subject"
|
1030 |
msgstr ""
|
1031 |
|
1032 |
+
#: tmp/widgets/contact/contact.php:145, tmp/widgets/features/features.php:110, tmp/widgets/features/features.php:153, tmp/widgets/headline/headline.php:40, tmp/widgets/headline/headline.php:111, tmp/widgets/price-table/price-table.php:110, tmp/widgets/taxonomy/taxonomy.php:50, tmp/widgets/testimonial/testimonial.php:81
|
1033 |
msgid "Text"
|
1034 |
msgstr ""
|
1035 |
|
1036 |
+
#: tmp/widgets/contact/contact.php:146
|
1037 |
msgid "Text Area"
|
1038 |
msgstr ""
|
1039 |
|
1040 |
+
#: tmp/widgets/contact/contact.php:147
|
1041 |
msgid "Dropdown Select"
|
1042 |
msgstr ""
|
1043 |
|
1044 |
+
#: tmp/widgets/contact/contact.php:148
|
1045 |
msgid "Checkboxes"
|
1046 |
msgstr ""
|
1047 |
|
1048 |
+
#: tmp/widgets/contact/contact.php:149
|
1049 |
msgid "Radio"
|
1050 |
msgstr ""
|
1051 |
|
1052 |
+
#: tmp/widgets/contact/contact.php:159, tmp/widgets/taxonomy/taxonomy.php:42
|
1053 |
msgid "Label"
|
1054 |
msgstr ""
|
1055 |
|
1056 |
+
#: tmp/widgets/contact/contact.php:164
|
1057 |
msgid "Description"
|
1058 |
msgstr ""
|
1059 |
|
1060 |
+
#: tmp/widgets/contact/contact.php:165
|
1061 |
msgid "This text will appear small beneath the input field."
|
1062 |
msgstr ""
|
1063 |
|
1064 |
+
#: tmp/widgets/contact/contact.php:170
|
1065 |
msgid "Required Field"
|
1066 |
msgstr ""
|
1067 |
|
1068 |
+
#: tmp/widgets/contact/contact.php:174, tmp/widgets/contact/contact.php:998
|
1069 |
msgid "Required field"
|
1070 |
msgstr ""
|
1071 |
|
1072 |
+
#: tmp/widgets/contact/contact.php:175
|
1073 |
msgid "Is this field required?"
|
1074 |
msgstr ""
|
1075 |
|
1076 |
+
#: tmp/widgets/contact/contact.php:179
|
1077 |
msgid "Missing message"
|
1078 |
msgstr ""
|
1079 |
|
1080 |
+
#: tmp/widgets/contact/contact.php:180
|
1081 |
msgid "Error message to display if this field is missing."
|
1082 |
msgstr ""
|
1083 |
|
1084 |
+
#: tmp/widgets/contact/contact.php:188
|
1085 |
msgid "Options"
|
1086 |
msgstr ""
|
1087 |
|
1088 |
+
#: tmp/widgets/contact/contact.php:189
|
1089 |
msgid "Option"
|
1090 |
msgstr ""
|
1091 |
|
1092 |
+
#: tmp/widgets/contact/contact.php:194
|
1093 |
msgid "Value"
|
1094 |
msgstr ""
|
1095 |
|
1096 |
+
#: tmp/widgets/contact/contact.php:209
|
1097 |
msgid "Spam Protection"
|
1098 |
msgstr ""
|
1099 |
|
1100 |
+
#: tmp/widgets/contact/contact.php:215
|
1101 |
msgid "reCAPTCHA"
|
1102 |
msgstr ""
|
1103 |
|
1104 |
+
#: tmp/widgets/contact/contact.php:219
|
1105 |
msgid "Use reCAPTCHA"
|
1106 |
msgstr ""
|
1107 |
|
1108 |
+
#: tmp/widgets/contact/contact.php:224
|
1109 |
msgid "reCAPTCHA Site Key"
|
1110 |
msgstr ""
|
1111 |
|
1112 |
+
#: tmp/widgets/contact/contact.php:228
|
1113 |
msgid "reCAPTCHA Secret Key"
|
1114 |
msgstr ""
|
1115 |
|
1116 |
+
#: tmp/widgets/contact/contact.php:232
|
1117 |
msgid "Theme"
|
1118 |
msgstr ""
|
1119 |
|
1120 |
+
#: tmp/widgets/contact/contact.php:235
|
1121 |
msgid "Light"
|
1122 |
msgstr ""
|
1123 |
|
1124 |
+
#: tmp/widgets/contact/contact.php:236
|
1125 |
msgid "Dark"
|
1126 |
msgstr ""
|
1127 |
|
1128 |
+
#: tmp/widgets/contact/contact.php:241
|
1129 |
msgid "Challenge type"
|
1130 |
msgstr ""
|
1131 |
|
1132 |
+
#: tmp/widgets/contact/contact.php:244, tmp/widgets/image-grid/image-grid.php:54, tmp/widgets/image-grid/image-grid.php:63, tmp/widgets/price-table/price-table.php:69, tmp/widgets/simple-masonry/simple-masonry.php:54, tmp/widgets/testimonial/testimonial.php:71, tmp/widgets/testimonial/testimonial.php:187
|
1133 |
msgid "Image"
|
1134 |
msgstr ""
|
1135 |
|
1136 |
+
#: tmp/widgets/contact/contact.php:245
|
1137 |
msgid "Audio"
|
1138 |
msgstr ""
|
1139 |
|
1140 |
+
#: tmp/widgets/contact/contact.php:250, tmp/widgets/contact/contact.php:460, tmp/widgets/features/features.php:142, tmp/widgets/features/features.php:163, tmp/widgets/features/features.php:184, tmp/widgets/icon/icon.php:40
|
1141 |
msgid "Size"
|
1142 |
msgstr ""
|
1143 |
|
1144 |
+
#: tmp/widgets/contact/contact.php:254
|
1145 |
msgid "Compact"
|
1146 |
msgstr ""
|
1147 |
|
1148 |
+
#: tmp/widgets/contact/contact.php:262
|
1149 |
msgid "Akismet"
|
1150 |
msgstr ""
|
1151 |
|
1152 |
+
#: tmp/widgets/contact/contact.php:266
|
1153 |
msgid "Use Akismet filtering"
|
1154 |
msgstr ""
|
1155 |
|
1156 |
+
#: tmp/widgets/contact/contact.php:271
|
1157 |
msgid "Spam action"
|
1158 |
msgstr ""
|
1159 |
|
1160 |
+
#: tmp/widgets/contact/contact.php:273
|
1161 |
msgid "Show error message"
|
1162 |
msgstr ""
|
1163 |
|
1164 |
+
#: tmp/widgets/contact/contact.php:274
|
1165 |
msgid "Tag as spam in subject"
|
1166 |
msgstr ""
|
1167 |
|
1168 |
+
#: tmp/widgets/contact/contact.php:276
|
1169 |
msgid "How to handle submissions that are identified as spam."
|
1170 |
msgstr ""
|
1171 |
|
1172 |
+
#: tmp/widgets/contact/contact.php:292
|
1173 |
msgid "Container"
|
1174 |
msgstr ""
|
1175 |
|
1176 |
+
#: tmp/widgets/contact/contact.php:316, tmp/widgets/contact/contact.php:540
|
1177 |
msgid "Border style"
|
1178 |
msgstr ""
|
1179 |
|
1180 |
+
#: tmp/widgets/contact/contact.php:320, tmp/widgets/contact/contact.php:433, tmp/widgets/contact/contact.php:629, tmp/widgets/image/image.php:63
|
1181 |
msgid "Hidden"
|
1182 |
msgstr ""
|
1183 |
|
1184 |
+
#: tmp/widgets/contact/contact.php:321, tmp/widgets/contact/contact.php:434, tmp/widgets/contact/contact.php:545, tmp/widgets/contact/contact.php:620, tmp/widgets/headline/headline.php:187
|
1185 |
msgid "Dotted"
|
1186 |
msgstr ""
|
1187 |
|
1188 |
+
#: tmp/widgets/contact/contact.php:322, tmp/widgets/contact/contact.php:435, tmp/widgets/contact/contact.php:546, tmp/widgets/contact/contact.php:621, tmp/widgets/headline/headline.php:188
|
1189 |
msgid "Dashed"
|
1190 |
msgstr ""
|
1191 |
|
1192 |
+
#: tmp/widgets/contact/contact.php:323, tmp/widgets/contact/contact.php:436, tmp/widgets/contact/contact.php:544, tmp/widgets/contact/contact.php:622, tmp/widgets/headline/headline.php:186
|
1193 |
msgid "Solid"
|
1194 |
msgstr ""
|
1195 |
|
1196 |
+
#: tmp/widgets/contact/contact.php:324, tmp/widgets/contact/contact.php:437, tmp/widgets/contact/contact.php:623, tmp/widgets/headline/headline.php:189
|
1197 |
msgid "Double"
|
1198 |
msgstr ""
|
1199 |
|
1200 |
+
#: tmp/widgets/contact/contact.php:325, tmp/widgets/contact/contact.php:438, tmp/widgets/contact/contact.php:624, tmp/widgets/headline/headline.php:190
|
1201 |
msgid "Groove"
|
1202 |
msgstr ""
|
1203 |
|
1204 |
+
#: tmp/widgets/contact/contact.php:326, tmp/widgets/contact/contact.php:439, tmp/widgets/contact/contact.php:625, tmp/widgets/headline/headline.php:191
|
1205 |
msgid "Ridge"
|
1206 |
msgstr ""
|
1207 |
|
1208 |
+
#: tmp/widgets/contact/contact.php:327, tmp/widgets/contact/contact.php:440, tmp/widgets/contact/contact.php:626, tmp/widgets/headline/headline.php:192
|
1209 |
msgid "Inset"
|
1210 |
msgstr ""
|
1211 |
|
1212 |
+
#: tmp/widgets/contact/contact.php:328, tmp/widgets/contact/contact.php:441, tmp/widgets/contact/contact.php:627, tmp/widgets/headline/headline.php:193
|
1213 |
msgid "Outset"
|
1214 |
msgstr ""
|
1215 |
|
1216 |
+
#: tmp/widgets/contact/contact.php:336
|
1217 |
msgid "Field labels"
|
1218 |
msgstr ""
|
1219 |
|
1220 |
+
#: tmp/widgets/contact/contact.php:350, tmp/widgets/contact/contact.php:465, tmp/widgets/contact/contact.php:634, tmp/widgets/features/features.php:146, tmp/widgets/features/features.php:167, tmp/widgets/features/features.php:188, tmp/widgets/google-map/google-map.php:347, tmp/widgets/headline/headline.php:67, tmp/widgets/headline/headline.php:138, tmp/widgets/headline/headline.php:198, tmp/widgets/icon/icon.php:35, tmp/widgets/taxonomy/taxonomy.php:55
|
1221 |
msgid "Color"
|
1222 |
msgstr ""
|
1223 |
|
1224 |
+
#: tmp/widgets/contact/contact.php:355
|
1225 |
msgid "Position"
|
1226 |
msgstr ""
|
1227 |
|
1228 |
+
#: tmp/widgets/contact/contact.php:358, tmp/widgets/image/image.php:64
|
1229 |
msgid "Above"
|
1230 |
msgstr ""
|
1231 |
|
1232 |
+
#: tmp/widgets/contact/contact.php:359, tmp/widgets/image/image.php:65
|
1233 |
msgid "Below"
|
1234 |
msgstr ""
|
1235 |
|
1236 |
+
#: tmp/widgets/contact/contact.php:362
|
1237 |
msgid "Inside"
|
1238 |
msgstr ""
|
1239 |
|
1240 |
+
#: tmp/widgets/contact/contact.php:395, tmp/widgets/headline/headline.php:80, tmp/widgets/headline/headline.php:151
|
1241 |
msgid "Font Size"
|
1242 |
msgstr ""
|
1243 |
|
1244 |
+
#: tmp/widgets/contact/contact.php:399, tmp/widgets/testimonial/testimonial.php:225
|
1245 |
msgid "Text Color"
|
1246 |
msgstr ""
|
1247 |
|
1248 |
+
#: tmp/widgets/contact/contact.php:403, tmp/widgets/social-media-buttons/social-media-buttons.php:170
|
1249 |
msgid "Margin"
|
1250 |
msgstr ""
|
1251 |
|
1252 |
+
#: tmp/widgets/contact/contact.php:411, tmp/widgets/google-map/google-map.php:93, tmp/widgets/hero/hero.php:161, tmp/widgets/layout-slider/layout-slider.php:124
|
1253 |
msgid "Height"
|
1254 |
msgstr ""
|
1255 |
|
1256 |
+
#: tmp/widgets/contact/contact.php:415, tmp/widgets/hero/hero.php:85, tmp/widgets/layout-slider/layout-slider.php:52
|
1257 |
msgid "Background"
|
1258 |
msgstr ""
|
1259 |
|
1260 |
+
#: tmp/widgets/contact/contact.php:429
|
1261 |
msgid " Border style"
|
1262 |
msgstr ""
|
1263 |
|
1264 |
+
#: tmp/widgets/contact/contact.php:446, tmp/widgets/contact/contact.php:556
|
1265 |
msgid "Border rounding"
|
1266 |
msgstr ""
|
1267 |
|
1268 |
+
#: tmp/widgets/contact/contact.php:456
|
1269 |
msgid "Field descriptions"
|
1270 |
msgstr ""
|
1271 |
|
1272 |
+
#: tmp/widgets/contact/contact.php:470, tmp/widgets/contact/contact.php:617, tmp/widgets/google-map/google-map.php:300, tmp/widgets/headline/headline.php:182
|
1273 |
msgid "Style"
|
1274 |
msgstr ""
|
1275 |
|
1276 |
+
#: tmp/widgets/contact/contact.php:473
|
1277 |
msgid "Italic"
|
1278 |
msgstr ""
|
1279 |
|
1280 |
+
#: tmp/widgets/contact/contact.php:482
|
1281 |
msgid "Error messages"
|
1282 |
msgstr ""
|
1283 |
|
1284 |
+
#: tmp/widgets/contact/contact.php:486
|
1285 |
msgid "Error background color"
|
1286 |
msgstr ""
|
1287 |
|
1288 |
+
#: tmp/widgets/contact/contact.php:491
|
1289 |
msgid "Error border color"
|
1290 |
msgstr ""
|
1291 |
|
1292 |
+
#: tmp/widgets/contact/contact.php:496
|
1293 |
msgid "Error text color"
|
1294 |
msgstr ""
|
1295 |
|
1296 |
+
#: tmp/widgets/contact/contact.php:501
|
1297 |
msgid "Error padding"
|
1298 |
msgstr ""
|
1299 |
|
1300 |
+
#: tmp/widgets/contact/contact.php:506
|
1301 |
msgid "Error margin"
|
1302 |
msgstr ""
|
1303 |
|
1304 |
+
#: tmp/widgets/contact/contact.php:514
|
1305 |
msgid "Submit button"
|
1306 |
msgstr ""
|
1307 |
|
1308 |
+
#: tmp/widgets/contact/contact.php:518
|
1309 |
msgid "Style submit button"
|
1310 |
msgstr ""
|
1311 |
|
1312 |
+
#: tmp/widgets/contact/contact.php:519
|
1313 |
msgid "Style the button or leave it with default theme styling."
|
1314 |
msgstr ""
|
1315 |
|
1316 |
+
#: tmp/widgets/contact/contact.php:530
|
1317 |
msgid "Gradient intensity"
|
1318 |
msgstr ""
|
1319 |
|
1320 |
+
#: tmp/widgets/contact/contact.php:573
|
1321 |
msgid "Font weight"
|
1322 |
msgstr ""
|
1323 |
|
1324 |
+
#: tmp/widgets/contact/contact.php:577
|
1325 |
msgid "Semi-bold"
|
1326 |
msgstr ""
|
1327 |
|
1328 |
+
#: tmp/widgets/contact/contact.php:578
|
1329 |
msgid "Bold"
|
1330 |
msgstr ""
|
1331 |
|
1332 |
+
#: tmp/widgets/contact/contact.php:602
|
1333 |
msgid "Inset highlight"
|
1334 |
msgstr ""
|
1335 |
|
1336 |
+
#: tmp/widgets/contact/contact.php:603
|
1337 |
msgid "The white highlight at the bottom of the button"
|
1338 |
msgstr ""
|
1339 |
|
1340 |
+
#: tmp/widgets/contact/contact.php:613
|
1341 |
msgid "Input focus"
|
1342 |
msgstr ""
|
1343 |
|
1344 |
+
#: tmp/widgets/contact/contact.php:660
|
1345 |
msgid "Get more form fields for the Contact Form Widget in %s"
|
1346 |
msgstr ""
|
1347 |
|
1348 |
+
#: tmp/widgets/contact/contact.php:661
|
1349 |
msgid "SiteOrigin Premium"
|
1350 |
msgstr ""
|
1351 |
|
1352 |
+
#: tmp/widgets/contact/contact.php:687
|
1353 |
msgid "Your Name"
|
1354 |
msgstr ""
|
1355 |
|
1356 |
+
#: tmp/widgets/contact/contact.php:690
|
1357 |
msgid "Please enter your name"
|
1358 |
msgstr ""
|
1359 |
|
1360 |
+
#: tmp/widgets/contact/contact.php:695
|
1361 |
msgid "Your Email"
|
1362 |
msgstr ""
|
1363 |
|
1364 |
+
#: tmp/widgets/contact/contact.php:698
|
1365 |
msgid "Please enter a valid email address"
|
1366 |
msgstr ""
|
1367 |
|
1368 |
+
#: tmp/widgets/contact/contact.php:706
|
1369 |
msgid "Please enter a subject"
|
1370 |
msgstr ""
|
1371 |
|
1372 |
+
#: tmp/widgets/contact/contact.php:711
|
1373 |
msgid "Message"
|
1374 |
msgstr ""
|
1375 |
|
1376 |
+
#: tmp/widgets/contact/contact.php:714
|
1377 |
msgid "Please write something"
|
1378 |
msgstr ""
|
1379 |
|
1380 |
+
#: tmp/widgets/contact/contact.php:1010
|
1381 |
msgid "Invalid email address."
|
1382 |
msgstr ""
|
1383 |
|
1384 |
+
#: tmp/widgets/contact/contact.php:1084
|
1385 |
msgid "Error sending email, please try again later."
|
1386 |
msgstr ""
|
1387 |
|
1388 |
+
#: tmp/widgets/contact/contact.php:1108
|
1389 |
msgid "A valid email is required"
|
1390 |
msgstr ""
|
1391 |
|
1392 |
+
#: tmp/widgets/contact/contact.php:1110
|
1393 |
msgid "The email address is invalid"
|
1394 |
msgstr ""
|
1395 |
|
1396 |
+
#: tmp/widgets/contact/contact.php:1114
|
1397 |
msgid "Missing subject"
|
1398 |
msgstr ""
|
1399 |
|
1400 |
+
#: tmp/widgets/contact/contact.php:1148
|
1401 |
msgid "Error validating your Captcha response."
|
1402 |
msgstr ""
|
1403 |
|
1404 |
+
#: tmp/widgets/contact/contact.php:1180
|
1405 |
msgid "Unfortunately our system identified your message as spam."
|
1406 |
msgstr ""
|
1407 |
|
1469 |
msgid "Container Position"
|
1470 |
msgstr ""
|
1471 |
|
1472 |
+
#: tmp/widgets/features/features.php:80, tmp/widgets/social-media-buttons/social-media-buttons.php:77
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1473 |
msgid "Icon title"
|
1474 |
msgstr ""
|
1475 |
|
1513 |
msgid "Container size"
|
1514 |
msgstr ""
|
1515 |
|
1516 |
+
#: tmp/widgets/features/features.php:210, tmp/widgets/social-media-buttons/social-media-buttons.php:116
|
1517 |
msgid "Icon size"
|
1518 |
msgstr ""
|
1519 |
|
1541 |
msgid "Open more URL in a new window"
|
1542 |
msgstr ""
|
1543 |
|
1544 |
+
#: tmp/widgets/features/features.php:296
|
1545 |
+
msgid "Responsive Breakpoint"
|
1546 |
+
msgstr ""
|
1547 |
+
|
1548 |
+
#: tmp/widgets/features/features.php:298
|
1549 |
+
msgid "This setting controls when the features widget will collapse for mobile devices. The default value is 520px"
|
1550 |
+
msgstr ""
|
1551 |
+
|
1552 |
#: tmp/widgets/google-map/google-map.php:16
|
1553 |
msgid "SiteOrigin Google Maps"
|
1554 |
msgstr ""
|
1557 |
msgid "A Google Maps widget."
|
1558 |
msgstr ""
|
1559 |
|
1560 |
+
#: tmp/widgets/google-map/google-map.php:37
|
1561 |
msgid "Map center"
|
1562 |
msgstr ""
|
1563 |
|
1564 |
+
#: tmp/widgets/google-map/google-map.php:39
|
1565 |
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."
|
1566 |
msgstr ""
|
1567 |
|
1568 |
+
#: tmp/widgets/google-map/google-map.php:46, tmp/widgets/google-map/google-map.php:51, tmp/widgets/google-map/google-map.php:437
|
1569 |
msgid "API key"
|
1570 |
msgstr ""
|
1571 |
|
1572 |
+
#: tmp/widgets/google-map/google-map.php:54
|
1573 |
msgid "Enter your %sAPI key%s. Your map may not function correctly without one."
|
1574 |
msgstr ""
|
1575 |
|
1576 |
+
#: tmp/widgets/google-map/google-map.php:65
|
1577 |
msgid "Set map display options."
|
1578 |
msgstr ""
|
1579 |
|
1580 |
+
#: tmp/widgets/google-map/google-map.php:70
|
1581 |
msgid "Map type"
|
1582 |
msgstr ""
|
1583 |
|
1584 |
+
#: tmp/widgets/google-map/google-map.php:76
|
1585 |
msgid "Interactive"
|
1586 |
msgstr ""
|
1587 |
|
1588 |
+
#: tmp/widgets/google-map/google-map.php:77
|
1589 |
msgid "Static image"
|
1590 |
msgstr ""
|
1591 |
|
1592 |
+
#: tmp/widgets/google-map/google-map.php:117
|
1593 |
msgid "Zoom level"
|
1594 |
msgstr ""
|
1595 |
|
1596 |
+
#: tmp/widgets/google-map/google-map.php:118
|
1597 |
msgid "A value from 0 (the world) to 21 (street level)."
|
1598 |
msgstr ""
|
1599 |
|
1600 |
+
#: tmp/widgets/google-map/google-map.php:132
|
1601 |
msgid "Scroll to zoom"
|
1602 |
msgstr ""
|
1603 |
|
1604 |
+
#: tmp/widgets/google-map/google-map.php:133
|
1605 |
msgid "Allow scrolling over the map to zoom in or out."
|
1606 |
msgstr ""
|
1607 |
|
1608 |
+
#: tmp/widgets/google-map/google-map.php:142
|
1609 |
msgid "Draggable"
|
1610 |
msgstr ""
|
1611 |
|
1612 |
+
#: tmp/widgets/google-map/google-map.php:143
|
1613 |
msgid "Allow dragging the map to move it around."
|
1614 |
msgstr ""
|
1615 |
|
1616 |
+
#: tmp/widgets/google-map/google-map.php:152
|
1617 |
msgid "Disable default UI"
|
1618 |
msgstr ""
|
1619 |
|
1620 |
+
#: tmp/widgets/google-map/google-map.php:153
|
1621 |
msgid "Hides the default Google Maps controls."
|
1622 |
msgstr ""
|
1623 |
|
1624 |
+
#: tmp/widgets/google-map/google-map.php:162
|
1625 |
msgid "Keep map centered"
|
1626 |
msgstr ""
|
1627 |
|
1628 |
+
#: tmp/widgets/google-map/google-map.php:163
|
1629 |
msgid "Keeps the map centered when it's container is resized."
|
1630 |
msgstr ""
|
1631 |
|
1632 |
+
#: tmp/widgets/google-map/google-map.php:167
|
1633 |
msgid "Fallback Image"
|
1634 |
msgstr ""
|
1635 |
|
1636 |
+
#: tmp/widgets/google-map/google-map.php:168
|
1637 |
msgid "This image will be displayed if there are any problems with displaying the specified map."
|
1638 |
msgstr ""
|
1639 |
|
1640 |
+
#: tmp/widgets/google-map/google-map.php:173
|
1641 |
msgid "Fallback Image Size"
|
1642 |
msgstr ""
|
1643 |
|
1644 |
+
#: tmp/widgets/google-map/google-map.php:179
|
1645 |
msgid "Markers"
|
1646 |
msgstr ""
|
1647 |
|
1648 |
+
#: tmp/widgets/google-map/google-map.php:181
|
1649 |
msgid "Use markers to identify points of interest on the map."
|
1650 |
msgstr ""
|
1651 |
|
1652 |
+
#: tmp/widgets/google-map/google-map.php:186
|
1653 |
msgid "Show marker at map center"
|
1654 |
msgstr ""
|
1655 |
|
1656 |
+
#: tmp/widgets/google-map/google-map.php:191
|
1657 |
msgid "Marker icon"
|
1658 |
msgstr ""
|
1659 |
|
1660 |
+
#: tmp/widgets/google-map/google-map.php:192
|
1661 |
msgid "Replaces the default map marker with your own image."
|
1662 |
msgstr ""
|
1663 |
|
1664 |
+
#: tmp/widgets/google-map/google-map.php:201
|
1665 |
msgid "Draggable markers"
|
1666 |
msgstr ""
|
1667 |
|
1668 |
+
#: tmp/widgets/google-map/google-map.php:205
|
1669 |
msgid "Marker positions"
|
1670 |
msgstr ""
|
1671 |
|
1672 |
+
#: tmp/widgets/google-map/google-map.php:206
|
1673 |
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."
|
1674 |
msgstr ""
|
1675 |
|
1676 |
+
#: tmp/widgets/google-map/google-map.php:207
|
1677 |
msgid "Marker"
|
1678 |
msgstr ""
|
1679 |
|
1680 |
+
#: tmp/widgets/google-map/google-map.php:217
|
1681 |
msgid "Place"
|
1682 |
msgstr ""
|
1683 |
|
1684 |
+
#: tmp/widgets/google-map/google-map.php:222
|
1685 |
msgid "Info Window Content"
|
1686 |
msgstr ""
|
1687 |
|
1688 |
+
#: tmp/widgets/google-map/google-map.php:226
|
1689 |
msgid "Info Window max width"
|
1690 |
msgstr ""
|
1691 |
|
1692 |
+
#: tmp/widgets/google-map/google-map.php:231
|
1693 |
msgid "Custom Marker icon"
|
1694 |
msgstr ""
|
1695 |
|
1696 |
+
#: tmp/widgets/google-map/google-map.php:232
|
1697 |
msgid "Replace the default map marker with your own image for each marker."
|
1698 |
msgstr ""
|
1699 |
|
1700 |
+
#: tmp/widgets/google-map/google-map.php:238
|
1701 |
msgid "When should Info Windows be displayed?"
|
1702 |
msgstr ""
|
1703 |
|
1704 |
+
#: tmp/widgets/google-map/google-map.php:241
|
1705 |
msgid "Click"
|
1706 |
msgstr ""
|
1707 |
|
1708 |
+
#: tmp/widgets/google-map/google-map.php:242
|
1709 |
msgid "Mouse over"
|
1710 |
msgstr ""
|
1711 |
|
1712 |
+
#: tmp/widgets/google-map/google-map.php:243
|
1713 |
msgid "Always"
|
1714 |
msgstr ""
|
1715 |
|
1716 |
+
#: tmp/widgets/google-map/google-map.php:248
|
1717 |
msgid "Allow multiple simultaneous Info Windows?"
|
1718 |
msgstr ""
|
1719 |
|
1720 |
+
#: tmp/widgets/google-map/google-map.php:256
|
1721 |
msgid "Styles"
|
1722 |
msgstr ""
|
1723 |
|
1724 |
+
#: tmp/widgets/google-map/google-map.php:258
|
1725 |
msgid "Apply custom colors to map features, or hide them completely."
|
1726 |
msgstr ""
|
1727 |
|
1728 |
+
#: tmp/widgets/google-map/google-map.php:263
|
1729 |
msgid "Map styles"
|
1730 |
msgstr ""
|
1731 |
|
1732 |
+
#: tmp/widgets/google-map/google-map.php:270
|
1733 |
msgid "Custom"
|
1734 |
msgstr ""
|
1735 |
|
1736 |
+
#: tmp/widgets/google-map/google-map.php:271
|
1737 |
msgid "Predefined Styles"
|
1738 |
msgstr ""
|
1739 |
|
1740 |
+
#: tmp/widgets/google-map/google-map.php:280
|
1741 |
msgid "Styled map name"
|
1742 |
msgstr ""
|
1743 |
|
1744 |
+
#: tmp/widgets/google-map/google-map.php:290
|
1745 |
msgid "Raw JSON styles"
|
1746 |
msgstr ""
|
1747 |
|
1748 |
+
#: tmp/widgets/google-map/google-map.php:291
|
1749 |
msgid "Copy and paste predefined styles here from <a href=\"http://snazzymaps.com/\" target=\"_blank\" rel=\"noopener noreferrer\">Snazzy Maps</a>."
|
1750 |
msgstr ""
|
1751 |
|
1752 |
+
#: tmp/widgets/google-map/google-map.php:299
|
1753 |
msgid "Custom map styles"
|
1754 |
msgstr ""
|
1755 |
|
1756 |
+
#: tmp/widgets/google-map/google-map.php:310
|
1757 |
msgid "Select map feature to style"
|
1758 |
msgstr ""
|
1759 |
|
1760 |
+
#: tmp/widgets/google-map/google-map.php:312
|
1761 |
msgid "Water"
|
1762 |
msgstr ""
|
1763 |
|
1764 |
+
#: tmp/widgets/google-map/google-map.php:313
|
1765 |
msgid "Highways"
|
1766 |
msgstr ""
|
1767 |
|
1768 |
+
#: tmp/widgets/google-map/google-map.php:314
|
1769 |
msgid "Arterial roads"
|
1770 |
msgstr ""
|
1771 |
|
1772 |
+
#: tmp/widgets/google-map/google-map.php:315
|
1773 |
msgid "Local roads"
|
1774 |
msgstr ""
|
1775 |
|
1776 |
+
#: tmp/widgets/google-map/google-map.php:316
|
1777 |
msgid "Transit lines"
|
1778 |
msgstr ""
|
1779 |
|
1780 |
+
#: tmp/widgets/google-map/google-map.php:317
|
1781 |
msgid "Transit stations"
|
1782 |
msgstr ""
|
1783 |
|
1784 |
+
#: tmp/widgets/google-map/google-map.php:318
|
1785 |
msgid "Man-made landscape"
|
1786 |
msgstr ""
|
1787 |
|
1788 |
+
#: tmp/widgets/google-map/google-map.php:319
|
1789 |
msgid "Natural landscape landcover"
|
1790 |
msgstr ""
|
1791 |
|
1792 |
+
#: tmp/widgets/google-map/google-map.php:320
|
1793 |
msgid "Natural landscape terrain"
|
1794 |
msgstr ""
|
1795 |
|
1796 |
+
#: tmp/widgets/google-map/google-map.php:321
|
1797 |
msgid "Point of interest - Attractions"
|
1798 |
msgstr ""
|
1799 |
|
1800 |
+
#: tmp/widgets/google-map/google-map.php:322
|
1801 |
msgid "Point of interest - Business"
|
1802 |
msgstr ""
|
1803 |
|
1804 |
+
#: tmp/widgets/google-map/google-map.php:323
|
1805 |
msgid "Point of interest - Government"
|
1806 |
msgstr ""
|
1807 |
|
1808 |
+
#: tmp/widgets/google-map/google-map.php:324
|
1809 |
msgid "Point of interest - Medical"
|
1810 |
msgstr ""
|
1811 |
|
1812 |
+
#: tmp/widgets/google-map/google-map.php:325
|
1813 |
msgid "Point of interest - Parks"
|
1814 |
msgstr ""
|
1815 |
|
1816 |
+
#: tmp/widgets/google-map/google-map.php:326
|
1817 |
msgid "Point of interest - Places of worship"
|
1818 |
msgstr ""
|
1819 |
|
1820 |
+
#: tmp/widgets/google-map/google-map.php:327
|
1821 |
msgid "Point of interest - Schools"
|
1822 |
msgstr ""
|
1823 |
|
1824 |
+
#: tmp/widgets/google-map/google-map.php:328
|
1825 |
msgid "Point of interest - Sports complexes"
|
1826 |
msgstr ""
|
1827 |
|
1828 |
+
#: tmp/widgets/google-map/google-map.php:333
|
1829 |
msgid "Select element type to style"
|
1830 |
msgstr ""
|
1831 |
|
1832 |
+
#: tmp/widgets/google-map/google-map.php:335
|
1833 |
msgid "Geometry"
|
1834 |
msgstr ""
|
1835 |
|
1836 |
+
#: tmp/widgets/google-map/google-map.php:336
|
1837 |
msgid "Labels"
|
1838 |
msgstr ""
|
1839 |
|
1840 |
+
#: tmp/widgets/google-map/google-map.php:343
|
1841 |
msgid "Visible"
|
1842 |
msgstr ""
|
1843 |
|
1844 |
+
#: tmp/widgets/google-map/google-map.php:355
|
1845 |
msgid "Directions"
|
1846 |
msgstr ""
|
1847 |
|
1848 |
+
#: tmp/widgets/google-map/google-map.php:362
|
1849 |
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."
|
1850 |
msgstr ""
|
1851 |
|
1852 |
+
#: tmp/widgets/google-map/google-map.php:369
|
1853 |
msgid "Starting point"
|
1854 |
msgstr ""
|
1855 |
|
1856 |
+
#: tmp/widgets/google-map/google-map.php:373
|
1857 |
msgid "Destination"
|
1858 |
msgstr ""
|
1859 |
|
1860 |
+
#: tmp/widgets/google-map/google-map.php:377
|
1861 |
msgid "Travel mode"
|
1862 |
msgstr ""
|
1863 |
|
1864 |
+
#: tmp/widgets/google-map/google-map.php:380
|
1865 |
msgid "Driving"
|
1866 |
msgstr ""
|
1867 |
|
1868 |
+
#: tmp/widgets/google-map/google-map.php:381
|
1869 |
msgid "Walking"
|
1870 |
msgstr ""
|
1871 |
|
1872 |
+
#: tmp/widgets/google-map/google-map.php:382
|
1873 |
msgid "Bicycling"
|
1874 |
msgstr ""
|
1875 |
|
1876 |
+
#: tmp/widgets/google-map/google-map.php:383
|
1877 |
msgid "Transit"
|
1878 |
msgstr ""
|
1879 |
|
1880 |
+
#: tmp/widgets/google-map/google-map.php:388
|
1881 |
msgid "Avoid highways"
|
1882 |
msgstr ""
|
1883 |
|
1884 |
+
#: tmp/widgets/google-map/google-map.php:392
|
1885 |
msgid "Avoid tolls"
|
1886 |
msgstr ""
|
1887 |
|
1888 |
+
#: tmp/widgets/google-map/google-map.php:396
|
1889 |
msgid "Preserve viewport"
|
1890 |
msgstr ""
|
1891 |
|
1892 |
+
#: tmp/widgets/google-map/google-map.php:397
|
1893 |
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."
|
1894 |
msgstr ""
|
1895 |
|
1896 |
+
#: tmp/widgets/google-map/google-map.php:401
|
1897 |
msgid "Waypoints"
|
1898 |
msgstr ""
|
1899 |
|
1900 |
+
#: tmp/widgets/google-map/google-map.php:402
|
1901 |
msgid "Waypoint"
|
1902 |
msgstr ""
|
1903 |
|
1904 |
+
#: tmp/widgets/google-map/google-map.php:412, tmp/widgets/testimonial/testimonial.php:65
|
1905 |
msgid "Location"
|
1906 |
msgstr ""
|
1907 |
|
1908 |
+
#: tmp/widgets/google-map/google-map.php:417
|
1909 |
msgid "Stopover"
|
1910 |
msgstr ""
|
1911 |
|
1912 |
+
#: tmp/widgets/google-map/google-map.php:418
|
1913 |
msgid "Whether or not this is a stop on the route or just a route preference."
|
1914 |
msgstr ""
|
1915 |
|
1916 |
+
#: tmp/widgets/google-map/google-map.php:424
|
1917 |
msgid "Optimize waypoints"
|
1918 |
msgstr ""
|
1919 |
|
1920 |
+
#: tmp/widgets/google-map/google-map.php:426
|
1921 |
msgid "Allow the Google Maps service to reorder waypoints for the shortest travelling distance."
|
1922 |
msgstr ""
|
1923 |
|
1924 |
+
#: tmp/widgets/google-map/google-map.php:440
|
1925 |
msgid "Enter your %sAPI key%s. Your map won't function correctly without one."
|
1926 |
msgstr ""
|
1927 |
|
1928 |
+
#: tmp/widgets/google-map/google-map.php:552
|
1929 |
msgid "There were no results for the place you entered. Please try another."
|
1930 |
msgstr ""
|
1931 |
|
1932 |
+
#: tmp/widgets/google-map/google-map.php:605
|
1933 |
msgid "Custom Map"
|
1934 |
msgstr ""
|
1935 |
|
2133 |
msgid "Heading shadow intensity"
|
2134 |
msgstr ""
|
2135 |
|
2136 |
+
#: tmp/widgets/hero/hero.php:248, tmp/widgets/layout-slider/layout-slider.php:175
|
2137 |
msgid "Text size"
|
2138 |
msgstr ""
|
2139 |
|
2140 |
+
#: tmp/widgets/hero/hero.php:253
|
2141 |
+
msgid "Text font"
|
2142 |
+
msgstr ""
|
2143 |
+
|
2144 |
+
#: tmp/widgets/hero/hero.php:258
|
2145 |
+
msgid "Text shadow intensity"
|
2146 |
+
msgstr ""
|
2147 |
+
|
2148 |
+
#: tmp/widgets/hero/hero.php:267
|
2149 |
+
msgid "Link color"
|
2150 |
+
msgstr ""
|
2151 |
+
|
2152 |
+
#: tmp/widgets/hero/hero.php:272
|
2153 |
+
msgid "Link Hover Color"
|
2154 |
+
msgstr ""
|
2155 |
+
|
2156 |
#: tmp/widgets/icon/icon.php:16
|
2157 |
msgid "SiteOrigin Icon"
|
2158 |
msgstr ""
|
2177 |
msgid "Image title"
|
2178 |
msgstr ""
|
2179 |
|
2180 |
+
#: tmp/widgets/image-grid/image-grid.php:71, tmp/widgets/social-media-buttons/social-media-buttons.php:73, tmp/widgets/testimonial/testimonial.php:87
|
2181 |
msgid "URL"
|
2182 |
msgstr ""
|
2183 |
|
2645 |
msgid "A social media buttons widget."
|
2646 |
msgstr ""
|
2647 |
|
2648 |
+
#: tmp/widgets/social-media-buttons/social-media-buttons.php:32
|
2649 |
+
msgid "Mobile Collapse Width"
|
2650 |
+
msgstr ""
|
2651 |
+
|
2652 |
+
#: tmp/widgets/social-media-buttons/social-media-buttons.php:34
|
2653 |
+
msgid "This setting allows you to set the resoloution for when the Mobile Align setting will be used."
|
2654 |
+
msgstr ""
|
2655 |
+
|
2656 |
+
#: tmp/widgets/social-media-buttons/social-media-buttons.php:57
|
2657 |
msgid "Networks"
|
2658 |
msgstr ""
|
2659 |
|
2660 |
+
#: tmp/widgets/social-media-buttons/social-media-buttons.php:58
|
2661 |
msgid "Network"
|
2662 |
msgstr ""
|
2663 |
|
2664 |
+
#: tmp/widgets/social-media-buttons/social-media-buttons.php:68
|
2665 |
msgid "Select network"
|
2666 |
msgstr ""
|
2667 |
|
2668 |
+
#: tmp/widgets/social-media-buttons/social-media-buttons.php:159
|
2669 |
+
msgid "Mobile Align"
|
2670 |
+
msgstr ""
|
2671 |
+
|
2672 |
#: tmp/widgets/social-media-buttons/tpl/default.php:9
|
2673 |
msgid "%s on %s"
|
2674 |
msgstr ""
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== SiteOrigin Widgets Bundle ===
|
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
|
5 |
-
Stable tag: 1.11.
|
6 |
-
Build time:
|
7 |
License: GPLv3 or later
|
8 |
Contributors: gpriday, braam-genis
|
9 |
Donate link: https://siteorigin.com/downloads/contribution/
|
@@ -31,6 +31,17 @@ The collection is growing, but here’s what we have so far.
|
|
31 |
* Video Widget to get your videos out there.
|
32 |
* Headline Widget to get you noticed.
|
33 |
* Social Links Widget to show you're active.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
|
35 |
Once you enable a widget, you'll be able to use it anywhere standard widgets are used. You can manage your widgets by going to Plugins > SiteOrigin Widgets in your WordPress admin.
|
36 |
|
@@ -54,6 +65,33 @@ The SiteOrigin Widgets Bundle is the perfect platform to build widgets for your
|
|
54 |
|
55 |
== Changelog ==
|
56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
= 1.11.2 - 27 November 2017 =
|
58 |
* Fix compatibility with Beaver Builder Lite.
|
59 |
* Tabs: Recalculate height on resize.
|
1 |
=== SiteOrigin Widgets Bundle ===
|
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.11.3
|
6 |
+
Build time: 2018-01-10T11:22:18+02:00
|
7 |
License: GPLv3 or later
|
8 |
Contributors: gpriday, braam-genis
|
9 |
Donate link: https://siteorigin.com/downloads/contribution/
|
31 |
* Video Widget to get your videos out there.
|
32 |
* Headline Widget to get you noticed.
|
33 |
* Social Links Widget to show you're active.
|
34 |
+
* Accordion Widget to compress your content.
|
35 |
+
* Contact Form Widget to let people know you care.
|
36 |
+
* Editor Widget let's you richly edit text anywhere.
|
37 |
+
* Hero Widget that'll save your site design.
|
38 |
+
* Icon Widget for when only icons will do.
|
39 |
+
* Image Grid Widget that'll let you add images everywhere... in a grid.
|
40 |
+
* Layout Slider Widget lets you build layouts on slides using SiteOrigin Page Builder.
|
41 |
+
* Masonry Widget to add images in a masonry layout.
|
42 |
+
* Tabs Widget that'll let you group content into tabbed sections.
|
43 |
+
* Taxonomy Widget to display a post's taxonomies.
|
44 |
+
* Testimonials Widget to show people what your users/customers think of you.
|
45 |
|
46 |
Once you enable a widget, you'll be able to use it anywhere standard widgets are used. You can manage your widgets by going to Plugins > SiteOrigin Widgets in your WordPress admin.
|
47 |
|
65 |
|
66 |
== Changelog ==
|
67 |
|
68 |
+
= 1.11.3 - 10 January 2018 =
|
69 |
+
* Hero: Add margin-top to so-widget-sow-button for spacing.
|
70 |
+
* Accordion: Added overflow to prevent Image overlap.
|
71 |
+
* Google Maps: Always register Google Maps script.
|
72 |
+
* Social Buttons: Mobile Alignment global widget settings
|
73 |
+
* Contact Form: Ability to control the width of the submit button.
|
74 |
+
* Contact Form: Add alignment options for submit button.
|
75 |
+
* Contact Form: Setting submit button gradient intensity to 0 removes gradient.
|
76 |
+
* Contact Form: Add success and error hooks.
|
77 |
+
* Accordion: Don't output widget title if not set.
|
78 |
+
* Accordion: Icon title collapse fix.
|
79 |
+
* Contact Form: Add placeholder for field type input.
|
80 |
+
* Button: Icon placement setting.
|
81 |
+
* Hero: Adjustable Paragraph text shadow.
|
82 |
+
* Hero: Add font family setting for paragraphs.
|
83 |
+
* Hero: Add link color picker.
|
84 |
+
* Slider field: allow float values and allow specifying step size.
|
85 |
+
* Contact Form: Add ability to set onclick and id for submit button.
|
86 |
+
* Features: Add ability to control responsive breakpoint.
|
87 |
+
* Global Settings: Add support for global settings added by themes.
|
88 |
+
* Beaver Builder Compat: Don't enqueue assets when all widgets are deactivated.
|
89 |
+
* Hero: Text font empty check.
|
90 |
+
* Contact Form: Preserve existing location hash when contact form is submitted.
|
91 |
+
* Post Selector: Only include current post id in exclusion if singular.
|
92 |
+
* Copy correct radio values when duplicating repeater items.
|
93 |
+
* Checkbox field: Parse string value 'false' in checkbox field sanitization.
|
94 |
+
|
95 |
= 1.11.2 - 27 November 2017 =
|
96 |
* Fix compatibility with Beaver Builder Lite.
|
97 |
* Tabs: Recalculate height on resize.
|
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.11.
|
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.11.
|
16 |
define('SOW_BUNDLE_BASE_FILE', __FILE__);
|
17 |
|
18 |
// Allow JS suffix to be pre-set
|
@@ -382,7 +382,7 @@ class SiteOrigin_Widgets_Bundle {
|
|
382 |
|
383 |
$widget_objects = $this->get_widget_objects();
|
384 |
|
385 |
-
$widget_path = empty( $_GET['id'] ) ? false : wp_normalize_path(
|
386 |
|
387 |
$widget_object = empty( $widget_objects[ $widget_path ] ) ? false : $widget_objects[ $widget_path ];
|
388 |
|
@@ -424,7 +424,7 @@ class SiteOrigin_Widgets_Bundle {
|
|
424 |
}
|
425 |
|
426 |
$widget_objects = $this->get_widget_objects();
|
427 |
-
$widget_path = empty( $_GET['id'] ) ? false : wp_normalize_path(
|
428 |
$widget_object = empty( $widget_objects[ $widget_path ] ) ? false : $widget_objects[ $widget_path ];
|
429 |
|
430 |
if ( empty( $widget_object ) || ! $widget_object->has_form( 'settings' ) ) {
|
@@ -752,6 +752,12 @@ class SiteOrigin_Widgets_Bundle {
|
|
752 |
'1.4.3',
|
753 |
true
|
754 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
755 |
}
|
756 |
|
757 |
/**
|
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.11.3
|
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.11.3');
|
16 |
define('SOW_BUNDLE_BASE_FILE', __FILE__);
|
17 |
|
18 |
// Allow JS suffix to be pre-set
|
382 |
|
383 |
$widget_objects = $this->get_widget_objects();
|
384 |
|
385 |
+
$widget_path = empty( $_GET['id'] ) ? false : wp_normalize_path( WP_CONTENT_DIR ) . $_GET['id'];
|
386 |
|
387 |
$widget_object = empty( $widget_objects[ $widget_path ] ) ? false : $widget_objects[ $widget_path ];
|
388 |
|
424 |
}
|
425 |
|
426 |
$widget_objects = $this->get_widget_objects();
|
427 |
+
$widget_path = empty( $_GET['id'] ) ? false : wp_normalize_path( WP_CONTENT_DIR ) . $_GET['id'];
|
428 |
$widget_object = empty( $widget_objects[ $widget_path ] ) ? false : $widget_objects[ $widget_path ];
|
429 |
|
430 |
if ( empty( $widget_object ) || ! $widget_object->has_form( 'settings' ) ) {
|
752 |
'1.4.3',
|
753 |
true
|
754 |
);
|
755 |
+
wp_register_script(
|
756 |
+
'sow-google-map',
|
757 |
+
plugin_dir_url( SOW_BUNDLE_BASE_FILE ) . 'js/sow.google.map' . SOW_BUNDLE_JS_SUFFIX . '.js',
|
758 |
+
array( 'jquery' ),
|
759 |
+
SOW_BUNDLE_VERSION
|
760 |
+
);
|
761 |
}
|
762 |
|
763 |
/**
|
widgets/accordion/js/accordion.js
CHANGED
@@ -74,7 +74,11 @@ jQuery( function ( $ ) {
|
|
74 |
}
|
75 |
}
|
76 |
|
77 |
-
|
|
|
|
|
|
|
|
|
78 |
};
|
79 |
|
80 |
var updatePanelStates = function () {
|
74 |
}
|
75 |
}
|
76 |
|
77 |
+
if ( anchors && anchors.length ) {
|
78 |
+
window.location.hash = anchors.join( ',' );
|
79 |
+
} else {
|
80 |
+
window.history.pushState( '', document.title, window.location.pathname + window.location.search );
|
81 |
+
}
|
82 |
};
|
83 |
|
84 |
var updatePanelStates = function () {
|
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"),c=i.data("useAnchorTags"),e=o(a).find("> .sow-accordion-panel");e.not(".sow-accordion-panel-open").find(".sow-accordion-panel-content").hide();var s=e.filter(".sow-accordion-panel-open").toArray(),t=function(){},
|
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"),c=i.data("useAnchorTags"),e=o(a).find("> .sow-accordion-panel");e.not(".sow-accordion-panel-open").find(".sow-accordion-panel-content").hide();var s=e.filter(".sow-accordion-panel-open").toArray(),t=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")}),i.addClass("sow-accordion-panel-open"),s.push(n),a||t())},r=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||t())};if(e.find("> .sow-accordion-panel-header").click(function(){var n=o(this),a=i.data("maxOpenPanels"),c=n.closest(".sow-accordion-panel");c.is(".sow-accordion-panel-open")?r(c.get(0)):d(c.get(0)),!isNaN(a)&&a>0&&s.length>a&&r(s[0])}),c){t=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 w=function(){for(var n=e.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):r(panel,!0)}};o(window).on("hashchange",w),window.location.hash?w():t()}})},sowb.setupAccordion(),o(sowb).on("setup_widgets",sowb.setupAccordion)}),window.sowb=sowb;
|
widgets/accordion/styles/default.less
CHANGED
@@ -60,6 +60,7 @@
|
|
60 |
|
61 |
.sow-accordion-title {
|
62 |
display: inline-block;
|
|
|
63 |
& when ( @show_open_close_icon = true ) and ( @heading_title_align = @open_close_location ) {
|
64 |
margin-@{open_close_location}: 5px;
|
65 |
}
|
@@ -96,6 +97,7 @@
|
|
96 |
color: @panels_font_color;
|
97 |
font-family: @panels_font_family;
|
98 |
font-size: @panels_font_size;
|
|
|
99 |
}
|
100 |
}
|
101 |
margin-bottom: @panels_margin_bottom;
|
60 |
|
61 |
.sow-accordion-title {
|
62 |
display: inline-block;
|
63 |
+
width: ~"calc(100% - 20px)";
|
64 |
& when ( @show_open_close_icon = true ) and ( @heading_title_align = @open_close_location ) {
|
65 |
margin-@{open_close_location}: 5px;
|
66 |
}
|
97 |
color: @panels_font_color;
|
98 |
font-family: @panels_font_family;
|
99 |
font-size: @panels_font_size;
|
100 |
+
overflow: auto;
|
101 |
}
|
102 |
}
|
103 |
margin-bottom: @panels_margin_bottom;
|
widgets/accordion/tpl/default.php
CHANGED
@@ -6,7 +6,9 @@
|
|
6 |
* @var string $icon_close
|
7 |
*/
|
8 |
|
9 |
-
|
|
|
|
|
10 |
?>
|
11 |
<div>
|
12 |
<div class="sow-accordion">
|
6 |
* @var string $icon_close
|
7 |
*/
|
8 |
|
9 |
+
if( !empty( $instance['title'] ) ) {
|
10 |
+
echo $args['before_title'] . $instance['title'] . $args['after_title'];
|
11 |
+
}
|
12 |
?>
|
13 |
<div>
|
14 |
<div class="sow-accordion">
|
widgets/button/button.php
CHANGED
@@ -75,6 +75,18 @@ class SiteOrigin_Widget_Button_Widget extends SiteOrigin_Widget {
|
|
75 |
'label' => __('Image icon', 'so-widgets-bundle'),
|
76 |
'description' => __('Replaces the icon with your own image icon.', 'so-widgets-bundle'),
|
77 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
),
|
79 |
),
|
80 |
|
@@ -232,13 +244,19 @@ class SiteOrigin_Widget_Button_Widget extends SiteOrigin_Widget {
|
|
232 |
$attributes = $instance['attributes'];
|
233 |
|
234 |
$classes = ! empty( $attributes['classes'] ) ? $attributes['classes'] : '';
|
235 |
-
if( !empty($
|
|
|
|
|
|
|
|
|
236 |
$classes .= ' ow-button-hover';
|
237 |
}
|
238 |
|
239 |
-
|
240 |
-
|
241 |
-
|
|
|
|
|
242 |
|
243 |
if ( ! empty( $instance['new_window'] ) ) {
|
244 |
$button_attributes['target'] = '_blank';
|
75 |
'label' => __('Image icon', 'so-widgets-bundle'),
|
76 |
'description' => __('Replaces the icon with your own image icon.', 'so-widgets-bundle'),
|
77 |
),
|
78 |
+
|
79 |
+
'icon_placement' => array(
|
80 |
+
'type' => 'select',
|
81 |
+
'label' => __( 'Icon Placement', 'so-widgets-bundle' ),
|
82 |
+
'default' => 'left',
|
83 |
+
'options' => array(
|
84 |
+
'top' => __( 'Top', 'so-widgets-bundle' ),
|
85 |
+
'right' => __( 'Right', 'so-widgets-bundle' ),
|
86 |
+
'bottom' => __( 'Bottom', 'so-widgets-bundle' ),
|
87 |
+
'left' => __( 'Left', 'so-widgets-bundle' ),
|
88 |
+
),
|
89 |
+
),
|
90 |
),
|
91 |
),
|
92 |
|
244 |
$attributes = $instance['attributes'];
|
245 |
|
246 |
$classes = ! empty( $attributes['classes'] ) ? $attributes['classes'] : '';
|
247 |
+
if ( ! empty( $classes ) ) {
|
248 |
+
$classes .= ' ';
|
249 |
+
}
|
250 |
+
$classes .= 'ow-icon-placement-'. $instance['button_icon']['icon_placement'];
|
251 |
+
if ( ! empty( $instance['design']['hover'] ) ) {
|
252 |
$classes .= ' ow-button-hover';
|
253 |
}
|
254 |
|
255 |
+
$button_attributes['class'] = implode( ' ',
|
256 |
+
array_map( 'sanitize_html_class',
|
257 |
+
explode( ' ', $classes )
|
258 |
+
)
|
259 |
+
);
|
260 |
|
261 |
if ( ! empty( $instance['new_window'] ) ) {
|
262 |
$button_attributes['target'] = '_blank';
|
widgets/button/styles/atom.less
CHANGED
@@ -37,15 +37,12 @@
|
|
37 |
.box-shadow(~"inset 0 1px 0 rgba(255,255,255,0.2), 0 1px 2px rgba(0,0,0,0.065)");
|
38 |
text-shadow: 0 1px 0 rgba(0,0,0,0.05);
|
39 |
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
margin: 0;
|
47 |
-
}
|
48 |
-
}
|
49 |
|
50 |
&:visited,
|
51 |
&:active,
|
37 |
.box-shadow(~"inset 0 1px 0 rgba(255,255,255,0.2), 0 1px 2px rgba(0,0,0,0.065)");
|
38 |
text-shadow: 0 1px 0 rgba(0,0,0,0.05);
|
39 |
|
40 |
+
& when not ( @has_text = true ) {
|
41 |
+
.sow-icon-image,
|
42 |
+
[class^="sow-icon-"] {
|
43 |
+
margin: 0;
|
44 |
+
}
|
45 |
+
}
|
|
|
|
|
|
|
46 |
|
47 |
&:visited,
|
48 |
&:active,
|
widgets/button/styles/flat.less
CHANGED
@@ -37,15 +37,12 @@
|
|
37 |
|
38 |
text-shadow: 0 1px 0 rgba(0,0,0,0.05);
|
39 |
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
margin: 0;
|
47 |
-
}
|
48 |
-
}
|
49 |
|
50 |
&:visited,
|
51 |
&:active,
|
37 |
|
38 |
text-shadow: 0 1px 0 rgba(0,0,0,0.05);
|
39 |
|
40 |
+
& when not ( @has_text = true ) {
|
41 |
+
.sow-icon-image,
|
42 |
+
[class^="sow-icon-"] {
|
43 |
+
margin: 0;
|
44 |
+
}
|
45 |
+
}
|
|
|
|
|
|
|
46 |
|
47 |
&:visited,
|
48 |
&:active,
|
widgets/button/styles/wire.less
CHANGED
@@ -35,15 +35,12 @@
|
|
35 |
|
36 |
text-shadow: 0 1px 0 rgba(0,0,0,0.05);
|
37 |
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
}
|
43 |
-
|
44 |
-
margin: 0;
|
45 |
-
}
|
46 |
-
}
|
47 |
|
48 |
&:visited,
|
49 |
&:active,
|
35 |
|
36 |
text-shadow: 0 1px 0 rgba(0,0,0,0.05);
|
37 |
|
38 |
+
& when not ( @has_text = true ) {
|
39 |
+
.sow-icon-image,
|
40 |
+
[class^="sow-icon-"] {
|
41 |
+
margin: 0;
|
42 |
}
|
43 |
+
}
|
|
|
|
|
|
|
44 |
|
45 |
&:visited,
|
46 |
&:active,
|
widgets/contact/contact.php
CHANGED
@@ -91,6 +91,16 @@ class SiteOrigin_Widgets_ContactForm_Widget extends SiteOrigin_Widget {
|
|
91 |
'label' => __( 'Submit button text', 'so-widgets-bundle' ),
|
92 |
'default' => __( "Contact Us", 'so-widgets-bundle' )
|
93 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
'required_field_indicator' => array(
|
95 |
'type' => 'checkbox',
|
96 |
'label' => __( 'Indicate required fields with asterisk (*)', 'so-widgets-bundle' ),
|
@@ -111,8 +121,7 @@ class SiteOrigin_Widgets_ContactForm_Widget extends SiteOrigin_Widget {
|
|
111 |
'required_fields[hide]' => array( 'hide' ),
|
112 |
)
|
113 |
),
|
114 |
-
|
115 |
-
)
|
116 |
),
|
117 |
|
118 |
'fields' => array(
|
@@ -126,9 +135,10 @@ class SiteOrigin_Widgets_ContactForm_Widget extends SiteOrigin_Widget {
|
|
126 |
'fields' => array(
|
127 |
|
128 |
'type' => array(
|
129 |
-
'type'
|
130 |
-
'label'
|
131 |
-
'
|
|
|
132 |
'name' => __( 'Name', 'so-widgets-bundle' ),
|
133 |
'email' => __( 'Email', 'so-widgets-bundle' ),
|
134 |
'subject' => __( 'Subject', 'so-widgets-bundle' ),
|
@@ -268,7 +278,7 @@ class SiteOrigin_Widgets_ContactForm_Widget extends SiteOrigin_Widget {
|
|
268 |
),
|
269 |
)
|
270 |
),
|
271 |
-
)
|
272 |
),
|
273 |
|
274 |
'design' => array(
|
@@ -573,6 +583,20 @@ class SiteOrigin_Widgets_ContactForm_Widget extends SiteOrigin_Widget {
|
|
573 |
'label' => __( 'Padding', 'so-widgets-bundle' ),
|
574 |
'default' => '10px',
|
575 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
576 |
'inset_highlight' => array(
|
577 |
'type' => 'slider',
|
578 |
'label' => __( 'Inset highlight', 'so-widgets-bundle' ),
|
@@ -697,19 +721,25 @@ class SiteOrigin_Widgets_ContactForm_Widget extends SiteOrigin_Widget {
|
|
697 |
}
|
698 |
|
699 |
function get_template_variables( $instance, $args ) {
|
700 |
-
$vars = array();
|
701 |
-
|
702 |
unset( $instance['title'] );
|
703 |
unset( $instance['display_title'] );
|
704 |
unset( $instance['design'] );
|
705 |
unset( $instance['panels_info'] );
|
706 |
|
707 |
// Include '_sow_form_id' in generation of 'instance_hash' to allow multiple instances of the same form on a page.
|
708 |
-
$
|
709 |
-
|
710 |
unset( $instance['_sow_form_id'] );
|
711 |
|
712 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
713 |
}
|
714 |
|
715 |
function get_less_variables( $instance ) {
|
@@ -777,7 +807,9 @@ class SiteOrigin_Widgets_ContactForm_Widget extends SiteOrigin_Widget {
|
|
777 |
'submit_text_color' => $instance['design']['submit']['text_color'],
|
778 |
'submit_font_size' => $instance['design']['submit']['font_size'],
|
779 |
'submit_weight' => $instance['design']['submit']['weight'],
|
780 |
-
'submit_padding' => $instance['design']['submit']['padding'],
|
|
|
|
|
781 |
'submit_inset_highlight' => $instance['design']['submit']['inset_highlight'] . '%',
|
782 |
|
783 |
// Input focus styles
|
@@ -1050,7 +1082,13 @@ class SiteOrigin_Widgets_ContactForm_Widget extends SiteOrigin_Widget {
|
|
1050 |
$errors['_general']['send'] = $success->get_error_message();
|
1051 |
} else if ( ! $success ) {
|
1052 |
$errors['_general']['send'] = __( 'Error sending email, please try again later.', 'so-widgets-bundle' );
|
|
|
|
|
|
|
1053 |
}
|
|
|
|
|
|
|
1054 |
}
|
1055 |
|
1056 |
$send_cache[ $send_cache_hash ] = array(
|
91 |
'label' => __( 'Submit button text', 'so-widgets-bundle' ),
|
92 |
'default' => __( "Contact Us", 'so-widgets-bundle' )
|
93 |
),
|
94 |
+
'submit_id' => array(
|
95 |
+
'type' => 'text',
|
96 |
+
'label' => __( 'Button ID', 'so-widgets-bundle' ),
|
97 |
+
'description' => __( 'An ID attribute allows you to target this button in JavaScript.', 'so-widgets-bundle' ),
|
98 |
+
),
|
99 |
+
'onclick' => array(
|
100 |
+
'type' => 'text',
|
101 |
+
'label' => __( 'Onclick', 'so-widgets-bundle' ),
|
102 |
+
'description' => __( 'Run this JavaScript when the button is clicked. Ideal for tracking.', 'so-widgets-bundle' ),
|
103 |
+
),
|
104 |
'required_field_indicator' => array(
|
105 |
'type' => 'checkbox',
|
106 |
'label' => __( 'Indicate required fields with asterisk (*)', 'so-widgets-bundle' ),
|
121 |
'required_fields[hide]' => array( 'hide' ),
|
122 |
)
|
123 |
),
|
124 |
+
),
|
|
|
125 |
),
|
126 |
|
127 |
'fields' => array(
|
135 |
'fields' => array(
|
136 |
|
137 |
'type' => array(
|
138 |
+
'type' => 'select',
|
139 |
+
'label' => __( 'Field Type', 'so-widgets-bundle' ),
|
140 |
+
'prompt' => __( 'Select Field Type', 'so-widgets-bundle' ),
|
141 |
+
'options' => array(
|
142 |
'name' => __( 'Name', 'so-widgets-bundle' ),
|
143 |
'email' => __( 'Email', 'so-widgets-bundle' ),
|
144 |
'subject' => __( 'Subject', 'so-widgets-bundle' ),
|
278 |
),
|
279 |
)
|
280 |
),
|
281 |
+
),
|
282 |
),
|
283 |
|
284 |
'design' => array(
|
583 |
'label' => __( 'Padding', 'so-widgets-bundle' ),
|
584 |
'default' => '10px',
|
585 |
),
|
586 |
+
'width' => array(
|
587 |
+
'type' => 'measurement',
|
588 |
+
'label' => __( 'Width', 'so-widgets-bundle' ),
|
589 |
+
),
|
590 |
+
'align' => array(
|
591 |
+
'type' => 'select',
|
592 |
+
'label' => __( 'Align', 'so-widgets-bundle' ),
|
593 |
+
'default' => 'left',
|
594 |
+
'options' => array(
|
595 |
+
'left' => __( 'Left', 'so-widgets-bundle' ),
|
596 |
+
'right' => __( 'Right', 'so-widgets-bundle' ),
|
597 |
+
'center' => __( 'Center', 'so-widgets-bundle' ),
|
598 |
+
)
|
599 |
+
),
|
600 |
'inset_highlight' => array(
|
601 |
'type' => 'slider',
|
602 |
'label' => __( 'Inset highlight', 'so-widgets-bundle' ),
|
721 |
}
|
722 |
|
723 |
function get_template_variables( $instance, $args ) {
|
|
|
|
|
724 |
unset( $instance['title'] );
|
725 |
unset( $instance['display_title'] );
|
726 |
unset( $instance['design'] );
|
727 |
unset( $instance['panels_info'] );
|
728 |
|
729 |
// Include '_sow_form_id' in generation of 'instance_hash' to allow multiple instances of the same form on a page.
|
730 |
+
$instance_hash = md5( serialize( $instance ) );
|
|
|
731 |
unset( $instance['_sow_form_id'] );
|
732 |
|
733 |
+
$submit_attributes = array();
|
734 |
+
if ( ! empty( $instance['settings']['submit_id'] ) ) {
|
735 |
+
$submit_attributes['id'] = $instance['settings']['submit_id'];
|
736 |
+
}
|
737 |
+
|
738 |
+
return array(
|
739 |
+
'instance_hash' => $instance_hash,
|
740 |
+
'submit_attributes' => $submit_attributes,
|
741 |
+
'onclick' => ! empty( $instance['settings']['onclick'] ) ? $instance['settings']['onclick'] : '',
|
742 |
+
);
|
743 |
}
|
744 |
|
745 |
function get_less_variables( $instance ) {
|
807 |
'submit_text_color' => $instance['design']['submit']['text_color'],
|
808 |
'submit_font_size' => $instance['design']['submit']['font_size'],
|
809 |
'submit_weight' => $instance['design']['submit']['weight'],
|
810 |
+
'submit_padding' => $instance['design']['submit']['padding'],
|
811 |
+
'submit_width' => ! empty( $instance['design']['submit']['width'] ) ? $instance['design']['submit']['width'] : '',
|
812 |
+
'submit_align' => ! empty( $instance['design']['submit']['align'] ) ? $instance['design']['submit']['align'] : '',
|
813 |
'submit_inset_highlight' => $instance['design']['submit']['inset_highlight'] . '%',
|
814 |
|
815 |
// Input focus styles
|
1082 |
$errors['_general']['send'] = $success->get_error_message();
|
1083 |
} else if ( ! $success ) {
|
1084 |
$errors['_general']['send'] = __( 'Error sending email, please try again later.', 'so-widgets-bundle' );
|
1085 |
+
} else {
|
1086 |
+
// This action will allow other plugins to run code when contact form has successfully been sent
|
1087 |
+
do_action( 'siteorigin_widgets_contact_sent', $instance, $email_fields );
|
1088 |
}
|
1089 |
+
} else {
|
1090 |
+
// This action will allow other plugins to run code when the contact form submission has resulted in error
|
1091 |
+
do_action( 'siteorigin_widgets_contact_error', $instance, $email_fields, $errors );
|
1092 |
}
|
1093 |
|
1094 |
$send_cache[ $send_cache_hash ] = array(
|
widgets/contact/js/contact.js
CHANGED
@@ -27,6 +27,9 @@ var SiteOriginContactForm = {
|
|
27 |
|
28 |
// Disable the submit button on click to avoid multiple submits.
|
29 |
$contactForms.submit( function () {
|
|
|
|
|
|
|
30 |
$submitButton.prop('disabled', true);
|
31 |
} );
|
32 |
});
|
27 |
|
28 |
// Disable the submit button on click to avoid multiple submits.
|
29 |
$contactForms.submit( function () {
|
30 |
+
if ( window.location.hash ) {
|
31 |
+
$( this ).attr( 'action', $( this ).attr( 'action' ) + ',' + window.location.hash.replace( /^#/, '' ) );
|
32 |
+
}
|
33 |
$submitButton.prop('disabled', true);
|
34 |
} );
|
35 |
});
|
widgets/contact/js/contact.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
function soContactFormInitialize(){SiteOriginContactForm.init(window.jQuery,!0)}var SiteOriginContactForm={init:function(t,i){var
|
1 |
+
function soContactFormInitialize(){SiteOriginContactForm.init(window.jQuery,!0)}var SiteOriginContactForm={init:function(t,i){var o=t("form.sow-contact-form");o.each(function(){var a=t(this),n=t(this).find(".sow-submit-wrapper > input.sow-submit");if(i){var e=a.find(".sow-recaptcha");if(e.length){var r=e.data("config");n.prop("disabled",!0),grecaptcha.render(e.get(0),{sitekey:r.sitekey,theme:r.theme,type:r.type,size:r.size,callback:function(t){n.prop("disabled",!1)}})}}o.submit(function(){window.location.hash&&t(this).attr("action",t(this).attr("action")+","+window.location.hash.replace(/^#/,"")),n.prop("disabled",!0)})})}};jQuery(function(t){var i=t("form.sow-contact-form"),o=i.toArray().some(function(i){return t(i).find("div").hasClass("sow-recaptcha")});if(o)if(window.recaptcha)SiteOriginContactForm.init(t,o);else{var a=t('<script type="text/javascript" src="https://www.google.com/recaptcha/api.js?onload=soContactFormInitialize&render=explicit" async defer>');t("body").append(a)}else SiteOriginContactForm.init(t,o)});
|
widgets/contact/styles/default.less
CHANGED
@@ -188,16 +188,21 @@
|
|
188 |
@submit_font_size: default;
|
189 |
@submit_weight: 500;
|
190 |
@submit_padding: 10px;
|
|
|
|
|
191 |
|
192 |
@submit_inset_highlight: 50%;
|
193 |
|
|
|
194 |
.sow-submit {
|
195 |
color: @submit_text_color;
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
|
|
|
|
201 |
|
202 |
border: @submit_border_width @submit_border_style @submit_border_color;
|
203 |
border-radius: @submit_border_radius;
|
@@ -205,6 +210,7 @@
|
|
205 |
font-size: @submit_font_size;
|
206 |
padding: @submit_padding @submit_padding * 2;
|
207 |
display: inline-block;
|
|
|
208 |
|
209 |
.sow-submit-box-shadow ( @percent ) when ( @percent > 0% ) {
|
210 |
box-shadow: inset 0 -1px 0 fade( #ffffff, @percent );
|
188 |
@submit_font_size: default;
|
189 |
@submit_weight: 500;
|
190 |
@submit_padding: 10px;
|
191 |
+
@submit_width: default;
|
192 |
+
@submit_align: left;
|
193 |
|
194 |
@submit_inset_highlight: 50%;
|
195 |
|
196 |
+
text-align: @submit_align;
|
197 |
.sow-submit {
|
198 |
color: @submit_text_color;
|
199 |
+
& when( @submit_background_gradient > 0% ) {
|
200 |
+
.gradient(
|
201 |
+
lighten(@submit_background_color, @submit_background_gradient),
|
202 |
+
darken(@submit_background_color, @submit_background_gradient),
|
203 |
+
lighten(@submit_background_color, @submit_background_gradient)
|
204 |
+
);
|
205 |
+
}
|
206 |
|
207 |
border: @submit_border_width @submit_border_style @submit_border_color;
|
208 |
border-radius: @submit_border_radius;
|
210 |
font-size: @submit_font_size;
|
211 |
padding: @submit_padding @submit_padding * 2;
|
212 |
display: inline-block;
|
213 |
+
width: @submit_width;
|
214 |
|
215 |
.sow-submit-box-shadow ( @percent ) when ( @percent > 0% ) {
|
216 |
box-shadow: inset 0 -1px 0 fade( #ffffff, @percent );
|
widgets/contact/tpl/default.php
CHANGED
@@ -28,7 +28,8 @@ else {
|
|
28 |
);
|
29 |
}
|
30 |
?>
|
31 |
-
<form action="<?php echo esc_url( add_query_arg( false, false ) ) ?>#contact-form-<?php echo esc_attr( $short_hash ) ?>"
|
|
|
32 |
|
33 |
<?php if( !empty($result['errors']['_general']) ) : ?>
|
34 |
<ul class="sow-error">
|
@@ -48,8 +49,9 @@ else {
|
|
48 |
<?php endif; ?>
|
49 |
|
50 |
<div class="sow-submit-wrapper <?php if( $instance['design']['submit']['styled'] ) echo 'sow-submit-styled' ?>">
|
51 |
-
<input type="submit" value="<?php echo esc_attr( $instance['settings']['submit_text'] ) ?>"
|
52 |
-
|
|
|
53 |
</div>
|
54 |
</form>
|
55 |
<?php
|
28 |
);
|
29 |
}
|
30 |
?>
|
31 |
+
<form action="<?php echo esc_url( add_query_arg( false, false ) ) ?>#contact-form-<?php echo esc_attr( $short_hash ) ?>"
|
32 |
+
method="POST" class="sow-contact-form" id="contact-form-<?php echo esc_attr( $short_hash ) ?>">
|
33 |
|
34 |
<?php if( !empty($result['errors']['_general']) ) : ?>
|
35 |
<ul class="sow-error">
|
49 |
<?php endif; ?>
|
50 |
|
51 |
<div class="sow-submit-wrapper <?php if( $instance['design']['submit']['styled'] ) echo 'sow-submit-styled' ?>">
|
52 |
+
<input type="submit" value="<?php echo esc_attr( $instance['settings']['submit_text'] ) ?>" class="sow-submit"
|
53 |
+
<?php foreach( $submit_attributes as $name => $val ) echo $name . '="' . esc_attr( $val ) . '" ' ?>
|
54 |
+
<?php if ( ! empty( $onclick ) ) echo 'onclick="' . esc_js( $onclick ) . '"'; ?>>
|
55 |
</div>
|
56 |
</form>
|
57 |
<?php
|
widgets/cta/styles/default.less
CHANGED
@@ -1,8 +1,17 @@
|
|
|
|
|
|
|
|
1 |
|
2 |
@border_color: #E3E3E3;
|
3 |
@background_color: #F8F8F8;
|
4 |
@title_color: default;
|
|
|
|
|
|
|
5 |
@subtitle_color: default;
|
|
|
|
|
|
|
6 |
|
7 |
.sow-cta-base {
|
8 |
border-color: @border_color;
|
@@ -12,10 +21,16 @@
|
|
12 |
.sow-cta- {
|
13 |
&title {
|
14 |
color: @title_color;
|
|
|
|
|
|
|
15 |
}
|
16 |
|
17 |
&subtitle {
|
18 |
color: @subtitle_color;
|
|
|
|
|
|
|
19 |
}
|
20 |
}
|
21 |
}
|
1 |
+
@import "../../../base/less/mixins";
|
2 |
+
|
3 |
+
.widget-function('import_google_font');
|
4 |
|
5 |
@border_color: #E3E3E3;
|
6 |
@background_color: #F8F8F8;
|
7 |
@title_color: default;
|
8 |
+
@title_font_family: default;
|
9 |
+
@title_font_weight: default;
|
10 |
+
@title_font_size: default;
|
11 |
@subtitle_color: default;
|
12 |
+
@subtitle_font_family: default;
|
13 |
+
@subtitle_font_weight: default;
|
14 |
+
@subtitle_font_size: default;
|
15 |
|
16 |
.sow-cta-base {
|
17 |
border-color: @border_color;
|
21 |
.sow-cta- {
|
22 |
&title {
|
23 |
color: @title_color;
|
24 |
+
font-family: @title_font_family;
|
25 |
+
font-weight: @title_font_weight;
|
26 |
+
font-size: @title_font_size;
|
27 |
}
|
28 |
|
29 |
&subtitle {
|
30 |
color: @subtitle_color;
|
31 |
+
font-family: @subtitle_font_family;
|
32 |
+
font-weight: @subtitle_font_weight;
|
33 |
+
font-size: @subtitle_font_size;
|
34 |
}
|
35 |
}
|
36 |
}
|
widgets/features/features.php
CHANGED
@@ -276,13 +276,30 @@ class SiteOrigin_Widget_Features_Widget extends SiteOrigin_Widget {
|
|
276 |
}
|
277 |
}
|
278 |
|
279 |
-
|
280 |
-
|
281 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
282 |
|
283 |
return $less_vars;
|
284 |
}
|
285 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
286 |
function get_google_font_fields( $instance ) {
|
287 |
|
288 |
$fonts = $instance['fonts'];
|
276 |
}
|
277 |
}
|
278 |
|
279 |
+
$less_vars['container_size'] = $instance['container_size'];
|
280 |
+
$less_vars['icon_size'] = $instance['icon_size'];
|
281 |
+
$less_vars['use_icon_size'] = empty( $instance['icon_size_custom'] ) ? 'false' : 'true';
|
282 |
+
|
283 |
+
$global_settings = $this->get_global_settings();
|
284 |
+
|
285 |
+
if ( ! empty( $global_settings['responsive_breakpoint'] ) ) {
|
286 |
+
$less_vars['responsive_breakpoint'] = $global_settings['responsive_breakpoint'];
|
287 |
+
}
|
288 |
|
289 |
return $less_vars;
|
290 |
}
|
291 |
|
292 |
+
function get_settings_form() {
|
293 |
+
return array(
|
294 |
+
'responsive_breakpoint' => array(
|
295 |
+
'type' => 'measurement',
|
296 |
+
'label' => __( 'Responsive Breakpoint', 'so-widgets-bundle' ),
|
297 |
+
'default' => '520px',
|
298 |
+
'description' => __( 'This setting controls when the features widget will collapse for mobile devices. The default value is 520px', 'so-widgets-bundle' )
|
299 |
+
)
|
300 |
+
);
|
301 |
+
}
|
302 |
+
|
303 |
function get_google_font_fields( $instance ) {
|
304 |
|
305 |
$fonts = $instance['fonts'];
|
widgets/features/styles/default.less
CHANGED
@@ -21,6 +21,8 @@
|
|
21 |
@icon_size: 24px;
|
22 |
@use_icon_size: false;
|
23 |
|
|
|
|
|
24 |
.sow-features-list {
|
25 |
|
26 |
margin: 0 -25px;
|
@@ -162,7 +164,7 @@
|
|
162 |
clear: both;
|
163 |
}
|
164 |
|
165 |
-
@media (max-width:
|
166 |
&.sow-features-responsive {
|
167 |
margin: 0;
|
168 |
|
21 |
@icon_size: 24px;
|
22 |
@use_icon_size: false;
|
23 |
|
24 |
+
@responsive_breakpoint: 520px;
|
25 |
+
|
26 |
.sow-features-list {
|
27 |
|
28 |
margin: 0 -25px;
|
164 |
clear: both;
|
165 |
}
|
166 |
|
167 |
+
@media (max-width: @responsive_breakpoint) {
|
168 |
&.sow-features-responsive {
|
169 |
margin: 0;
|
170 |
|
widgets/google-map/google-map.php
CHANGED
@@ -26,13 +26,6 @@ class SiteOrigin_Widget_GoogleMap_Widget extends SiteOrigin_Widget {
|
|
26 |
|
27 |
function initialize() {
|
28 |
|
29 |
-
wp_register_script(
|
30 |
-
'sow-google-map',
|
31 |
-
plugin_dir_url( __FILE__ ) . 'js/js-map' . SOW_BUNDLE_JS_SUFFIX . '.js',
|
32 |
-
array( 'jquery' ),
|
33 |
-
SOW_BUNDLE_VERSION
|
34 |
-
);
|
35 |
-
|
36 |
add_action( 'siteorigin_widgets_before_widget_sow-google-map', array( $this, 'enqueue_widget_scripts' ) );
|
37 |
}
|
38 |
|
26 |
|
27 |
function initialize() {
|
28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
add_action( 'siteorigin_widgets_before_widget_sow-google-map', array( $this, 'enqueue_widget_scripts' ) );
|
30 |
}
|
31 |
|
widgets/google-map/js/js-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,"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")})}},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;
|
|
widgets/hero/hero.php
CHANGED
@@ -232,22 +232,44 @@ class SiteOrigin_Widget_Hero_Widget extends SiteOrigin_Widget_Base_Slider {
|
|
232 |
|
233 |
'heading_shadow' => array(
|
234 |
'type' => 'slider',
|
235 |
-
'label' => __('Heading shadow intensity', 'so-widgets-bundle'),
|
236 |
'max' => 100,
|
237 |
'min' => 0,
|
238 |
'default' => 50,
|
239 |
),
|
240 |
|
|
|
|
|
|
|
|
|
|
|
241 |
'text_size' => array(
|
242 |
'type' => 'measurement',
|
243 |
-
'label' => __('Text size', 'so-widgets-bundle'),
|
244 |
'default' => '16px',
|
245 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
246 |
|
247 |
-
'
|
248 |
'type' => 'color',
|
249 |
-
'label' => __('
|
250 |
-
|
|
|
|
|
|
|
|
|
251 |
),
|
252 |
|
253 |
)
|
@@ -355,14 +377,27 @@ class SiteOrigin_Widget_Hero_Widget extends SiteOrigin_Widget_Base_Slider {
|
|
355 |
}
|
356 |
|
357 |
$less['heading_shadow'] = intval( $instance['design']['heading_shadow'] );
|
358 |
-
|
359 |
$less['heading_color'] = $instance['design']['heading_color'];
|
|
|
360 |
$less['text_color'] = $instance['design']['text_color'];
|
361 |
|
362 |
-
|
363 |
-
$less['
|
364 |
-
|
365 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
366 |
}
|
367 |
|
368 |
return $less;
|
@@ -385,13 +420,11 @@ class SiteOrigin_Widget_Hero_Widget extends SiteOrigin_Widget_Base_Slider {
|
|
385 |
*
|
386 |
* @return string
|
387 |
*/
|
388 |
-
function
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
return $font_import['css_import'];
|
394 |
-
}
|
395 |
}
|
396 |
|
397 |
function wrapper_class_filter( $classes, $instance ){
|
232 |
|
233 |
'heading_shadow' => array(
|
234 |
'type' => 'slider',
|
235 |
+
'label' => __( 'Heading shadow intensity', 'so-widgets-bundle' ),
|
236 |
'max' => 100,
|
237 |
'min' => 0,
|
238 |
'default' => 50,
|
239 |
),
|
240 |
|
241 |
+
'text_color' => array(
|
242 |
+
'type' => 'color',
|
243 |
+
'label' => __( 'Text color', 'so-widgets-bundle' ),
|
244 |
+
'default' => '#F6F6F6',
|
245 |
+
),
|
246 |
'text_size' => array(
|
247 |
'type' => 'measurement',
|
248 |
+
'label' => __( 'Text size', 'so-widgets-bundle' ),
|
249 |
'default' => '16px',
|
250 |
),
|
251 |
+
'text_font' => array(
|
252 |
+
'type' => 'font',
|
253 |
+
'label' => __( 'Text font', 'so-widgets-bundle' ),
|
254 |
+
'default' => '',
|
255 |
+
),
|
256 |
+
'text_shadow' => array(
|
257 |
+
'type' => 'slider',
|
258 |
+
'label' => __( 'Text shadow intensity', 'so-widgets-bundle' ),
|
259 |
+
'max' => 1,
|
260 |
+
'min' => 0,
|
261 |
+
'step' => 0.01,
|
262 |
+
'default' => 0.25,
|
263 |
+
),
|
264 |
|
265 |
+
'link_color' => array(
|
266 |
'type' => 'color',
|
267 |
+
'label' => __( 'Link color', 'so-widgets-bundle' )
|
268 |
+
),
|
269 |
+
|
270 |
+
'link_color_hover' => array(
|
271 |
+
'type' => 'color',
|
272 |
+
'label' => __( 'Link Hover Color', 'so-widgets-bundle' )
|
273 |
),
|
274 |
|
275 |
)
|
377 |
}
|
378 |
|
379 |
$less['heading_shadow'] = intval( $instance['design']['heading_shadow'] );
|
|
|
380 |
$less['heading_color'] = $instance['design']['heading_color'];
|
381 |
+
$less['text_shadow'] = isset( $instance['design']['text_shadow'] ) ? floatval( $instance['design']['text_shadow'] ) : 0.25;
|
382 |
$less['text_color'] = $instance['design']['text_color'];
|
383 |
|
384 |
+
|
385 |
+
$less['link_color'] = ! empty( $instance['design']['link_color'] ) ? $instance['design']['link_color'] : '';
|
386 |
+
$less['link_color_hover'] = ! empty( $instance['design']['link_color_hover'] ) ? $instance['design']['link_color_hover'] : '';
|
387 |
+
|
388 |
+
|
389 |
+
$heading_font = siteorigin_widget_get_font( $instance['design']['heading_font'] );
|
390 |
+
$less['heading_font'] = $heading_font['family'];
|
391 |
+
if ( ! empty( $heading_font['weight'] ) ) {
|
392 |
+
$less['heading_font_weight'] = $heading_font['weight'];
|
393 |
+
}
|
394 |
+
|
395 |
+
if ( ! empty( $instance['design']['text_font'] ) ) {
|
396 |
+
$text_font = siteorigin_widget_get_font( $instance['design']['text_font'] );
|
397 |
+
$less['text_font'] = $text_font['family'];
|
398 |
+
if ( ! empty( $text_font['weight'] ) ) {
|
399 |
+
$less['text_font_weight'] = $text_font['weight'];
|
400 |
+
}
|
401 |
}
|
402 |
|
403 |
return $less;
|
420 |
*
|
421 |
* @return string
|
422 |
*/
|
423 |
+
function get_google_font_fields( $instance ) {
|
424 |
+
return array(
|
425 |
+
$instance['design']['heading_font'],
|
426 |
+
! empty( $instance['design']['text_font'] ) ? $instance['design']['text_font'] : '',
|
427 |
+
);
|
|
|
|
|
428 |
}
|
429 |
|
430 |
function wrapper_class_filter( $classes, $instance ){
|
widgets/hero/styles/default.less
CHANGED
@@ -13,11 +13,17 @@
|
|
13 |
@heading_size: 38px;
|
14 |
@text_size: 16px;
|
15 |
@text_color: #F6F6F6;
|
16 |
-
@
|
|
|
|
|
|
|
|
|
|
|
17 |
|
18 |
@heading_font: default;
|
19 |
@heading_font_weight: 400;
|
20 |
@heading_color: #FFFFFF;
|
|
|
21 |
|
22 |
.sow-slider-base {
|
23 |
|
@@ -32,7 +38,9 @@
|
|
32 |
h1,h2,h3,h4,h5,h6{
|
33 |
line-height: 1.375em;
|
34 |
color: @heading_color;
|
35 |
-
|
|
|
|
|
36 |
margin: 0.1em 0;
|
37 |
|
38 |
.font(@heading_font, @heading_font_weight);
|
@@ -62,11 +70,22 @@
|
|
62 |
font-size: @heading_size * 0.4;
|
63 |
}
|
64 |
|
65 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
color: @text_color;
|
67 |
-
|
|
|
|
|
68 |
margin: 1em 0;
|
69 |
font-size: @text_size;
|
|
|
|
|
70 |
}
|
71 |
|
72 |
.sow-hero-buttons {
|
@@ -75,7 +94,7 @@
|
|
75 |
|
76 |
.so-widget-sow-button {
|
77 |
display: inline-block;
|
78 |
-
margin:
|
79 |
}
|
80 |
|
81 |
}
|
13 |
@heading_size: 38px;
|
14 |
@text_size: 16px;
|
15 |
@text_color: #F6F6F6;
|
16 |
+
@text_shadow: 0.25;
|
17 |
+
@text_font: default;
|
18 |
+
@text_font_weight: 500;
|
19 |
+
|
20 |
+
@link_color: default;
|
21 |
+
@link_color_hover: default;
|
22 |
|
23 |
@heading_font: default;
|
24 |
@heading_font_weight: 400;
|
25 |
@heading_color: #FFFFFF;
|
26 |
+
@heading_shadow: 50;
|
27 |
|
28 |
.sow-slider-base {
|
29 |
|
38 |
h1,h2,h3,h4,h5,h6{
|
39 |
line-height: 1.375em;
|
40 |
color: @heading_color;
|
41 |
+
& when not ( @heading_shadow = 0 ) {
|
42 |
+
text-shadow: 0 2px 2px rgba( 0, 0, 0, @heading_shadow/100 );
|
43 |
+
}
|
44 |
margin: 0.1em 0;
|
45 |
|
46 |
.font(@heading_font, @heading_font_weight);
|
70 |
font-size: @heading_size * 0.4;
|
71 |
}
|
72 |
|
73 |
+
a {
|
74 |
+
color: @link_color;
|
75 |
+
&:hover {
|
76 |
+
color: @link_color_hover;
|
77 |
+
}
|
78 |
+
}
|
79 |
+
|
80 |
+
p {
|
81 |
color: @text_color;
|
82 |
+
& when not ( @text_shadow = 0 ) {
|
83 |
+
text-shadow: 0 2px 2px rgba( 0, 0, 0, @text_shadow );
|
84 |
+
}
|
85 |
margin: 1em 0;
|
86 |
font-size: @text_size;
|
87 |
+
|
88 |
+
.font(@text_font, @text_font_weight);
|
89 |
}
|
90 |
|
91 |
.sow-hero-buttons {
|
94 |
|
95 |
.so-widget-sow-button {
|
96 |
display: inline-block;
|
97 |
+
margin: 3px 6px 0;
|
98 |
}
|
99 |
|
100 |
}
|
widgets/social-media-buttons/social-media-buttons.php
CHANGED
@@ -25,6 +25,17 @@ class SiteOrigin_Widget_SocialMediaButtons_Widget extends SiteOrigin_Widget {
|
|
25 |
);
|
26 |
}
|
27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
function get_widget_form(){
|
29 |
|
30 |
if( empty( $this->networks ) ) {
|
@@ -143,6 +154,17 @@ class SiteOrigin_Widget_SocialMediaButtons_Widget extends SiteOrigin_Widget {
|
|
143 |
'justify' => __( 'Justify', 'so-widgets-bundle' ),
|
144 |
),
|
145 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
146 |
'margin' => array(
|
147 |
'type' => 'select',
|
148 |
'label' => __( 'Margin', 'so-widgets-bundle' ),
|
@@ -153,7 +175,7 @@ class SiteOrigin_Widget_SocialMediaButtons_Widget extends SiteOrigin_Widget {
|
|
153 |
'0.3' => __( 'High', 'so-widgets-bundle' ),
|
154 |
'0.4' => __( 'Very high', 'so-widgets-bundle' ),
|
155 |
),
|
156 |
-
)
|
157 |
)
|
158 |
),
|
159 |
);
|
@@ -216,12 +238,15 @@ class SiteOrigin_Widget_SocialMediaButtons_Widget extends SiteOrigin_Widget {
|
|
216 |
}
|
217 |
$margin = $top . ' ' . $right . ' ' . $bottom . ' ' . $left;
|
218 |
|
|
|
219 |
return array(
|
220 |
-
'icon_size'
|
221 |
-
'rounding'
|
222 |
-
'padding'
|
223 |
-
'align'
|
224 |
-
'
|
|
|
|
|
225 |
);
|
226 |
}
|
227 |
|
25 |
);
|
26 |
}
|
27 |
|
28 |
+
function get_settings_form() {
|
29 |
+
return array(
|
30 |
+
'responsive_breakpoint' => array(
|
31 |
+
'type' => 'measurement',
|
32 |
+
'label' => __( 'Mobile Collapse Width', 'so-widgets-bundle' ),
|
33 |
+
'default' => 780,
|
34 |
+
'description' => __( 'This setting allows you to set the resoloution for when the Mobile Align setting will be used.', 'so-widgets-bundle' )
|
35 |
+
)
|
36 |
+
);
|
37 |
+
}
|
38 |
+
|
39 |
function get_widget_form(){
|
40 |
|
41 |
if( empty( $this->networks ) ) {
|
154 |
'justify' => __( 'Justify', 'so-widgets-bundle' ),
|
155 |
),
|
156 |
),
|
157 |
+
'mobile_align' => array(
|
158 |
+
'type' => 'select',
|
159 |
+
'label' => __( 'Mobile Align', 'so-widgets-bundle' ),
|
160 |
+
'default' => 'left',
|
161 |
+
'options' => array(
|
162 |
+
'left' => __( 'Left', 'so-widgets-bundle' ),
|
163 |
+
'right' => __( 'Right', 'so-widgets-bundle' ),
|
164 |
+
'center' => __( 'Center', 'so-widgets-bundle' ),
|
165 |
+
'justify' => __( 'Justify', 'so-widgets-bundle' ),
|
166 |
+
),
|
167 |
+
),
|
168 |
'margin' => array(
|
169 |
'type' => 'select',
|
170 |
'label' => __( 'Margin', 'so-widgets-bundle' ),
|
175 |
'0.3' => __( 'High', 'so-widgets-bundle' ),
|
176 |
'0.4' => __( 'Very high', 'so-widgets-bundle' ),
|
177 |
),
|
178 |
+
)
|
179 |
)
|
180 |
),
|
181 |
);
|
238 |
}
|
239 |
$margin = $top . ' ' . $right . ' ' . $bottom . ' ' . $left;
|
240 |
|
241 |
+
$global_settings = $this->get_global_settings();
|
242 |
return array(
|
243 |
+
'icon_size' => $design['icon_size'] . 'em',
|
244 |
+
'rounding' => $design['rounding'] . 'em',
|
245 |
+
'padding' => $design['padding'] . 'em',
|
246 |
+
'align' => $design['align'],
|
247 |
+
'mobile_align' => ! empty( $design['mobile_align'] ) ? $design['mobile_align'] : '',
|
248 |
+
'responsive_breakpoint' => ! empty( $global_settings['responsive_breakpoint'] ) ? $global_settings['responsive_breakpoint'] : '',
|
249 |
+
'margin' => $margin
|
250 |
);
|
251 |
}
|
252 |
|
widgets/social-media-buttons/styles/widget-mixins.less
CHANGED
@@ -3,12 +3,18 @@
|
|
3 |
@padding: 0.75em;
|
4 |
@margin: 0.1em;
|
5 |
@align: left;
|
|
|
|
|
6 |
|
7 |
.social-media-button-container {
|
8 |
.clearfix();
|
9 |
|
10 |
text-align: @align;
|
11 |
|
|
|
|
|
|
|
|
|
12 |
//this little gem allows justified buttons when there's only one row of buttons or if it's the last row of buttons
|
13 |
/*
|
14 |
&:after {
|
3 |
@padding: 0.75em;
|
4 |
@margin: 0.1em;
|
5 |
@align: left;
|
6 |
+
@mobile_align: left;
|
7 |
+
@responsive_breakpoint: 780px;
|
8 |
|
9 |
.social-media-button-container {
|
10 |
.clearfix();
|
11 |
|
12 |
text-align: @align;
|
13 |
|
14 |
+
@media (max-width: @responsive_breakpoint) {
|
15 |
+
text-align: @mobile_align;
|
16 |
+
}
|
17 |
+
|
18 |
//this little gem allows justified buttons when there's only one row of buttons or if it's the last row of buttons
|
19 |
/*
|
20 |
&:after {
|
widgets/tabs/js/tabs.js
CHANGED
@@ -20,18 +20,6 @@ jQuery( function ( $ ) {
|
|
20 |
var $tabPanels = $tabPanelsContainer.find( '> .sow-tabs-panel' );
|
21 |
$tabPanels.not( ':eq(' + selectedIndex + ')' ).hide();
|
22 |
|
23 |
-
var setContainerHeight = function () {
|
24 |
-
var selTab = $this.find( '.sow-tabs-tab-selected' );
|
25 |
-
|
26 |
-
setTimeout( function () {
|
27 |
-
$tabPanelsContainer.height( $tabPanels.eq( selTab.index() ).outerHeight() );
|
28 |
-
}, 100 );
|
29 |
-
};
|
30 |
-
|
31 |
-
setContainerHeight();
|
32 |
-
|
33 |
-
$( window ).on( 'resize', setContainerHeight );
|
34 |
-
|
35 |
var selectTab = function ( tab, preventHashChange ) {
|
36 |
var $tab = $( tab );
|
37 |
if ( $tab.is( '.sow-tabs-tab-selected' ) ) {
|
@@ -45,16 +33,14 @@ jQuery( function ( $ ) {
|
|
45 |
$tabPanels.eq( prevTabIndex ).fadeOut( 'fast',
|
46 |
function () {
|
47 |
$( this ).trigger( 'hide' );
|
|
|
|
|
|
|
|
|
|
|
48 |
}
|
49 |
);
|
50 |
$tab.addClass( 'sow-tabs-tab-selected' );
|
51 |
-
$tabPanels.eq( selectedIndex ).fadeIn( 'fast',
|
52 |
-
function () {
|
53 |
-
$( this ).trigger( 'show' );
|
54 |
-
}
|
55 |
-
);
|
56 |
-
|
57 |
-
setContainerHeight();
|
58 |
|
59 |
if ( useAnchorTags && !preventHashChange ) {
|
60 |
window.location.hash = $tab.data( 'anchor' );
|
@@ -69,10 +55,13 @@ jQuery( function ( $ ) {
|
|
69 |
if ( useAnchorTags ) {
|
70 |
var updateSelectedTab = function () {
|
71 |
if ( window.location.hash ) {
|
72 |
-
var
|
73 |
-
|
74 |
-
|
75 |
-
|
|
|
|
|
|
|
76 |
}
|
77 |
};
|
78 |
$( window ).on( 'hashchange', updateSelectedTab );
|
20 |
var $tabPanels = $tabPanelsContainer.find( '> .sow-tabs-panel' );
|
21 |
$tabPanels.not( ':eq(' + selectedIndex + ')' ).hide();
|
22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
var selectTab = function ( tab, preventHashChange ) {
|
24 |
var $tab = $( tab );
|
25 |
if ( $tab.is( '.sow-tabs-tab-selected' ) ) {
|
33 |
$tabPanels.eq( prevTabIndex ).fadeOut( 'fast',
|
34 |
function () {
|
35 |
$( this ).trigger( 'hide' );
|
36 |
+
$tabPanels.eq( selectedIndex ).fadeIn( 'fast',
|
37 |
+
function () {
|
38 |
+
$( this ).trigger( 'show' );
|
39 |
+
}
|
40 |
+
);
|
41 |
}
|
42 |
);
|
43 |
$tab.addClass( 'sow-tabs-tab-selected' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
|
45 |
if ( useAnchorTags && !preventHashChange ) {
|
46 |
window.location.hash = $tab.data( 'anchor' );
|
55 |
if ( useAnchorTags ) {
|
56 |
var updateSelectedTab = function () {
|
57 |
if ( window.location.hash ) {
|
58 |
+
var anchors = window.location.hash.replace( '#', '' ).split( ',' );
|
59 |
+
anchors.forEach( function ( anchor ) {
|
60 |
+
var tab = $tabs.filter( '[data-anchor="' + anchor + '"]' );
|
61 |
+
if ( tab ) {
|
62 |
+
selectTab( tab, true );
|
63 |
+
}
|
64 |
+
} );
|
65 |
}
|
66 |
};
|
67 |
$( window ).on( 'hashchange', updateSelectedTab );
|
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(t
|
1 |
+
var sowb=window.sowb||{};jQuery(function(a){sowb.setupTabs=function(){a(".sow-tabs").each(function(s,t){var o=a(t),n=o.closest(".so-widget-sow-tabs"),e=n.data("useAnchorTags"),i=o.find("> .sow-tabs-panel-container"),w=o.find("> .sow-tabs-tab-container > .sow-tabs-tab"),c=o.find(".sow-tabs-tab-selected"),d=c.index(),b=i.find("> .sow-tabs-panel");b.not(":eq("+d+")").hide();var r=function(s,t){var o=a(s);if(o.is(".sow-tabs-tab-selected"))return!0;var n=o.index();if(n>-1){var i=w.filter(".sow-tabs-tab-selected");i.removeClass("sow-tabs-tab-selected");var c=i.index();b.eq(c).fadeOut("fast",function(){a(this).trigger("hide"),b.eq(n).fadeIn("fast",function(){a(this).trigger("show")})}),o.addClass("sow-tabs-tab-selected"),e&&!t&&(window.location.hash=o.data("anchor"))}};if(w.click(function(){r(this)}),e){var h=function(){if(window.location.hash){window.location.hash.replace("#","").split(",").forEach(function(a){var s=w.filter('[data-anchor="'+a+'"]');s&&r(s,!0)})}};a(window).on("hashchange",h),window.location.hash?h():window.location.hash=c.data("anchor")}})},sowb.setupTabs(),a(sowb).on("setup_widgets",sowb.setupTabs)}),window.sowb=sowb;
|
widgets/tabs/styles/default.less
CHANGED
@@ -93,7 +93,6 @@
|
|
93 |
|
94 |
.sow-tabs-panel-container {
|
95 |
position: relative;
|
96 |
-
transition: height 0.3s;
|
97 |
background-color: @panels_background_color;
|
98 |
color: @panels_font_color;
|
99 |
|
@@ -106,9 +105,6 @@
|
|
106 |
}
|
107 |
|
108 |
.sow-tabs-panel {
|
109 |
-
position: absolute;
|
110 |
-
left: 0;
|
111 |
-
right: 0;
|
112 |
padding: @panels_padding;
|
113 |
.sow-tabs-panel-content {
|
114 |
font-family: @panels_font_family;
|
93 |
|
94 |
.sow-tabs-panel-container {
|
95 |
position: relative;
|
|
|
96 |
background-color: @panels_background_color;
|
97 |
color: @panels_font_color;
|
98 |
|
105 |
}
|
106 |
|
107 |
.sow-tabs-panel {
|
|
|
|
|
|
|
108 |
padding: @panels_padding;
|
109 |
.sow-tabs-panel-content {
|
110 |
font-family: @panels_font_family;
|
widgets/testimonial/styles/default.less
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
@import "../../../base/less/mixins";
|
2 |
|
|
|
|
|
3 |
@testimonial_padding: 10px;
|
4 |
|
5 |
@testimonial_background: transparent;
|
@@ -7,6 +9,19 @@
|
|
7 |
@text_color: #666;
|
8 |
@text_border_radius: 4px;
|
9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
// Testimonial sizes
|
11 |
@testimonial_size: 33.333%;
|
12 |
@tablet_testimonial_size: 50%;
|
@@ -21,6 +36,12 @@
|
|
21 |
@tablet_width: 800px;
|
22 |
@mobile_width: 480px;
|
23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
.sow-testimonials {
|
25 |
|
26 |
.sow-testimonial-wrapper {
|
@@ -39,7 +60,22 @@
|
|
39 |
background: @testimonial_background;
|
40 |
}
|
41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
.sow-testimonial-text {
|
|
|
|
|
|
|
43 |
background: @text_background;
|
44 |
color: @text_color;
|
45 |
padding: @testimonial_padding @testimonial_padding*1.5;
|
1 |
@import "../../../base/less/mixins";
|
2 |
|
3 |
+
.widget-function('import_google_font');
|
4 |
+
|
5 |
@testimonial_padding: 10px;
|
6 |
|
7 |
@testimonial_background: transparent;
|
9 |
@text_color: #666;
|
10 |
@text_border_radius: 4px;
|
11 |
|
12 |
+
@title_font_family: default;
|
13 |
+
@title_font_weight: default;
|
14 |
+
@title_font_size: default;
|
15 |
+
@name_font_family: default;
|
16 |
+
@name_font_weight: default;
|
17 |
+
@name_font_size: default;
|
18 |
+
@location_font_family: default;
|
19 |
+
@location_font_weight: default;
|
20 |
+
@location_font_size: default;
|
21 |
+
@text_font_family: default;
|
22 |
+
@text_font_weight: default;
|
23 |
+
@text_font_size: default;
|
24 |
+
|
25 |
// Testimonial sizes
|
26 |
@testimonial_size: 33.333%;
|
27 |
@tablet_testimonial_size: 50%;
|
36 |
@tablet_width: 800px;
|
37 |
@mobile_width: 480px;
|
38 |
|
39 |
+
.widget-title {
|
40 |
+
font-family: @title_font_family;
|
41 |
+
font-weight: @title_font_weight;
|
42 |
+
font-size: @title_font_size;
|
43 |
+
}
|
44 |
+
|
45 |
.sow-testimonials {
|
46 |
|
47 |
.sow-testimonial-wrapper {
|
60 |
background: @testimonial_background;
|
61 |
}
|
62 |
|
63 |
+
.sow-testimonial-name {
|
64 |
+
font-family: @name_font_family;
|
65 |
+
font-weight: @name_font_weight;
|
66 |
+
font-size: @name_font_size;
|
67 |
+
}
|
68 |
+
|
69 |
+
.sow-testimonial-location {
|
70 |
+
font-family: @location_font_family;
|
71 |
+
font-weight: @location_font_weight;
|
72 |
+
font-size: @location_font_size;
|
73 |
+
}
|
74 |
+
|
75 |
.sow-testimonial-text {
|
76 |
+
font-family: @text_font_family;
|
77 |
+
font-weight: @text_font_weight;
|
78 |
+
font-size: @text_font_size;
|
79 |
background: @text_background;
|
80 |
color: @text_color;
|
81 |
padding: @testimonial_padding @testimonial_padding*1.5;
|
widgets/testimonial/tpl/default.php
CHANGED
@@ -43,7 +43,7 @@
|
|
43 |
<?php if( $link_name ) : ?>
|
44 |
<a href="<?php echo sow_esc_url( $url ) ?>" <?php if( ! empty( $new_window ) ) { echo 'target="_blank" rel="noopener noreferrer"'; } ?>>
|
45 |
<?php endif; ?>
|
46 |
-
<strong><?php echo esc_html( $testimonial['name'] ) ?></strong>
|
47 |
<?php if( $link_name ) : ?>
|
48 |
</a>
|
49 |
<?php endif; ?>
|
@@ -51,7 +51,7 @@
|
|
51 |
<a href="<?php echo sow_esc_url( $url ) ?>" <?php if( ! empty( $new_window ) ) { echo 'target="_blank" rel="noopener noreferrer"'; } ?>>
|
52 |
<?php endif; ?>
|
53 |
<?php if( ! empty( $location ) ) : ?>
|
54 |
-
<span><?php echo esc_html( $location ) ?></span>
|
55 |
<?php endif; ?>
|
56 |
<?php if( $link_location ) : ?>
|
57 |
</a>
|
43 |
<?php if( $link_name ) : ?>
|
44 |
<a href="<?php echo sow_esc_url( $url ) ?>" <?php if( ! empty( $new_window ) ) { echo 'target="_blank" rel="noopener noreferrer"'; } ?>>
|
45 |
<?php endif; ?>
|
46 |
+
<span class="sow-testimonial-name"><strong><?php echo esc_html( $testimonial['name'] ) ?></strong></span>
|
47 |
<?php if( $link_name ) : ?>
|
48 |
</a>
|
49 |
<?php endif; ?>
|
51 |
<a href="<?php echo sow_esc_url( $url ) ?>" <?php if( ! empty( $new_window ) ) { echo 'target="_blank" rel="noopener noreferrer"'; } ?>>
|
52 |
<?php endif; ?>
|
53 |
<?php if( ! empty( $location ) ) : ?>
|
54 |
+
<span class="sow-testimonial-location"><?php echo esc_html( $location ) ?></span>
|
55 |
<?php endif; ?>
|
56 |
<?php if( $link_location ) : ?>
|
57 |
</a>
|