SiteOrigin Widgets Bundle - Version 1.8.6

Version Description

  • 10 May 2017 =
  • Editor widget supports Jetpack Markdown.
  • Editor widget global setting for enabling/disabling 'autop' by default.
  • Allow setting FitText compressor strength in hero and headline widgets.
  • Fix variable name in enqueue_registered_styles.
  • Fix FitText not working previews.
Download this release

Release Info

Developer gpriday
Plugin Icon 128x128 SiteOrigin Widgets Bundle
Version 1.8.6
Comparing to
See all releases

Code changes from version 1.8.5 to 1.8.6

base/css/admin.css CHANGED
@@ -79,6 +79,12 @@
79
  .siteorigin-widget-form .siteorigin-widget-field textarea.siteorigin-widget-code-input {
80
  font-family: "Courier New", Courier, monospace;
81
  }
 
 
 
 
 
 
82
  .siteorigin-widget-form .siteorigin-widget-field-type-slider .siteorigin-widget-slider-wrapper {
83
  margin: 10px 0;
84
  border: 1px solid #E0E0E0;
@@ -277,6 +283,46 @@
277
  .siteorigin-widget-form .siteorigin-widget-field-repeater .siteorigin-widget-field-repeater .siteorigin-widget-field-repeater-add:hover {
278
  background: #edf5f9;
279
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
280
  .siteorigin-widget-form .siteorigin-widget-field-type-widget > label,
281
  .siteorigin-widget-form .siteorigin-widget-field-type-section > label {
282
  background: #F0F0F0;
@@ -301,6 +347,7 @@
301
  .siteorigin-widget-form .siteorigin-widget-field-type-section > label.siteorigin-widget-section-visible:before {
302
  content: "\f460";
303
  }
 
304
  .siteorigin-widget-form .siteorigin-widget-field-type-widget .siteorigin-widget-section,
305
  .siteorigin-widget-form .siteorigin-widget-field-type-section .siteorigin-widget-section {
306
  padding: 1px 10px;
@@ -308,19 +355,21 @@
308
  border: 1px solid #EEEEEE;
309
  border-top: 0;
310
  }
 
311
  .siteorigin-widget-form .siteorigin-widget-field-type-widget .siteorigin-widget-section.siteorigin-widget-section-hide,
312
  .siteorigin-widget-form .siteorigin-widget-field-type-section .siteorigin-widget-section.siteorigin-widget-section-hide {
313
  display: none;
314
  }
 
315
  .siteorigin-widget-form .siteorigin-widget-field-type-link {
316
  position: relative;
317
  }
 
318
  .siteorigin-widget-form .siteorigin-widget-field-type-link .existing-content-selector {
319
  padding: 20px;
320
  display: none;
321
  position: absolute;
322
  top: 110%;
323
- right: 0px;
324
  width: 360px;
325
  z-index: 10;
326
  border: 1px solid #c0c0c0;
@@ -332,11 +381,13 @@
332
  -moz-border-radius: 3px;
333
  border-radius: 3px;
334
  }
 
335
  .siteorigin-widget-form .siteorigin-widget-field-type-link .existing-content-selector .content-text-search {
336
  width: 100%;
337
  margin-bottom: 15px;
338
  }
339
- .siteorigin-widget-form .siteorigin-widget-field-type-link .existing-content-selector .posts {
 
340
  margin: 0;
341
  padding: 0;
342
  background: #fff;
@@ -344,7 +395,8 @@
344
  overflow-y: scroll;
345
  border: 1px solid #e4e4e4;
346
  }
347
- .siteorigin-widget-form .siteorigin-widget-field-type-link .existing-content-selector .posts li {
 
348
  cursor: pointer;
349
  padding: 5px 10px;
350
  color: #32373c;
@@ -352,215 +404,68 @@
352
  margin: 0;
353
  font-size: 0.95em;
354
  }
355
- .siteorigin-widget-form .siteorigin-widget-field-type-link .existing-content-selector .posts li:hover {
 
 
 
 
 
356
  background: #eaf2fa;
357
  }
358
- .siteorigin-widget-form .siteorigin-widget-field-type-link .existing-content-selector .posts li:last-child {
 
359
  border-bottom: 0;
360
  }
361
- .siteorigin-widget-form .siteorigin-widget-field-type-link .existing-content-selector .posts li span {
 
362
  font-size: 0.9em;
363
  display: inline-block;
364
  float: right;
365
  color: #999;
366
  margin-left: 10px;
367
  }
368
- .siteorigin-widget-form .siteorigin-widget-field-type-link .existing-content-selector .posts.loading {
 
369
  min-height: 40px;
370
  background: #FFFFFF url("img/wpspin_light.gif") center center no-repeat;
371
  }
372
  @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
373
- .siteorigin-widget-form .siteorigin-widget-field-type-link .existing-content-selector .posts.loading {
 
374
  background-image: url("img/wpspin_light-2x.gif");
375
  background-size: 16px 16px;
376
  }
377
  }
378
- .siteorigin-widget-form .siteorigin-widget-field-type-link .existing-content-selector .posts.loading li {
 
379
  display: none;
380
  }
 
381
  .siteorigin-widget-form .siteorigin-widget-field-type-link .existing-content-selector .buttons {
382
  margin-top: 15px;
383
  text-align: right;
384
  }
 
385
  .siteorigin-widget-form .siteorigin-widget-field-type-link .existing-content-selector .buttons a {
386
  display: inline-block;
387
  }
 
388
  .siteorigin-widget-form .siteorigin-widget-field-type-link .url-input-wrapper {
389
  display: block;
390
  margin-right: 130px;
391
  }
 
392
  .siteorigin-widget-form .siteorigin-widget-field-type-link .select-content-button {
393
  float: right;
394
  width: 120px;
395
  text-align: center;
396
  }
397
- .siteorigin-widget-form .siteorigin-widget-description {
398
- clear: both;
399
- }
400
- .siteorigin-widgets-query-builder .query-builder-content {
401
- padding: 20px;
402
- }
403
- .siteorigin-widgets-query-builder .query-builder-content .query-builder-form-field {
404
- margin-bottom: 10px;
405
- }
406
- .siteorigin-widgets-query-builder .query-builder-content .query-builder-form-field label span {
407
- display: block;
408
- font-size: 13px;
409
- line-height: 24px;
410
- color: #666;
411
- }
412
- .siteorigin-widgets-query-builder .query-builder-content .query-builder-form-field .sow-select-posts {
413
- margin-top: 2px;
414
- }
415
- .siteorigin-widgets-query-builder .query-builder-content .query-builder-form-field input[type="text"] {
416
- width: 400px;
417
- }
418
- .siteorigin-widgets-query-builder .query-builder-content .query-builder-form-field input[type="number"] {
419
- width: 150px;
420
- }
421
- .siteorigin-widgets-query-builder .query-builder-content .query-builder-form-field select[multiple] {
422
- min-width: 150px;
423
- max-height: 83px;
424
- }
425
- .siteorigin-widgets-query-builder .query-builder-content .query-builder-form-field input[type="date"] {
426
- width: 150px;
427
- margin: 0 10px;
428
- }
429
- .siteorigin-widgets-query-builder .query-builder-content .query-builder-form-field .sow-order-button {
430
- display: inline-block;
431
- width: 19px;
432
- height: 19px;
433
- margin: 0 0 -6px 10px;
434
- cursor: pointer;
435
- background: url(img/ordering-icons.png);
436
- }
437
- .siteorigin-widgets-query-builder .query-builder-content .query-builder-form-field .sow-order-button.sow-order-button-desc {
438
- background-position: left top;
439
- }
440
- .siteorigin-widgets-query-builder .query-builder-content .query-builder-form-field .sow-order-button.sow-order-button-asc {
441
- background-position: left bottom;
442
- }
443
- .siteorigin-widgets-query-builder .query-builder-content .query-builder-form-field small {
444
- display: block;
445
- }
446
- .siteorigin-widgets-query-builder .media-toolbar-secondary .sow-post-count-message {
447
- margin-top: 21px;
448
- }
449
- .siteorigin-widgets-query-builder .media-toolbar-secondary .sow-post-selector-summary {
450
- margin-top: 10px;
451
- display: block;
452
- width: 41px;
453
- height: 41px;
454
- float: left;
455
- overflow: hidden;
456
- background: green;
457
- margin-right: 10px;
458
- }
459
- .siteorigin-widgets-query-builder .media-toolbar-secondary .sow-post-selector-summary:last-child {
460
- margin-right: 0;
461
- }
462
- .siteorigin-widgets-query-builder .sow-post-selector-summary {
463
- display: block;
464
- float: left;
465
- margin: 0 15px 15px 0;
466
- width: 130px;
467
- }
468
- .siteorigin-widgets-query-builder .sow-post-selector-summary .sow-thumbnail {
469
- width: 130px;
470
- height: 130px;
471
- margin-bottom: 4px;
472
- }
473
- .siteorigin-widgets-query-builder .sow-post-selector-summary .sow-thumbnail img {
474
- width: 100%;
475
- height: auto;
476
- }
477
- .siteorigin-widgets-query-builder .sow-post-selector-summary .sow-title {
478
- height: 2.5em;
479
- overflow: hidden;
480
- line-height: 1.2em;
481
- text-align: center;
482
- }
483
- .siteorigin-widgets-query-builder .sow-post-selector-summary.sow-post-loading .sow-thumbnail {
484
- background: url(img/loading.gif) center center no-repeat #EEEEEE;
485
- }
486
- .siteorigin-widgets-query-builder .sow-post-selector-summary.sow-post-loading .sow-thumbnail img {
487
- display: none;
488
- }
489
- .siteorigin-widgets-query-builder .sow-post-selector-summary .sow-remove {
490
- display: none;
491
- }
492
- .siteorigin-widgets-query-builder #sow-post-selector .sow-autocomplete-field {
493
- text-align: right;
494
- margin-bottom: 20px;
495
- }
496
- .siteorigin-widgets-query-builder #sow-post-selector .sow-autocomplete-field input[type=text] {
497
- width: 320px;
498
- margin-left: 10px;
499
- }
500
- .siteorigin-widgets-query-builder #sow-post-selector .sow-autocomplete-field .ui-autocomplete {
501
- max-height: 182px;
502
- overflow-y: auto;
503
- /* prevent horizontal scrollbar */
504
- overflow-x: hidden;
505
- }
506
- .siteorigin-widgets-query-builder #sow-post-selector .sow-posts-sortable .ui-state-highlight {
507
- display: block;
508
- float: left;
509
- margin: 0 15px 15px 0;
510
- background: #F3F3F3;
511
- }
512
- .siteorigin-widgets-query-builder #sow-post-selector .sow-posts-sortable .sow-post-selector-summary {
513
- cursor: move;
514
- position: relative;
515
- }
516
- .siteorigin-widgets-query-builder #sow-post-selector .sow-posts-sortable .sow-post-selector-summary .sow-remove {
517
- position: absolute;
518
- top: -5px;
519
- right: -5px;
520
- width: 19px;
521
- height: 19px;
522
- z-index: 10;
523
- text-decoration: none;
524
- background: #333333;
525
- text-align: center;
526
- }
527
- .siteorigin-widgets-query-builder #sow-post-selector .sow-posts-sortable .sow-post-selector-summary .sow-remove:before {
528
- content: '\f158';
529
- font: 14px/1 dashicons;
530
- vertical-align: middle;
531
- color: #EEEEEE;
532
- }
533
- .siteorigin-widgets-query-builder #sow-post-selector .sow-posts-sortable .sow-post-selector-summary .sow-remove:hover {
534
- background: #444444;
535
- }
536
- .siteorigin-widgets-query-builder #sow-post-selector .sow-posts-sortable .sow-post-selector-summary .sow-remove:hover:before {
537
- color: #FFFFFF;
538
- }
539
- .siteorigin-widgets-query-builder #sow-post-selector .sow-posts-sortable .sow-post-selector-summary:hover .sow-remove {
540
- display: block;
541
  }
542
- .siteorigin-widgets-query-builder #sow-post-selector .sow-posts-sortable:after {
543
- content: "";
544
- display: table;
545
  clear: both;
546
  }
547
- .siteorigin-widgets-query-builder .media-modal-close .media-modal-icon {
548
- position: absolute;
549
- top: 50%;
550
- left: 50%;
551
- text-decoration: none;
552
- width: 20px;
553
- height: 20px;
554
- margin-left: -10px;
555
- margin-top: -10px;
556
- color: #666666;
557
- text-align: center;
558
- }
559
- .siteorigin-widgets-query-builder .media-modal-close .media-modal-icon:before {
560
- font: 400 20px/1em dashicons;
561
- top: 7px;
562
- left: 13px;
563
- }
564
  .siteorigin-widget-preview {
565
  display: block !important;
566
  }
@@ -630,8 +535,8 @@
630
  margin-left: -11px;
631
  margin-top: -10px;
632
  font-size: 21px;
633
- color: #666666;
634
  text-align: center;
 
635
  }
636
  .so-widgets-dialog .so-widgets-dialog-frame {
637
  top: 80px;
79
  .siteorigin-widget-form .siteorigin-widget-field textarea.siteorigin-widget-code-input {
80
  font-family: "Courier New", Courier, monospace;
81
  }
82
+ .siteorigin-widget-form .siteorigin-widget-field select {
83
+ min-width: 150px;
84
+ }
85
+ .siteorigin-widget-form .siteorigin-widget-field select[multiple] {
86
+ max-height: 83px;
87
+ }
88
  .siteorigin-widget-form .siteorigin-widget-field-type-slider .siteorigin-widget-slider-wrapper {
89
  margin: 10px 0;
90
  border: 1px solid #E0E0E0;
283
  .siteorigin-widget-form .siteorigin-widget-field-repeater .siteorigin-widget-field-repeater .siteorigin-widget-field-repeater-add:hover {
284
  background: #edf5f9;
285
  }
286
+ .siteorigin-widget-form .siteorigin-widget-field-type-posts .posts-container-label-wrapper {
287
+ background: #F0F0F0;
288
+ border: 1px solid #D0D0D0;
289
+ padding: 10px;
290
+ display: block;
291
+ margin-bottom: 0;
292
+ }
293
+ .siteorigin-widget-form .siteorigin-widget-field-type-posts .posts-container-label-wrapper > label {
294
+ display: inline;
295
+ }
296
+ .siteorigin-widget-form .siteorigin-widget-field-type-posts .posts-container-label-wrapper:before {
297
+ float: left;
298
+ margin: 3px 6px 0 0;
299
+ display: block;
300
+ width: 14px;
301
+ height: 14px;
302
+ font-size: 14px;
303
+ line-height: 1;
304
+ font-family: "dashicons";
305
+ content: "\f132";
306
+ }
307
+ .siteorigin-widget-form .siteorigin-widget-field-type-posts .posts-container-label-wrapper.siteorigin-widget-section-visible:before {
308
+ content: "\f460";
309
+ }
310
+ .siteorigin-widget-form .siteorigin-widget-field-type-posts .posts-container-label-wrapper span.sow-current-count {
311
+ display: inline-block;
312
+ border-radius: 9px;
313
+ background: #f92700;
314
+ border: 1px solid #da0900;
315
+ line-height: 14px;
316
+ font-size: 7px;
317
+ width: 17px;
318
+ height: 17px;
319
+ text-align: center;
320
+ vertical-align: middle;
321
+ font-weight: bold;
322
+ color: #FFFFFF;
323
+ box-sizing: border-box;
324
+ margin: 1px 5px;
325
+ }
326
  .siteorigin-widget-form .siteorigin-widget-field-type-widget > label,
327
  .siteorigin-widget-form .siteorigin-widget-field-type-section > label {
328
  background: #F0F0F0;
347
  .siteorigin-widget-form .siteorigin-widget-field-type-section > label.siteorigin-widget-section-visible:before {
348
  content: "\f460";
349
  }
350
+ .siteorigin-widget-form .siteorigin-widget-field-type-posts .siteorigin-widget-section,
351
  .siteorigin-widget-form .siteorigin-widget-field-type-widget .siteorigin-widget-section,
352
  .siteorigin-widget-form .siteorigin-widget-field-type-section .siteorigin-widget-section {
353
  padding: 1px 10px;
355
  border: 1px solid #EEEEEE;
356
  border-top: 0;
357
  }
358
+ .siteorigin-widget-form .siteorigin-widget-field-type-posts .siteorigin-widget-section.siteorigin-widget-section-hide,
359
  .siteorigin-widget-form .siteorigin-widget-field-type-widget .siteorigin-widget-section.siteorigin-widget-section-hide,
360
  .siteorigin-widget-form .siteorigin-widget-field-type-section .siteorigin-widget-section.siteorigin-widget-section-hide {
361
  display: none;
362
  }
363
+ .siteorigin-widget-form .siteorigin-widget-field-type-autocomplete,
364
  .siteorigin-widget-form .siteorigin-widget-field-type-link {
365
  position: relative;
366
  }
367
+ .siteorigin-widget-form .siteorigin-widget-field-type-autocomplete .existing-content-selector,
368
  .siteorigin-widget-form .siteorigin-widget-field-type-link .existing-content-selector {
369
  padding: 20px;
370
  display: none;
371
  position: absolute;
372
  top: 110%;
 
373
  width: 360px;
374
  z-index: 10;
375
  border: 1px solid #c0c0c0;
381
  -moz-border-radius: 3px;
382
  border-radius: 3px;
383
  }
384
+ .siteorigin-widget-form .siteorigin-widget-field-type-autocomplete .existing-content-selector .content-text-search,
385
  .siteorigin-widget-form .siteorigin-widget-field-type-link .existing-content-selector .content-text-search {
386
  width: 100%;
387
  margin-bottom: 15px;
388
  }
389
+ .siteorigin-widget-form .siteorigin-widget-field-type-autocomplete .existing-content-selector .items,
390
+ .siteorigin-widget-form .siteorigin-widget-field-type-link .existing-content-selector .items {
391
  margin: 0;
392
  padding: 0;
393
  background: #fff;
395
  overflow-y: scroll;
396
  border: 1px solid #e4e4e4;
397
  }
398
+ .siteorigin-widget-form .siteorigin-widget-field-type-autocomplete .existing-content-selector .items li,
399
+ .siteorigin-widget-form .siteorigin-widget-field-type-link .existing-content-selector .items li {
400
  cursor: pointer;
401
  padding: 5px 10px;
402
  color: #32373c;
404
  margin: 0;
405
  font-size: 0.95em;
406
  }
407
+ .siteorigin-widget-form .siteorigin-widget-field-type-autocomplete .existing-content-selector .items li.selected,
408
+ .siteorigin-widget-form .siteorigin-widget-field-type-link .existing-content-selector .items li.selected {
409
+ background: #e1edfa;
410
+ }
411
+ .siteorigin-widget-form .siteorigin-widget-field-type-autocomplete .existing-content-selector .items li:hover,
412
+ .siteorigin-widget-form .siteorigin-widget-field-type-link .existing-content-selector .items li:hover {
413
  background: #eaf2fa;
414
  }
415
+ .siteorigin-widget-form .siteorigin-widget-field-type-autocomplete .existing-content-selector .items li:last-child,
416
+ .siteorigin-widget-form .siteorigin-widget-field-type-link .existing-content-selector .items li:last-child {
417
  border-bottom: 0;
418
  }
419
+ .siteorigin-widget-form .siteorigin-widget-field-type-autocomplete .existing-content-selector .items li span,
420
+ .siteorigin-widget-form .siteorigin-widget-field-type-link .existing-content-selector .items li span {
421
  font-size: 0.9em;
422
  display: inline-block;
423
  float: right;
424
  color: #999;
425
  margin-left: 10px;
426
  }
427
+ .siteorigin-widget-form .siteorigin-widget-field-type-autocomplete .existing-content-selector .items.loading,
428
+ .siteorigin-widget-form .siteorigin-widget-field-type-link .existing-content-selector .items.loading {
429
  min-height: 40px;
430
  background: #FFFFFF url("img/wpspin_light.gif") center center no-repeat;
431
  }
432
  @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
433
+ .siteorigin-widget-form .siteorigin-widget-field-type-autocomplete .existing-content-selector .items.loading,
434
+ .siteorigin-widget-form .siteorigin-widget-field-type-link .existing-content-selector .items.loading {
435
  background-image: url("img/wpspin_light-2x.gif");
436
  background-size: 16px 16px;
437
  }
438
  }
439
+ .siteorigin-widget-form .siteorigin-widget-field-type-autocomplete .existing-content-selector .items.loading li,
440
+ .siteorigin-widget-form .siteorigin-widget-field-type-link .existing-content-selector .items.loading li {
441
  display: none;
442
  }
443
+ .siteorigin-widget-form .siteorigin-widget-field-type-autocomplete .existing-content-selector .buttons,
444
  .siteorigin-widget-form .siteorigin-widget-field-type-link .existing-content-selector .buttons {
445
  margin-top: 15px;
446
  text-align: right;
447
  }
448
+ .siteorigin-widget-form .siteorigin-widget-field-type-autocomplete .existing-content-selector .buttons a,
449
  .siteorigin-widget-form .siteorigin-widget-field-type-link .existing-content-selector .buttons a {
450
  display: inline-block;
451
  }
452
+ .siteorigin-widget-form .siteorigin-widget-field-type-autocomplete .url-input-wrapper,
453
  .siteorigin-widget-form .siteorigin-widget-field-type-link .url-input-wrapper {
454
  display: block;
455
  margin-right: 130px;
456
  }
457
+ .siteorigin-widget-form .siteorigin-widget-field-type-autocomplete .select-content-button,
458
  .siteorigin-widget-form .siteorigin-widget-field-type-link .select-content-button {
459
  float: right;
460
  width: 120px;
461
  text-align: center;
462
  }
463
+ .siteorigin-widget-form .siteorigin-widget-field-type-link .existing-content-selector {
464
+ right: 0;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
465
  }
466
+ .siteorigin-widget-form .siteorigin-widget-description {
 
 
467
  clear: both;
468
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
469
  .siteorigin-widget-preview {
470
  display: block !important;
471
  }
535
  margin-left: -11px;
536
  margin-top: -10px;
537
  font-size: 21px;
 
538
  text-align: center;
539
+ color: #666666;
540
  }
541
  .so-widgets-dialog .so-widgets-dialog-frame {
542
  top: 80px;
base/css/post-selector.css CHANGED
@@ -1,23 +1 @@
1
- .sow-select-posts {
2
- margin-top: 6px;
3
- position: relative;
4
- }
5
- .sow-select-posts .sow-current-count {
6
- position: absolute;
7
- top: -10px;
8
- right: -10px;
9
- border-radius: 9px;
10
- background: #f92700;
11
- border: 1px solid #da0900;
12
- display: block;
13
- line-height: 14px;
14
- font-size: 7px;
15
- width: 17px;
16
- height: 17px;
17
- text-align: center;
18
- vertical-align: middle;
19
- font-weight: bold;
20
- color: #FFFFFF;
21
- box-sizing: border-box;
22
- padding-top: 1px;
23
- }
1
+ .sow-select-posts{margin-top:6px;position:relative}.sow-select-posts .sow-current-count{position:absolute;top:-10px;right:-10px;border-radius:9px;background:#f92700;border:1px solid #da0900;display:block;line-height:14px;font-size:7px;width:17px;height:17px;text-align:center;vertical-align:middle;font-weight:bold;color:#FFFFFF;box-sizing:border-box;padding-top:1px}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
base/inc/fields/css/date-range-field.css ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .siteorigin-widget-form .siteorigin-widget-field-type-date-range > div {
2
+ display: inline-block;
3
+ margin-right: 5px;
4
+ }
5
+ .siteorigin-widget-form .siteorigin-widget-field-type-date-range > div span {
6
+ display: inline-block;
7
+ width: 35px;
8
+ }
9
+ .siteorigin-widget-form .siteorigin-widget-field-type-date-range > div input[type="text"].datepicker {
10
+ width: 258px;
11
+ }
12
+ .pika-single {
13
+ z-index: 999999;
14
+ }
base/siteorigin-widget.class.php CHANGED
@@ -216,15 +216,32 @@ abstract class SiteOrigin_Widget extends WP_Widget {
216
  );
217
  $wrapper_classes = array_map( 'sanitize_html_class', $wrapper_classes );
218
 
 
 
219
  do_action( 'siteorigin_widgets_before_widget_' . $this->id_base, $instance, $this );
220
  echo $args['before_widget'];
221
- echo '<div class="' . esc_attr( implode( ' ', $wrapper_classes ) ) . '">';
222
  echo $template_html;
223
  echo '</div>';
224
  echo $args['after_widget'];
225
  do_action( 'siteorigin_widgets_after_widget_' . $this->id_base, $instance, $this );
226
  }
227
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
228
  /**
229
  * Generate the CSS for this widget and display it in the appropriate way
230
  *
@@ -1221,7 +1238,7 @@ abstract class SiteOrigin_Widget extends WP_Widget {
1221
  $f_style[0],
1222
  isset( $f_style[1] ) ? $f_style[1] : false,
1223
  isset( $f_style[2] ) ? $f_style[2] : array(),
1224
- !empty( $f_script[3] ) ? $f_script[3] : SOW_BUNDLE_VERSION,
1225
  isset( $f_style[4] ) ? $f_style[4] : "all"
1226
  );
1227
  }
216
  );
217
  $wrapper_classes = array_map( 'sanitize_html_class', $wrapper_classes );
218
 
219
+ $wrapper_data_string = $this->get_wrapper_data( $instance );
220
+
221
  do_action( 'siteorigin_widgets_before_widget_' . $this->id_base, $instance, $this );
222
  echo $args['before_widget'];
223
+ echo '<div class="' . esc_attr( implode( ' ', $wrapper_classes ) ) . '"' . $wrapper_data_string . '>';
224
  echo $template_html;
225
  echo '</div>';
226
  echo $args['after_widget'];
227
  do_action( 'siteorigin_widgets_after_widget_' . $this->id_base, $instance, $this );
228
  }
229
 
230
+ private function get_wrapper_data( $instance ) {
231
+ $data = apply_filters(
232
+ 'siteorigin_widgets_wrapper_data_' . $this->id_base,
233
+ array(),
234
+ $instance,
235
+ $this
236
+ );
237
+ $wrapper_attr_string = '';
238
+ foreach ( $data as $name => $value ) {
239
+ $wrapper_attr_string = ' data-' . esc_html( $name ) . '="' . esc_attr( $value ) . '"';
240
+ }
241
+
242
+ return $wrapper_attr_string;
243
+ }
244
+
245
  /**
246
  * Generate the CSS for this widget and display it in the appropriate way
247
  *
1238
  $f_style[0],
1239
  isset( $f_style[1] ) ? $f_style[1] : false,
1240
  isset( $f_style[2] ) ? $f_style[2] : array(),
1241
+ !empty( $f_style[3] ) ? $f_style[3] : SOW_BUNDLE_VERSION,
1242
  isset( $f_style[4] ) ? $f_style[4] : "all"
1243
  );
1244
  }
compat/elementor/styles.css CHANGED
@@ -1,17 +1,11 @@
1
- .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form,
2
- .siteorigin-widgets-query-builder,
3
- .siteorigin-widgets-query-builder.media-modal {
4
  min-width: inherit;
5
  /* Button styles copied from wp-core for default UI look. */
6
  }
7
- .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .wp-picker-container,
8
- .siteorigin-widgets-query-builder .wp-picker-container,
9
- .siteorigin-widgets-query-builder.media-modal .wp-picker-container {
10
  float: none;
11
  }
12
- .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .wp-picker-container.wp-picker-active,
13
- .siteorigin-widgets-query-builder .wp-picker-container.wp-picker-active,
14
- .siteorigin-widgets-query-builder.media-modal .wp-picker-container.wp-picker-active {
15
  transform: none;
16
  float: none;
17
  position: relative;
@@ -19,90 +13,63 @@
19
  border: none;
20
  background: none;
21
  }
22
- .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .wp-picker-container.wp-picker-active .wp-color-result,
23
- .siteorigin-widgets-query-builder .wp-picker-container.wp-picker-active .wp-color-result,
24
- .siteorigin-widgets-query-builder.media-modal .wp-picker-container.wp-picker-active .wp-color-result {
25
  float: none;
26
  margin: 0;
27
  }
28
- .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .wp-picker-container.wp-picker-active .wp-picker-input-wrap,
29
- .siteorigin-widgets-query-builder .wp-picker-container.wp-picker-active .wp-picker-input-wrap,
30
- .siteorigin-widgets-query-builder.media-modal .wp-picker-container.wp-picker-active .wp-picker-input-wrap {
31
  padding: 0;
32
  float: none;
33
  }
34
- .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .wp-picker-container.wp-picker-active .iris-picker.iris-border,
35
- .siteorigin-widgets-query-builder .wp-picker-container.wp-picker-active .iris-picker.iris-border,
36
- .siteorigin-widgets-query-builder.media-modal .wp-picker-container.wp-picker-active .iris-picker.iris-border {
37
  background: none;
38
  }
39
- .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .wp-picker-container.wp-picker-active .iris-picker.iris-border .iris-picker-inner,
40
- .siteorigin-widgets-query-builder .wp-picker-container.wp-picker-active .iris-picker.iris-border .iris-picker-inner,
41
- .siteorigin-widgets-query-builder.media-modal .wp-picker-container.wp-picker-active .iris-picker.iris-border .iris-picker-inner {
42
  left: 0;
43
  right: 0;
44
  }
45
- .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .wp-picker-container.wp-picker-active .wp-picker-clear,
46
- .siteorigin-widgets-query-builder .wp-picker-container.wp-picker-active .wp-picker-clear,
47
- .siteorigin-widgets-query-builder.media-modal .wp-picker-container.wp-picker-active .wp-picker-clear {
48
  height: 28px;
49
  }
50
- .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .siteorigin-widget-field.siteorigin-widget-field-type-link .existing-content-selector,
51
- .siteorigin-widgets-query-builder .siteorigin-widget-field.siteorigin-widget-field-type-link .existing-content-selector,
52
- .siteorigin-widgets-query-builder.media-modal .siteorigin-widget-field.siteorigin-widget-field-type-link .existing-content-selector {
53
  width: inherit;
54
  }
55
- .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .siteorigin-widget-field .siteorigin-widget-input-color,
56
- .siteorigin-widgets-query-builder .siteorigin-widget-field .siteorigin-widget-input-color,
57
- .siteorigin-widgets-query-builder.media-modal .siteorigin-widget-field .siteorigin-widget-input-color {
58
  width: 120px;
59
  margin: 0 3px;
60
  }
 
 
 
61
  .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .siteorigin-widget-field.siteorigin-widget-field-type-measurement .siteorigin-widget-input-measurement,
62
- .siteorigin-widgets-query-builder .siteorigin-widget-field.siteorigin-widget-field-type-measurement .siteorigin-widget-input-measurement,
63
- .siteorigin-widgets-query-builder.media-modal .siteorigin-widget-field.siteorigin-widget-field-type-measurement .siteorigin-widget-input-measurement,
64
- .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .siteorigin-widget-field.siteorigin-widget-field-type-measurement .sow-measurement-select-unit,
65
- .siteorigin-widgets-query-builder .siteorigin-widget-field.siteorigin-widget-field-type-measurement .sow-measurement-select-unit,
66
- .siteorigin-widgets-query-builder.media-modal .siteorigin-widget-field.siteorigin-widget-field-type-measurement .sow-measurement-select-unit {
67
  max-width: inherit;
68
  height: 28px;
69
  margin: 0;
70
  }
71
- .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .siteorigin-widget-field.siteorigin-widget-field-type-measurement .siteorigin-widget-input-measurement,
72
- .siteorigin-widgets-query-builder .siteorigin-widget-field.siteorigin-widget-field-type-measurement .siteorigin-widget-input-measurement,
73
- .siteorigin-widgets-query-builder.media-modal .siteorigin-widget-field.siteorigin-widget-field-type-measurement .siteorigin-widget-input-measurement {
74
  width: 66%;
75
  margin-right: 1px;
76
  }
77
- .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .siteorigin-widget-field.siteorigin-widget-field-type-measurement .sow-measurement-select-unit,
78
- .siteorigin-widgets-query-builder .siteorigin-widget-field.siteorigin-widget-field-type-measurement .sow-measurement-select-unit,
79
- .siteorigin-widgets-query-builder.media-modal .siteorigin-widget-field.siteorigin-widget-field-type-measurement .sow-measurement-select-unit {
80
  width: 33%;
81
  margin-left: 1px;
82
  }
83
- .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .siteorigin-widget-field .siteorigin-widget-field-type-slider input[type="number"],
84
- .siteorigin-widgets-query-builder .siteorigin-widget-field .siteorigin-widget-field-type-slider input[type="number"],
85
- .siteorigin-widgets-query-builder.media-modal .siteorigin-widget-field .siteorigin-widget-field-type-slider input[type="number"] {
86
  display: none !important;
87
  }
88
- .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .siteorigin-widget-field .clear,
89
- .siteorigin-widgets-query-builder .siteorigin-widget-field .clear,
90
- .siteorigin-widgets-query-builder.media-modal .siteorigin-widget-field .clear {
91
  clear: both;
92
  }
93
- .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .siteorigin-widget-field.siteorigin-widget-field-type-media .media-fallback-external,
94
- .siteorigin-widgets-query-builder .siteorigin-widget-field.siteorigin-widget-field-type-media .media-fallback-external,
95
- .siteorigin-widgets-query-builder.media-modal .siteorigin-widget-field.siteorigin-widget-field-type-media .media-fallback-external {
96
  margin-top: 4px !important;
97
  margin-left: 15px !important;
98
  max-width: 220px;
99
  }
100
  .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .button,
101
- .siteorigin-widgets-query-builder .button,
102
- .siteorigin-widgets-query-builder.media-modal .button,
103
- .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .button-secondary,
104
- .siteorigin-widgets-query-builder .button-secondary,
105
- .siteorigin-widgets-query-builder.media-modal .button-secondary {
106
  display: inline-block;
107
  text-decoration: none;
108
  font-size: 13px;
@@ -122,58 +89,31 @@
122
  background: #f7f7f7;
123
  }
124
  .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .button:hover,
125
- .siteorigin-widgets-query-builder .button:hover,
126
- .siteorigin-widgets-query-builder.media-modal .button:hover,
127
  .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .button-secondary:hover,
128
- .siteorigin-widgets-query-builder .button-secondary:hover,
129
- .siteorigin-widgets-query-builder.media-modal .button-secondary:hover,
130
  .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .button:focus,
131
- .siteorigin-widgets-query-builder .button:focus,
132
- .siteorigin-widgets-query-builder.media-modal .button:focus,
133
- .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .button-secondary:focus,
134
- .siteorigin-widgets-query-builder .button-secondary:focus,
135
- .siteorigin-widgets-query-builder.media-modal .button-secondary:focus {
136
  background: #fafafa;
137
  border-color: #999;
138
  color: #23282d;
139
  }
140
  .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .button:active,
141
- .siteorigin-widgets-query-builder .button:active,
142
- .siteorigin-widgets-query-builder.media-modal .button:active,
143
  .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .button-secondary:active,
144
- .siteorigin-widgets-query-builder .button-secondary:active,
145
- .siteorigin-widgets-query-builder.media-modal .button-secondary:active,
146
  .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .button:focus,
147
- .siteorigin-widgets-query-builder .button:focus,
148
- .siteorigin-widgets-query-builder.media-modal .button:focus,
149
- .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .button-secondary:focus,
150
- .siteorigin-widgets-query-builder .button-secondary:focus,
151
- .siteorigin-widgets-query-builder.media-modal .button-secondary:focus {
152
  outline: none;
153
  }
154
  .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .button.hidden,
155
- .siteorigin-widgets-query-builder .button.hidden,
156
- .siteorigin-widgets-query-builder.media-modal .button.hidden,
157
- .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .button-secondary.hidden,
158
- .siteorigin-widgets-query-builder .button-secondary.hidden,
159
- .siteorigin-widgets-query-builder.media-modal .button-secondary.hidden {
160
  display: none;
161
  }
162
- .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .button.button-small,
163
- .siteorigin-widgets-query-builder .button.button-small,
164
- .siteorigin-widgets-query-builder.media-modal .button.button-small {
165
  height: 25px;
166
  line-height: 23px;
167
  padding: 0 8px;
168
  font-size: 11px;
169
  }
170
  .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form select,
171
- .siteorigin-widgets-query-builder select,
172
- .siteorigin-widgets-query-builder.media-modal select,
173
- .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form input[type=text],
174
- .siteorigin-widgets-query-builder input[type=text],
175
- .siteorigin-widgets-query-builder.media-modal input[type=text] {
176
- width: inherit;
177
  margin: 1px;
178
  border-radius: 0;
179
  font-weight: inherit;
@@ -183,10 +123,16 @@
183
  color: #32373c;
184
  outline: 0;
185
  transition: 50ms border-color ease-in-out;
 
186
  }
187
- .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .ui-autocomplete,
188
- .siteorigin-widgets-query-builder .ui-autocomplete,
189
- .siteorigin-widgets-query-builder.media-modal .ui-autocomplete {
 
 
 
 
 
190
  padding: 0;
191
  margin: 0;
192
  list-style: none;
@@ -196,30 +142,19 @@
196
  box-shadow: 0 1px 2px rgba(30, 140, 190, 0.8);
197
  background-color: #fff;
198
  }
199
- .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .ui-autocomplete li,
200
- .siteorigin-widgets-query-builder .ui-autocomplete li,
201
- .siteorigin-widgets-query-builder.media-modal .ui-autocomplete li {
202
  margin-bottom: 0;
203
  padding: 4px 10px;
204
  white-space: nowrap;
205
  text-align: left;
206
  }
207
- .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .ui-autocomplete li.ui-state-focus,
208
- .siteorigin-widgets-query-builder .ui-autocomplete li.ui-state-focus,
209
- .siteorigin-widgets-query-builder.media-modal .ui-autocomplete li.ui-state-focus {
210
  background-color: #ddd;
211
  cursor: pointer;
212
  }
213
- .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .media-toolbar-primary,
214
- .siteorigin-widgets-query-builder .media-toolbar-primary,
215
- .siteorigin-widgets-query-builder.media-modal .media-toolbar-primary {
216
  margin-top: 15px;
217
  }
218
- .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .query-builder-content .query-builder-form-field small,
219
- .siteorigin-widgets-query-builder .query-builder-content .query-builder-form-field small,
220
- .siteorigin-widgets-query-builder.media-modal .query-builder-content .query-builder-form-field small {
221
  margin-top: 5px;
222
  }
223
- .elementor-panel {
224
- width: 400px;
225
- }
1
+ .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form {
 
 
2
  min-width: inherit;
3
  /* Button styles copied from wp-core for default UI look. */
4
  }
5
+ .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .wp-picker-container {
 
 
6
  float: none;
7
  }
8
+ .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .wp-picker-container.wp-picker-active {
 
 
9
  transform: none;
10
  float: none;
11
  position: relative;
13
  border: none;
14
  background: none;
15
  }
16
+ .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .wp-picker-container.wp-picker-active .wp-color-result {
 
 
17
  float: none;
18
  margin: 0;
19
  }
20
+ .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .wp-picker-container.wp-picker-active .wp-picker-input-wrap {
 
 
21
  padding: 0;
22
  float: none;
23
  }
24
+ .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .wp-picker-container.wp-picker-active .iris-picker.iris-border {
 
 
25
  background: none;
26
  }
27
+ .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .wp-picker-container.wp-picker-active .iris-picker.iris-border .iris-picker-inner {
 
 
28
  left: 0;
29
  right: 0;
30
  }
31
+ .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .wp-picker-container.wp-picker-active .wp-picker-clear {
 
 
32
  height: 28px;
33
  }
34
+ .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .siteorigin-widget-field.siteorigin-widget-field-type-autocomplete .existing-content-selector,
35
+ .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .siteorigin-widget-field.siteorigin-widget-field-type-link .existing-content-selector {
 
36
  width: inherit;
37
  }
38
+ .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .siteorigin-widget-field .siteorigin-widget-input-color {
 
 
39
  width: 120px;
40
  margin: 0 3px;
41
  }
42
+ .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .siteorigin-widget-field.siteorigin-widget-field-type-icon .siteorigin-widget-icon-selector .siteorigin-widget-icon-search {
43
+ width: 100%;
44
+ }
45
  .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .siteorigin-widget-field.siteorigin-widget-field-type-measurement .siteorigin-widget-input-measurement,
46
+ .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .siteorigin-widget-field.siteorigin-widget-field-type-measurement .sow-measurement-select-unit {
 
 
 
 
47
  max-width: inherit;
48
  height: 28px;
49
  margin: 0;
50
  }
51
+ .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .siteorigin-widget-field.siteorigin-widget-field-type-measurement .siteorigin-widget-input-measurement {
 
 
52
  width: 66%;
53
  margin-right: 1px;
54
  }
55
+ .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .siteorigin-widget-field.siteorigin-widget-field-type-measurement .sow-measurement-select-unit {
56
+ min-width: inherit;
 
57
  width: 33%;
58
  margin-left: 1px;
59
  }
60
+ .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .siteorigin-widget-field .siteorigin-widget-field-type-slider input[type="number"] {
 
 
61
  display: none !important;
62
  }
63
+ .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .siteorigin-widget-field .clear {
 
 
64
  clear: both;
65
  }
66
+ .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .siteorigin-widget-field.siteorigin-widget-field-type-media .media-fallback-external {
 
 
67
  margin-top: 4px !important;
68
  margin-left: 15px !important;
69
  max-width: 220px;
70
  }
71
  .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .button,
72
+ .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .button-secondary {
 
 
 
 
73
  display: inline-block;
74
  text-decoration: none;
75
  font-size: 13px;
89
  background: #f7f7f7;
90
  }
91
  .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .button:hover,
 
 
92
  .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .button-secondary:hover,
 
 
93
  .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .button:focus,
94
+ .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .button-secondary:focus {
 
 
 
 
95
  background: #fafafa;
96
  border-color: #999;
97
  color: #23282d;
98
  }
99
  .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .button:active,
 
 
100
  .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .button-secondary:active,
 
 
101
  .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .button:focus,
102
+ .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .button-secondary:focus {
 
 
 
 
103
  outline: none;
104
  }
105
  .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .button.hidden,
106
+ .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .button-secondary.hidden {
 
 
 
 
107
  display: none;
108
  }
109
+ .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .button.button-small {
 
 
110
  height: 25px;
111
  line-height: 23px;
112
  padding: 0 8px;
113
  font-size: 11px;
114
  }
115
  .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form select,
116
+ .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form input[type=text] {
 
 
 
 
 
117
  margin: 1px;
118
  border-radius: 0;
119
  font-weight: inherit;
123
  color: #32373c;
124
  outline: 0;
125
  transition: 50ms border-color ease-in-out;
126
+ max-width: 100%;
127
  }
128
+ .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form select[multiple] {
129
+ min-height: 83px;
130
+ }
131
+ .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form input[type="text"].datepicker {
132
+ width: auto;
133
+ max-width: 100%;
134
+ }
135
+ .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .ui-autocomplete {
136
  padding: 0;
137
  margin: 0;
138
  list-style: none;
142
  box-shadow: 0 1px 2px rgba(30, 140, 190, 0.8);
143
  background-color: #fff;
144
  }
145
+ .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .ui-autocomplete li {
 
 
146
  margin-bottom: 0;
147
  padding: 4px 10px;
148
  white-space: nowrap;
149
  text-align: left;
150
  }
151
+ .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .ui-autocomplete li.ui-state-focus {
 
 
152
  background-color: #ddd;
153
  cursor: pointer;
154
  }
155
+ .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .media-toolbar-primary {
 
 
156
  margin-top: 15px;
157
  }
158
+ .elementor-panel #elementor-panel-page-editor .elementor-control-content .siteorigin-widget-form .query-builder-content .query-builder-form-field small {
 
 
159
  margin-top: 5px;
160
  }
 
 
 
js/slider/jquery.slider.js CHANGED
@@ -102,9 +102,8 @@ jQuery( function($){
102
 
103
  // If we're inside a fittext wrapper, wait for it to complete, before setting up the slider.
104
  var fitTextWrapper = $$.closest('.so-widget-fittext-wrapper');
105
- if ( fitTextWrapper.length > 0 && ! $$.data('fitTextDone') ) {
106
  fitTextWrapper.on('fitTextDone', function () {
107
- $$.data('fitTextDone', true);
108
  setupSlider();
109
  });
110
  return;
102
 
103
  // If we're inside a fittext wrapper, wait for it to complete, before setting up the slider.
104
  var fitTextWrapper = $$.closest('.so-widget-fittext-wrapper');
105
+ if ( fitTextWrapper.length > 0 && ! fitTextWrapper.data('fitTextDone') ) {
106
  fitTextWrapper.on('fitTextDone', function () {
 
107
  setupSlider();
108
  });
109
  return;
js/slider/jquery.slider.min.js CHANGED
@@ -1 +1 @@
1
- var sowb=window.sowb||{};sowb.SiteOriginSlider=function(e){return{playSlideVideo:function(i){e(i).find("video").each(function(){"undefined"!=typeof this.play&&this.play()})},pauseSlideVideo:function(i){e(i).find("video").each(function(){"undefined"!=typeof this.pause&&this.pause()})},setupActiveSlide:function(i,t,s){var n=e(i).find(".cycle-sentinel"),o=e(t),d=o.find("video.sow-background-element");if(void 0==s?n.css("height",o.outerHeight()):n.animate({height:o.outerHeight()},s),d.length){var c=o.outerWidth()/o.outerHeight(),l=d.outerWidth()/d.outerHeight();c>l?d.css({width:"100%",height:"auto"}):d.css({width:"auto",height:"100%"}),d.css({"margin-left":-Math.ceil(d.width()/2),"margin-top":-Math.ceil(d.height()/2)})}}}},jQuery(function(e){sowb.setupSliders=sowb.setupSlider=function(){var i=new sowb.SiteOriginSlider(e);e(".sow-slider-images").each(function(){var t=e(this),s=t.siblings(".sow-slider-pagination"),n=t.closest(".sow-slider-base"),o=n.find(".sow-slide-nav"),d=t.find(".sow-slider-image"),c=t.data("settings");d.each(function(i,t){var s=e(t),n=s.data("url");s.click(function(i){if(void 0!==n){var t=e(i.target);"A"!==t.prop("tagName")&&(i.preventDefault(),window.open(n.url,n.new_window?"_blank":"_self"))}})});var l=function(){var a=t.closest(".so-widget-fittext-wrapper");if(a.length>0&&!t.data("fitTextDone"))return void a.on("fitTextDone",function(){t.data("fitTextDone",!0),l()});if(n.show(),t.find(".sow-slider-image").each(function(){var i=e(this);e(window).on("resize panelsStretchRows",function(){i.css("height",i.find(".sow-slider-image-wrapper").outerHeight())}).resize()}),t.on({"cycle-after":function(t,s,n,o,d){var c=e(this);i.playSlideVideo(o),i.setupActiveSlide(c,o),e(o).trigger("sowSlideCycleAfter")},"cycle-before":function(t,n,o,d,c){var l=e(this);s.find("> li").removeClass("sow-active").eq(n.slideNum-1).addClass("sow-active"),i.pauseSlideVideo(o),i.setupActiveSlide(l,d,n.speed),e(d).trigger("sowSlideCycleBefore")},"cycle-initialized":function(n,d){i.playSlideVideo(e(this).find(".cycle-slide-active")),i.setupActiveSlide(t,d.slides[0]),s.find(">li").removeClass("sow-active").eq(0).addClass("sow-active"),e(this).find(".cycle-slide-active").trigger("sowSlideInitial"),d.slideCount<=1&&(s.hide(),o.hide()),e(window).resize(),setTimeout(function(){i.setupActiveSlide(t,d.slides[0]),t.find(".cycle-sentinel").empty()},200)}}).cycle({slides:"> .sow-slider-image",speed:c.speed,timeout:c.timeout,swipe:c.swipe,"swipe-fx":"scrollHorz"}),t.find("video.sow-background-element").on("loadeddata",function(){i.setupActiveSlide(t,t.find(".cycle-slide-active"))}),s.add(o).hide(),!n.hasClass("sow-slider-is-mobile")&&d.length>1){var r=!1;n.mouseenter(function(){s.add(o).clearQueue().fadeIn(150),r=!1}).mouseleave(function(){r=!0,setTimeout(function(){r&&s.add(o).clearQueue().fadeOut(150),r=!1},750)})}e(window).resize(function(){i.setupActiveSlide(t,t.find(".cycle-slide-active"))}),s.find("> li > a").click(function(i){i.preventDefault(),t.cycle("goto",e(this).data("goto"))}),o.find("> a").click(function(i){i.preventDefault(),t.cycle(e(this).data("action"))}),n.keydown(function(e){37===e.which?t.cycle("prev"):39===e.which&&t.cycle("next")})},a=t.find("img"),r=0,u=!1;a.each(function(){e(this);this.complete?r++:e(this).one("load",function(){r++,r!==a.length||u||(l(),u=!0)}).attr("src",e(this).attr("src")),r!==a.length||u||(l(),u=!0)}),0===a.length&&l()})},sowb.setupSliders(),e(sowb).on("setup_widgets",sowb.setupSliders)});
1
+ var sowb=window.sowb||{};sowb.SiteOriginSlider=function(e){return{playSlideVideo:function(i){e(i).find("video").each(function(){"undefined"!=typeof this.play&&this.play()})},pauseSlideVideo:function(i){e(i).find("video").each(function(){"undefined"!=typeof this.pause&&this.pause()})},setupActiveSlide:function(i,t,s){var n=e(i).find(".cycle-sentinel"),o=e(t),d=o.find("video.sow-background-element");if(void 0==s?n.css("height",o.outerHeight()):n.animate({height:o.outerHeight()},s),d.length){var c=o.outerWidth()/o.outerHeight(),l=d.outerWidth()/d.outerHeight();c>l?d.css({width:"100%",height:"auto"}):d.css({width:"auto",height:"100%"}),d.css({"margin-left":-Math.ceil(d.width()/2),"margin-top":-Math.ceil(d.height()/2)})}}}},jQuery(function(e){sowb.setupSliders=sowb.setupSlider=function(){var i=new sowb.SiteOriginSlider(e);e(".sow-slider-images").each(function(){var t=e(this),s=t.siblings(".sow-slider-pagination"),n=t.closest(".sow-slider-base"),o=n.find(".sow-slide-nav"),d=t.find(".sow-slider-image"),c=t.data("settings");d.each(function(i,t){var s=e(t),n=s.data("url");s.click(function(i){if(void 0!==n){var t=e(i.target);"A"!==t.prop("tagName")&&(i.preventDefault(),window.open(n.url,n.new_window?"_blank":"_self"))}})});var l=function(){var a=t.closest(".so-widget-fittext-wrapper");if(a.length>0&&!a.data("fitTextDone"))return void a.on("fitTextDone",function(){l()});if(n.show(),t.find(".sow-slider-image").each(function(){var i=e(this);e(window).on("resize panelsStretchRows",function(){i.css("height",i.find(".sow-slider-image-wrapper").outerHeight())}).resize()}),t.on({"cycle-after":function(t,s,n,o,d){var c=e(this);i.playSlideVideo(o),i.setupActiveSlide(c,o),e(o).trigger("sowSlideCycleAfter")},"cycle-before":function(t,n,o,d,c){var l=e(this);s.find("> li").removeClass("sow-active").eq(n.slideNum-1).addClass("sow-active"),i.pauseSlideVideo(o),i.setupActiveSlide(l,d,n.speed),e(d).trigger("sowSlideCycleBefore")},"cycle-initialized":function(n,d){i.playSlideVideo(e(this).find(".cycle-slide-active")),i.setupActiveSlide(t,d.slides[0]),s.find(">li").removeClass("sow-active").eq(0).addClass("sow-active"),e(this).find(".cycle-slide-active").trigger("sowSlideInitial"),d.slideCount<=1&&(s.hide(),o.hide()),e(window).resize(),setTimeout(function(){i.setupActiveSlide(t,d.slides[0]),t.find(".cycle-sentinel").empty()},200)}}).cycle({slides:"> .sow-slider-image",speed:c.speed,timeout:c.timeout,swipe:c.swipe,"swipe-fx":"scrollHorz"}),t.find("video.sow-background-element").on("loadeddata",function(){i.setupActiveSlide(t,t.find(".cycle-slide-active"))}),s.add(o).hide(),!n.hasClass("sow-slider-is-mobile")&&d.length>1){var r=!1;n.mouseenter(function(){s.add(o).clearQueue().fadeIn(150),r=!1}).mouseleave(function(){r=!0,setTimeout(function(){r&&s.add(o).clearQueue().fadeOut(150),r=!1},750)})}e(window).resize(function(){i.setupActiveSlide(t,t.find(".cycle-slide-active"))}),s.find("> li > a").click(function(i){i.preventDefault(),t.cycle("goto",e(this).data("goto"))}),o.find("> a").click(function(i){i.preventDefault(),t.cycle(e(this).data("action"))}),n.keydown(function(e){37===e.which?t.cycle("prev"):39===e.which&&t.cycle("next")})},a=t.find("img"),r=0,u=!1;a.each(function(){e(this);this.complete?r++:e(this).one("load",function(){r++,r!==a.length||u||(l(),u=!0)}).attr("src",e(this).attr("src")),r!==a.length||u||(l(),u=!0)}),0===a.length&&l()})},sowb.setupSliders(),e(sowb).on("setup_widgets",sowb.setupSliders)});
js/sow.jquery.fittext.js CHANGED
@@ -1,4 +1,4 @@
1
- /*global jQuery */
2
  /*!
3
  * FitText.js 1.2
4
  *
@@ -8,6 +8,7 @@
8
  *
9
  * Date: Thu May 05 14:23:00 2011 -0600
10
  */
 
11
 
12
  (function ($) {
13
 
@@ -41,14 +42,27 @@
41
  })(jQuery);
42
 
43
  jQuery( function( $ ){
 
44
  // Apply FitText to all Widgets Bundle FitText wrappers
45
- var fitTextWrapper = $('.so-widget-fittext-wrapper');
46
-
47
- fitTextWrapper.find( 'h1,h2,h3,h4,h5,h6' ).each( function(){
48
- var $$ = $(this);
49
- $$.fitText( 0.85, {
50
- maxFontSize: $$.css('font-size')
51
- } );
52
- } );
53
- fitTextWrapper.trigger( 'fitTextDone' );
 
 
 
 
 
 
 
 
 
 
54
  } );
 
 
1
+ /*global jQuery, sowb */
2
  /*!
3
  * FitText.js 1.2
4
  *
8
  *
9
  * Date: Thu May 05 14:23:00 2011 -0600
10
  */
11
+ var sowb = window.sowb || {};
12
 
13
  (function ($) {
14
 
42
  })(jQuery);
43
 
44
  jQuery( function( $ ){
45
+
46
  // Apply FitText to all Widgets Bundle FitText wrappers
47
+ sowb.runFitText = function () {
48
+ $( '.so-widget-fittext-wrapper' ).each( function() {
49
+ var fitTextWrapper = $( this );
50
+
51
+ var compressor = fitTextWrapper.data( 'fitTextCompressor' ) || 0.85;
52
+ fitTextWrapper.find( 'h1,h2,h3,h4,h5,h6' ).each( function () {
53
+ var $$ = $( this );
54
+ $$.fitText( compressor, {
55
+ maxFontSize: $$.css( 'font-size' )
56
+ } );
57
+ } );
58
+ fitTextWrapper.data( 'fitTextDone', true );
59
+ fitTextWrapper.trigger( 'fitTextDone' );
60
+ });
61
+ };
62
+
63
+ $( sowb ).on( 'setup_widgets', sowb.runFitText );
64
+
65
+ sowb.runFitText();
66
  } );
67
+
68
+ window.sowb = sowb;
js/sow.jquery.fittext.min.js CHANGED
@@ -1 +1 @@
1
- !function(t){t.fn.fitText=function(i,e){var n=i||1,o=t.extend({minFontSize:Number.NEGATIVE_INFINITY,maxFontSize:Number.POSITIVE_INFINITY},e);return this.each(function(){var i=t(this),e=function(){i.css("font-size",Math.max(Math.min(i.width()/(10*n),parseFloat(o.maxFontSize)),parseFloat(o.minFontSize)))};e(),t(window).on("resize.fittext orientationchange.fittext",e)})}}(jQuery),jQuery(function(t){var i=t(".so-widget-fittext-wrapper");i.find("h1,h2,h3,h4,h5,h6").each(function(){var i=t(this);i.fitText(.85,{maxFontSize:i.css("font-size")})}),i.trigger("fitTextDone")});
1
+ var sowb=window.sowb||{};!function(t){t.fn.fitText=function(i,n){var e=i||1,o=t.extend({minFontSize:Number.NEGATIVE_INFINITY,maxFontSize:Number.POSITIVE_INFINITY},n);return this.each(function(){var i=t(this),n=function(){i.css("font-size",Math.max(Math.min(i.width()/(10*e),parseFloat(o.maxFontSize)),parseFloat(o.minFontSize)))};n(),t(window).on("resize.fittext orientationchange.fittext",n)})}}(jQuery),jQuery(function(t){sowb.runFitText=function(){t(".so-widget-fittext-wrapper").each(function(){var i=t(this),n=i.data("fitTextCompressor")||.85;i.find("h1,h2,h3,h4,h5,h6").each(function(){var i=t(this);i.fitText(n,{maxFontSize:i.css("font-size")})}),i.data("fitTextDone",!0),i.trigger("fitTextDone")})},t(sowb).on("setup_widgets",sowb.runFitText),sowb.runFitText()}),window.sowb=sowb;
lang/so-widgets-bundle.pot CHANGED
@@ -17,7 +17,7 @@ msgstr ""
17
  "X-Poedit-SearchPathExcluded-0: *.js\n"
18
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
 
20
- #: tmp/admin/tpl/admin.php:9, tmp/so-widgets-bundle.php:196
21
  msgid "SiteOrigin Widgets Bundle"
22
  msgstr ""
23
 
@@ -65,7 +65,7 @@ msgstr ""
65
  msgid "Save"
66
  msgstr ""
67
 
68
- #: tmp/base/inc/actions.php:38, tmp/base/siteorigin-widget.class.php:591
69
  msgid "Widget Preview"
70
  msgstr ""
71
 
@@ -269,7 +269,7 @@ msgstr ""
269
  msgid "Author"
270
  msgstr ""
271
 
272
- #: tmp/base/inc/post-selector.php:163, tmp/widgets/contact/contact.php:47, tmp/widgets/cta/cta.php:63, tmp/widgets/editor/editor.php:31, tmp/widgets/features/features.php:132, tmp/widgets/post-carousel/post-carousel.php:91, tmp/widgets/price-table/price-table.php:42, tmp/widgets/price-table/price-table.php:61, tmp/widgets/simple-masonry/simple-masonry.php:55, tmp/widgets/simple-masonry/simple-masonry.php:86, tmp/widgets/social-media-buttons/social-media-buttons.php:42, tmp/widgets/taxonomy/taxonomy.php:33, tmp/widgets/testimonial/testimonial.php:40, tmp/widgets/video/video.php:32
273
  msgid "Title"
274
  msgstr ""
275
 
@@ -429,23 +429,23 @@ msgstr ""
429
  msgid "Maximum height"
430
  msgstr ""
431
 
432
- #: tmp/base/siteorigin-widget.class.php:446
433
  msgid "Preview"
434
  msgstr ""
435
 
436
- #: tmp/base/siteorigin-widget.class.php:451
437
  msgid "Help"
438
  msgstr ""
439
 
440
- #: tmp/base/siteorigin-widget.class.php:517
441
  msgid "This widget has scripts and styles that need to be loaded before you can use it. Please save and reload your current page."
442
  msgstr ""
443
 
444
- #: tmp/base/siteorigin-widget.class.php:518
445
  msgid "You will only need to do this once."
446
  msgstr ""
447
 
448
- #: tmp/base/siteorigin-widget.class.php:539
449
  msgid "Are you sure?"
450
  msgstr ""
451
 
@@ -493,7 +493,7 @@ msgstr ""
493
  msgid "Ionicons"
494
  msgstr ""
495
 
496
- #: tmp/so-widgets-bundle.php:212
497
  msgid "A new widget!"
498
  msgstr ""
499
 
@@ -533,11 +533,11 @@ msgstr ""
533
  msgid "Button text"
534
  msgstr ""
535
 
536
- #: tmp/widgets/button/button.php:50, tmp/widgets/google-map/google-map.php:100, tmp/widgets/headline/headline.php:43, tmp/widgets/headline/headline.php:114, tmp/widgets/hero/hero.php:118, tmp/widgets/icon/icon.php:56, tmp/widgets/image/image.php:76, tmp/widgets/layout-slider/layout-slider.php:86, tmp/widgets/simple-masonry/simple-masonry.php:90, tmp/widgets/slider/slider.php:84
537
  msgid "Destination URL"
538
  msgstr ""
539
 
540
- #: tmp/widgets/button/button.php:56, tmp/widgets/google-map/google-map.php:111, tmp/widgets/headline/headline.php:48, tmp/widgets/headline/headline.php:119, tmp/widgets/icon/icon.php:62, tmp/widgets/simple-masonry/simple-masonry.php:95, tmp/widgets/social-media-buttons/social-media-buttons.php:85, tmp/widgets/taxonomy/taxonomy.php:63
541
  msgid "Open in a new window"
542
  msgstr ""
543
 
@@ -573,19 +573,19 @@ msgstr ""
573
  msgid "Align"
574
  msgstr ""
575
 
576
- #: tmp/widgets/button/button.php:98, tmp/widgets/contact/contact.php:344, tmp/widgets/contact/contact.php:359, tmp/widgets/cta/cta.php:96, tmp/widgets/features/features.php:66, tmp/widgets/headline/headline.php:87, tmp/widgets/headline/headline.php:158, tmp/widgets/headline/headline.php:213, tmp/widgets/icon/icon.php:48, tmp/widgets/image/image.php:47, tmp/widgets/social-media-buttons/social-media-buttons.php:140, tmp/widgets/testimonial/testimonial.php:253
577
  msgid "Left"
578
  msgstr ""
579
 
580
- #: tmp/widgets/button/button.php:99, tmp/widgets/contact/contact.php:345, tmp/widgets/contact/contact.php:360, tmp/widgets/cta/cta.php:97, tmp/widgets/features/features.php:64, tmp/widgets/headline/headline.php:88, tmp/widgets/headline/headline.php:159, tmp/widgets/headline/headline.php:214, tmp/widgets/icon/icon.php:49, tmp/widgets/image/image.php:48, tmp/widgets/social-media-buttons/social-media-buttons.php:141, tmp/widgets/testimonial/testimonial.php:254
581
  msgid "Right"
582
  msgstr ""
583
 
584
- #: tmp/widgets/button/button.php:100, tmp/widgets/contact/contact.php:361, tmp/widgets/headline/headline.php:86, tmp/widgets/headline/headline.php:157, tmp/widgets/headline/headline.php:212, tmp/widgets/icon/icon.php:47, tmp/widgets/image/image.php:49, tmp/widgets/social-media-buttons/social-media-buttons.php:142
585
  msgid "Center"
586
  msgstr ""
587
 
588
- #: tmp/widgets/button/button.php:101, tmp/widgets/contact/contact.php:362, tmp/widgets/headline/headline.php:89, tmp/widgets/headline/headline.php:160, tmp/widgets/social-media-buttons/social-media-buttons.php:143
589
  msgid "Justify"
590
  msgstr ""
591
 
@@ -609,7 +609,7 @@ msgstr ""
609
  msgid "Button color"
610
  msgstr ""
611
 
612
- #: tmp/widgets/button/button.php:124, tmp/widgets/contact/contact.php:547, tmp/widgets/hero/hero.php:225, tmp/widgets/layout-slider/layout-slider.php:180
613
  msgid "Text color"
614
  msgstr ""
615
 
@@ -617,7 +617,7 @@ msgstr ""
617
  msgid "Use hover effects"
618
  msgstr ""
619
 
620
- #: tmp/widgets/button/button.php:135, tmp/widgets/contact/contact.php:324, tmp/widgets/contact/contact.php:374, tmp/widgets/features/features.php:137, tmp/widgets/features/features.php:158, tmp/widgets/features/features.php:179, tmp/widgets/headline/headline.php:74, tmp/widgets/headline/headline.php:145
621
  msgid "Font"
622
  msgstr ""
623
 
@@ -641,7 +641,7 @@ msgstr ""
641
  msgid "Rounding"
642
  msgstr ""
643
 
644
- #: tmp/widgets/button/button.php:155, tmp/widgets/contact/contact.php:303, tmp/widgets/contact/contact.php:416, tmp/widgets/contact/contact.php:527, tmp/widgets/contact/contact.php:598, tmp/widgets/headline/headline.php:184, tmp/widgets/social-media-buttons/social-media-buttons.php:118
645
  msgid "None"
646
  msgstr ""
647
 
@@ -809,7 +809,7 @@ msgstr ""
809
  msgid "Subject"
810
  msgstr ""
811
 
812
- #: tmp/widgets/contact/contact.php:129, tmp/widgets/features/features.php:110, tmp/widgets/features/features.php:153, tmp/widgets/headline/headline.php:39, tmp/widgets/headline/headline.php:110, tmp/widgets/price-table/price-table.php:111, tmp/widgets/testimonial/testimonial.php:81
813
  msgid "Text"
814
  msgstr ""
815
 
@@ -957,7 +957,7 @@ msgstr ""
957
  msgid "Container"
958
  msgstr ""
959
 
960
- #: tmp/widgets/contact/contact.php:280, tmp/widgets/contact/contact.php:509, tmp/widgets/cta/cta.php:77, tmp/widgets/hero/hero.php:112, tmp/widgets/layout-slider/layout-slider.php:80, tmp/widgets/social-media-buttons/social-media-buttons.php:74
961
  msgid "Background color"
962
  msgstr ""
963
 
@@ -977,35 +977,35 @@ msgstr ""
977
  msgid "Hidden"
978
  msgstr ""
979
 
980
- #: tmp/widgets/contact/contact.php:305, tmp/widgets/contact/contact.php:418, tmp/widgets/contact/contact.php:529, tmp/widgets/contact/contact.php:590, tmp/widgets/headline/headline.php:186
981
  msgid "Dotted"
982
  msgstr ""
983
 
984
- #: tmp/widgets/contact/contact.php:306, tmp/widgets/contact/contact.php:419, tmp/widgets/contact/contact.php:530, tmp/widgets/contact/contact.php:591, tmp/widgets/headline/headline.php:187
985
  msgid "Dashed"
986
  msgstr ""
987
 
988
- #: tmp/widgets/contact/contact.php:307, tmp/widgets/contact/contact.php:420, tmp/widgets/contact/contact.php:528, tmp/widgets/contact/contact.php:592, tmp/widgets/headline/headline.php:185
989
  msgid "Solid"
990
  msgstr ""
991
 
992
- #: tmp/widgets/contact/contact.php:308, tmp/widgets/contact/contact.php:421, tmp/widgets/contact/contact.php:593, tmp/widgets/headline/headline.php:188
993
  msgid "Double"
994
  msgstr ""
995
 
996
- #: tmp/widgets/contact/contact.php:309, tmp/widgets/contact/contact.php:422, tmp/widgets/contact/contact.php:594, tmp/widgets/headline/headline.php:189
997
  msgid "Groove"
998
  msgstr ""
999
 
1000
- #: tmp/widgets/contact/contact.php:310, tmp/widgets/contact/contact.php:423, tmp/widgets/contact/contact.php:595, tmp/widgets/headline/headline.php:190
1001
  msgid "Ridge"
1002
  msgstr ""
1003
 
1004
- #: tmp/widgets/contact/contact.php:311, tmp/widgets/contact/contact.php:424, tmp/widgets/contact/contact.php:596, tmp/widgets/headline/headline.php:191
1005
  msgid "Inset"
1006
  msgstr ""
1007
 
1008
- #: tmp/widgets/contact/contact.php:312, tmp/widgets/contact/contact.php:425, tmp/widgets/contact/contact.php:597, tmp/widgets/headline/headline.php:192
1009
  msgid "Outset"
1010
  msgstr ""
1011
 
@@ -1013,7 +1013,7 @@ msgstr ""
1013
  msgid "Field labels"
1014
  msgstr ""
1015
 
1016
- #: tmp/widgets/contact/contact.php:334, tmp/widgets/contact/contact.php:449, tmp/widgets/contact/contact.php:604, 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:334, tmp/widgets/headline/headline.php:66, tmp/widgets/headline/headline.php:137, tmp/widgets/headline/headline.php:197, tmp/widgets/icon/icon.php:35, tmp/widgets/taxonomy/taxonomy.php:54
1017
  msgid "Color"
1018
  msgstr ""
1019
 
@@ -1033,7 +1033,7 @@ msgstr ""
1033
  msgid "Inside"
1034
  msgstr ""
1035
 
1036
- #: tmp/widgets/contact/contact.php:379, tmp/widgets/headline/headline.php:79, tmp/widgets/headline/headline.php:150
1037
  msgid "Font Size"
1038
  msgstr ""
1039
 
@@ -1045,11 +1045,11 @@ msgstr ""
1045
  msgid "Margin"
1046
  msgstr ""
1047
 
1048
- #: tmp/widgets/contact/contact.php:395, tmp/widgets/google-map/google-map.php:96, tmp/widgets/hero/hero.php:155, tmp/widgets/layout-slider/layout-slider.php:123
1049
  msgid "Height"
1050
  msgstr ""
1051
 
1052
- #: tmp/widgets/contact/contact.php:399, tmp/widgets/hero/hero.php:84, tmp/widgets/layout-slider/layout-slider.php:52
1053
  msgid "Background"
1054
  msgstr ""
1055
 
@@ -1065,7 +1065,7 @@ msgstr ""
1065
  msgid "Field descriptions"
1066
  msgstr ""
1067
 
1068
- #: tmp/widgets/contact/contact.php:454, tmp/widgets/contact/contact.php:587, tmp/widgets/google-map/google-map.php:287, tmp/widgets/headline/headline.php:181
1069
  msgid "Style"
1070
  msgstr ""
1071
 
@@ -1225,7 +1225,7 @@ msgstr ""
1225
  msgid "Button align"
1226
  msgstr ""
1227
 
1228
- #: tmp/widgets/cta/cta.php:106, tmp/widgets/hero/hero.php:64, tmp/widgets/hero/hero.php:76
1229
  msgid "Button"
1230
  msgstr ""
1231
 
@@ -1237,10 +1237,14 @@ msgstr ""
1237
  msgid "A rich-text, text editor."
1238
  msgstr ""
1239
 
1240
- #: tmp/widgets/editor/editor.php:40
1241
  msgid "Automatically add paragraphs"
1242
  msgstr ""
1243
 
 
 
 
 
1244
  #: tmp/widgets/features/features.php:13
1245
  msgid "SiteOrigin Features"
1246
  msgstr ""
@@ -1701,90 +1705,98 @@ msgstr ""
1701
  msgid "A headline widget."
1702
  msgstr ""
1703
 
1704
- #: tmp/widgets/headline/headline.php:34, tmp/widgets/headline/headline.php:234
1705
  msgid "Headline"
1706
  msgstr ""
1707
 
1708
- #: tmp/widgets/headline/headline.php:52, tmp/widgets/headline/headline.php:123
1709
  msgid "HTML Tag"
1710
  msgstr ""
1711
 
1712
- #: tmp/widgets/headline/headline.php:55, tmp/widgets/headline/headline.php:126
1713
  msgid "H1"
1714
  msgstr ""
1715
 
1716
- #: tmp/widgets/headline/headline.php:56, tmp/widgets/headline/headline.php:127
1717
  msgid "H2"
1718
  msgstr ""
1719
 
1720
- #: tmp/widgets/headline/headline.php:57, tmp/widgets/headline/headline.php:128
1721
  msgid "H3"
1722
  msgstr ""
1723
 
1724
- #: tmp/widgets/headline/headline.php:58, tmp/widgets/headline/headline.php:129
1725
  msgid "H4"
1726
  msgstr ""
1727
 
1728
- #: tmp/widgets/headline/headline.php:59, tmp/widgets/headline/headline.php:130
1729
  msgid "H5"
1730
  msgstr ""
1731
 
1732
- #: tmp/widgets/headline/headline.php:60, tmp/widgets/headline/headline.php:131
1733
  msgid "H6"
1734
  msgstr ""
1735
 
1736
- #: tmp/widgets/headline/headline.php:61, tmp/widgets/headline/headline.php:132
1737
  msgid "Paragraph"
1738
  msgstr ""
1739
 
1740
- #: tmp/widgets/headline/headline.php:70, tmp/widgets/headline/headline.php:141
1741
  msgid "Hover Color"
1742
  msgstr ""
1743
 
1744
- #: tmp/widgets/headline/headline.php:83, tmp/widgets/headline/headline.php:154, tmp/widgets/headline/headline.php:209, tmp/widgets/icon/icon.php:45
1745
  msgid "Alignment"
1746
  msgstr ""
1747
 
1748
- #: tmp/widgets/headline/headline.php:94, tmp/widgets/headline/headline.php:165
1749
  msgid "Line Height"
1750
  msgstr ""
1751
 
1752
- #: tmp/widgets/headline/headline.php:98, tmp/widgets/headline/headline.php:169, tmp/widgets/headline/headline.php:224
1753
  msgid "Top and Bottom Margin"
1754
  msgstr ""
1755
 
1756
- #: tmp/widgets/headline/headline.php:105
1757
  msgid "Sub headline"
1758
  msgstr ""
1759
 
1760
- #: tmp/widgets/headline/headline.php:176, tmp/widgets/headline/headline.php:235
1761
  msgid "Divider"
1762
  msgstr ""
1763
 
1764
- #: tmp/widgets/headline/headline.php:202
1765
  msgid "Thickness"
1766
  msgstr ""
1767
 
1768
- #: tmp/widgets/headline/headline.php:219
1769
  msgid "Divider Width"
1770
  msgstr ""
1771
 
1772
- #: tmp/widgets/headline/headline.php:232
1773
  msgid "Element Order"
1774
  msgstr ""
1775
 
1776
- #: tmp/widgets/headline/headline.php:236
1777
  msgid "Sub Headline"
1778
  msgstr ""
1779
 
1780
- #: tmp/widgets/headline/headline.php:243, tmp/widgets/hero/hero.php:204
1781
  msgid "Use FitText"
1782
  msgstr ""
1783
 
1784
- #: tmp/widgets/headline/headline.php:244, tmp/widgets/hero/hero.php:205
1785
  msgid "Dynamically adjust your heading font size based on screen size."
1786
  msgstr ""
1787
 
 
 
 
 
 
 
 
 
1788
  #: tmp/widgets/hero/hero.php:18
1789
  msgid "SiteOrigin Hero"
1790
  msgstr ""
@@ -1793,99 +1805,99 @@ msgstr ""
1793
  msgid "A big hero image with a few settings to make it your own."
1794
  msgstr ""
1795
 
1796
- #: tmp/widgets/hero/hero.php:46
1797
  msgid "Hero frames"
1798
  msgstr ""
1799
 
1800
- #: tmp/widgets/hero/hero.php:47, tmp/widgets/layout-slider/layout-slider.php:35, tmp/widgets/slider/slider.php:34
1801
  msgid "Frame"
1802
  msgstr ""
1803
 
1804
- #: tmp/widgets/hero/hero.php:58, tmp/widgets/layout-slider/layout-slider.php:47
1805
  msgid "Content"
1806
  msgstr ""
1807
 
1808
- #: tmp/widgets/hero/hero.php:63, tmp/widgets/taxonomy/taxonomy.php:49
1809
  msgid "Buttons"
1810
  msgstr ""
1811
 
1812
- #: tmp/widgets/hero/hero.php:65
1813
  msgid "Add [buttons] shortcode to the content to insert these buttons."
1814
  msgstr ""
1815
 
1816
- #: tmp/widgets/hero/hero.php:88, tmp/widgets/layout-slider/layout-slider.php:56, tmp/widgets/slider/slider.php:56
1817
  msgid "Background image"
1818
  msgstr ""
1819
 
1820
- #: tmp/widgets/hero/hero.php:95, tmp/widgets/layout-slider/layout-slider.php:63, tmp/widgets/slider/slider.php:67
1821
  msgid "Background image type"
1822
  msgstr ""
1823
 
1824
- #: tmp/widgets/hero/hero.php:97, tmp/widgets/layout-slider/layout-slider.php:65, tmp/widgets/slider/slider.php:69
1825
  msgid "Cover"
1826
  msgstr ""
1827
 
1828
- #: tmp/widgets/hero/hero.php:103, tmp/widgets/layout-slider/layout-slider.php:71
1829
  msgid "Background image opacity"
1830
  msgstr ""
1831
 
1832
- #: tmp/widgets/hero/hero.php:123, tmp/widgets/layout-slider/layout-slider.php:91
1833
  msgid "Open URL in a new window"
1834
  msgstr ""
1835
 
1836
- #: tmp/widgets/hero/hero.php:128, tmp/widgets/layout-slider/layout-slider.php:96, tmp/widgets/slider/slider.php:43
1837
  msgid "Video"
1838
  msgstr ""
1839
 
1840
- #: tmp/widgets/hero/hero.php:129, tmp/widgets/layout-slider/layout-slider.php:97, tmp/widgets/slider/slider.php:44
1841
  msgid "Background videos"
1842
  msgstr ""
1843
 
1844
- #: tmp/widgets/hero/hero.php:144, tmp/widgets/layout-slider/layout-slider.php:112
1845
  msgid "Slider Controls"
1846
  msgstr ""
1847
 
1848
- #: tmp/widgets/hero/hero.php:150, tmp/widgets/layout-slider/layout-slider.php:118
1849
  msgid "Design and Layout"
1850
  msgstr ""
1851
 
1852
- #: tmp/widgets/hero/hero.php:161, tmp/widgets/layout-slider/layout-slider.php:129
1853
  msgid "Top and bottom padding"
1854
  msgstr ""
1855
 
1856
- #: tmp/widgets/hero/hero.php:167, tmp/widgets/layout-slider/layout-slider.php:135
1857
  msgid "Extra top padding"
1858
  msgstr ""
1859
 
1860
- #: tmp/widgets/hero/hero.php:168, tmp/widgets/layout-slider/layout-slider.php:136
1861
  msgid "Additional padding added to the top of the slider"
1862
  msgstr ""
1863
 
1864
- #: tmp/widgets/hero/hero.php:174, tmp/widgets/layout-slider/layout-slider.php:142
1865
  msgid "Side padding"
1866
  msgstr ""
1867
 
1868
- #: tmp/widgets/hero/hero.php:180, tmp/widgets/layout-slider/layout-slider.php:148
1869
  msgid "Maximum container width"
1870
  msgstr ""
1871
 
1872
- #: tmp/widgets/hero/hero.php:186
1873
  msgid "Heading font"
1874
  msgstr ""
1875
 
1876
- #: tmp/widgets/hero/hero.php:192, tmp/widgets/layout-slider/layout-slider.php:154
1877
  msgid "Heading color"
1878
  msgstr ""
1879
 
1880
- #: tmp/widgets/hero/hero.php:198, tmp/widgets/layout-slider/layout-slider.php:160
1881
  msgid "Heading size"
1882
  msgstr ""
1883
 
1884
- #: tmp/widgets/hero/hero.php:211, tmp/widgets/layout-slider/layout-slider.php:166
1885
  msgid "Heading shadow intensity"
1886
  msgstr ""
1887
 
1888
- #: tmp/widgets/hero/hero.php:219, tmp/widgets/layout-slider/layout-slider.php:174
1889
  msgid "Text size"
1890
  msgstr ""
1891
 
17
  "X-Poedit-SearchPathExcluded-0: *.js\n"
18
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
 
20
+ #: tmp/admin/tpl/admin.php:9, tmp/so-widgets-bundle.php:195
21
  msgid "SiteOrigin Widgets Bundle"
22
  msgstr ""
23
 
65
  msgid "Save"
66
  msgstr ""
67
 
68
+ #: tmp/base/inc/actions.php:38, tmp/base/siteorigin-widget.class.php:608
69
  msgid "Widget Preview"
70
  msgstr ""
71
 
269
  msgid "Author"
270
  msgstr ""
271
 
272
+ #: tmp/base/inc/post-selector.php:163, 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:91, tmp/widgets/price-table/price-table.php:42, tmp/widgets/price-table/price-table.php:61, tmp/widgets/simple-masonry/simple-masonry.php:55, tmp/widgets/simple-masonry/simple-masonry.php:86, tmp/widgets/social-media-buttons/social-media-buttons.php:42, tmp/widgets/taxonomy/taxonomy.php:33, tmp/widgets/testimonial/testimonial.php:40, tmp/widgets/video/video.php:32
273
  msgid "Title"
274
  msgstr ""
275
 
429
  msgid "Maximum height"
430
  msgstr ""
431
 
432
+ #: tmp/base/siteorigin-widget.class.php:463
433
  msgid "Preview"
434
  msgstr ""
435
 
436
+ #: tmp/base/siteorigin-widget.class.php:468
437
  msgid "Help"
438
  msgstr ""
439
 
440
+ #: tmp/base/siteorigin-widget.class.php:534
441
  msgid "This widget has scripts and styles that need to be loaded before you can use it. Please save and reload your current page."
442
  msgstr ""
443
 
444
+ #: tmp/base/siteorigin-widget.class.php:535
445
  msgid "You will only need to do this once."
446
  msgstr ""
447
 
448
+ #: tmp/base/siteorigin-widget.class.php:556
449
  msgid "Are you sure?"
450
  msgstr ""
451
 
493
  msgid "Ionicons"
494
  msgstr ""
495
 
496
+ #: tmp/so-widgets-bundle.php:211
497
  msgid "A new widget!"
498
  msgstr ""
499
 
533
  msgid "Button text"
534
  msgstr ""
535
 
536
+ #: tmp/widgets/button/button.php:50, tmp/widgets/google-map/google-map.php:100, tmp/widgets/headline/headline.php:44, tmp/widgets/headline/headline.php:115, tmp/widgets/hero/hero.php:119, tmp/widgets/icon/icon.php:56, tmp/widgets/image/image.php:76, tmp/widgets/layout-slider/layout-slider.php:86, tmp/widgets/simple-masonry/simple-masonry.php:90, tmp/widgets/slider/slider.php:84
537
  msgid "Destination URL"
538
  msgstr ""
539
 
540
+ #: tmp/widgets/button/button.php:56, tmp/widgets/google-map/google-map.php:111, 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:95, tmp/widgets/social-media-buttons/social-media-buttons.php:85, tmp/widgets/taxonomy/taxonomy.php:63
541
  msgid "Open in a new window"
542
  msgstr ""
543
 
573
  msgid "Align"
574
  msgstr ""
575
 
576
+ #: tmp/widgets/button/button.php:98, tmp/widgets/contact/contact.php:344, tmp/widgets/contact/contact.php:359, 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:140, tmp/widgets/testimonial/testimonial.php:253
577
  msgid "Left"
578
  msgstr ""
579
 
580
+ #: tmp/widgets/button/button.php:99, tmp/widgets/contact/contact.php:345, tmp/widgets/contact/contact.php:360, 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:141, tmp/widgets/testimonial/testimonial.php:254
581
  msgid "Right"
582
  msgstr ""
583
 
584
+ #: tmp/widgets/button/button.php:100, tmp/widgets/contact/contact.php:361, 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:142
585
  msgid "Center"
586
  msgstr ""
587
 
588
+ #: tmp/widgets/button/button.php:101, tmp/widgets/contact/contact.php:362, tmp/widgets/headline/headline.php:90, tmp/widgets/headline/headline.php:161, tmp/widgets/social-media-buttons/social-media-buttons.php:143
589
  msgid "Justify"
590
  msgstr ""
591
 
609
  msgid "Button color"
610
  msgstr ""
611
 
612
+ #: tmp/widgets/button/button.php:124, tmp/widgets/contact/contact.php:547, tmp/widgets/hero/hero.php:244, tmp/widgets/layout-slider/layout-slider.php:180
613
  msgid "Text color"
614
  msgstr ""
615
 
617
  msgid "Use hover effects"
618
  msgstr ""
619
 
620
+ #: tmp/widgets/button/button.php:135, tmp/widgets/contact/contact.php:324, tmp/widgets/contact/contact.php:374, 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
621
  msgid "Font"
622
  msgstr ""
623
 
641
  msgid "Rounding"
642
  msgstr ""
643
 
644
+ #: tmp/widgets/button/button.php:155, tmp/widgets/contact/contact.php:303, tmp/widgets/contact/contact.php:416, tmp/widgets/contact/contact.php:527, tmp/widgets/contact/contact.php:598, tmp/widgets/headline/headline.php:185, tmp/widgets/social-media-buttons/social-media-buttons.php:118
645
  msgid "None"
646
  msgstr ""
647
 
809
  msgid "Subject"
810
  msgstr ""
811
 
812
+ #: tmp/widgets/contact/contact.php:129, 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:111, tmp/widgets/testimonial/testimonial.php:81
813
  msgid "Text"
814
  msgstr ""
815
 
957
  msgid "Container"
958
  msgstr ""
959
 
960
+ #: tmp/widgets/contact/contact.php:280, tmp/widgets/contact/contact.php:509, tmp/widgets/cta/cta.php:77, tmp/widgets/hero/hero.php:113, tmp/widgets/layout-slider/layout-slider.php:80, tmp/widgets/social-media-buttons/social-media-buttons.php:74
961
  msgid "Background color"
962
  msgstr ""
963
 
977
  msgid "Hidden"
978
  msgstr ""
979
 
980
+ #: tmp/widgets/contact/contact.php:305, tmp/widgets/contact/contact.php:418, tmp/widgets/contact/contact.php:529, tmp/widgets/contact/contact.php:590, tmp/widgets/headline/headline.php:187
981
  msgid "Dotted"
982
  msgstr ""
983
 
984
+ #: tmp/widgets/contact/contact.php:306, tmp/widgets/contact/contact.php:419, tmp/widgets/contact/contact.php:530, tmp/widgets/contact/contact.php:591, tmp/widgets/headline/headline.php:188
985
  msgid "Dashed"
986
  msgstr ""
987
 
988
+ #: tmp/widgets/contact/contact.php:307, tmp/widgets/contact/contact.php:420, tmp/widgets/contact/contact.php:528, tmp/widgets/contact/contact.php:592, tmp/widgets/headline/headline.php:186
989
  msgid "Solid"
990
  msgstr ""
991
 
992
+ #: tmp/widgets/contact/contact.php:308, tmp/widgets/contact/contact.php:421, tmp/widgets/contact/contact.php:593, tmp/widgets/headline/headline.php:189
993
  msgid "Double"
994
  msgstr ""
995
 
996
+ #: tmp/widgets/contact/contact.php:309, tmp/widgets/contact/contact.php:422, tmp/widgets/contact/contact.php:594, tmp/widgets/headline/headline.php:190
997
  msgid "Groove"
998
  msgstr ""
999
 
1000
+ #: tmp/widgets/contact/contact.php:310, tmp/widgets/contact/contact.php:423, tmp/widgets/contact/contact.php:595, tmp/widgets/headline/headline.php:191
1001
  msgid "Ridge"
1002
  msgstr ""
1003
 
1004
+ #: tmp/widgets/contact/contact.php:311, tmp/widgets/contact/contact.php:424, tmp/widgets/contact/contact.php:596, tmp/widgets/headline/headline.php:192
1005
  msgid "Inset"
1006
  msgstr ""
1007
 
1008
+ #: tmp/widgets/contact/contact.php:312, tmp/widgets/contact/contact.php:425, tmp/widgets/contact/contact.php:597, tmp/widgets/headline/headline.php:193
1009
  msgid "Outset"
1010
  msgstr ""
1011
 
1013
  msgid "Field labels"
1014
  msgstr ""
1015
 
1016
+ #: tmp/widgets/contact/contact.php:334, tmp/widgets/contact/contact.php:449, tmp/widgets/contact/contact.php:604, 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:334, 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:54
1017
  msgid "Color"
1018
  msgstr ""
1019
 
1033
  msgid "Inside"
1034
  msgstr ""
1035
 
1036
+ #: tmp/widgets/contact/contact.php:379, tmp/widgets/headline/headline.php:80, tmp/widgets/headline/headline.php:151
1037
  msgid "Font Size"
1038
  msgstr ""
1039
 
1045
  msgid "Margin"
1046
  msgstr ""
1047
 
1048
+ #: tmp/widgets/contact/contact.php:395, tmp/widgets/google-map/google-map.php:96, tmp/widgets/hero/hero.php:156, tmp/widgets/layout-slider/layout-slider.php:123
1049
  msgid "Height"
1050
  msgstr ""
1051
 
1052
+ #: tmp/widgets/contact/contact.php:399, tmp/widgets/hero/hero.php:85, tmp/widgets/layout-slider/layout-slider.php:52
1053
  msgid "Background"
1054
  msgstr ""
1055
 
1065
  msgid "Field descriptions"
1066
  msgstr ""
1067
 
1068
+ #: tmp/widgets/contact/contact.php:454, tmp/widgets/contact/contact.php:587, tmp/widgets/google-map/google-map.php:287, tmp/widgets/headline/headline.php:182
1069
  msgid "Style"
1070
  msgstr ""
1071
 
1225
  msgid "Button align"
1226
  msgstr ""
1227
 
1228
+ #: tmp/widgets/cta/cta.php:106, tmp/widgets/hero/hero.php:65, tmp/widgets/hero/hero.php:77
1229
  msgid "Button"
1230
  msgstr ""
1231
 
1237
  msgid "A rich-text, text editor."
1238
  msgstr ""
1239
 
1240
+ #: tmp/widgets/editor/editor.php:41
1241
  msgid "Automatically add paragraphs"
1242
  msgstr ""
1243
 
1244
+ #: tmp/widgets/editor/editor.php:51
1245
+ msgid "Enable the <em>Automatically add paragraphs</em> setting by default."
1246
+ msgstr ""
1247
+
1248
  #: tmp/widgets/features/features.php:13
1249
  msgid "SiteOrigin Features"
1250
  msgstr ""
1705
  msgid "A headline widget."
1706
  msgstr ""
1707
 
1708
+ #: tmp/widgets/headline/headline.php:35, tmp/widgets/headline/headline.php:235
1709
  msgid "Headline"
1710
  msgstr ""
1711
 
1712
+ #: tmp/widgets/headline/headline.php:53, tmp/widgets/headline/headline.php:124
1713
  msgid "HTML Tag"
1714
  msgstr ""
1715
 
1716
+ #: tmp/widgets/headline/headline.php:56, tmp/widgets/headline/headline.php:127
1717
  msgid "H1"
1718
  msgstr ""
1719
 
1720
+ #: tmp/widgets/headline/headline.php:57, tmp/widgets/headline/headline.php:128
1721
  msgid "H2"
1722
  msgstr ""
1723
 
1724
+ #: tmp/widgets/headline/headline.php:58, tmp/widgets/headline/headline.php:129
1725
  msgid "H3"
1726
  msgstr ""
1727
 
1728
+ #: tmp/widgets/headline/headline.php:59, tmp/widgets/headline/headline.php:130
1729
  msgid "H4"
1730
  msgstr ""
1731
 
1732
+ #: tmp/widgets/headline/headline.php:60, tmp/widgets/headline/headline.php:131
1733
  msgid "H5"
1734
  msgstr ""
1735
 
1736
+ #: tmp/widgets/headline/headline.php:61, tmp/widgets/headline/headline.php:132
1737
  msgid "H6"
1738
  msgstr ""
1739
 
1740
+ #: tmp/widgets/headline/headline.php:62, tmp/widgets/headline/headline.php:133
1741
  msgid "Paragraph"
1742
  msgstr ""
1743
 
1744
+ #: tmp/widgets/headline/headline.php:71, tmp/widgets/headline/headline.php:142
1745
  msgid "Hover Color"
1746
  msgstr ""
1747
 
1748
+ #: tmp/widgets/headline/headline.php:84, tmp/widgets/headline/headline.php:155, tmp/widgets/headline/headline.php:210, tmp/widgets/icon/icon.php:45
1749
  msgid "Alignment"
1750
  msgstr ""
1751
 
1752
+ #: tmp/widgets/headline/headline.php:95, tmp/widgets/headline/headline.php:166
1753
  msgid "Line Height"
1754
  msgstr ""
1755
 
1756
+ #: tmp/widgets/headline/headline.php:99, tmp/widgets/headline/headline.php:170, tmp/widgets/headline/headline.php:225
1757
  msgid "Top and Bottom Margin"
1758
  msgstr ""
1759
 
1760
+ #: tmp/widgets/headline/headline.php:106
1761
  msgid "Sub headline"
1762
  msgstr ""
1763
 
1764
+ #: tmp/widgets/headline/headline.php:177, tmp/widgets/headline/headline.php:236
1765
  msgid "Divider"
1766
  msgstr ""
1767
 
1768
+ #: tmp/widgets/headline/headline.php:203
1769
  msgid "Thickness"
1770
  msgstr ""
1771
 
1772
+ #: tmp/widgets/headline/headline.php:220
1773
  msgid "Divider Width"
1774
  msgstr ""
1775
 
1776
+ #: tmp/widgets/headline/headline.php:233
1777
  msgid "Element Order"
1778
  msgstr ""
1779
 
1780
+ #: tmp/widgets/headline/headline.php:237
1781
  msgid "Sub Headline"
1782
  msgstr ""
1783
 
1784
+ #: tmp/widgets/headline/headline.php:244, tmp/widgets/hero/hero.php:205
1785
  msgid "Use FitText"
1786
  msgstr ""
1787
 
1788
+ #: tmp/widgets/headline/headline.php:245, tmp/widgets/hero/hero.php:206
1789
  msgid "Dynamically adjust your heading font size based on screen size."
1790
  msgstr ""
1791
 
1792
+ #: tmp/widgets/headline/headline.php:258, tmp/widgets/hero/hero.php:219
1793
+ msgid "FitText Compressor Strength"
1794
+ msgstr ""
1795
+
1796
+ #: tmp/widgets/headline/headline.php:259, tmp/widgets/hero/hero.php:220
1797
+ msgid "How aggressively FitText should resize your heading."
1798
+ msgstr ""
1799
+
1800
  #: tmp/widgets/hero/hero.php:18
1801
  msgid "SiteOrigin Hero"
1802
  msgstr ""
1805
  msgid "A big hero image with a few settings to make it your own."
1806
  msgstr ""
1807
 
1808
+ #: tmp/widgets/hero/hero.php:47
1809
  msgid "Hero frames"
1810
  msgstr ""
1811
 
1812
+ #: tmp/widgets/hero/hero.php:48, tmp/widgets/layout-slider/layout-slider.php:35, tmp/widgets/slider/slider.php:34
1813
  msgid "Frame"
1814
  msgstr ""
1815
 
1816
+ #: tmp/widgets/hero/hero.php:59, tmp/widgets/layout-slider/layout-slider.php:47
1817
  msgid "Content"
1818
  msgstr ""
1819
 
1820
+ #: tmp/widgets/hero/hero.php:64, tmp/widgets/taxonomy/taxonomy.php:49
1821
  msgid "Buttons"
1822
  msgstr ""
1823
 
1824
+ #: tmp/widgets/hero/hero.php:66
1825
  msgid "Add [buttons] shortcode to the content to insert these buttons."
1826
  msgstr ""
1827
 
1828
+ #: tmp/widgets/hero/hero.php:89, tmp/widgets/layout-slider/layout-slider.php:56, tmp/widgets/slider/slider.php:56
1829
  msgid "Background image"
1830
  msgstr ""
1831
 
1832
+ #: tmp/widgets/hero/hero.php:96, tmp/widgets/layout-slider/layout-slider.php:63, tmp/widgets/slider/slider.php:67
1833
  msgid "Background image type"
1834
  msgstr ""
1835
 
1836
+ #: tmp/widgets/hero/hero.php:98, tmp/widgets/layout-slider/layout-slider.php:65, tmp/widgets/slider/slider.php:69
1837
  msgid "Cover"
1838
  msgstr ""
1839
 
1840
+ #: tmp/widgets/hero/hero.php:104, tmp/widgets/layout-slider/layout-slider.php:71
1841
  msgid "Background image opacity"
1842
  msgstr ""
1843
 
1844
+ #: tmp/widgets/hero/hero.php:124, tmp/widgets/layout-slider/layout-slider.php:91
1845
  msgid "Open URL in a new window"
1846
  msgstr ""
1847
 
1848
+ #: tmp/widgets/hero/hero.php:129, tmp/widgets/layout-slider/layout-slider.php:96, tmp/widgets/slider/slider.php:43
1849
  msgid "Video"
1850
  msgstr ""
1851
 
1852
+ #: tmp/widgets/hero/hero.php:130, tmp/widgets/layout-slider/layout-slider.php:97, tmp/widgets/slider/slider.php:44
1853
  msgid "Background videos"
1854
  msgstr ""
1855
 
1856
+ #: tmp/widgets/hero/hero.php:145, tmp/widgets/layout-slider/layout-slider.php:112
1857
  msgid "Slider Controls"
1858
  msgstr ""
1859
 
1860
+ #: tmp/widgets/hero/hero.php:151, tmp/widgets/layout-slider/layout-slider.php:118
1861
  msgid "Design and Layout"
1862
  msgstr ""
1863
 
1864
+ #: tmp/widgets/hero/hero.php:162, tmp/widgets/layout-slider/layout-slider.php:129
1865
  msgid "Top and bottom padding"
1866
  msgstr ""
1867
 
1868
+ #: tmp/widgets/hero/hero.php:168, tmp/widgets/layout-slider/layout-slider.php:135
1869
  msgid "Extra top padding"
1870
  msgstr ""
1871
 
1872
+ #: tmp/widgets/hero/hero.php:169, tmp/widgets/layout-slider/layout-slider.php:136
1873
  msgid "Additional padding added to the top of the slider"
1874
  msgstr ""
1875
 
1876
+ #: tmp/widgets/hero/hero.php:175, tmp/widgets/layout-slider/layout-slider.php:142
1877
  msgid "Side padding"
1878
  msgstr ""
1879
 
1880
+ #: tmp/widgets/hero/hero.php:181, tmp/widgets/layout-slider/layout-slider.php:148
1881
  msgid "Maximum container width"
1882
  msgstr ""
1883
 
1884
+ #: tmp/widgets/hero/hero.php:187
1885
  msgid "Heading font"
1886
  msgstr ""
1887
 
1888
+ #: tmp/widgets/hero/hero.php:193, tmp/widgets/layout-slider/layout-slider.php:154
1889
  msgid "Heading color"
1890
  msgstr ""
1891
 
1892
+ #: tmp/widgets/hero/hero.php:199, tmp/widgets/layout-slider/layout-slider.php:160
1893
  msgid "Heading size"
1894
  msgstr ""
1895
 
1896
+ #: tmp/widgets/hero/hero.php:230, tmp/widgets/layout-slider/layout-slider.php:166
1897
  msgid "Heading shadow intensity"
1898
  msgstr ""
1899
 
1900
+ #: tmp/widgets/hero/hero.php:238, tmp/widgets/layout-slider/layout-slider.php:174
1901
  msgid "Text size"
1902
  msgstr ""
1903
 
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Tags: bundle, widget, button, slider, image, carousel, price table, google maps, tinymce, social links
3
  Requires at least: 4.2
4
  Tested up to: 4.7.4
5
- Stable tag: 1.8.4
6
- Build time: 2017-04-30T11:08:55+02:00
7
  License: GPLv3 or later
8
  Contributors: gpriday, braam-genis
9
  Donate link: https://siteorigin.com/downloads/contribution/
@@ -54,6 +54,13 @@ The SiteOrigin Widgets Bundle is the perfect platform to build widgets for your
54
 
55
  == Changelog ==
56
 
 
 
 
 
 
 
 
57
  = 1.8.5 - 27 April 2017 =
58
  * Fixed button hover class.
59
 
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.7.4
5
+ Stable tag: 1.8.6
6
+ Build time: 2017-05-11T14:22:04+02:00
7
  License: GPLv3 or later
8
  Contributors: gpriday, braam-genis
9
  Donate link: https://siteorigin.com/downloads/contribution/
54
 
55
  == Changelog ==
56
 
57
+ = 1.8.6 - 10 May 2017 =
58
+ * Editor widget supports Jetpack Markdown.
59
+ * Editor widget global setting for enabling/disabling 'autop' by default.
60
+ * Allow setting FitText compressor strength in hero and headline widgets.
61
+ * Fix variable name in `enqueue_registered_styles`.
62
+ * Fix FitText not working previews.
63
+
64
  = 1.8.5 - 27 April 2017 =
65
  * Fixed button hover class.
66
 
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.8.5
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.8.5');
16
  define('SOW_BUNDLE_BASE_FILE', __FILE__);
17
 
18
  // Allow JS suffix to be pre-set
@@ -78,7 +78,6 @@ class SiteOrigin_Widgets_Bundle {
78
  add_filter( 'siteorigin_panels_prebuilt_layout', array($this, 'load_missing_widgets') );
79
  add_filter( 'siteorigin_panels_widget_object', array($this, 'load_missing_widget'), 10, 2 );
80
 
81
- add_filter( 'wp_enqueue_scripts', array($this, 'register_general_scripts') );
82
  add_filter( 'wp_enqueue_scripts', array($this, 'enqueue_active_widgets_scripts') );
83
  }
84
 
@@ -405,7 +404,8 @@ class SiteOrigin_Widgets_Bundle {
405
  if( ! current_user_can( apply_filters( 'siteorigin_widgets_admin_menu_capability', 'manage_options' ) ) ) exit();
406
 
407
  $widget_objects = $this->get_widget_objects();
408
- $widget_object = !empty( $widget_objects[ $_GET['id'] ] ) ? $widget_objects[ $_GET['id'] ] : false;
 
409
 
410
  if( empty( $widget_object ) || ! $widget_object->has_form( 'settings' ) ) exit();
411
 
@@ -654,7 +654,7 @@ class SiteOrigin_Widgets_Bundle {
654
  foreach($data['widgets'] as $widget) {
655
  if( empty( $widget['panels_info']['class'] ) ) continue;
656
  if( !empty( $wp_widget_factory->widgets[ $widget['panels_info']['class'] ] ) ) continue;
657
-
658
  $this->load_missing_widget( false, $widget['panels_info']['class'] );
659
  }
660
 
@@ -676,12 +676,12 @@ class SiteOrigin_Widgets_Bundle {
676
  if( preg_match('/SiteOrigin_Widgets?_([A-Za-z]+)_Widget/', $class, $matches) ) {
677
  $name = $matches[1];
678
  $id = strtolower( implode( '-', array_filter( preg_split( '/(?=[A-Z])/', $name ) ) ) );
679
-
680
  if( $id == 'contact-form' ) {
681
  // Handle the special case of the contact form widget, which is incorrectly named
682
  $id = 'contact';
683
  }
684
-
685
  $this->activate_widget($id, true);
686
  global $wp_widget_factory;
687
  if( !empty($wp_widget_factory->widgets[$class]) ) return $wp_widget_factory->widgets[$class];
@@ -700,10 +700,6 @@ class SiteOrigin_Widgets_Bundle {
700
  return $links;
701
  }
702
 
703
- function register_general_scripts(){
704
- wp_register_script( 'sow-fittext', plugin_dir_url( __FILE__ ) . 'js/sow.jquery.fittext' . SOW_BUNDLE_JS_SUFFIX . '.js', array( 'jquery' ), '1.2', true );
705
- }
706
-
707
  /**
708
  * Ensure active widgets' scripts are enqueued at the right time.
709
  */
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.8.6
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.8.6');
16
  define('SOW_BUNDLE_BASE_FILE', __FILE__);
17
 
18
  // Allow JS suffix to be pre-set
78
  add_filter( 'siteorigin_panels_prebuilt_layout', array($this, 'load_missing_widgets') );
79
  add_filter( 'siteorigin_panels_widget_object', array($this, 'load_missing_widget'), 10, 2 );
80
 
 
81
  add_filter( 'wp_enqueue_scripts', array($this, 'enqueue_active_widgets_scripts') );
82
  }
83
 
404
  if( ! current_user_can( apply_filters( 'siteorigin_widgets_admin_menu_capability', 'manage_options' ) ) ) exit();
405
 
406
  $widget_objects = $this->get_widget_objects();
407
+ $widget_path = empty( $_GET['id'] ) ? false : WP_PLUGIN_DIR . $_GET['id'];
408
+ $widget_object = empty( $widget_objects[ $widget_path ] ) ? false : $widget_objects[ $widget_path ];
409
 
410
  if( empty( $widget_object ) || ! $widget_object->has_form( 'settings' ) ) exit();
411
 
654
  foreach($data['widgets'] as $widget) {
655
  if( empty( $widget['panels_info']['class'] ) ) continue;
656
  if( !empty( $wp_widget_factory->widgets[ $widget['panels_info']['class'] ] ) ) continue;
657
+
658
  $this->load_missing_widget( false, $widget['panels_info']['class'] );
659
  }
660
 
676
  if( preg_match('/SiteOrigin_Widgets?_([A-Za-z]+)_Widget/', $class, $matches) ) {
677
  $name = $matches[1];
678
  $id = strtolower( implode( '-', array_filter( preg_split( '/(?=[A-Z])/', $name ) ) ) );
679
+
680
  if( $id == 'contact-form' ) {
681
  // Handle the special case of the contact form widget, which is incorrectly named
682
  $id = 'contact';
683
  }
684
+
685
  $this->activate_widget($id, true);
686
  global $wp_widget_factory;
687
  if( !empty($wp_widget_factory->widgets[$class]) ) return $wp_widget_factory->widgets[$class];
700
  return $links;
701
  }
702
 
 
 
 
 
703
  /**
704
  * Ensure active widgets' scripts are enqueued at the right time.
705
  */
widgets/editor/editor.php CHANGED
@@ -24,7 +24,8 @@ class SiteOrigin_Widget_Editor_Widget extends SiteOrigin_Widget {
24
  );
25
  }
26
 
27
- function get_widget_form(){
 
28
  return array(
29
  'title' => array(
30
  'type' => 'text',
@@ -36,12 +37,22 @@ class SiteOrigin_Widget_Editor_Widget extends SiteOrigin_Widget {
36
  ),
37
  'autop' => array(
38
  'type' => 'checkbox',
39
- 'default' => true,
40
  'label' => __('Automatically add paragraphs', 'so-widgets-bundle'),
41
  ),
42
  );
43
  }
44
 
 
 
 
 
 
 
 
 
 
 
45
  function unwpautop($string) {
46
  $string = str_replace("<p>", "", $string);
47
  $string = str_replace(array("<br />", "<br>", "<br/>"), "\n", $string);
@@ -62,13 +73,22 @@ class SiteOrigin_Widget_Editor_Widget extends SiteOrigin_Widget {
62
  $instance['text'] = wp_make_content_images_responsive( $instance['text'] );
63
  }
64
 
65
- if(
66
  // Only run these parts if we're rendering for the frontend
67
  empty( $GLOBALS[ 'SITEORIGIN_PANELS_CACHE_RENDER' ] ) &&
68
  empty( $GLOBALS[ 'SITEORIGIN_PANELS_POST_CONTENT_RENDER' ] )
69
  ) {
 
 
 
 
 
 
 
 
 
70
  // Run some known stuff
71
- if( !empty($GLOBALS['wp_embed']) ) {
72
  $instance['text'] = $GLOBALS['wp_embed']->run_shortcode( $instance['text'] );
73
  $instance['text'] = $GLOBALS['wp_embed']->autoembed( $instance['text'] );
74
  }
24
  );
25
  }
26
 
27
+ function get_widget_form() {
28
+ $global_settings = $this->get_global_settings();
29
  return array(
30
  'title' => array(
31
  'type' => 'text',
37
  ),
38
  'autop' => array(
39
  'type' => 'checkbox',
40
+ 'default' => $global_settings['autop_default'],
41
  'label' => __('Automatically add paragraphs', 'so-widgets-bundle'),
42
  ),
43
  );
44
  }
45
 
46
+ function get_settings_form() {
47
+ return array(
48
+ 'autop_default' => array(
49
+ 'type' => 'checkbox',
50
+ 'default' => true,
51
+ 'label' => __( 'Enable the <em>Automatically add paragraphs</em> setting by default.', 'so-widgets-bundle' ),
52
+ ),
53
+ );
54
+ }
55
+
56
  function unwpautop($string) {
57
  $string = str_replace("<p>", "", $string);
58
  $string = str_replace(array("<br />", "<br>", "<br/>"), "\n", $string);
73
  $instance['text'] = wp_make_content_images_responsive( $instance['text'] );
74
  }
75
 
76
+ if (
77
  // Only run these parts if we're rendering for the frontend
78
  empty( $GLOBALS[ 'SITEORIGIN_PANELS_CACHE_RENDER' ] ) &&
79
  empty( $GLOBALS[ 'SITEORIGIN_PANELS_POST_CONTENT_RENDER' ] )
80
  ) {
81
+ // Manual support for Jetpack Markdown module.
82
+ if ( class_exists( 'WPCom_Markdown' ) &&
83
+ Jetpack::is_module_active( 'markdown' ) &&
84
+ $instance['text_selected_editor'] == 'html'
85
+ ) {
86
+ $markdown_parser = WPCom_Markdown::get_instance();
87
+ $instance['text'] = $markdown_parser->transform( $instance['text'] );
88
+ }
89
+
90
  // Run some known stuff
91
+ if( ! empty( $GLOBALS['wp_embed'] ) ) {
92
  $instance['text'] = $GLOBALS['wp_embed']->run_shortcode( $instance['text'] );
93
  $instance['text'] = $GLOBALS['wp_embed']->autoembed( $instance['text'] );
94
  }
widgets/headline/headline.php CHANGED
@@ -25,6 +25,7 @@ class SiteOrigin_Widget_Headline_Widget extends SiteOrigin_Widget {
25
 
26
  function initialize(){
27
  add_filter( 'siteorigin_widgets_wrapper_classes_' . $this->id_base, array( $this, 'wrapper_class_filter' ), 10, 2 );
 
28
  }
29
 
30
  function get_widget_form(){
@@ -243,7 +244,25 @@ class SiteOrigin_Widget_Headline_Widget extends SiteOrigin_Widget {
243
  'label' => __( 'Use FitText', 'so-widgets-bundle' ),
244
  'description' => __( 'Dynamically adjust your heading font size based on screen size.', 'so-widgets-bundle' ),
245
  'default' => false,
246
- )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
247
  );
248
  }
249
 
@@ -329,13 +348,26 @@ class SiteOrigin_Widget_Headline_Widget extends SiteOrigin_Widget {
329
  }
330
 
331
  function wrapper_class_filter( $classes, $instance ){
332
- if( $instance[ 'fittext' ] ) {
333
  $classes[] = 'so-widget-fittext-wrapper';
334
- wp_enqueue_script( 'sow-fittext' );
 
 
 
 
 
 
335
  }
336
  return $classes;
337
  }
338
 
 
 
 
 
 
 
 
339
  function modify_instance( $instance ) {
340
  // Change the old divider weight into a divider thickness
341
  if( isset( $instance['divider']['weight'] ) && ! isset( $instance['divider']['thickness'] ) ) {
25
 
26
  function initialize(){
27
  add_filter( 'siteorigin_widgets_wrapper_classes_' . $this->id_base, array( $this, 'wrapper_class_filter' ), 10, 2 );
28
+ add_filter( 'siteorigin_widgets_wrapper_data_' . $this->id_base, array( $this, 'wrapper_data_filter' ), 10, 2 );
29
  }
30
 
31
  function get_widget_form(){
244
  'label' => __( 'Use FitText', 'so-widgets-bundle' ),
245
  'description' => __( 'Dynamically adjust your heading font size based on screen size.', 'so-widgets-bundle' ),
246
  'default' => false,
247
+ 'state_emitter' => array(
248
+ 'callback' => 'conditional',
249
+ 'args' => array(
250
+ 'use_fittext[show]: val',
251
+ 'use_fittext[hide]: ! val'
252
+ ),
253
+ )
254
+ ),
255
+
256
+ 'fittext_compressor' => array(
257
+ 'type' => 'number',
258
+ 'label' => __( 'FitText Compressor Strength', 'so-widgets-bundle' ),
259
+ 'description' => __( 'How aggressively FitText should resize your heading.', 'so-widgets-bundle' ),
260
+ 'default' => 0.85,
261
+ 'state_handler' => array(
262
+ 'use_fittext[show]' => array( 'show' ),
263
+ 'use_fittext[hide]' => array( 'hide' ),
264
+ )
265
+ ),
266
  );
267
  }
268
 
348
  }
349
 
350
  function wrapper_class_filter( $classes, $instance ){
351
+ if( ! empty( $instance[ 'fittext' ] ) ) {
352
  $classes[] = 'so-widget-fittext-wrapper';
353
+ wp_enqueue_script(
354
+ 'sow-fittext',
355
+ plugin_dir_url( SOW_BUNDLE_BASE_FILE ) . 'js/sow.jquery.fittext' . SOW_BUNDLE_JS_SUFFIX . '.js',
356
+ array( 'jquery' ),
357
+ '1.2',
358
+ true
359
+ );
360
  }
361
  return $classes;
362
  }
363
 
364
+ function wrapper_data_filter( $data, $instance ) {
365
+ if( ! empty( $instance['fittext'] ) && ! empty( $instance['fittext_compressor'] ) ) {
366
+ $data['fit-text-compressor'] = $instance['fittext_compressor'];
367
+ }
368
+ return $data;
369
+ }
370
+
371
  function modify_instance( $instance ) {
372
  // Change the old divider weight into a divider thickness
373
  if( isset( $instance['divider']['weight'] ) && ! isset( $instance['divider']['thickness'] ) ) {
widgets/hero/hero.php CHANGED
@@ -34,6 +34,7 @@ class SiteOrigin_Widget_Hero_Widget extends SiteOrigin_Widget_Base_Slider {
34
  }
35
 
36
  add_filter( 'siteorigin_widgets_wrapper_classes_' . $this->id_base, array( $this, 'wrapper_class_filter' ), 10, 2 );
 
37
 
38
  // Let the slider base class do its initialization
39
  parent::initialize();
@@ -204,6 +205,24 @@ class SiteOrigin_Widget_Hero_Widget extends SiteOrigin_Widget_Base_Slider {
204
  'label' => __( 'Use FitText', 'so-widgets-bundle' ),
205
  'description' => __( 'Dynamically adjust your heading font size based on screen size.', 'so-widgets-bundle' ),
206
  'default' => true,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
207
  ),
208
 
209
  'heading_shadow' => array(
@@ -368,13 +387,27 @@ class SiteOrigin_Widget_Hero_Widget extends SiteOrigin_Widget_Base_Slider {
368
  }
369
 
370
  function wrapper_class_filter( $classes, $instance ){
371
- if( $instance['design']['fittext'] ) {
372
  $classes[] = 'so-widget-fittext-wrapper';
373
- wp_enqueue_script( 'sow-fittext' );
 
 
 
 
 
 
 
374
  }
375
  return $classes;
376
  }
377
 
 
 
 
 
 
 
 
378
  }
379
 
380
  siteorigin_widget_register('sow-hero', __FILE__, 'SiteOrigin_Widget_Hero_Widget');
34
  }
35
 
36
  add_filter( 'siteorigin_widgets_wrapper_classes_' . $this->id_base, array( $this, 'wrapper_class_filter' ), 10, 2 );
37
+ add_filter( 'siteorigin_widgets_wrapper_data_' . $this->id_base, array( $this, 'wrapper_data_filter' ), 10, 2 );
38
 
39
  // Let the slider base class do its initialization
40
  parent::initialize();
205
  'label' => __( 'Use FitText', 'so-widgets-bundle' ),
206
  'description' => __( 'Dynamically adjust your heading font size based on screen size.', 'so-widgets-bundle' ),
207
  'default' => true,
208
+ 'state_emitter' => array(
209
+ 'callback' => 'conditional',
210
+ 'args' => array(
211
+ 'use_fittext[show]: val',
212
+ 'use_fittext[hide]: ! val'
213
+ ),
214
+ ),
215
+ ),
216
+
217
+ 'fittext_compressor' => array(
218
+ 'type' => 'number',
219
+ 'label' => __( 'FitText Compressor Strength', 'so-widgets-bundle' ),
220
+ 'description' => __( 'How aggressively FitText should resize your heading.', 'so-widgets-bundle' ),
221
+ 'default' => 0.85,
222
+ 'state_handler' => array(
223
+ 'use_fittext[show]' => array( 'show' ),
224
+ 'use_fittext[hide]' => array( 'hide' ),
225
+ )
226
  ),
227
 
228
  'heading_shadow' => array(
387
  }
388
 
389
  function wrapper_class_filter( $classes, $instance ){
390
+ if( ! empty( $instance['design']['fittext'] ) ) {
391
  $classes[] = 'so-widget-fittext-wrapper';
392
+ //TODO: find better way to deal with shared script dependencies like this.
393
+ wp_enqueue_script(
394
+ 'sow-fittext',
395
+ plugin_dir_url( SOW_BUNDLE_BASE_FILE ) . 'js/sow.jquery.fittext' . SOW_BUNDLE_JS_SUFFIX . '.js',
396
+ array( 'jquery' ),
397
+ '1.2',
398
+ true
399
+ );
400
  }
401
  return $classes;
402
  }
403
 
404
+ function wrapper_data_filter( $data, $instance ) {
405
+ if( ! empty( $instance['design']['fittext'] ) && ! empty( $instance['design']['fittext_compressor'] ) ) {
406
+ $data['fit-text-compressor'] = $instance['design']['fittext_compressor'];
407
+ }
408
+ return $data;
409
+ }
410
+
411
  }
412
 
413
  siteorigin_widget_register('sow-hero', __FILE__, 'SiteOrigin_Widget_Hero_Widget');