Accordion - Version 2.2.67

Version Description

  • 2022-11-29 - fix - Style issue fixed.
Download this release

Release Info

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

Code changes from version 2.2.66 to 2.2.67

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.66
7
  Author: PickPlugins
8
  Author URI: http://pickplugins.com
9
  Text Domain: accordions
@@ -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.66');
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.67
7
  Author: PickPlugins
8
  Author URI: http://pickplugins.com
9
  Text Domain: 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.67');
27
  define('accordions_plugin_name', 'Accordions');
28
  define('accordions_plugin_basename', plugin_basename(__FILE__));
29
 
readme.txt CHANGED
@@ -3,8 +3,8 @@
3
  Donate link: https://www.pickplugins.com/item/accordions-html-css3-responsive-accordion-grid-for-wordpress/?ref=dashboard
4
  Tags: accordion, tabs, FAQ, WooCommerce FAQ Tab, accordion short-code, accordions widget, tab
5
  Requires at least: 3.8
6
- Tested up to: 6.0
7
- Stable tag: 2.2.66
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.66 =
143
  * 2022-11-27 - fix - Custom JS escape issue fixed.
144
 
3
  Donate link: https://www.pickplugins.com/item/accordions-html-css3-responsive-accordion-grid-for-wordpress/?ref=dashboard
4
  Tags: accordion, tabs, FAQ, WooCommerce FAQ Tab, accordion short-code, accordions widget, tab
5
  Requires at least: 3.8
6
+ Tested up to: 6.1
7
+ Stable tag: 2.2.67
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.67 =
143
+ * 2022-11-29 - fix - Style issue fixed.
144
+
145
  = 2.2.66 =
146
  * 2022-11-27 - fix - Custom JS escape issue fixed.
147
 
templates/accordion/accordion-hook.php CHANGED
@@ -143,11 +143,11 @@ function accordions_main_top($atts)
143
 
144
  <?php
145
  if ($lazy_load == 'yes') {
146
- ?>#accordions-<?php echo esc_attr($post_id); ?>.items {
147
  display: none;
148
  }
149
 
150
- #accordions-<?php echo esc_attr($post_id); ?>.accordions-lazy {
151
  text-align: center;
152
  position: absolute;
153
  top: 50%;
@@ -164,37 +164,37 @@ function accordions_main_top($atts)
164
  <?php endif; ?>position: relative;
165
  }
166
 
167
- #accordions-<?php echo esc_attr($post_id); ?>.accordions-head {
168
  <?php if (!empty($header_background_color)) : ?>background: <?php echo esc_attr($header_background_color); ?> none repeat scroll 0 0;
169
  <?php endif; ?><?php if (!empty($header_margin)) : ?>margin: <?php echo esc_attr($header_margin); ?>;
170
  <?php endif; ?><?php if (!empty($header_padding)) : ?>padding: <?php echo esc_attr($header_padding); ?>;
171
  <?php endif; ?>outline: none;
172
  }
173
 
174
- #accordions-<?php echo esc_attr($post_id); ?>.accordions-head-title {
175
  <?php if (!empty($header_font_family)) : ?>font-family: <?php echo esc_attr($header_font_family); ?>;
176
  <?php endif; ?><?php if (!empty($header_color)) : ?>color: <?php echo esc_attr($header_color); ?>;
177
  <?php endif; ?><?php if (!empty($header_font_size)) : ?>font-size: <?php echo esc_attr($header_font_size); ?>;
178
  <?php endif; ?>
179
  }
180
 
181
- #accordions-<?php echo esc_attr($post_id); ?>.accordions-head-title-toggle {
182
  <?php if (!empty($header_color)) : ?>color: <?php echo esc_attr($header_color); ?>;
183
  <?php endif; ?><?php if (!empty($header_font_size)) : ?>font-size: <?php echo esc_attr($header_font_size); ?>;
184
  <?php endif; ?>
185
  }
186
 
187
- #accordions-<?php echo esc_attr($post_id); ?>.accordions-head:hover .accordions-head-title {
188
  <?php if (!empty($header_color_hover)) : ?>color: <?php echo esc_attr($header_color_hover); ?>;
189
  <?php endif; ?>
190
  }
191
 
192
- #accordions-<?php echo esc_attr($post_id); ?>.ui-state-active {
193
  <?php if (!empty($header_active_background_color)) : ?>background: <?php echo esc_attr($header_active_background_color); ?>;
194
  <?php endif; ?>border: none;
195
  }
196
 
197
- #accordions-<?php echo esc_attr($post_id); ?>.accordion-content {
198
  <?php if (!empty($body_font_family)) : ?>font-family: <?php echo esc_attr($body_font_family); ?>;
199
  <?php endif; ?><?php if (!empty($body_background_color)) : ?>background: <?php echo esc_attr($body_background_color); ?> none repeat scroll 0 0;
200
  <?php endif; ?><?php if (!empty($body_color)) : ?>color: <?php echo esc_attr($body_color); ?>;
@@ -204,7 +204,7 @@ function accordions_main_top($atts)
204
  <?php endif; ?>border: none;
205
  }
206
 
207
- #accordions-<?php echo esc_attr($post_id); ?>.accordion-icons {
208
  <?php if (!empty($icon_color)) : ?>color: <?php echo esc_attr($icon_color); ?>;
209
  <?php endif; ?><?php if (!empty($icon_font_size)) : ?>font-size: <?php echo esc_attr($icon_font_size); ?>;
210
  <?php endif; ?><?php if (!empty($icon_background_color)) : ?>background: <?php echo esc_attr($icon_background_color); ?> none repeat scroll 0 0;
@@ -213,7 +213,7 @@ function accordions_main_top($atts)
213
  <?php endif; ?>
214
  }
215
 
216
- #accordions-<?php echo esc_attr($post_id); ?>.accordions-head:hover .accordion-icons span {
217
  <?php if (!empty($icon_color_hover)) : ?>color: <?php echo esc_attr($icon_color_hover); ?>;
218
  <?php endif; ?>
219
  }
@@ -232,7 +232,7 @@ function accordions_main_top($atts)
232
  $bg_color_css = !empty($background_color) ? $background_color : '';
233
 
234
  if (!empty($bg_color_css) || !empty($header_bg_img)) {
235
- ?>#accordions-<?php echo esc_attr($post_id); ?>#header-<?php echo esc_attr($index); ?> {
236
  background: <?php echo esc_attr($bg_color_css); ?> <?php echo esc_url_raw($header_bg_img); ?>;
237
  }
238
 
@@ -577,7 +577,7 @@ function accordions_main_top($atts)
577
  <script>
578
  (function($) {
579
  $(document).ready(function() {
580
- accordion_<?php echo esc_attr($post_id); ?> = $("#accordions-<?php echo esc_attr($post_id); ?> .items").accordion({
581
  event: "<?php echo esc_attr($active_event); ?>",
582
  collapsible: <?php echo esc_attr($collapsible); ?>,
583
  heightStyle: "<?php echo esc_attr($height_style); ?>",
143
 
144
  <?php
145
  if ($lazy_load == 'yes') {
146
+ ?>#accordions-<?php echo esc_attr($post_id); ?> .items {
147
  display: none;
148
  }
149
 
150
+ #accordions-<?php echo esc_attr($post_id); ?> .accordions-lazy {
151
  text-align: center;
152
  position: absolute;
153
  top: 50%;
164
  <?php endif; ?>position: relative;
165
  }
166
 
167
+ #accordions-<?php echo esc_attr($post_id); ?> .accordions-head {
168
  <?php if (!empty($header_background_color)) : ?>background: <?php echo esc_attr($header_background_color); ?> none repeat scroll 0 0;
169
  <?php endif; ?><?php if (!empty($header_margin)) : ?>margin: <?php echo esc_attr($header_margin); ?>;
170
  <?php endif; ?><?php if (!empty($header_padding)) : ?>padding: <?php echo esc_attr($header_padding); ?>;
171
  <?php endif; ?>outline: none;
172
  }
173
 
174
+ #accordions-<?php echo esc_attr($post_id); ?> .accordions-head-title {
175
  <?php if (!empty($header_font_family)) : ?>font-family: <?php echo esc_attr($header_font_family); ?>;
176
  <?php endif; ?><?php if (!empty($header_color)) : ?>color: <?php echo esc_attr($header_color); ?>;
177
  <?php endif; ?><?php if (!empty($header_font_size)) : ?>font-size: <?php echo esc_attr($header_font_size); ?>;
178
  <?php endif; ?>
179
  }
180
 
181
+ #accordions-<?php echo esc_attr($post_id); ?> .accordions-head-title-toggle {
182
  <?php if (!empty($header_color)) : ?>color: <?php echo esc_attr($header_color); ?>;
183
  <?php endif; ?><?php if (!empty($header_font_size)) : ?>font-size: <?php echo esc_attr($header_font_size); ?>;
184
  <?php endif; ?>
185
  }
186
 
187
+ #accordions-<?php echo esc_attr($post_id); ?> .accordions-head:hover .accordions-head-title {
188
  <?php if (!empty($header_color_hover)) : ?>color: <?php echo esc_attr($header_color_hover); ?>;
189
  <?php endif; ?>
190
  }
191
 
192
+ #accordions-<?php echo esc_attr($post_id); ?> .ui-state-active {
193
  <?php if (!empty($header_active_background_color)) : ?>background: <?php echo esc_attr($header_active_background_color); ?>;
194
  <?php endif; ?>border: none;
195
  }
196
 
197
+ #accordions-<?php echo esc_attr($post_id); ?> .accordion-content {
198
  <?php if (!empty($body_font_family)) : ?>font-family: <?php echo esc_attr($body_font_family); ?>;
199
  <?php endif; ?><?php if (!empty($body_background_color)) : ?>background: <?php echo esc_attr($body_background_color); ?> none repeat scroll 0 0;
200
  <?php endif; ?><?php if (!empty($body_color)) : ?>color: <?php echo esc_attr($body_color); ?>;
204
  <?php endif; ?>border: none;
205
  }
206
 
207
+ #accordions-<?php echo esc_attr($post_id); ?> .accordion-icons {
208
  <?php if (!empty($icon_color)) : ?>color: <?php echo esc_attr($icon_color); ?>;
209
  <?php endif; ?><?php if (!empty($icon_font_size)) : ?>font-size: <?php echo esc_attr($icon_font_size); ?>;
210
  <?php endif; ?><?php if (!empty($icon_background_color)) : ?>background: <?php echo esc_attr($icon_background_color); ?> none repeat scroll 0 0;
213
  <?php endif; ?>
214
  }
215
 
216
+ #accordions-<?php echo esc_attr($post_id); ?> .accordions-head:hover .accordion-icons span {
217
  <?php if (!empty($icon_color_hover)) : ?>color: <?php echo esc_attr($icon_color_hover); ?>;
218
  <?php endif; ?>
219
  }
232
  $bg_color_css = !empty($background_color) ? $background_color : '';
233
 
234
  if (!empty($bg_color_css) || !empty($header_bg_img)) {
235
+ ?>#accordions-<?php echo esc_attr($post_id); ?> #header-<?php echo esc_attr($index); ?> {
236
  background: <?php echo esc_attr($bg_color_css); ?> <?php echo esc_url_raw($header_bg_img); ?>;
237
  }
238
 
577
  <script>
578
  (function($) {
579
  $(document).ready(function() {
580
+ accordion_<?php echo esc_attr($post_id); ?> = $("#accordions-<?php echo esc_attr($post_id); ?> .items").accordion({
581
  event: "<?php echo esc_attr($active_event); ?>",
582
  collapsible: <?php echo esc_attr($collapsible); ?>,
583
  heightStyle: "<?php echo esc_attr($height_style); ?>",