Ultimate Addons for SiteOrigin - Version 2.4.0

Version Description

  • Overall lots of improvements and updates done, some outlined bellow.
  • Service Widget: CSS updates
  • Service Widget: Changes slider field to text field for width
  • Service Widget: Bug Fixes
  • Service Widget: Add button styling
  • Service Widget: Add border options
  • Blog Widget: Ending Dots Link's to post now
  • Blog Widget: CSS updates
  • Blog Widget: Bug Fixes
  • Toggle Widget: CSS Updates
  • Toggle Widget: Bug Fixes
  • Toggle Widget: Add icon field, deleted static icon
  • Toggle Widget: Add icon position left or right
  • Toggle Widget: Add title bg color
  • Toggle Widget: Add title bg hover
  • Toggle Widget: Add content bg color
  • Toggle Widget: Add icon color
  • Toggle Widget: Add title text alignment
  • FAQ Widget: CSS Updates
  • FAQ Widget: Bug Fixes
  • FAQ Widget: Add title bg color
  • FAQ Widget: Add title bg hover
  • FAQ Widget: Add content bg color
  • FAQ Widget: Add icon color
  • FAQ Widget: Add title text alignment
  • TAB Widget: CSS Updates
  • TAB Widget: Bug Fixes
  • TAB Widget: Add active tab bg color
  • TAB Widget: Add active tab font color
  • TAB Widget: Add inactive tab font color
  • TAB Widget: Add tab icon
  • TAB Widget: Add icon position
  • Testimonials: Arrow Color Fix
  • Team Widget: Image size fix
Download this release

Release Info

Developer munirkamal
Plugin Icon 128x128 Ultimate Addons for SiteOrigin
Version 2.4.0
Comparing to
See all releases

Code changes from version 2.3.0 to 2.4.0

Files changed (83) hide show
  1. addon-so-widgets-bundle.php +3 -13
  2. cmb-functions.php +0 -0
  3. cmb/.gitignore +0 -0
  4. cmb/.travis.yml +0 -0
  5. cmb/CONTRIBUTING.md +0 -0
  6. cmb/Gruntfile.js +0 -0
  7. cmb/helpers/cmb_Meta_Box_Sanitize.php +0 -0
  8. cmb/helpers/cmb_Meta_Box_Show_Filters.php +0 -0
  9. cmb/helpers/cmb_Meta_Box_ajax.php +0 -0
  10. cmb/helpers/cmb_Meta_Box_field.php +0 -0
  11. cmb/helpers/cmb_Meta_Box_types.php +0 -0
  12. cmb/images/ico-delete.png +0 -0
  13. cmb/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  14. cmb/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  15. cmb/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  16. cmb/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  17. cmb/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  18. cmb/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  19. cmb/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  20. cmb/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  21. cmb/images/ui-icons_222222_256x240.png +0 -0
  22. cmb/images/ui-icons_2e83ff_256x240.png +0 -0
  23. cmb/images/ui-icons_454545_256x240.png +0 -0
  24. cmb/images/ui-icons_888888_256x240.png +0 -0
  25. cmb/images/ui-icons_cd0a0a_256x240.png +0 -0
  26. cmb/init.php +0 -0
  27. cmb/js/cmb.js +0 -0
  28. cmb/js/cmb.min.js +0 -0
  29. cmb/js/jquery.datePicker.min.js +0 -0
  30. cmb/js/jquery.timePicker.min.js +0 -0
  31. cmb/package.json +0 -0
  32. cmb/phpunit.xml +0 -0
  33. cmb/readme.md +0 -0
  34. cmb/style.css +0 -0
  35. cmb/style.min.css +0 -0
  36. cmb/tests/README.md +0 -0
  37. cmb/tests/bin/install-wp-tests.sh +0 -0
  38. cmb/tests/phpunit/includes/bootstrap.php +0 -0
  39. cmb/tests/phpunit/tests/CMB_Core_Test.php +0 -0
  40. css/owl.carousel.css +0 -0
  41. css/widgets.css +0 -0
  42. extra-widgets/blog-style-one/assets/banner.svg +0 -0
  43. extra-widgets/blog-style-one/blog-style-one.php +2 -2
  44. extra-widgets/blog-style-one/styles/blog-style-one-style.less +5 -0
  45. extra-widgets/blog-style-one/tpl/blog-style-one-template.php +4 -3
  46. extra-widgets/blog-style-two/assets/banner.svg +0 -0
  47. extra-widgets/blog-style-two/blog-style-two.php +1 -1
  48. extra-widgets/blog-style-two/styles/blog-style-two-style.less +4 -0
  49. extra-widgets/blog-style-two/tpl/blog-style-two-template.php +1 -3
  50. extra-widgets/divider/assets/banner.svg +0 -0
  51. extra-widgets/divider/divider.php +2 -2
  52. extra-widgets/divider/styles/divider-style.less +0 -0
  53. extra-widgets/divider/tpl/divider-template.php +0 -0
  54. extra-widgets/faqs/assets/banner.svg +0 -0
  55. extra-widgets/faqs/faqs.php +90 -4
  56. extra-widgets/faqs/styles/faqs-style.less +24 -33
  57. extra-widgets/faqs/tpl/faqs-template.php +12 -2
  58. extra-widgets/service-box/assets/banner.svg +0 -0
  59. extra-widgets/service-box/service-box.php +80 -32
  60. extra-widgets/service-box/styles/service-box-style.less +33 -16
  61. extra-widgets/service-box/tpl/service-box-template.php +12 -7
  62. extra-widgets/spacer/assets/banner.svg +0 -0
  63. extra-widgets/spacer/spacer.php +3 -3
  64. extra-widgets/spacer/styles/spacer-style.less +0 -0
  65. extra-widgets/spacer/tpl/spacer-template.php +0 -0
  66. extra-widgets/tabs/assets/banner.svg +0 -0
  67. extra-widgets/tabs/styles/tabs-style.less +43 -26
  68. extra-widgets/tabs/tabs.php +67 -8
  69. extra-widgets/tabs/tpl/tabs-template.php +59 -2
  70. extra-widgets/team/team.php +1 -22
  71. extra-widgets/team/tpl/team-template.php +2 -2
  72. extra-widgets/testimonials/assets/banner.svg +0 -0
  73. extra-widgets/testimonials/styles/testimonials-style.less +2 -3
  74. extra-widgets/testimonials/testimonials.php +5 -5
  75. extra-widgets/testimonials/tpl/testimonials-template.php +0 -0
  76. extra-widgets/toggles/assets/banner.svg +0 -0
  77. extra-widgets/toggles/styles/toggles-style.less +34 -33
  78. extra-widgets/toggles/toggles.php +111 -3
  79. extra-widgets/toggles/tpl/toggles-template.php +32 -3
  80. js/npm.js +0 -0
  81. js/owl.carousel.min.js +0 -0
  82. readme.txt +42 -3
  83. tmp-addon-so-widgets-bundle-readme.pot +198 -0
addon-so-widgets-bundle.php CHANGED
@@ -1,9 +1,8 @@
1
  <?php
2
-
3
  /*
4
  Plugin Name: Ultimate Addons for SiteOrigin
5
  Description: An ultimate collection of addons for SiteOrigin. SiteOrigin Widgets Bundle is required.
6
- Version: 2.3.0
7
  Author: Ingenious Solution
8
  Author URI: http://ingenious-web.com/
9
  Plugin URI: http://ingenious-web.com/ultimate-addons-for-siteorigin/
@@ -169,7 +168,7 @@ function excerpt($limit) {
169
  $excerpt = explode(' ', get_the_excerpt(), $limit);
170
  if (count($excerpt)>=$limit) {
171
  array_pop($excerpt);
172
- $excerpt = implode(" ",$excerpt).'...';
173
  } else {
174
  $excerpt = implode(" ",$excerpt);
175
  }
@@ -178,14 +177,5 @@ function excerpt($limit) {
178
  }
179
 
180
 
181
-
182
-
183
-
184
-
185
-
186
-
187
-
188
-
189
-
190
-
191
 
1
  <?php
 
2
  /*
3
  Plugin Name: Ultimate Addons for SiteOrigin
4
  Description: An ultimate collection of addons for SiteOrigin. SiteOrigin Widgets Bundle is required.
5
+ Version: 2.4.0
6
  Author: Ingenious Solution
7
  Author URI: http://ingenious-web.com/
8
  Plugin URI: http://ingenious-web.com/ultimate-addons-for-siteorigin/
168
  $excerpt = explode(' ', get_the_excerpt(), $limit);
169
  if (count($excerpt)>=$limit) {
170
  array_pop($excerpt);
171
+ $excerpt = implode(" ",$excerpt).'';
172
  } else {
173
  $excerpt = implode(" ",$excerpt);
174
  }
177
  }
178
 
179
 
180
+ add_image_size( 'widgets_image_size', 800, 9999 , true);
 
 
 
 
 
 
 
 
 
181
 
cmb-functions.php CHANGED
File without changes
cmb/.gitignore CHANGED
File without changes
cmb/.travis.yml CHANGED
File without changes
cmb/CONTRIBUTING.md CHANGED
File without changes
cmb/Gruntfile.js CHANGED
File without changes
cmb/helpers/cmb_Meta_Box_Sanitize.php CHANGED
File without changes
cmb/helpers/cmb_Meta_Box_Show_Filters.php CHANGED
File without changes
cmb/helpers/cmb_Meta_Box_ajax.php CHANGED
File without changes
cmb/helpers/cmb_Meta_Box_field.php CHANGED
File without changes
cmb/helpers/cmb_Meta_Box_types.php CHANGED
File without changes
cmb/images/ico-delete.png CHANGED
File without changes
cmb/images/ui-bg_flat_0_aaaaaa_40x100.png CHANGED
File without changes
cmb/images/ui-bg_flat_75_ffffff_40x100.png CHANGED
File without changes
cmb/images/ui-bg_glass_55_fbf9ee_1x400.png CHANGED
File without changes
cmb/images/ui-bg_glass_65_ffffff_1x400.png CHANGED
File without changes
cmb/images/ui-bg_glass_75_dadada_1x400.png CHANGED
File without changes
cmb/images/ui-bg_glass_75_e6e6e6_1x400.png CHANGED
File without changes
cmb/images/ui-bg_glass_95_fef1ec_1x400.png CHANGED
File without changes
cmb/images/ui-bg_highlight-soft_75_cccccc_1x100.png CHANGED
File without changes
cmb/images/ui-icons_222222_256x240.png CHANGED
File without changes
cmb/images/ui-icons_2e83ff_256x240.png CHANGED
File without changes
cmb/images/ui-icons_454545_256x240.png CHANGED
File without changes
cmb/images/ui-icons_888888_256x240.png CHANGED
File without changes
cmb/images/ui-icons_cd0a0a_256x240.png CHANGED
File without changes
cmb/init.php CHANGED
File without changes
cmb/js/cmb.js CHANGED
File without changes
cmb/js/cmb.min.js CHANGED
File without changes
cmb/js/jquery.datePicker.min.js CHANGED
File without changes
cmb/js/jquery.timePicker.min.js CHANGED
File without changes
cmb/package.json CHANGED
File without changes
cmb/phpunit.xml CHANGED
File without changes
cmb/readme.md CHANGED
File without changes
cmb/style.css CHANGED
File without changes
cmb/style.min.css CHANGED
File without changes
cmb/tests/README.md CHANGED
File without changes
cmb/tests/bin/install-wp-tests.sh CHANGED
File without changes
cmb/tests/phpunit/includes/bootstrap.php CHANGED
File without changes
cmb/tests/phpunit/tests/CMB_Core_Test.php CHANGED
File without changes
css/owl.carousel.css CHANGED
File without changes
css/widgets.css CHANGED
File without changes
extra-widgets/blog-style-one/assets/banner.svg CHANGED
File without changes
extra-widgets/blog-style-one/blog-style-one.php CHANGED
@@ -70,13 +70,13 @@ class Blog_Style_One extends SiteOrigin_Widget {
70
 
71
  'title_linkable' => array(
72
  'type' => 'checkbox',
73
- 'label' => __( 'Make title link to post', 'addon-so-widgets-bundle' ),
74
  'default' => true
75
  ),
76
 
77
  'image_linkable' => array(
78
  'type' => 'checkbox',
79
- 'label' => __( 'Make image link to post', 'addon-so-widgets-bundle' ),
80
  'default' => true
81
  ),
82
 
70
 
71
  'title_linkable' => array(
72
  'type' => 'checkbox',
73
+ 'label' => __( 'Title Linkable', 'addon-so-widgets-bundle' ),
74
  'default' => true
75
  ),
76
 
77
  'image_linkable' => array(
78
  'type' => 'checkbox',
79
+ 'label' => __( 'Image Linkable', 'addon-so-widgets-bundle' ),
80
  'default' => true
81
  ),
82
 
extra-widgets/blog-style-one/styles/blog-style-one-style.less CHANGED
@@ -1,5 +1,6 @@
1
  .blog_one_style{margin-bottom: 20px;}
2
  .blog_one_style .image img{display: block; width: 100%; height: 100%;}
 
3
  .blog_one_style .content h4{margin-top:0; margin-bottom: 10px;}
4
  .blog_one_style .meta{ border-top: 1px solid #e0dede; border-bottom: 1px solid #e0dede; margin: 10px 0; padding: 10px; font-size: 12px;}
5
  .blog_one_style .meta .glyphicon{top: 0;}
@@ -17,6 +18,10 @@
17
  color: @title_color;
18
  }
19
 
 
 
 
 
20
  .blog_one_style .content {
21
  color: @content_color;
22
  }
1
  .blog_one_style{margin-bottom: 20px;}
2
  .blog_one_style .image img{display: block; width: 100%; height: 100%;}
3
+ .blog_list_main .columns{margin: 0 1% 2% 1%;}
4
  .blog_one_style .content h4{margin-top:0; margin-bottom: 10px;}
5
  .blog_one_style .meta{ border-top: 1px solid #e0dede; border-bottom: 1px solid #e0dede; margin: 10px 0; padding: 10px; font-size: 12px;}
6
  .blog_one_style .meta .glyphicon{top: 0;}
18
  color: @title_color;
19
  }
20
 
21
+ .blog_one_style .content h4 a{
22
+ color: @title_color;
23
+ }
24
+
25
  .blog_one_style .content {
26
  color: @content_color;
27
  }
extra-widgets/blog-style-one/tpl/blog-style-one-template.php CHANGED
@@ -16,6 +16,7 @@ $image_linkable = wp_kses_post($instance['image_linkable']);
16
  </h3>
17
  <?php } ?>
18
 
 
19
  <?php while ($the_query->have_posts()) : $the_query->the_post(); ?>
20
 
21
  <?php if($alignment == 'left'): ?>
@@ -44,7 +45,7 @@ $image_linkable = wp_kses_post($instance['image_linkable']);
44
  <h4><?php the_title(); ?></h4>
45
  <?php endif; ?>
46
 
47
- <?php echo excerpt($excerpt_lengt); ?>
48
  </div>
49
 
50
  <div class="clearfix"></div>
@@ -70,7 +71,7 @@ $image_linkable = wp_kses_post($instance['image_linkable']);
70
  <h4><?php the_title(); ?></h4>
71
  <?php endif; ?>
72
 
73
- <?php echo excerpt($excerpt_lengt); ?>
74
  </div>
75
 
76
  <div class="four columns image alpha">
@@ -103,4 +104,4 @@ $image_linkable = wp_kses_post($instance['image_linkable']);
103
 
104
 
105
  <?php endwhile; ?>
106
-
16
  </h3>
17
  <?php } ?>
18
 
19
+ <div class="blog_list_main">
20
  <?php while ($the_query->have_posts()) : $the_query->the_post(); ?>
21
 
22
  <?php if($alignment == 'left'): ?>
45
  <h4><?php the_title(); ?></h4>
46
  <?php endif; ?>
47
 
48
+ <?php echo excerpt($excerpt_lengt); ?><a href="<?php the_permalink(); ?>">...</a>
49
  </div>
50
 
51
  <div class="clearfix"></div>
71
  <h4><?php the_title(); ?></h4>
72
  <?php endif; ?>
73
 
74
+ <?php echo excerpt($excerpt_lengt); ?><a href="<?php the_permalink(); ?>">...</a>
75
  </div>
76
 
77
  <div class="four columns image alpha">
104
 
105
 
106
  <?php endwhile; ?>
107
+ </div>
extra-widgets/blog-style-two/assets/banner.svg CHANGED
File without changes
extra-widgets/blog-style-two/blog-style-two.php CHANGED
@@ -39,7 +39,7 @@ class Blog_Style_Two extends SiteOrigin_Widget {
39
  'layout' => array(
40
  'type' => 'radio',
41
  'label' => __( 'Choose a Layout', 'addon-so-widgets-bundle' ),
42
- 'default' => 'col-md-6',
43
  'options' => array(
44
  'six columns' => __( '2 Column Layout', 'addon-so-widgets-bundle' ),
45
  'one-third column' => __( '3 Column Layout', 'addon-so-widgets-bundle' ),
39
  'layout' => array(
40
  'type' => 'radio',
41
  'label' => __( 'Choose a Layout', 'addon-so-widgets-bundle' ),
42
+ 'default' => 'six columns',
43
  'options' => array(
44
  'six columns' => __( '2 Column Layout', 'addon-so-widgets-bundle' ),
45
  'one-third column' => __( '3 Column Layout', 'addon-so-widgets-bundle' ),
extra-widgets/blog-style-two/styles/blog-style-two-style.less CHANGED
@@ -13,6 +13,10 @@
13
  color: @title_color;
14
  }
15
 
 
 
 
 
16
  .blog_two_style .content {
17
  color: @content_color;
18
  }
13
  color: @title_color;
14
  }
15
 
16
+ .blog_two_style .content h4 a{
17
+ color: @title_color;
18
+ }
19
+
20
  .blog_two_style .content {
21
  color: @content_color;
22
  }
extra-widgets/blog-style-two/tpl/blog-style-two-template.php CHANGED
@@ -24,13 +24,11 @@ $image_linkable = wp_kses_post($instance['image_linkable']);
24
  <div class="image">
25
 
26
  <?php if(has_post_thumbnail()): ?>
27
-
28
  <?php if($image_linkable): ?>
29
  <a href="<?php the_permalink(); ?>"> <?php the_post_thumbnail();?> </a>
30
  <?php else: ?>
31
  <?php the_post_thumbnail(); ?>
32
  <?php endif; ?>
33
-
34
  <?php endif; ?>
35
 
36
  </div>
@@ -47,7 +45,7 @@ $image_linkable = wp_kses_post($instance['image_linkable']);
47
  by <?php the_author(); ?> | <?php echo get_the_date(); ?> | <?php the_category(', '); ?>
48
  </div>
49
  <div class="border"></div>
50
- <?php echo excerpt($excerpt_lengt); ?>
51
  <div class="clearfix"></div>
52
  <small><a href="<?php the_permalink(); ?>"><?php echo $read_more_text ?></a></small>
53
  </div>
24
  <div class="image">
25
 
26
  <?php if(has_post_thumbnail()): ?>
 
27
  <?php if($image_linkable): ?>
28
  <a href="<?php the_permalink(); ?>"> <?php the_post_thumbnail();?> </a>
29
  <?php else: ?>
30
  <?php the_post_thumbnail(); ?>
31
  <?php endif; ?>
 
32
  <?php endif; ?>
33
 
34
  </div>
45
  by <?php the_author(); ?> | <?php echo get_the_date(); ?> | <?php the_category(', '); ?>
46
  </div>
47
  <div class="border"></div>
48
+ <?php echo excerpt($excerpt_lengt); ?><a href="<?php the_permalink(); ?>">...</a>
49
  <div class="clearfix"></div>
50
  <small><a href="<?php the_permalink(); ?>"><?php echo $read_more_text ?></a></small>
51
  </div>
extra-widgets/divider/assets/banner.svg CHANGED
File without changes
extra-widgets/divider/divider.php CHANGED
@@ -58,13 +58,13 @@ class Divider extends SiteOrigin_Widget {
58
 
59
  'margin_top' => array(
60
  'type' => 'number',
61
- 'label' => __( 'Top Margin', 'addon-so-widgets-bundle' ),
62
  'default' => ''
63
  ),
64
 
65
  'margin_bottom' => array(
66
  'type' => 'number',
67
- 'label' => __( 'Bottom Margin', 'addon-so-widgets-bundle' ),
68
  'default' => ''
69
  ),
70
 
58
 
59
  'margin_top' => array(
60
  'type' => 'number',
61
+ 'label' => __( 'Top Margin (without px)', 'addon-so-widgets-bundle' ),
62
  'default' => ''
63
  ),
64
 
65
  'margin_bottom' => array(
66
  'type' => 'number',
67
+ 'label' => __( 'Bottom Margin (without px)', 'addon-so-widgets-bundle' ),
68
  'default' => ''
69
  ),
70
 
extra-widgets/divider/styles/divider-style.less CHANGED
File without changes
extra-widgets/divider/tpl/divider-template.php CHANGED
File without changes
extra-widgets/faqs/assets/banner.svg CHANGED
File without changes
extra-widgets/faqs/faqs.php CHANGED
@@ -39,25 +39,104 @@ class Faqs extends SiteOrigin_Widget
39
  'hide' => true,
40
  'fields' => array(
41
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
  'title_color' => array(
43
  'type' => 'color',
44
  'label' => __( 'Title color', 'addon-so-widgets-bundle' ),
45
  'default' => ''
46
  ),
47
 
48
- 'title_hover_color' => array(
 
 
 
 
 
 
 
 
 
 
 
49
  'type' => 'color',
50
- 'label' => __( 'Title Hover color', 'addon-so-widgets-bundle' ),
51
  'default' => ''
52
  ),
53
 
54
  'content_color' => array(
55
  'type' => 'color',
56
- 'label' => __( 'Content color', 'addon-so-widgets-bundle' ),
57
  'default' => ''
58
  ),
59
 
60
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
 
62
  )
63
  ),
@@ -80,9 +159,16 @@ class Faqs extends SiteOrigin_Widget
80
 
81
  function get_less_variables( $instance ) {
82
  return array(
 
 
 
83
  'title_color' => $instance['faqs_styling']['title_color'],
84
- 'title_hover_color' => $instance['faqs_styling']['title_hover_color'],
85
  'content_color' => $instance['faqs_styling']['content_color'],
 
 
 
 
86
  );
87
  }
88
 
39
  'hide' => true,
40
  'fields' => array(
41
 
42
+ 'toggle_padding' => array(
43
+ 'type' => 'text',
44
+ 'label' => __('Title Padding (shorthand Format)', 'widget-form-fields-text-domain'),
45
+ 'default' => '0px 0px 0px 0px'
46
+ ),
47
+
48
+ 'title_bg' => array(
49
+ 'type' => 'color',
50
+ 'label' => __( 'backgorund color', 'addon-so-widgets-bundle' ),
51
+ 'default' => ''
52
+ ),
53
+
54
+ 'title_bg_hover' => array(
55
+ 'type' => 'color',
56
+ 'label' => __( 'backgorund Hover color', 'addon-so-widgets-bundle' ),
57
+ 'default' => ''
58
+ ),
59
+
60
  'title_color' => array(
61
  'type' => 'color',
62
  'label' => __( 'Title color', 'addon-so-widgets-bundle' ),
63
  'default' => ''
64
  ),
65
 
66
+ 'title_bar_alignment' => array(
67
+ 'type' => 'select',
68
+ 'label' => __( 'Title Alignment', 'addon-so-widgets-bundle' ),
69
+ 'default' => 'left',
70
+ 'options' => array(
71
+ 'left' => __( 'Left Align', 'addon-so-widgets-bundle' ),
72
+ 'center' => __( 'Center Align', 'addon-so-widgets-bundle' ),
73
+ 'right' => __( 'Right Align', 'addon-so-widgets-bundle' ),
74
+ )
75
+ ),
76
+
77
+ 'content_bg_color' => array(
78
  'type' => 'color',
79
+ 'label' => __( 'Content backgorund color', 'addon-so-widgets-bundle' ),
80
  'default' => ''
81
  ),
82
 
83
  'content_color' => array(
84
  'type' => 'color',
85
+ 'label' => __( 'Content Text color', 'addon-so-widgets-bundle' ),
86
  'default' => ''
87
  ),
88
 
89
 
90
+ 'toggle_border' => array(
91
+ 'type' => 'select',
92
+ 'label' => __( 'Border style', 'addon-so-widgets-bundle' ),
93
+ 'default' => '',
94
+ 'options' => array(
95
+ 'none' => __( 'No Border', 'addon-so-widgets-bundle' ),
96
+ 'solid' => __( 'Solid', 'addon-so-widgets-bundle' ),
97
+ 'dashed' => __( 'Dashed', 'addon-so-widgets-bundle' ),
98
+ 'dotted' => __( 'Dotted', 'addon-so-widgets-bundle' ),
99
+ )
100
+ ),
101
+
102
+ 'toggle_border_width' => array(
103
+ 'type' => 'number',
104
+ 'label' => __( 'Border Width (without px)', 'addon-so-widgets-bundle' ),
105
+ 'default' => ''
106
+ ),
107
+
108
+ 'toggle_border_color' => array(
109
+ 'type' => 'color',
110
+ 'label' => __( 'Border color', 'addon-so-widgets-bundle' ),
111
+ 'default' => ''
112
+ ),
113
+
114
+ 'toggle_top_border' => array(
115
+ 'type' => 'checkbox',
116
+ 'label' => __( 'Box Top Border', 'widget-form-fields-text-domain' ),
117
+ 'default' => false
118
+ ),
119
+
120
+ 'toggle_right_border' => array(
121
+ 'type' => 'checkbox',
122
+ 'label' => __( 'Box Right Border', 'widget-form-fields-text-domain' ),
123
+ 'default' => false
124
+ ),
125
+
126
+ 'toggle_bottom_border' => array(
127
+ 'type' => 'checkbox',
128
+ 'label' => __( 'Box Bottom Border', 'widget-form-fields-text-domain' ),
129
+ 'default' => false
130
+ ),
131
+
132
+ 'toggle_left_border' => array(
133
+ 'type' => 'checkbox',
134
+ 'label' => __( 'Box Left Border', 'widget-form-fields-text-domain' ),
135
+ 'default' => false
136
+ ),
137
+
138
+
139
+
140
 
141
  )
142
  ),
159
 
160
  function get_less_variables( $instance ) {
161
  return array(
162
+ 'title_bar_alignment' => $instance['faqs_styling']['title_bar_alignment'],
163
+ 'title_bg' => $instance['faqs_styling']['title_bg'],
164
+ 'title_bg_hover' => $instance['faqs_styling']['title_bg_hover'],
165
  'title_color' => $instance['faqs_styling']['title_color'],
166
+ 'content_bg_color' => $instance['faqs_styling']['content_bg_color'],
167
  'content_color' => $instance['faqs_styling']['content_color'],
168
+ 'toggle_border' => $instance['faqs_styling']['toggle_border'],
169
+ 'toggle_border_width' => $instance['faqs_styling']['toggle_border_width'].'px',
170
+ 'toggle_border_color' => $instance['faqs_styling']['toggle_border_color'],
171
+ 'toggle_padding' => $instance['faqs_styling']['toggle_padding'],
172
  );
173
  }
174
 
extra-widgets/faqs/styles/faqs-style.less CHANGED
@@ -1,66 +1,57 @@
1
- .soua-main{
2
  margin: 0; padding: 0; list-style: none;
3
  }
4
  .soua-main .soua-accordion {
5
  position: relative;
6
  padding: 0 !important;
7
- margin: 0 !important;
8
  }
9
  .soua-main .soua-accordion .soua-accordion-content {
10
  display: none;
 
11
  }
12
  .soua-main .soua-accordion-title {
13
  width: 100%;
14
  display: block;
15
  cursor: pointer;
16
  line-height: 3;
17
- text-indent: 15px;
18
  user-select: none;
19
  text-decoration: none;
20
- padding: 0 20px;
21
  }
22
- .soua-main .soua-accordion-title:after {
23
- width: 8px;
24
- height: 8px;
25
- border-right: 1px solid #4a6e78;
26
- border-bottom: 1px solid #4a6e78;
27
- position: absolute;
28
- left: 10px;
29
- content: " ";
30
- top: 20px;
31
- transform: rotate(-45deg);
32
- -webkit-transition: all 0.2s ease-in-out;
33
- -moz-transition: all 0.2s ease-in-out;
34
- transition: all 0.2s ease-in-out;
35
- }
36
- .soua-main .soua-accordion .soua-accordion-content{
37
- padding: 10px;
38
- }
39
-
40
- .soua-accordion-title.active:after{
41
- transform: rotate(45deg);
42
- -webkit-transition: all 0.2s ease-in-out;
43
- -moz-transition: all 0.2s ease-in-out;
44
- transition: all 0.2s ease-in-out;
45
- }
46
-
47
 
48
 
49
- @title_color: #000000;
50
- @title_hover_color: #000000 ;
 
 
 
51
  @content_color: #000000 ;
 
 
52
 
53
  .soua-main .soua-accordion .soua-accordion-title{
54
  color: @title_color;
 
 
55
  }
56
 
57
- .soua-main .soua-accordion .soua-accordion-title:hover {
58
- color: @title_hover_color;
59
  }
60
 
 
61
  .soua-main .soua-accordion .soua-accordion-content{
62
  color: @content_color;
 
63
  }
64
 
65
 
 
 
 
66
 
 
 
 
 
 
1
+ .soua-main {
2
  margin: 0; padding: 0; list-style: none;
3
  }
4
  .soua-main .soua-accordion {
5
  position: relative;
6
  padding: 0 !important;
7
+ margin: 5px 0 !important;
8
  }
9
  .soua-main .soua-accordion .soua-accordion-content {
10
  display: none;
11
+ padding: 15px 0;
12
  }
13
  .soua-main .soua-accordion-title {
14
  width: 100%;
15
  display: block;
16
  cursor: pointer;
17
  line-height: 3;
 
18
  user-select: none;
19
  text-decoration: none;
 
20
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
 
22
 
23
+ @title_bar_alignment: none;
24
+ @title_bg: transparent;
25
+ @title_bg_hover: transparent;
26
+ @title_color: #000000;;
27
+ @content_bg_color: transparent;
28
  @content_color: #000000 ;
29
+ @toggle_padding: 0px;
30
+
31
 
32
  .soua-main .soua-accordion .soua-accordion-title{
33
  color: @title_color;
34
+ background-color: @title_bg;
35
+ text-align: @title_bar_alignment;
36
  }
37
 
38
+ .soua-main .soua-accordion .soua-accordion-title:hover{
39
+ background-color: @title_bg_hover;
40
  }
41
 
42
+
43
  .soua-main .soua-accordion .soua-accordion-content{
44
  color: @content_color;
45
+ background-color: @content_bg_color;
46
  }
47
 
48
 
49
+ @toggle_border:none;
50
+ @toggle_border_width:0;
51
+ @toggle_border_color:transparent;
52
 
53
+ .top_b, .right_b, .bottom_b, .left_b, .bg{padding: @toggle_padding;}
54
+ .top_b{border-top: @toggle_border; border-width: @toggle_border_width; border-color: @toggle_border_color;}
55
+ .right_b{border-right: @toggle_border; border-width: @toggle_border_width; border-color: @toggle_border_color;}
56
+ .bottom_b{border-bottom: @toggle_border; border-width: @toggle_border_width; border-color: @toggle_border_color;}
57
+ .left_b{border-left: @toggle_border; border-width: @toggle_border_width; border-color: @toggle_border_color;}
extra-widgets/faqs/tpl/faqs-template.php CHANGED
@@ -3,6 +3,12 @@ $widget_title = wp_kses_post($instance['widget_title']);
3
  $query = siteorigin_widget_post_selector_process_query($instance['posts']);
4
  $the_query = new WP_Query($query);
5
 
 
 
 
 
 
 
6
  ?>
7
 
8
 
@@ -16,8 +22,12 @@ $the_query = new WP_Query($query);
16
  <div class="soua-main">
17
  <?php while ($the_query->have_posts()) : $the_query->the_post(); ?>
18
  <div class="soua-accordion">
19
- <a class="soua-accordion-title"> <?php the_title(); ?></a>
20
- <div class="soua-accordion-content"><?php the_content();?></div>
 
 
 
 
21
  </div>
22
  <?php endwhile; ?>
23
  </div> <!-- / accordion -->
3
  $query = siteorigin_widget_post_selector_process_query($instance['posts']);
4
  $the_query = new WP_Query($query);
5
 
6
+ $toggle_top_border = wp_kses_post($instance['faqs_styling']['toggle_top_border']);
7
+ $toggle_right_border = wp_kses_post($instance['faqs_styling']['toggle_right_border']);
8
+ $toggle_bottom_border = wp_kses_post($instance['faqs_styling']['toggle_bottom_border']);
9
+ $toggle_left_border = wp_kses_post($instance['faqs_styling']['toggle_left_border']);
10
+ $title_bg = wp_kses_post($instance['faqs_styling']['title_bg']);
11
+
12
  ?>
13
 
14
 
22
  <div class="soua-main">
23
  <?php while ($the_query->have_posts()) : $the_query->the_post(); ?>
24
  <div class="soua-accordion">
25
+ <a class="soua-accordion-title">
26
+ <div class="<?php if($toggle_top_border){ echo " top_b "; } if($toggle_right_border){ echo " right_b "; } if($toggle_bottom_border){ echo " bottom_b "; } if($toggle_left_border){ echo " left_b "; } if($title_bg){ echo " bg "; } ?>">
27
+ <?php the_title(); ?>
28
+ </div>
29
+ </a>
30
+ <div class="soua-accordion-content" <?php if(wp_kses_post($instance['faqs_styling']['content_bg_color'])): ?> style="padding: 15px";<?php endif; ?>><?php the_content();?></div>
31
  </div>
32
  <?php endwhile; ?>
33
  </div> <!-- / accordion -->
extra-widgets/service-box/assets/banner.svg CHANGED
File without changes
extra-widgets/service-box/service-box.php CHANGED
@@ -29,14 +29,14 @@ class Service_Box extends SiteOrigin_Widget {
29
  ),
30
  'opt_selector' => array(
31
  'type' => 'select',
32
- 'label' => __( 'First choose an option', 'addon-so-widgets-bundle' ),
33
  'default' => 'blank',
34
  'state_emitter' => array(
35
  'callback' => 'select',
36
  'args' => array( 'opt_selector' )
37
  ),
38
  'options' => array(
39
- 'blank' => __( 'Select an option', 'addon-so-widgets-bundle' ),
40
  'icon' => __( 'Icon', 'addon-so-widgets-bundle' ),
41
  'icon_image' => __( 'Icon Image', 'addon-so-widgets-bundle' ),
42
  )
@@ -68,12 +68,9 @@ class Service_Box extends SiteOrigin_Widget {
68
  'fields' => array(
69
 
70
  'icon_size' => array(
71
- 'type' => 'slider',
72
- 'label' => __( 'Set icon size', 'addon-so-widgets-bundle' ),
73
- 'default' => 3,
74
- 'min' => 2,
75
- 'max' => 500,
76
- 'integer' => true
77
  ),
78
 
79
  'icon' => array(
@@ -99,18 +96,15 @@ class Service_Box extends SiteOrigin_Widget {
99
  'fields' => array(
100
 
101
  'icon_img_width' => array(
102
- 'type' => 'slider',
103
- 'label' => __( 'Set Image Width', 'addon-so-widgets-bundle' ),
104
- 'default' => 3,
105
- 'min' => 2,
106
- 'max' => 500,
107
- 'integer' => true
108
  ),
109
 
110
  'icon_image' => array(
111
  'type' => 'media',
112
- 'label' => __( 'Choose Image', 'addon-so-widgets-bundle' ),
113
- 'choose' => __( 'Choose image', 'addon-so-widgets-bundle' ),
114
  'update' => __( 'Set image', 'addon-so-widgets-bundle' ),
115
  'library' => 'image'
116
  ),
@@ -154,8 +148,6 @@ class Service_Box extends SiteOrigin_Widget {
154
  ),
155
 
156
 
157
-
158
-
159
  'styling' => array(
160
  'type' => 'section',
161
  'label' => __( 'Widget styling' , 'addon-so-widgets-bundle' ),
@@ -171,8 +163,15 @@ class Service_Box extends SiteOrigin_Widget {
171
  'icon_color' => array(
172
  'type' => 'color',
173
  'label' => __( 'Icon color', 'addon-so-widgets-bundle' ),
174
- 'default' => ''
 
 
 
 
 
 
175
  ),
 
176
  'title_color' => array(
177
  'type' => 'color',
178
  'label' => __( 'Title color', 'addon-so-widgets-bundle' ),
@@ -191,16 +190,38 @@ class Service_Box extends SiteOrigin_Widget {
191
  ),
192
 
193
  'box_padding' => array(
194
- 'type' => 'slider',
195
- 'label' => __( 'Service box padding', 'addon-so-widgets-bundle' ),
196
- 'default' => 24,
197
- 'min' => 2,
198
- 'max' => 37,
199
- 'integer' => true
 
 
 
200
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
201
  'box_border' => array(
202
  'type' => 'select',
203
- 'label' => __( 'Border styled', 'addon-so-widgets-bundle' ),
204
  'default' => '',
205
  'options' => array(
206
  'solid' => __( 'Solid', 'addon-so-widgets-bundle' ),
@@ -208,15 +229,36 @@ class Service_Box extends SiteOrigin_Widget {
208
  'dotted' => __( 'Dotted', 'addon-so-widgets-bundle' ),
209
  )
210
  ),
 
211
  'box_border_width' => array(
212
- 'type' => 'slider',
213
- 'label' => __( 'Border Width', 'addon-so-widgets-bundle' ),
214
- 'default' => 0,
215
- 'min' => 2,
216
- 'max' => 37,
217
- 'integer' => true
218
  ),
219
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
220
 
221
 
222
 
@@ -241,6 +283,7 @@ class Service_Box extends SiteOrigin_Widget {
241
  return array(
242
  'background_color' => $instance['styling']['bg_color'],
243
  'icon_color' => $instance['styling']['icon_color'],
 
244
  'title_color' => $instance['styling']['title_color'],
245
  'content_color' => $instance['styling']['content_color'],
246
  'box_padding' => $instance['styling']['box_padding'].'px',
@@ -249,6 +292,11 @@ class Service_Box extends SiteOrigin_Widget {
249
  'box_border_color' => $instance['styling']['border_color'],
250
  'square_shape_bg_color' => $instance['styling']['square_shape_bg_color'],
251
  'square_shape_padding' => $instance['styling']['square_shape_padding'].'px',
 
 
 
 
 
252
  );
253
  }
254
 
29
  ),
30
  'opt_selector' => array(
31
  'type' => 'select',
32
+ 'label' => __( 'First choose an icon or image', 'addon-so-widgets-bundle' ),
33
  'default' => 'blank',
34
  'state_emitter' => array(
35
  'callback' => 'select',
36
  'args' => array( 'opt_selector' )
37
  ),
38
  'options' => array(
39
+ 'blank' => __( 'No image or icon', 'addon-so-widgets-bundle' ),
40
  'icon' => __( 'Icon', 'addon-so-widgets-bundle' ),
41
  'icon_image' => __( 'Icon Image', 'addon-so-widgets-bundle' ),
42
  )
68
  'fields' => array(
69
 
70
  'icon_size' => array(
71
+ 'type' => 'number',
72
+ 'label' => __( 'Set icon size (without px)', 'addon-so-widgets-bundle' ),
73
+ 'default' => ''
 
 
 
74
  ),
75
 
76
  'icon' => array(
96
  'fields' => array(
97
 
98
  'icon_img_width' => array(
99
+ 'type' => 'number',
100
+ 'label' => __( 'Set Image Width (without px)', 'addon-so-widgets-bundle' ),
101
+ 'default' => '40'
 
 
 
102
  ),
103
 
104
  'icon_image' => array(
105
  'type' => 'media',
106
+ 'label' => __( 'Choose an image', 'addon-so-widgets-bundle' ),
107
+ 'choose' => __( 'Choose an image', 'addon-so-widgets-bundle' ),
108
  'update' => __( 'Set image', 'addon-so-widgets-bundle' ),
109
  'library' => 'image'
110
  ),
148
  ),
149
 
150
 
 
 
151
  'styling' => array(
152
  'type' => 'section',
153
  'label' => __( 'Widget styling' , 'addon-so-widgets-bundle' ),
163
  'icon_color' => array(
164
  'type' => 'color',
165
  'label' => __( 'Icon color', 'addon-so-widgets-bundle' ),
166
+ 'default' => '',
167
+ 'state_handler' => array(
168
+ 'opt_selector[icon]' => array('show'),
169
+ 'opt_selector[icon_image]' => array('hide'),
170
+ 'opt_selector[blank]' => array('hide'),
171
+ ),
172
+
173
  ),
174
+
175
  'title_color' => array(
176
  'type' => 'color',
177
  'label' => __( 'Title color', 'addon-so-widgets-bundle' ),
190
  ),
191
 
192
  'box_padding' => array(
193
+ 'type' => 'number',
194
+ 'label' => __( 'Box Padding (without Pixel)', 'widget-form-fields-text-domain' ),
195
+ 'default' => ''
196
+ ),
197
+
198
+ 'box_top_border' => array(
199
+ 'type' => 'checkbox',
200
+ 'label' => __( 'Box Top Border', 'widget-form-fields-text-domain' ),
201
+ 'default' => false
202
  ),
203
+
204
+ 'box_right_border' => array(
205
+ 'type' => 'checkbox',
206
+ 'label' => __( 'Box Right Border', 'widget-form-fields-text-domain' ),
207
+ 'default' => false
208
+ ),
209
+
210
+ 'box_bottom_border' => array(
211
+ 'type' => 'checkbox',
212
+ 'label' => __( 'Box Bottom Border', 'widget-form-fields-text-domain' ),
213
+ 'default' => false
214
+ ),
215
+
216
+ 'box_left_border' => array(
217
+ 'type' => 'checkbox',
218
+ 'label' => __( 'Box Left Border', 'widget-form-fields-text-domain' ),
219
+ 'default' => false
220
+ ),
221
+
222
  'box_border' => array(
223
  'type' => 'select',
224
+ 'label' => __( 'Border style', 'addon-so-widgets-bundle' ),
225
  'default' => '',
226
  'options' => array(
227
  'solid' => __( 'Solid', 'addon-so-widgets-bundle' ),
229
  'dotted' => __( 'Dotted', 'addon-so-widgets-bundle' ),
230
  )
231
  ),
232
+
233
  'box_border_width' => array(
234
+ 'type' => 'number',
235
+ 'label' => __( 'Border Width (without px)', 'widget-form-fields-text-domain' ),
236
+ 'default' => ''
 
 
 
237
  ),
238
 
239
+ 'button_bg_color' => array(
240
+ 'type' => 'color',
241
+ 'label' => __( 'Button Bg color', 'addon-so-widgets-bundle' ),
242
+ 'default' => ''
243
+ ),
244
+
245
+ 'button_bg_hover_color' => array(
246
+ 'type' => 'color',
247
+ 'label' => __( 'Button Bg hover color', 'addon-so-widgets-bundle' ),
248
+ 'default' => ''
249
+ ),
250
+
251
+ 'button_font_color' => array(
252
+ 'type' => 'color',
253
+ 'label' => __( 'Button text color', 'addon-so-widgets-bundle' ),
254
+ 'default' => ''
255
+ ),
256
+
257
+ 'button_font_hover_color' => array(
258
+ 'type' => 'color',
259
+ 'label' => __( 'Button text hover color', 'addon-so-widgets-bundle' ),
260
+ 'default' => ''
261
+ ),
262
 
263
 
264
 
283
  return array(
284
  'background_color' => $instance['styling']['bg_color'],
285
  'icon_color' => $instance['styling']['icon_color'],
286
+ 'icon_bg_color' => $instance['styling']['icon_bg_color'],
287
  'title_color' => $instance['styling']['title_color'],
288
  'content_color' => $instance['styling']['content_color'],
289
  'box_padding' => $instance['styling']['box_padding'].'px',
292
  'box_border_color' => $instance['styling']['border_color'],
293
  'square_shape_bg_color' => $instance['styling']['square_shape_bg_color'],
294
  'square_shape_padding' => $instance['styling']['square_shape_padding'].'px',
295
+ 'btn_bg' => $instance['styling']['button_bg_color'],
296
+ 'btn_bg_hover' => $instance['styling']['button_bg_hover_color'],
297
+ 'btn_font_color' => $instance['styling']['button_font_color'],
298
+ 'btn_font_hover_color' => $instance['styling']['button_font_hover_color'],
299
+
300
  );
301
  }
302
 
extra-widgets/service-box/styles/service-box-style.less CHANGED
@@ -2,47 +2,52 @@
2
 
3
  .service_top{text-align: center;}
4
  .service_top .content h3{margin: 10px;}
5
- .service_top .content .btn_style{margin: 10px 0; display: block};
6
 
7
 
8
  .service_left{text-align: left;}
9
- .service_left .icon{width: 15%; display: inline-block; vertical-align: top; margin-right: 15px; line-height: 0; text-align: center;}
10
- .service_left .icon_image{ width: 15%; float: left; margin-right: 15px;}
11
- .service_left .content{ display: inline-block; width: 70%;}
 
12
  .service_left .content h3{margin-top: 0;}
13
- .service_left .content .btn_style{margin: 10px 0; display: block;}
14
 
15
 
16
  .service_right{text-align: right;}
17
- .service_right .icon{width: 15%; display: inline-block; vertical-align: top; margin-left: 15px; line-height: 0; text-align: center;}
18
- .service_right .icon_image{ width: 15%; display: inline-block; vertical-align: top; margin-left: 15px; text-align: center;}
19
- .service_right .content{ display: inline-block; width: 70%;}
 
20
  .service_right .content h3{margin-top: 0;}
21
- .service_right .content .btn_style{margin: 10px 0; display: block;}
22
 
23
 
24
 
25
 
26
 
27
- @background_color: transparent ;
28
  @icon_color: #000000;
29
  @title_color: #000000;
30
  @content_color: #000000;
31
  @box_padding: 10px;
32
  @box_border: solid;
33
  @box_border_width: 0px;
34
- @box_border_color: #e4e4e4 ;
35
-
36
-
 
 
37
 
38
  .service_top, .service_left, .service_right {
39
  background-color: @background_color;
40
  padding: @box_padding;
41
- border: @box_border;
42
- border-width: @box_border_width;
43
- border-color: @box_border_color;
44
  }
45
 
 
 
 
 
46
 
47
 
48
  .icon{
@@ -62,3 +67,15 @@
62
  .content {
63
  color: @content_color;
64
  }
 
 
 
 
 
 
 
 
 
 
 
 
2
 
3
  .service_top{text-align: center;}
4
  .service_top .content h3{margin: 10px;}
5
+ .service_top .content .btn_style{margin: 10px 0; display: inline-block; text-decoration: none; outline: none;}
6
 
7
 
8
  .service_left{text-align: left;}
9
+ .service_left .icon{vertical-align: top; padding-right: 15px; display: table-cell;}
10
+ .service_left .icon_image{vertical-align: top; padding-right: 15px; display: table-cell;}
11
+ .service_left .icon_image img{max-width: none;}
12
+ .service_left .content{display: table-cell;}
13
  .service_left .content h3{margin-top: 0;}
14
+ .service_left .content .btn_style{margin: 10px 0; display: inline-block; text-decoration: none; outline: none;}
15
 
16
 
17
  .service_right{text-align: right;}
18
+ .service_right .icon{vertical-align: top; padding-left: 15px; display: table-cell;}
19
+ .service_right .icon_image{vertical-align: top; padding-left: 15px; display: table-cell;}
20
+ .service_right .icon_image img{max-width: none;}
21
+ .service_right .content{display: table-cell;}
22
  .service_right .content h3{margin-top: 0;}
23
+ .service_right .content .btn_style{margin: 10px 0; display: inline-block; text-decoration: none; outline: none;}
24
 
25
 
26
 
27
 
28
 
29
+ @background_color: transparent;
30
  @icon_color: #000000;
31
  @title_color: #000000;
32
  @content_color: #000000;
33
  @box_padding: 10px;
34
  @box_border: solid;
35
  @box_border_width: 0px;
36
+ @box_border_color: #e4e4e4;
37
+ @btn_bg:transparent;
38
+ @btn_bg_hover:transparent;
39
+ @btn_font_color:#000000;
40
+ @btn_font_hover_color:#000000;
41
 
42
  .service_top, .service_left, .service_right {
43
  background-color: @background_color;
44
  padding: @box_padding;
 
 
 
45
  }
46
 
47
+ .top_b{border-top: @box_border; border-width: @box_border_width; border-color: @box_border_color;}
48
+ .right_b{border-right: @box_border; border-width: @box_border_width; border-color: @box_border_color;}
49
+ .bottom_b{border-bottom: @box_border; border-width: @box_border_width; border-color: @box_border_color;}
50
+ .left_b{border-left: @box_border; border-width: @box_border_width; border-color: @box_border_color;}
51
 
52
 
53
  .icon{
67
  .content {
68
  color: @content_color;
69
  }
70
+
71
+
72
+ .service_top .content .btn_style, .service_left .content .btn_style, .service_right .content .btn_style{
73
+ background-color: @btn_bg;
74
+ color: @btn_font_color;
75
+ }
76
+
77
+ .service_top .content .btn_style:hover, .service_left .content .btn_style:hover, .service_right .content .btn_style:hover{
78
+ background-color: @btn_bg_hover;
79
+ color: @btn_font_hover_color;
80
+ }
81
+
extra-widgets/service-box/tpl/service-box-template.php CHANGED
@@ -8,10 +8,15 @@ $icon_img_height = wp_kses_post($instance['icon_image_section']['icon_img_height
8
  $icon_selection = wp_kses_post($instance['icon_selection']);
9
  $selection = wp_kses_post($instance['opt_selector']);
10
  $icon = siteorigin_widget_get_icon($instance['icon_section']['icon']);
11
- $icon_image = wp_get_attachment_image_src($instance['icon_image_section']['icon_image']);
12
  $title = wp_kses_post($instance['title']);
13
  $content = wp_kses_post($instance['content']);
14
  $shape = wp_kses_post($instance['styling']['shapes']);
 
 
 
 
 
15
  ?>
16
 
17
  <?php if ($widget_title) { ?>
@@ -22,7 +27,7 @@ $shape = wp_kses_post($instance['styling']['shapes']);
22
 
23
 
24
  <?php if ($icon_selection == 'top') { ?>
25
- <div class="service_top clearfix <?php echo $icon_selection ?>">
26
  <?php if($selection == 'icon'){ ?>
27
  <div class="icon <?php echo $shape ?>" style="font-size: <?php echo $icon_size; ?>px">
28
  <?php echo $icon; ?>
@@ -37,13 +42,13 @@ $shape = wp_kses_post($instance['styling']['shapes']);
37
  <?php echo $content; ?>
38
  <div class="clearfix"></div>
39
  <?php if($btn_text): ?>
40
- <a class="btn_style clearfix" href="<?php echo $btn_url; ?>" role="button"><?php echo $btn_text; ?> ></a>
41
  <?php endif; ?>
42
  </div>
43
  </div>
44
 
45
  <?php } elseif ($icon_selection == 'left') { ?>
46
- <div class="service_left clearfix <?php echo $icon_selection ?>">
47
  <?php if($selection == 'icon'){ ?>
48
  <div class="icon" style="font-size: <?php echo $icon_size; ?>px">
49
  <?php echo $icon; ?>
@@ -58,7 +63,7 @@ $shape = wp_kses_post($instance['styling']['shapes']);
58
  <?php echo $content; ?>
59
  <div class="clearfix"></div>
60
  <?php if($btn_text): ?>
61
- <a class="alpha btn_style clearfix" href="<?php echo $btn_url; ?>" role="button"><?php echo $btn_text; ?> ></a>
62
  <?php endif; ?>
63
  </div>
64
  </div>
@@ -66,13 +71,13 @@ $shape = wp_kses_post($instance['styling']['shapes']);
66
  <?php } elseif ($icon_selection == 'right') {?>
67
 
68
 
69
- <div class="service_right clearfix <?php echo $icon_selection ?>">
70
  <div class="content">
71
  <h3><?php echo $title; ?></h3>
72
  <?php echo $content; ?>
73
  <div class="clearfix"></div>
74
  <?php if($btn_text): ?>
75
- <a class="alpha btn_style clearfix" href="<?php echo $btn_url; ?>" role="button"><?php echo $btn_text; ?> ></a>
76
  <?php endif; ?>
77
  </div>
78
 
8
  $icon_selection = wp_kses_post($instance['icon_selection']);
9
  $selection = wp_kses_post($instance['opt_selector']);
10
  $icon = siteorigin_widget_get_icon($instance['icon_section']['icon']);
11
+ $icon_image = wp_get_attachment_image_src($instance['icon_image_section']['icon_image'],'widgets_image_size');
12
  $title = wp_kses_post($instance['title']);
13
  $content = wp_kses_post($instance['content']);
14
  $shape = wp_kses_post($instance['styling']['shapes']);
15
+
16
+ $box_top_border = wp_kses_post($instance['styling']['box_top_border']);
17
+ $box_right_border = wp_kses_post($instance['styling']['box_right_border']);
18
+ $box_bottom_border = wp_kses_post($instance['styling']['box_bottom_border']);
19
+ $box_left_border = wp_kses_post($instance['styling']['box_left_border']);
20
  ?>
21
 
22
  <?php if ($widget_title) { ?>
27
 
28
 
29
  <?php if ($icon_selection == 'top') { ?>
30
+ <div class="service_top clearfix <?php echo $icon_selection; ?><?php if($box_top_border){ echo " top_b "; } if($box_right_border){ echo " right_b "; } if($box_bottom_border){ echo " bottom_b "; } if($box_left_border){ echo " left_b "; } ?>">
31
  <?php if($selection == 'icon'){ ?>
32
  <div class="icon <?php echo $shape ?>" style="font-size: <?php echo $icon_size; ?>px">
33
  <?php echo $icon; ?>
42
  <?php echo $content; ?>
43
  <div class="clearfix"></div>
44
  <?php if($btn_text): ?>
45
+ <a class="btn_style clearfix" href="<?php echo $btn_url; ?>" role="button" <?php if(wp_kses_post($instance['styling']['button_bg_color'])): ?> style="padding: 5px 20px;"<?php endif; ?>><?php echo $btn_text; ?></a>
46
  <?php endif; ?>
47
  </div>
48
  </div>
49
 
50
  <?php } elseif ($icon_selection == 'left') { ?>
51
+ <div class="service_left clearfix <?php echo $icon_selection ?><?php if($box_top_border){ echo " top_b "; } if($box_right_border){ echo " right_b "; } if($box_bottom_border){ echo " bottom_b "; } if($box_left_border){ echo " left_b "; } ?>">
52
  <?php if($selection == 'icon'){ ?>
53
  <div class="icon" style="font-size: <?php echo $icon_size; ?>px">
54
  <?php echo $icon; ?>
63
  <?php echo $content; ?>
64
  <div class="clearfix"></div>
65
  <?php if($btn_text): ?>
66
+ <a class="btn_style clearfix" href="<?php echo $btn_url; ?>" role="button" <?php if(wp_kses_post($instance['styling']['button_bg_color'])): ?> style="padding: 5px 20px;"<?php endif; ?>><?php echo $btn_text; ?></a>
67
  <?php endif; ?>
68
  </div>
69
  </div>
71
  <?php } elseif ($icon_selection == 'right') {?>
72
 
73
 
74
+ <div class="service_right clearfix <?php echo $icon_selection ?><?php if($box_top_border){ echo " top_b "; } if($box_right_border){ echo " right_b "; } if($box_bottom_border){ echo " bottom_b "; } if($box_left_border){ echo " left_b "; } ?>">
75
  <div class="content">
76
  <h3><?php echo $title; ?></h3>
77
  <?php echo $content; ?>
78
  <div class="clearfix"></div>
79
  <?php if($btn_text): ?>
80
+ <a class="btn_style clearfix" href="<?php echo $btn_url; ?>" role="button" <?php if(wp_kses_post($instance['styling']['button_bg_color'])): ?> style="padding: 5px 20px;"<?php endif; ?>><?php echo $btn_text; ?></a>
81
  <?php endif; ?>
82
  </div>
83
 
extra-widgets/spacer/assets/banner.svg CHANGED
File without changes
extra-widgets/spacer/spacer.php CHANGED
@@ -31,9 +31,9 @@ class Spacer extends SiteOrigin_Widget
31
  'spacer' => array(
32
  'type' => 'slider',
33
  'label' => __( 'Set Height', 'addon-so-widgets-bundle' ),
34
- 'default' => 3,
35
- 'min' => 20,
36
- 'max' => 500,
37
  'integer' => true
38
  ),
39
 
31
  'spacer' => array(
32
  'type' => 'slider',
33
  'label' => __( 'Set Height', 'addon-so-widgets-bundle' ),
34
+ 'default' => 0,
35
+ 'min' => 0,
36
+ 'max' => 1000,
37
  'integer' => true
38
  ),
39
 
extra-widgets/spacer/styles/spacer-style.less CHANGED
File without changes
extra-widgets/spacer/tpl/spacer-template.php CHANGED
File without changes
extra-widgets/tabs/assets/banner.svg CHANGED
File without changes
extra-widgets/tabs/styles/tabs-style.less CHANGED
@@ -1,11 +1,9 @@
1
  .soua-tab {
2
  position: relative;
3
  overflow: hidden;
4
- background: #eee;
5
  margin: 0 auto;
6
  line-height: 1.5;
7
  font-weight: 300;
8
- color: #888;
9
  -webkit-font-smoothing: antialiased;
10
  padding: 3px;
11
  }
@@ -20,7 +18,6 @@
20
 
21
  li {
22
  float: left;
23
- line-height: 38px;
24
  overflow: hidden;
25
  padding: 0 !important;
26
  position: relative;
@@ -29,30 +26,24 @@
29
  }
30
 
31
  a {
32
- color: #888;
33
  font-weight: 500;
34
  display: block;
35
  letter-spacing: 0;
36
  outline: none;
37
- padding: 0 20px;
38
  text-decoration: none;
39
  -webkit-transition: all 0.2s ease-in-out;
40
  -moz-transition: all 0.2s ease-in-out;
41
  transition: all 0.2s ease-in-out;
42
  }
43
  }
44
- .tab_content{background: #ffffff;}
45
  .tabs_item {
46
  display: none;
47
- padding: 15px;
48
 
49
  &:first-child {display: block;}
50
  }
51
 
52
- .current a {
53
- background: #ffffff;
54
- }
55
-
56
 
57
 
58
  //verticle tabs
@@ -60,7 +51,6 @@
60
  .vertical {
61
  position: relative;
62
  overflow: hidden;
63
- background: #eee;
64
  margin: 0 auto;
65
  line-height: 1.5;
66
  font-weight: 300;
@@ -81,7 +71,7 @@
81
 
82
  li {
83
  float: none;
84
- line-height: 38px;
85
  overflow: hidden;
86
  padding: 0 !important;
87
  position: relative;
@@ -95,7 +85,7 @@
95
  display: block;
96
  letter-spacing: 0;
97
  outline: none;
98
- padding: 0 20px;
99
  text-decoration: none;
100
  -webkit-transition: all 0.2s ease-in-out;
101
  -moz-transition: all 0.2s ease-in-out;
@@ -105,7 +95,7 @@
105
  .vertical .tab_content{display: table-cell; vertical-align: top; width: 75%; background: #ffffff;}
106
  .vertical .tabs_item {
107
  display: none;
108
- padding: 15px;
109
 
110
  h4 {
111
  font-weight: bold;
@@ -122,25 +112,52 @@
122
  &:first-child {display: block;}
123
  }
124
 
125
- .vertical .current a {
126
- background: #ffffff;
127
- }
128
-
129
 
130
 
131
 
132
- @bg_color: #eeeeee;
133
  @inactive_tab_color: #888888 ;
134
- @active_tab_color: #888888 ;
 
135
  @tab_content_color: #888888 ;
136
 
137
 
138
- .soua-tab {background-color: @bg_color ;}
139
  .soua-tab .soua-tabs a{color: @inactive_tab_color;}
140
- .soua-tab .current a{color: @active_tab_color;}
141
  .soua-tab .tab_content .tabs_item{color: @tab_content_color;}
142
 
143
- .vertical {background-color: @bg_color ;}
144
  .vertical .soua-tabs a{color: @inactive_tab_color;}
145
- .vertical .current a{color: @active_tab_color;}
146
- .vertical .tab_content .tabs_item{color: @tab_content_color;}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  .soua-tab {
2
  position: relative;
3
  overflow: hidden;
 
4
  margin: 0 auto;
5
  line-height: 1.5;
6
  font-weight: 300;
 
7
  -webkit-font-smoothing: antialiased;
8
  padding: 3px;
9
  }
18
 
19
  li {
20
  float: left;
 
21
  overflow: hidden;
22
  padding: 0 !important;
23
  position: relative;
26
  }
27
 
28
  a {
 
29
  font-weight: 500;
30
  display: block;
31
  letter-spacing: 0;
32
  outline: none;
33
+ padding: 10px 20px;
34
  text-decoration: none;
35
  -webkit-transition: all 0.2s ease-in-out;
36
  -moz-transition: all 0.2s ease-in-out;
37
  transition: all 0.2s ease-in-out;
38
  }
39
  }
 
40
  .tabs_item {
41
  display: none;
42
+ padding: 15px 0;
43
 
44
  &:first-child {display: block;}
45
  }
46
 
 
 
 
 
47
 
48
 
49
  //verticle tabs
51
  .vertical {
52
  position: relative;
53
  overflow: hidden;
 
54
  margin: 0 auto;
55
  line-height: 1.5;
56
  font-weight: 300;
71
 
72
  li {
73
  float: none;
74
+ text-align:center;
75
  overflow: hidden;
76
  padding: 0 !important;
77
  position: relative;
85
  display: block;
86
  letter-spacing: 0;
87
  outline: none;
88
+ padding: 10px;
89
  text-decoration: none;
90
  -webkit-transition: all 0.2s ease-in-out;
91
  -moz-transition: all 0.2s ease-in-out;
95
  .vertical .tab_content{display: table-cell; vertical-align: top; width: 75%; background: #ffffff;}
96
  .vertical .tabs_item {
97
  display: none;
98
+ padding: 0 15px;
99
 
100
  h4 {
101
  font-weight: bold;
112
  &:first-child {display: block;}
113
  }
114
 
 
 
 
 
115
 
116
 
117
 
 
118
  @inactive_tab_color: #888888 ;
119
+ @active_tab_color: #888888;
120
+ @active_tab_bg_color: transparent;
121
  @tab_content_color: #888888 ;
122
 
123
 
124
+ .soua-tab {}
125
  .soua-tab .soua-tabs a{color: @inactive_tab_color;}
126
+ .soua-tab .current a{color: @active_tab_color; background-color:@active_tab_bg_color;}
127
  .soua-tab .tab_content .tabs_item{color: @tab_content_color;}
128
 
129
+ .vertical {}
130
  .vertical .soua-tabs a{color: @inactive_tab_color;}
131
+ .vertical .current a{color: @active_tab_color; background-color:@active_tab_bg_color;}
132
+ .vertical .tab_content .tabs_item{color: @tab_content_color;}
133
+
134
+
135
+ .soua-tab .soua-tabs a .tab-icon-top{color: @inactive_tab_color; text-align:center;}
136
+ .soua-tab .soua-tabs a .tab-icon-left{color: @inactive_tab_color; display:inline-block; margin-right:5px;}
137
+ .soua-tab .soua-tabs a .tab-icon-right{color: @inactive_tab_color; display:inline-block; margin-left:5px;}
138
+
139
+ .vertical .soua-tab .soua-tabs a .tab-icon-top{color: @inactive_tab_color; text-align:center;}
140
+ .vertical .soua-tab .soua-tabs a .tab-icon-left{color: @inactive_tab_color; display:inline-block; margin-right:5px;}
141
+ .vertical .soua-tab .soua-tabs a .tab-icon-right{color: @inactive_tab_color; display:inline-block; margin-left:5px;}
142
+
143
+
144
+ @tab_border_top:solid;
145
+ @tab_border_right:solid;
146
+ @tab_border_bottom:solid;
147
+ @tab_border_left:solid;
148
+ @tab_border_width:2px;
149
+ @tab_border_color:black;
150
+
151
+ .soua-tab .current a .tab-icon-top{color: @active_tab_color;}
152
+ .soua-tab .current a .tab-icon-left{color: @active_tab_color;}
153
+ .soua-tab .current a .tab-icon-right{color: @active_tab_color;}
154
+
155
+
156
+ .soua-tab .current a {
157
+ border-color:@tab_border_color;
158
+ border-top-style:@tab_border_top;
159
+ border-right-style:@tab_border_right;
160
+ border-bottom-style:@tab_border_bottom;
161
+ border-left-style:@tab_border_left;
162
+ border-width:@tab_border_width;
163
+ }
extra-widgets/tabs/tabs.php CHANGED
@@ -40,15 +40,17 @@ class Tabs extends SiteOrigin_Widget {
40
  ),
41
  'fields' => array(
42
 
 
 
 
 
 
43
  'tab_title' => array(
44
  'type' => 'text',
45
  'label' => __('Tab Title', 'addon-so-widgets-bundle'),
46
  'default' => ''
47
  ),
48
 
49
-
50
-
51
-
52
  'tab_content' => array(
53
  'type' => 'tinymce',
54
  'label' => __( 'Tab Content', 'addon-so-widgets-bundle' ),
@@ -86,10 +88,15 @@ class Tabs extends SiteOrigin_Widget {
86
  'hide' => true,
87
  'fields' => array(
88
 
89
- 'bg_color' => array(
90
- 'type' => 'color',
91
- 'label' => __( 'Background Color', 'addon-so-widgets-bundle' ),
92
- 'default' => ''
 
 
 
 
 
93
  ),
94
 
95
  'inactive_tab_color' => array(
@@ -104,6 +111,48 @@ class Tabs extends SiteOrigin_Widget {
104
  'default' => ''
105
  ),
106
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
107
  'tab_content_color' => array(
108
  'type' => 'color',
109
  'label' => __( 'Tab Content Color', 'addon-so-widgets-bundle' ),
@@ -112,6 +161,8 @@ class Tabs extends SiteOrigin_Widget {
112
 
113
 
114
 
 
 
115
  )
116
  ),
117
 
@@ -131,8 +182,16 @@ class Tabs extends SiteOrigin_Widget {
131
 
132
  function get_less_variables( $instance ) {
133
  return array(
134
- 'bg_color' => $instance['tabs_styling']['bg_color'],
 
 
 
 
 
 
 
135
  'inactive_tab_color' => $instance['tabs_styling']['inactive_tab_color'],
 
136
  'active_tab_color' => $instance['tabs_styling']['active_tab_color'],
137
  'tab_content_color' => $instance['tabs_styling']['tab_content_color'],
138
  );
40
  ),
41
  'fields' => array(
42
 
43
+ 'tab_icon' => array(
44
+ 'type' => 'icon',
45
+ 'label' => __('Select an Teb icon', 'addon-so-widgets-bundle'),
46
+ ),
47
+
48
  'tab_title' => array(
49
  'type' => 'text',
50
  'label' => __('Tab Title', 'addon-so-widgets-bundle'),
51
  'default' => ''
52
  ),
53
 
 
 
 
54
  'tab_content' => array(
55
  'type' => 'tinymce',
56
  'label' => __( 'Tab Content', 'addon-so-widgets-bundle' ),
88
  'hide' => true,
89
  'fields' => array(
90
 
91
+ 'tab_icon_position' => array(
92
+ 'type' => 'select',
93
+ 'label' => __( 'Choose a icon position', 'addon-so-widgets-bundle' ),
94
+ 'default' => 'left',
95
+ 'options' => array(
96
+ 'left' => __( 'Left', 'addon-so-widgets-bundle' ),
97
+ 'right' => __( 'Right', 'addon-so-widgets-bundle' ),
98
+ 'top' => __( 'Top', 'addon-so-widgets-bundle' ),
99
+ )
100
  ),
101
 
102
  'inactive_tab_color' => array(
111
  'default' => ''
112
  ),
113
 
114
+ 'active_tab_bg_color' => array(
115
+ 'type' => 'color',
116
+ 'label' => __( 'Active Tab Bg Color', 'addon-so-widgets-bundle' ),
117
+ 'default' => ''
118
+ ),
119
+
120
+ 'active_tab_top_border' => array(
121
+ 'type' => 'checkbox',
122
+ 'label' => __( 'Disable Top Border', 'addon-so-widgets-bundle' ),
123
+ 'default' => true
124
+ ),
125
+
126
+ 'active_tab_right_border' => array(
127
+ 'type' => 'checkbox',
128
+ 'label' => __( 'Disable Right Border', 'addon-so-widgets-bundle' ),
129
+ 'default' => true
130
+ ),
131
+
132
+ 'active_tab_bottom_border' => array(
133
+ 'type' => 'checkbox',
134
+ 'label' => __( 'Disable Bottm Border', 'addon-so-widgets-bundle' ),
135
+ 'default' => true
136
+ ),
137
+
138
+ 'active_tab_left_border' => array(
139
+ 'type' => 'checkbox',
140
+ 'label' => __( 'Disable Left Border', 'addon-so-widgets-bundle' ),
141
+ 'default' => true
142
+ ),
143
+
144
+ 'tab_border_width' => array(
145
+ 'type' => 'text',
146
+ 'label' => __( 'Border Width (without px)', 'widget-form-fields-text-domain' ),
147
+ 'default' => ''
148
+ ),
149
+
150
+ 'tab_border_color' => array(
151
+ 'type' => 'color',
152
+ 'label' => __( 'Tab Border Color', 'addon-so-widgets-bundle' ),
153
+ 'default' => ''
154
+ ),
155
+
156
  'tab_content_color' => array(
157
  'type' => 'color',
158
  'label' => __( 'Tab Content Color', 'addon-so-widgets-bundle' ),
161
 
162
 
163
 
164
+
165
+
166
  )
167
  ),
168
 
182
 
183
  function get_less_variables( $instance ) {
184
  return array(
185
+ 'tab_border_top' => $instance['tabs_styling']['active_tab_top_border'],
186
+ 'tab_border_right' => $instance['tabs_styling']['active_tab_right_border'],
187
+ 'tab_border_bottom' => $instance['tabs_styling']['active_tab_bottom_border'],
188
+ 'tab_border_left' => $instance['tabs_styling']['active_tab_left_border'],
189
+ 'tab_border_width' => $instance['tabs_styling']['tab_border_width']. "px",
190
+ 'tab_border_color' => $instance['tabs_styling']['tab_border_color'],
191
+
192
+
193
  'inactive_tab_color' => $instance['tabs_styling']['inactive_tab_color'],
194
+ 'active_tab_bg_color' => $instance['tabs_styling']['active_tab_bg_color'],
195
  'active_tab_color' => $instance['tabs_styling']['active_tab_color'],
196
  'tab_content_color' => $instance['tabs_styling']['tab_content_color'],
197
  );
extra-widgets/tabs/tpl/tabs-template.php CHANGED
@@ -1,6 +1,7 @@
1
  <?php
2
  $widget_title = wp_kses_post($instance['widget_title']);
3
  $tabs_selection = wp_kses_post($instance['tabs_selection']);
 
4
  ?>
5
 
6
 
@@ -17,7 +18,35 @@ $tabs_selection = wp_kses_post($instance['tabs_selection']);
17
 
18
  <ul class="soua-tabs">
19
  <?php foreach( $instance['repeater'] as $i => $repeater ) : ?>
20
- <li><a href="#"> <?php echo $repeater['tab_title']; ?></a></li>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  <?php endforeach; ?>
22
  </ul> <!-- / tabs -->
23
 
@@ -38,7 +67,35 @@ $tabs_selection = wp_kses_post($instance['tabs_selection']);
38
 
39
  <ul class="soua-tabs ">
40
  <?php foreach( $instance['repeater'] as $i => $repeater ) : ?>
41
- <li><a href="#"> <?php echo $repeater['tab_title']; ?></a></li>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
  <?php endforeach; ?>
43
  </ul> <!-- / tabs -->
44
 
1
  <?php
2
  $widget_title = wp_kses_post($instance['widget_title']);
3
  $tabs_selection = wp_kses_post($instance['tabs_selection']);
4
+ $tab_icon_position = wp_kses_post($instance['tabs_styling']['tab_icon_position']);
5
  ?>
6
 
7
 
18
 
19
  <ul class="soua-tabs">
20
  <?php foreach( $instance['repeater'] as $i => $repeater ) : ?>
21
+ <li><a href="#">
22
+
23
+ <?php if($tab_icon_position == 'top'):?>
24
+ <?php if(siteorigin_widget_get_icon( $repeater['tab_icon'])): ?>
25
+ <div class="tab-icon-top">
26
+ <?php echo siteorigin_widget_get_icon( $repeater['tab_icon'] ); ?>
27
+ </div>
28
+ <?php endif; ?>
29
+ <?php endif; ?>
30
+
31
+ <?php if($tab_icon_position == 'left'):?>
32
+ <?php if(siteorigin_widget_get_icon( $repeater['tab_icon'])): ?>
33
+ <div class="tab-icon-left">
34
+ <?php echo siteorigin_widget_get_icon( $repeater['tab_icon'] ); ?>
35
+ </div>
36
+ <?php endif; ?>
37
+ <?php endif; ?>
38
+
39
+ <?php echo $repeater['tab_title']; ?>
40
+
41
+ <?php if($tab_icon_position == 'right'):?>
42
+ <?php if(siteorigin_widget_get_icon( $repeater['tab_icon'])): ?>
43
+ <div class="tab-icon-right">
44
+ <?php echo siteorigin_widget_get_icon( $repeater['tab_icon'] ); ?>
45
+ </div>
46
+ <?php endif; ?>
47
+ <?php endif; ?>
48
+
49
+ </a></li>
50
  <?php endforeach; ?>
51
  </ul> <!-- / tabs -->
52
 
67
 
68
  <ul class="soua-tabs ">
69
  <?php foreach( $instance['repeater'] as $i => $repeater ) : ?>
70
+ <li><a href="#">
71
+
72
+ <?php if($tab_icon_position == 'top'):?>
73
+ <?php if(siteorigin_widget_get_icon( $repeater['tab_icon'])): ?>
74
+ <div class="tab-icon-top">
75
+ <?php echo siteorigin_widget_get_icon( $repeater['tab_icon'] ); ?>
76
+ </div>
77
+ <?php endif; ?>
78
+ <?php endif; ?>
79
+
80
+ <?php if($tab_icon_position == 'left'):?>
81
+ <?php if(siteorigin_widget_get_icon( $repeater['tab_icon'])): ?>
82
+ <div class="tab-icon-left">
83
+ <?php echo siteorigin_widget_get_icon( $repeater['tab_icon'] ); ?>
84
+ </div>
85
+ <?php endif; ?>
86
+ <?php endif; ?>
87
+
88
+ <?php echo $repeater['tab_title']; ?>
89
+
90
+ <?php if($tab_icon_position == 'right'):?>
91
+ <?php if(siteorigin_widget_get_icon( $repeater['tab_icon'])): ?>
92
+ <div class="tab-icon-right">
93
+ <?php echo siteorigin_widget_get_icon( $repeater['tab_icon'] ); ?>
94
+ </div>
95
+ <?php endif; ?>
96
+ <?php endif; ?>
97
+
98
+ </a></li>
99
  <?php endforeach; ?>
100
  </ul> <!-- / tabs -->
101
 
extra-widgets/team/team.php CHANGED
@@ -127,27 +127,6 @@ class Team extends SiteOrigin_Widget
127
  )
128
  ),
129
 
130
-
131
-
132
-
133
-
134
-
135
-
136
-
137
-
138
-
139
-
140
-
141
-
142
-
143
-
144
-
145
-
146
-
147
-
148
-
149
-
150
-
151
  ),
152
 
153
 
@@ -168,7 +147,7 @@ class Team extends SiteOrigin_Widget
168
  function get_less_variables( $instance ) {
169
  return array(
170
  'title_color' => $instance['team_styling']['title_color'],
171
- 'company_name_color' => $instance['team_styling']['title_color'],
172
  'content_color' => $instance['team_styling']['content_color'],
173
  'social_icon_color' => $instance['team_styling']['social_icon_color'],
174
  'social_icon_size' => $instance['team_styling']['social_icon_size'].'px',
127
  )
128
  ),
129
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
130
  ),
131
 
132
 
147
  function get_less_variables( $instance ) {
148
  return array(
149
  'title_color' => $instance['team_styling']['title_color'],
150
+ 'company_name_color' => $instance['team_styling']['company_name_color'],
151
  'content_color' => $instance['team_styling']['content_color'],
152
  'social_icon_color' => $instance['team_styling']['social_icon_color'],
153
  'social_icon_size' => $instance['team_styling']['social_icon_size'].'px',
extra-widgets/team/tpl/team-template.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  $widget_title = wp_kses_post($instance['widget_title']);
3
- $team_image = wp_get_attachment_image_src($instance['team_image']);
4
  $team_title = wp_kses_post($instance['team_title']);
5
  $company_title = wp_kses_post($instance['company_title']);
6
  $detail_box = wp_kses_post($instance['detail_box']);
@@ -20,7 +20,7 @@ $social_icon_size = wp_kses_post($instance['team_styling']['social_icon_size']);
20
 
21
  <?php if ($team_image) { ?>
22
  <div class="member_image">
23
- <img src=" <?php echo $team_image[0]; ?>" alt="" style="width: <?php echo $team_img_width ?>px;"/>
24
  </div>
25
  <?php } ?>
26
 
1
  <?php
2
  $widget_title = wp_kses_post($instance['widget_title']);
3
+ $team_image = wp_get_attachment_image_src($instance['team_image'],'widgets_image_size');
4
  $team_title = wp_kses_post($instance['team_title']);
5
  $company_title = wp_kses_post($instance['company_title']);
6
  $detail_box = wp_kses_post($instance['detail_box']);
20
 
21
  <?php if ($team_image) { ?>
22
  <div class="member_image">
23
+ <img src=" <?php echo $team_image[0]; ?>" alt="" />
24
  </div>
25
  <?php } ?>
26
 
extra-widgets/testimonials/assets/banner.svg CHANGED
File without changes
extra-widgets/testimonials/styles/testimonials-style.less CHANGED
@@ -1,6 +1,4 @@
1
  /*testimonial Rotator*/
2
- .margin_zero .column{margin: 0 !important;}
3
- .margin_zero .columns{margin: 0 !important;}
4
  .testimonials_grid{margin: 10px;}
5
  .testimonials_grid .testimonial_content{position: relative; background: #f6f6f6; padding: 15px 20px 20px 20px; margin-bottom: 25px; border-radius: 3px;}
6
  .testimonials_grid .testimonial_content p{font-style: italic; }
@@ -17,4 +15,5 @@
17
  @content_color: #888 ;
18
 
19
  .testimonial_content {background-color: @bg_color ;}
20
- .testimonial_content p{color: @content_color;}
 
1
  /*testimonial Rotator*/
 
 
2
  .testimonials_grid{margin: 10px;}
3
  .testimonials_grid .testimonial_content{position: relative; background: #f6f6f6; padding: 15px 20px 20px 20px; margin-bottom: 25px; border-radius: 3px;}
4
  .testimonials_grid .testimonial_content p{font-style: italic; }
15
  @content_color: #888 ;
16
 
17
  .testimonial_content {background-color: @bg_color ;}
18
+ .testimonial_content p{color: @content_color;}
19
+ .testimonials_grid .testimonial_content:after {border-top-color: @bg_color;}
extra-widgets/testimonials/testimonials.php CHANGED
@@ -50,12 +50,12 @@ class Testimonials extends SiteOrigin_Widget {
50
  'grid_selection' => array(
51
  'type' => 'radio',
52
  'label' => __( 'Choose a Gird Layout ( Only for Testimonial Grid )', 'addon-so-widgets-bundle' ),
53
- 'default' => 'col-md-12',
54
  'options' => array(
55
- 'six columns' => __( 'Two Columns', 'addon-so-widgets-bundle' ),
56
- 'four columns' => __( 'Three Columns', 'addon-so-widgets-bundle' ),
57
- 'three columns' => __( 'Four Columns', 'addon-so-widgets-bundle' ),
58
- 'twelve columns' => __( 'Full Width', 'addon-so-widgets-bundle' ),
59
  )
60
  ),
61
 
50
  'grid_selection' => array(
51
  'type' => 'radio',
52
  'label' => __( 'Choose a Gird Layout ( Only for Testimonial Grid )', 'addon-so-widgets-bundle' ),
53
+ 'default' => 'six columns',
54
  'options' => array(
55
+ 'six columns' => __( 'Two Columns', 'addon-so-widgets-bundle' ),
56
+ 'four columns' => __( 'Three Columns', 'addon-so-widgets-bundle' ),
57
+ 'three columns' => __( 'Four Columns', 'addon-so-widgets-bundle' ),
58
+ 'twelve columns' => __( 'Full Width', 'addon-so-widgets-bundle' ),
59
  )
60
  ),
61
 
extra-widgets/testimonials/tpl/testimonials-template.php CHANGED
File without changes
extra-widgets/toggles/assets/banner.svg CHANGED
File without changes
extra-widgets/toggles/styles/toggles-style.less CHANGED
@@ -1,69 +1,70 @@
1
-
2
-
3
  .soua-main {
4
  margin: 0; padding: 0; list-style: none;
5
  }
6
  .soua-main .soua-accordion {
7
  position: relative;
8
  padding: 0 !important;
9
- margin: 0 !important;
10
  }
11
  .soua-main .soua-accordion .soua-accordion-content {
12
  display: none;
 
13
  }
14
  .soua-main .soua-accordion-title {
15
  width: 100%;
16
  display: block;
17
  cursor: pointer;
18
  line-height: 3;
19
- text-indent: 15px;
20
  user-select: none;
21
  text-decoration: none;
22
- padding: 0 20px;
23
- }
24
- .soua-main .soua-accordion-title:after {
25
- width: 8px;
26
- height: 8px;
27
- border-right: 1px solid #4a6e78;
28
- border-bottom: 1px solid #4a6e78;
29
- position: absolute;
30
- left: 10px;
31
- content: " ";
32
- top: 17px;
33
- transform: rotate(-45deg);
34
- -webkit-transition: all 0.2s ease-in-out;
35
- -moz-transition: all 0.2s ease-in-out;
36
- transition: all 0.2s ease-in-out;
37
- }
38
- .soua-main .soua-accordion .soua-accordion-content {
39
- padding: 10px;
40
  }
41
 
42
- .soua-accordion-title.active:after {
43
- transform: rotate(45deg);
44
- -webkit-transition: all 0.2s ease-in-out;
45
- -moz-transition: all 0.2s ease-in-out;
46
- transition: all 0.2s ease-in-out;
47
- }
48
 
49
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
 
51
 
52
 
53
- @title_color: #000000;
54
- @title_hover_color: #000000 ;
55
- @content_color: #000000 ;
56
 
57
  .soua-main .soua-accordion .soua-accordion-title{
58
  color: @title_color;
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  }
60
 
61
- .soua-main .soua-accordion .soua-accordion-title:hover {
62
- color: @title_hover_color;
63
  }
64
 
 
65
  .soua-main .soua-accordion .soua-accordion-content{
66
  color: @content_color;
 
67
  }
68
 
69
 
 
 
1
  .soua-main {
2
  margin: 0; padding: 0; list-style: none;
3
  }
4
  .soua-main .soua-accordion {
5
  position: relative;
6
  padding: 0 !important;
7
+ margin: 5px 0 !important;
8
  }
9
  .soua-main .soua-accordion .soua-accordion-content {
10
  display: none;
11
+ padding: 15px 0;
12
  }
13
  .soua-main .soua-accordion-title {
14
  width: 100%;
15
  display: block;
16
  cursor: pointer;
17
  line-height: 3;
 
18
  user-select: none;
19
  text-decoration: none;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  }
21
 
22
+ .soua-accordion-icon-left{margin-right:10px; display:inline-block;}
23
+ .soua-accordion-icon-right{margin-left:10px; display:inline-block;}
 
 
 
 
24
 
25
 
26
+ @bg: transparent;
27
+ @bg_hover: transparent;
28
+ @title_bar_alignment:left;
29
+ @icon_color: #000000;
30
+ @title_color: #000000;
31
+ @content_bg_color: transparent;
32
+ @content_color: #000000 ;
33
+
34
+ @toggle_border:none;
35
+ @toggle_border_width:0;
36
+ @toggle_border_color:transparent;
37
+
38
+ @toggle_padding: 0px;
39
 
40
 
41
 
 
 
 
42
 
43
  .soua-main .soua-accordion .soua-accordion-title{
44
  color: @title_color;
45
+ background-color: @bg;
46
+ text-align: @title_bar_alignment;
47
+ }
48
+
49
+ .top_b, .right_b, .bottom_b, .left_b, .bg{padding: @toggle_padding;}
50
+ .top_b{border-top: @toggle_border; border-width: @toggle_border_width; border-color: @toggle_border_color;}
51
+ .right_b{border-right: @toggle_border; border-width: @toggle_border_width; border-color: @toggle_border_color;}
52
+ .bottom_b{border-bottom: @toggle_border; border-width: @toggle_border_width; border-color: @toggle_border_color;}
53
+ .left_b{border-left: @toggle_border; border-width: @toggle_border_width; border-color: @toggle_border_color;}
54
+
55
+
56
+ .soua-main .soua-accordion .soua-accordion-title:hover{
57
+ background-color: @bg_hover;
58
  }
59
 
60
+ .soua-main .soua-accordion .soua-accordion-icon-left, .soua-main .soua-accordion .soua-accordion-icon-right{
61
+ color: @icon_color;
62
  }
63
 
64
+
65
  .soua-main .soua-accordion .soua-accordion-content{
66
  color: @content_color;
67
+ background-color: @content_bg_color;
68
  }
69
 
70
 
extra-widgets/toggles/toggles.php CHANGED
@@ -40,6 +40,21 @@ class Toggles extends SiteOrigin_Widget {
40
  ),
41
  'fields' => array(
42
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  'toggle_title' => array(
44
  'type' => 'text',
45
  'label' => __('Toggle Title', 'addon-so-widgets-bundle'),
@@ -72,15 +87,50 @@ class Toggles extends SiteOrigin_Widget {
72
  'hide' => true,
73
  'fields' => array(
74
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
75
  'title_color' => array(
76
  'type' => 'color',
77
  'label' => __( 'Title color', 'addon-so-widgets-bundle' ),
78
  'default' => ''
79
  ),
80
 
81
- 'title_hover_color' => array(
 
 
 
 
 
 
 
 
 
 
 
82
  'type' => 'color',
83
- 'label' => __( 'Title Hover color', 'addon-so-widgets-bundle' ),
84
  'default' => ''
85
  ),
86
 
@@ -90,6 +140,56 @@ class Toggles extends SiteOrigin_Widget {
90
  'default' => ''
91
  ),
92
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
 
94
 
95
  )
@@ -111,9 +211,17 @@ class Toggles extends SiteOrigin_Widget {
111
 
112
  function get_less_variables( $instance ) {
113
  return array(
 
 
 
 
114
  'title_color' => $instance['toggle_styling']['title_color'],
115
- 'title_hover_color' => $instance['toggle_styling']['title_hover_color'],
116
  'content_color' => $instance['toggle_styling']['content_color'],
 
 
 
 
117
  );
118
  }
119
 
40
  ),
41
  'fields' => array(
42
 
43
+ 'toggle_icon' => array(
44
+ 'type' => 'icon',
45
+ 'label' => __('Select an icon', 'widget-form-fields-text-domain'),
46
+ ),
47
+
48
+
49
+ 'icon_position' => array(
50
+ 'type' => 'select',
51
+ 'prompt' => __( 'Choose an Icon position', 'widget-form-fields-text-domain' ),
52
+ 'options' => array(
53
+ 'left' => __( 'Left Side', 'widget-form-fields-text-domain' ),
54
+ 'right' => __( 'Right Side', 'widget-form-fields-text-domain' ),
55
+ )
56
+ ),
57
+
58
  'toggle_title' => array(
59
  'type' => 'text',
60
  'label' => __('Toggle Title', 'addon-so-widgets-bundle'),
87
  'hide' => true,
88
  'fields' => array(
89
 
90
+ 'toggle_padding' => array(
91
+ 'type' => 'text',
92
+ 'label' => __('Title Padding (shorthand Format)', 'widget-form-fields-text-domain'),
93
+ 'default' => '0px 0px 0px 0px'
94
+ ),
95
+
96
+ 'bg' => array(
97
+ 'type' => 'color',
98
+ 'label' => __( 'backgorund color', 'addon-so-widgets-bundle' ),
99
+ 'default' => ''
100
+ ),
101
+
102
+ 'bg_hover' => array(
103
+ 'type' => 'color',
104
+ 'label' => __( 'backgorund Hover color', 'addon-so-widgets-bundle' ),
105
+ 'default' => ''
106
+ ),
107
+
108
+ 'icon_color' => array(
109
+ 'type' => 'color',
110
+ 'label' => __( 'icon color', 'addon-so-widgets-bundle' ),
111
+ 'default' => ''
112
+ ),
113
+
114
  'title_color' => array(
115
  'type' => 'color',
116
  'label' => __( 'Title color', 'addon-so-widgets-bundle' ),
117
  'default' => ''
118
  ),
119
 
120
+ 'title_bar_alignment' => array(
121
+ 'type' => 'select',
122
+ 'label' => __( 'Title Bar Alignment', 'addon-so-widgets-bundle' ),
123
+ 'default' => 'left',
124
+ 'options' => array(
125
+ 'left' => __( 'Left Align', 'addon-so-widgets-bundle' ),
126
+ 'center' => __( 'Center Align', 'addon-so-widgets-bundle' ),
127
+ 'right' => __( 'Right Align', 'addon-so-widgets-bundle' ),
128
+ )
129
+ ),
130
+
131
+ 'content_bg_color' => array(
132
  'type' => 'color',
133
+ 'label' => __( 'Content backgorund color', 'addon-so-widgets-bundle' ),
134
  'default' => ''
135
  ),
136
 
140
  'default' => ''
141
  ),
142
 
143
+ 'toggle_border' => array(
144
+ 'type' => 'select',
145
+ 'label' => __( 'Border style', 'addon-so-widgets-bundle' ),
146
+ 'default' => '',
147
+ 'options' => array(
148
+ 'none' => __( 'No Border', 'addon-so-widgets-bundle' ),
149
+ 'solid' => __( 'Solid', 'addon-so-widgets-bundle' ),
150
+ 'dashed' => __( 'Dashed', 'addon-so-widgets-bundle' ),
151
+ 'dotted' => __( 'Dotted', 'addon-so-widgets-bundle' ),
152
+ )
153
+ ),
154
+
155
+ 'toggle_border_width' => array(
156
+ 'type' => 'number',
157
+ 'label' => __( 'Border Width (without px)', 'addon-so-widgets-bundle' ),
158
+ 'default' => ''
159
+ ),
160
+
161
+ 'toggle_border_color' => array(
162
+ 'type' => 'color',
163
+ 'label' => __( 'Border color', 'addon-so-widgets-bundle' ),
164
+ 'default' => ''
165
+ ),
166
+
167
+ 'toggle_top_border' => array(
168
+ 'type' => 'checkbox',
169
+ 'label' => __( 'Box Top Border', 'widget-form-fields-text-domain' ),
170
+ 'default' => false
171
+ ),
172
+
173
+ 'toggle_right_border' => array(
174
+ 'type' => 'checkbox',
175
+ 'label' => __( 'Box Right Border', 'widget-form-fields-text-domain' ),
176
+ 'default' => false
177
+ ),
178
+
179
+ 'toggle_bottom_border' => array(
180
+ 'type' => 'checkbox',
181
+ 'label' => __( 'Box Bottom Border', 'widget-form-fields-text-domain' ),
182
+ 'default' => false
183
+ ),
184
+
185
+ 'toggle_left_border' => array(
186
+ 'type' => 'checkbox',
187
+ 'label' => __( 'Box Left Border', 'widget-form-fields-text-domain' ),
188
+ 'default' => false
189
+ ),
190
+
191
+
192
+
193
 
194
 
195
  )
211
 
212
  function get_less_variables( $instance ) {
213
  return array(
214
+ 'title_bar_alignment' => $instance['toggle_styling']['title_bar_alignment'],
215
+ 'bg' => $instance['toggle_styling']['bg'],
216
+ 'bg_hover' => $instance['toggle_styling']['bg_hover'],
217
+ 'icon_color' => $instance['toggle_styling']['icon_color'],
218
  'title_color' => $instance['toggle_styling']['title_color'],
219
+ 'content_bg_color' => $instance['toggle_styling']['content_bg_color'],
220
  'content_color' => $instance['toggle_styling']['content_color'],
221
+ 'toggle_border' => $instance['toggle_styling']['toggle_border'],
222
+ 'toggle_border_width' => $instance['toggle_styling']['toggle_border_width'].'px',
223
+ 'toggle_border_color' => $instance['toggle_styling']['toggle_border_color'],
224
+ 'toggle_padding' => $instance['toggle_styling']['toggle_padding'],
225
  );
226
  }
227
 
extra-widgets/toggles/tpl/toggles-template.php CHANGED
@@ -1,5 +1,12 @@
1
  <?php
2
  $widget_title = wp_kses_post($instance['widget_title']);
 
 
 
 
 
 
 
3
  ?>
4
 
5
 
@@ -13,9 +20,31 @@ $widget_title = wp_kses_post($instance['widget_title']);
13
  <div class="soua-main">
14
  <?php foreach( $instance['toggle_repeater'] as $i => $toggle_repeater ) : ?>
15
  <div class="soua-accordion">
16
- <a class="soua-accordion-title"><?php echo $toggle_repeater['toggle_title'] ?></a>
17
- <div class="soua-accordion-content"> <?php echo $toggle_repeater['toggle_content'] ?></div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  </div>
19
  <?php endforeach; ?>
20
- </div> <!-- / accordion -->
21
 
1
  <?php
2
  $widget_title = wp_kses_post($instance['widget_title']);
3
+
4
+ $toggle_border = wp_kses_post($instance['toggle_styling']['toggle_border']);
5
+ $toggle_top_border = wp_kses_post($instance['toggle_styling']['toggle_top_border']);
6
+ $toggle_right_border = wp_kses_post($instance['toggle_styling']['toggle_right_border']);
7
+ $toggle_bottom_border = wp_kses_post($instance['toggle_styling']['toggle_bottom_border']);
8
+ $toggle_left_border = wp_kses_post($instance['toggle_styling']['toggle_left_border']);
9
+ $title_bg = wp_kses_post($instance['toggle_styling']['bg']);
10
  ?>
11
 
12
 
20
  <div class="soua-main">
21
  <?php foreach( $instance['toggle_repeater'] as $i => $toggle_repeater ) : ?>
22
  <div class="soua-accordion">
23
+ <a class="soua-accordion-title <?php echo $icon_selection; ?>">
24
+ <div class="<?php if($toggle_top_border){ echo " top_b "; } if($toggle_right_border){ echo " right_b "; } if($toggle_bottom_border){ echo " bottom_b "; } if($toggle_left_border){ echo " left_b "; } if($title_bg){ echo " bg "; } ?>">
25
+
26
+ <?php if($toggle_repeater['icon_position'] == 'left'):?>
27
+ <?php if(siteorigin_widget_get_icon( $toggle_repeater['toggle_icon'])): ?>
28
+ <div class="soua-accordion-icon-left">
29
+ <?php echo siteorigin_widget_get_icon( $toggle_repeater['toggle_icon'] ); ?>
30
+ </div>
31
+ <?php endif; ?>
32
+ <?php endif; ?>
33
+
34
+ <?php echo $toggle_repeater['toggle_title'] ?>
35
+
36
+ <?php if($toggle_repeater['icon_position'] == 'right'):?>
37
+ <?php if(siteorigin_widget_get_icon( $toggle_repeater['toggle_icon'])): ?>
38
+ <div class="soua-accordion-icon-right">
39
+ <?php echo siteorigin_widget_get_icon( $toggle_repeater['toggle_icon'] ); ?>
40
+ </div>
41
+ <?php endif; ?>
42
+ <?php endif; ?>
43
+
44
+ </div>
45
+ </a>
46
+ <div class="soua-accordion-content" <?php if(wp_kses_post($instance['toggle_styling']['content_bg_color'])): ?> style="padding: 15px";<?php endif; ?> > <?php echo $toggle_repeater['toggle_content'] ?></div>
47
  </div>
48
  <?php endforeach; ?>
49
+ </div><!-- / accordion -->
50
 
js/npm.js CHANGED
File without changes
js/owl.carousel.min.js CHANGED
File without changes
readme.txt CHANGED
@@ -1,8 +1,8 @@
1
  === Ultimate Addons for SiteOrigin ===
2
  Tags: Siteorigin page builder, responsive, widget, widgets, post grid, post list, testimonial widget, testimonial rotator, testimonial post type, faqs, faq post type, tab, toggle, divider, spacer, service box, feature box, post loop, team
3
  Requires at least: 3.9
4
- Tested up to: 4.3.1
5
- Stable tag: 2.3.0
6
  License: GPLv2 or later
7
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
  Donate link: http://ingenious-web.com/contact
@@ -16,7 +16,9 @@ An ultimate collection of addons for SiteOrigin. SiteOrigin Widgets Bundle is re
16
 
17
  **Important: You must activate widgets you need to use from Plugins > SiteOrigin Widgets so that they can be available to use.**
18
 
19
- This is an Addon plugin for SiteOrigin Widgets Bundle plugin which will add some (and growing) amazing widgets for you to build up your content pages easily using SiteOrigin page builder. For more info visit [Ultimate Addons' Page.](http://ingenious-web.com/ultimate-addons-for-siteorigin/)
 
 
20
 
21
  The collection is growing, but here's what we have so far.
22
 
@@ -54,6 +56,43 @@ We will add FAQs very soon.
54
 
55
  == Changelog ==
56
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  = 2.3.0 =
58
  * Fixed bugs as reported by different users.
59
  * New option - Icon right in Service Box
1
  === Ultimate Addons for SiteOrigin ===
2
  Tags: Siteorigin page builder, responsive, widget, widgets, post grid, post list, testimonial widget, testimonial rotator, testimonial post type, faqs, faq post type, tab, toggle, divider, spacer, service box, feature box, post loop, team
3
  Requires at least: 3.9
4
+ Tested up to: 4.5.3
5
+ Stable tag: 2.4.0
6
  License: GPLv2 or later
7
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
  Donate link: http://ingenious-web.com/contact
16
 
17
  **Important: You must activate widgets you need to use from Plugins > SiteOrigin Widgets so that they can be available to use.**
18
 
19
+ This is an Addon plugin for SiteOrigin Widgets Bundle plugin which will add some (and growing) amazing widgets for you to build up your content pages easily using SiteOrigin page builder.
20
+
21
+ For more info and Demos please visit [Ultimate Addons' Page.](http://proto.ingenious-web.com/siteoriginaddon/)
22
 
23
  The collection is growing, but here's what we have so far.
24
 
56
 
57
  == Changelog ==
58
 
59
+ = 2.4.0 =
60
+ * Overall lots of improvements and updates done, some outlined bellow.
61
+ * Service Widget: CSS updates
62
+ * Service Widget: Changes slider field to text field for width
63
+ * Service Widget: Bug Fixes
64
+ * Service Widget: Add button styling
65
+ * Service Widget: Add border options
66
+ * Blog Widget: Ending Dots Link's to post now
67
+ * Blog Widget: CSS updates
68
+ * Blog Widget: Bug Fixes
69
+ * Toggle Widget: CSS Updates
70
+ * Toggle Widget: Bug Fixes
71
+ * Toggle Widget: Add icon field, deleted static icon
72
+ * Toggle Widget: Add icon position left or right
73
+ * Toggle Widget: Add title bg color
74
+ * Toggle Widget: Add title bg hover
75
+ * Toggle Widget: Add content bg color
76
+ * Toggle Widget: Add icon color
77
+ * Toggle Widget: Add title text alignment
78
+ * FAQ Widget: CSS Updates
79
+ * FAQ Widget: Bug Fixes
80
+ * FAQ Widget: Add title bg color
81
+ * FAQ Widget: Add title bg hover
82
+ * FAQ Widget: Add content bg color
83
+ * FAQ Widget: Add icon color
84
+ * FAQ Widget: Add title text alignment
85
+ * TAB Widget: CSS Updates
86
+ * TAB Widget: Bug Fixes
87
+ * TAB Widget: Add active tab bg color
88
+ * TAB Widget: Add active tab font color
89
+ * TAB Widget: Add inactive tab font color
90
+ * TAB Widget: Add tab icon
91
+ * TAB Widget: Add icon position
92
+ * Testimonials: Arrow Color Fix
93
+ * Team Widget: Image size fix
94
+
95
+
96
  = 2.3.0 =
97
  * Fixed bugs as reported by different users.
98
  * New option - Icon right in Service Box
tmp-addon-so-widgets-bundle-readme.pot ADDED
@@ -0,0 +1,198 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr "MIME-Version: 1.0\n"
3
+
4
+ #. Name.
5
+ msgid "Ultimate Addons for SiteOrigin"
6
+ msgstr ""
7
+
8
+ #. Short description.
9
+ msgid "An ultimate collection of addons for SiteOrigin. SiteOrigin Widgets Bundle is required."
10
+ msgstr ""
11
+
12
+ #. Screenshot description.
13
+ msgid "Manage which widgets you want enabled or disabled."
14
+ msgstr ""
15
+
16
+ #. Found in description header.
17
+ msgid "Addon Widgets Customizations"
18
+ msgstr ""
19
+
20
+ #. Found in description list item.
21
+ msgid "Tabs Widget - Now you can easily add tabbed content on any page."
22
+ msgstr ""
23
+
24
+ #. Found in description list item.
25
+ msgid "Toggle Widget - Will help you add content in toggle."
26
+ msgstr ""
27
+
28
+ #. Found in description list item.
29
+ msgid "Testimonial Widget - Comes with a custom post type (testimonial) with a widget to display testimonials as testimonial grid or testimonial rotator."
30
+ msgstr ""
31
+
32
+ #. Found in description list item.
33
+ msgid "FAQs Widget - This also comes with a custom post type for faqs and with a widget to display faqs on any page."
34
+ msgstr ""
35
+
36
+ #. Found in description list item.
37
+ msgid "Service Box Widget- This is for adding nice service boxes or feature boxes to any page you may have icon or image on top or left."
38
+ msgstr ""
39
+
40
+ #. Found in description list item.
41
+ msgid "Blog Posts Widget- There are currently 2 blog style widgets which you can use to display post loops to any page."
42
+ msgstr ""
43
+
44
+ #. Found in description list item.
45
+ msgid "Divider Widget - This will help you to add different styles of divider b/w content sections."
46
+ msgstr ""
47
+
48
+ #. Found in description list item.
49
+ msgid "Spacer Widget - Of-course some times you need a space b/w content sections, so here it is."
50
+ msgstr ""
51
+
52
+ #. Found in description list item.
53
+ msgid "Team Widget - Display your team members easily with this widget."
54
+ msgstr ""
55
+
56
+ #. Found in description paragraph.
57
+ msgid "[vimeo https://vimeo.com/134485964]"
58
+ msgstr ""
59
+
60
+ #. Found in description paragraph.
61
+ msgid "<strong>Important: You must activate widgets you need to use from Plugins &gt; SiteOrigin Widgets so that they can be available to use.</strong>"
62
+ msgstr ""
63
+
64
+ #. Found in description paragraph.
65
+ msgid "This is an Addon plugin for SiteOrigin Widgets Bundle plugin which will add some (and growing) amazing widgets for you to build up your content pages easily using SiteOrigin page builder. For more info visit <a href=\"http://ingenious-web.com/ultimate-addons-for-siteorigin/\">Ultimate Addons' Page.</a>"
66
+ msgstr ""
67
+
68
+ #. Found in description paragraph.
69
+ msgid "The collection is growing, but here's what we have so far."
70
+ msgstr ""
71
+
72
+ #. Found in description paragraph.
73
+ msgid "Once you enable a widget, you'll be able to use it anywhere standard widgets are used. You can manage your widgets by going to Plugins &gt; SiteOrigin Widgets in your WordPress admin."
74
+ msgstr ""
75
+
76
+ #. Found in description paragraph.
77
+ msgid "Each widget has it's styling options within it same as Siteorigin Widgets."
78
+ msgstr ""
79
+
80
+ #. Found in description paragraph.
81
+ msgid "<strong>Special thanks to SiteOrigin for the help in developing this plugin.</strong>"
82
+ msgstr ""
83
+
84
+ #. Found in description paragraph.
85
+ msgid "<strong>Please Rate this plugin if it's been useful for you and you liked it.</strong>"
86
+ msgstr ""
87
+
88
+ #. Found in installation list item.
89
+ msgid "Upload and install in the same way you'd install any other plugin."
90
+ msgstr ""
91
+
92
+ #. Found in changelog list item.
93
+ msgid "Fixed bugs as reported by different users."
94
+ msgstr ""
95
+
96
+ #. Found in changelog list item.
97
+ msgid "New option - Icon right in Service Box"
98
+ msgstr ""
99
+
100
+ #. Found in changelog list item.
101
+ msgid "New option - Image right alignment in blog list widget"
102
+ msgstr ""
103
+
104
+ #. Found in changelog list item.
105
+ msgid "New Option - Two column grid in blog list widget"
106
+ msgstr ""
107
+
108
+ #. Found in changelog list item.
109
+ msgid "New Option - some other little link possibilities to blog widgets."
110
+ msgstr ""
111
+
112
+ #. Found in changelog list item.
113
+ msgid "New Widget - Team Members widget added."
114
+ msgstr ""
115
+
116
+ #. Found in changelog list item.
117
+ msgid "Changed CSS for grid columns. Old css was still conflicting with themes."
118
+ msgstr ""
119
+
120
+ #. Found in changelog list item.
121
+ msgid "Fixed CSS issues on couple of Widgets."
122
+ msgstr ""
123
+
124
+ #. Found in changelog list item.
125
+ msgid "Fixed couple of small bugs."
126
+ msgstr ""
127
+
128
+ #. Found in changelog list item.
129
+ msgid "Removed Bootstrap dependency"
130
+ msgstr ""
131
+
132
+ #. Found in changelog list item.
133
+ msgid "Fixed JQuery conflict, now using WordPress bundled JQuery."
134
+ msgstr ""
135
+
136
+ #. Found in changelog list item.
137
+ msgid "Added TinyMCE editor to some widgets such as Tabs, toggle"
138
+ msgstr ""
139
+
140
+ #. Found in changelog list item.
141
+ msgid "Fixed some other bugs."
142
+ msgstr ""
143
+
144
+ #. Found in changelog list item.
145
+ msgid "Re-coded all Widgets to utilize SiteoRigin's API more better."
146
+ msgstr ""
147
+
148
+ #. Found in changelog list item.
149
+ msgid "Each Widget now has it's own options, same as SiteOrigin's Widget bundle widgets."
150
+ msgstr ""
151
+
152
+ #. Found in changelog list item.
153
+ msgid "Each Widget now can be styled differently as each one has it's own styling options as well."
154
+ msgstr ""
155
+
156
+ #. Found in changelog list item.
157
+ msgid "Removed Titan Framework Dependency."
158
+ msgstr ""
159
+
160
+ #. Found in changelog list item.
161
+ msgid "Customized bootstrap css used to just use the bootstrap Grid CSS, excluded all other css from Bootstrap css file."
162
+ msgstr ""
163
+
164
+ #. Found in changelog list item.
165
+ msgid "Fixed some small bugs as well."
166
+ msgstr ""
167
+
168
+ #. Found in changelog list item.
169
+ msgid "Fatal Error require_once() issue fix from the last update."
170
+ msgstr ""
171
+
172
+ #. Found in changelog list item.
173
+ msgid "Version Issue fix"
174
+ msgstr ""
175
+
176
+ #. Found in changelog list item.
177
+ msgid "very small fix"
178
+ msgstr ""
179
+
180
+ #. Found in changelog list item.
181
+ msgid "Integrated Widgets Customizations via The Customizer"
182
+ msgstr ""
183
+
184
+ #. Found in changelog list item.
185
+ msgid "Fixed some bugs &amp; issues &amp; cleaned up some files"
186
+ msgstr ""
187
+
188
+ #. Found in changelog list item.
189
+ msgid "Small UI Improvements"
190
+ msgstr ""
191
+
192
+ #. Found in changelog list item.
193
+ msgid "Initial Upload of the plugin"
194
+ msgstr ""
195
+
196
+ #. Found in faq paragraph.
197
+ msgid "We will add FAQs very soon."
198
+ msgstr ""