Accordion - Version 2.2.6

Version Description

Download this release

Release Info

Developer pickplugins
Plugin Icon 128x128 Accordion
Version 2.2.6
Comparing to
See all releases

Code changes from version 2.2.5 to 2.2.6

accordions.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Accordions by PickPlugins
4
  Plugin URI: https://www.pickplugins.com/item/accordions-html-css3-responsive-accordion-grid-for-wordpress/?ref=dashboard
5
  Description: Fully responsive and mobile ready accordion grid for wordpress.
6
- Version: 2.2.5
7
  WC requires at least: 3.0.0
8
  WC tested up to: 3.6
9
  Author: PickPlugins
@@ -23,7 +23,7 @@ class Accordions{
23
 
24
  define('accordions_plugin_url', plugins_url('/', __FILE__) );
25
  define('accordions_plugin_dir', plugin_dir_path( __FILE__ ) );
26
- define('accordions_version', '2.2.5' );
27
  define('accordions_plugin_name', 'Accordions' );
28
  define('accordions_plugin_basename', plugin_basename( __FILE__ ) );
29
 
3
  Plugin Name: Accordions by PickPlugins
4
  Plugin URI: https://www.pickplugins.com/item/accordions-html-css3-responsive-accordion-grid-for-wordpress/?ref=dashboard
5
  Description: Fully responsive and mobile ready accordion grid for wordpress.
6
+ Version: 2.2.6
7
  WC requires at least: 3.0.0
8
  WC tested up to: 3.6
9
  Author: PickPlugins
23
 
24
  define('accordions_plugin_url', plugins_url('/', __FILE__) );
25
  define('accordions_plugin_dir', plugin_dir_path( __FILE__ ) );
26
+ define('accordions_version', '2.2.6' );
27
  define('accordions_plugin_name', 'Accordions' );
28
  define('accordions_plugin_basename', plugin_basename( __FILE__ ) );
29
 
assets/frontend/css/style.css CHANGED
@@ -26,17 +26,15 @@
26
  }
27
 
28
  .accordions .border-1px {
29
- border-width: 1px !important;
30
- border-color: #999 !important;
31
  }
32
 
33
  .accordions .border-2px {
34
- border-width: 2px !important;
35
- border-color: #999 !important;
36
  }
37
  .accordions .border-3px {
38
- border-width: 3px !important;
39
- border-color: #999 !important;
40
  }
41
  .accordions .shadow-bottom {
42
  box-shadow: 0 3px 4px -1px rgba(0, 0, 0, 0.29);
26
  }
27
 
28
  .accordions .border-1px {
29
+ border: 1px solid #999 !important;
 
30
  }
31
 
32
  .accordions .border-2px {
33
+ border: 2px solid #999 !important;
34
+
35
  }
36
  .accordions .border-3px {
37
+ border: 3px solid #999 !important;
 
38
  }
39
  .accordions .shadow-bottom {
40
  box-shadow: 0 3px 4px -1px rgba(0, 0, 0, 0.29);
includes/class-post-meta-product.php CHANGED
@@ -41,9 +41,12 @@ class class_accordions_post_meta_product{
41
 
42
  <select style="width: 100%;" id="accordions_id" name="accordions_id">
43
  <option>Select accordion</option>
 
44
  <option value="<?php echo $accordions_id; ?>" selected><?php echo get_the_title($accordions_id); ?></option>
 
45
  </select>
46
 
 
47
 
48
  <p>
49
  <input style="width: 100%;" type="text" placeholder="Tab title" value="<?php echo $accordions_tab_title; ?>" name="accordions_tab_title">
@@ -52,7 +55,9 @@ class class_accordions_post_meta_product{
52
 
53
  <script>
54
  jQuery(document).ready(function($) {
55
-
 
 
56
 
57
 
58
  $('#accordions_id').select2({
@@ -82,7 +87,8 @@ class class_accordions_post_meta_product{
82
  },
83
  cache: true
84
  },
85
- minimumInputLength: 3 // the minimum of symbols to input before perform a search
 
86
  });
87
  })
88
 
41
 
42
  <select style="width: 100%;" id="accordions_id" name="accordions_id">
43
  <option>Select accordion</option>
44
+ <?php if(!empty($accordions_id)): ?>
45
  <option value="<?php echo $accordions_id; ?>" selected><?php echo get_the_title($accordions_id); ?></option>
46
+ <?php endif; ?>
47
  </select>
48
 
49
+ <span class="clear-faq-tab button">CLear</span>
50
 
51
  <p>
52
  <input style="width: 100%;" type="text" placeholder="Tab title" value="<?php echo $accordions_tab_title; ?>" name="accordions_tab_title">
55
 
56
  <script>
57
  jQuery(document).ready(function($) {
58
+ $(document).on('click', ".clear-faq-tab", function() {
59
+ $('#accordions_id').select2('destroy').val('').select2();
60
+ })
61
 
62
 
63
  $('#accordions_id').select2({
87
  },
88
  cache: true
89
  },
90
+ minimumInputLength: 3, // the minimum of symbols to input before perform a search
91
+ allowClear: true,
92
  });
93
  })
94
 
readme.txt CHANGED
@@ -4,7 +4,7 @@
4
  Tags: accordion, tabs, FAQ, WooCommerce FAQ Tab, accordion short-code, accordions widget, tab
5
  Requires at least: 3.8
6
  Tested up to: 5.3
7
- Stable tag: 2.2.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -139,6 +139,9 @@ then paste this shortcode anywhere in your page to display accordions<br />
139
 
140
  == Changelog ==
141
 
 
 
 
142
  = 2.2.5 =
143
  * 2020-03-17 - add - 20 3rd party plugin to import accordion and tabs data.
144
 
4
  Tags: accordion, tabs, FAQ, WooCommerce FAQ Tab, accordion short-code, accordions widget, tab
5
  Requires at least: 3.8
6
  Tested up to: 5.3
7
+ Stable tag: 2.2.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
139
 
140
  == Changelog ==
141
 
142
+ = 2.2.6=
143
+ * 2020-03-17 - fix - WooCommerce product FAQ tab remove issue fixed.
144
+
145
  = 2.2.5 =
146
  * 2020-03-17 - add - 20 3rd party plugin to import accordion and tabs data.
147