Accordion - Version 2.2.37

Version Description

  • 2022-01-08 - fix - Style issue fixed
Download this release

Release Info

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

Code changes from version 2.2.36 to 2.2.37

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.36
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.35');
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.37
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.37');
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: 5.8
7
- Stable tag: 2.2.36
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -140,6 +140,10 @@ then paste this shortcode anywhere in your page to display accordions<br />
140
  == Changelog ==
141
 
142
 
 
 
 
 
143
  = 2.2.36 =
144
  * 2022-01-07 - fix - Background image bug issue fixed.
145
 
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: 5.9
7
+ Stable tag: 2.2.37
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
140
  == Changelog ==
141
 
142
 
143
+ = 2.2.37 =
144
+ * 2022-01-08 - fix - Style issue fixed
145
+
146
+
147
  = 2.2.36 =
148
  * 2022-01-07 - fix - Background image bug issue fixed.
149
 
templates/accordion/accordion-hook.php CHANGED
@@ -141,11 +141,11 @@ function accordions_main_top($atts)
141
 
142
  <?php
143
  if ($lazy_load == 'yes') {
144
- ?>#accordions-<?php echo esc_attr($post_id); ?>.items {
145
  display: none;
146
  }
147
 
148
- #accordions-<?php echo esc_attr($post_id); ?>.accordions-lazy {
149
  text-align: center;
150
  position: absolute;
151
  top: 50%;
@@ -162,37 +162,39 @@ function accordions_main_top($atts)
162
  <?php endif; ?>position: relative;
163
  }
164
 
165
- #accordions-<?php echo esc_attr($post_id); ?>.accordions-head {
166
- <?php if (!empty($header_background_color)) : ?>background: <?php echo esc_attr($header_background_color); ?> none repeat scroll 0 0;
167
- <?php endif; ?><?php if (!empty($header_margin)) : ?>margin: <?php echo esc_attr($header_margin); ?>;
168
- <?php endif; ?><?php if (!empty($header_padding)) : ?>padding: <?php echo esc_attr($header_padding); ?>;
169
- <?php endif; ?>outline: none;
 
 
170
  }
171
 
172
- #accordions-<?php echo esc_attr($post_id); ?>.accordions-head-title {
173
  <?php if (!empty($header_font_family)) : ?>font-family: <?php echo esc_attr($header_font_family); ?>;
174
  <?php endif; ?><?php if (!empty($header_color)) : ?>color: <?php echo esc_attr($header_color); ?>;
175
  <?php endif; ?><?php if (!empty($header_font_size)) : ?>font-size: <?php echo esc_attr($header_font_size); ?>;
176
  <?php endif; ?>
177
  }
178
 
179
- #accordions-<?php echo esc_attr($post_id); ?>.accordions-head-title-toggle {
180
  <?php if (!empty($header_color)) : ?>color: <?php echo esc_attr($header_color); ?>;
181
  <?php endif; ?><?php if (!empty($header_font_size)) : ?>font-size: <?php echo esc_attr($header_font_size); ?>;
182
  <?php endif; ?>
183
  }
184
 
185
- #accordions-<?php echo esc_attr($post_id); ?>.accordions-head:hover .accordions-head-title {
186
  <?php if (!empty($header_color_hover)) : ?>color: <?php echo esc_attr($header_color_hover); ?>;
187
  <?php endif; ?>
188
  }
189
 
190
- #accordions-<?php echo esc_attr($post_id); ?>.ui-state-active {
191
  <?php if (!empty($header_active_background_color)) : ?>background: <?php echo esc_attr($header_active_background_color); ?>;
192
  <?php endif; ?>border: none;
193
  }
194
 
195
- #accordions-<?php echo esc_attr($post_id); ?>.accordion-content {
196
  <?php if (!empty($body_font_family)) : ?>font-family: <?php echo esc_attr($body_font_family); ?>;
197
  <?php endif; ?><?php if (!empty($body_background_color)) : ?>background: <?php echo esc_attr($body_background_color); ?> none repeat scroll 0 0;
198
  <?php endif; ?><?php if (!empty($body_color)) : ?>color: <?php echo esc_attr($body_color); ?>;
@@ -202,7 +204,7 @@ function accordions_main_top($atts)
202
  <?php endif; ?>border: none;
203
  }
204
 
205
- #accordions-<?php echo esc_attr($post_id); ?>.accordion-icons {
206
  <?php if (!empty($icon_color)) : ?>color: <?php echo esc_attr($icon_color); ?>;
207
  <?php endif; ?><?php if (!empty($icon_font_size)) : ?>font-size: <?php echo esc_attr($icon_font_size); ?>;
208
  <?php endif; ?><?php if (!empty($icon_background_color)) : ?>background: <?php echo esc_attr($icon_background_color); ?> none repeat scroll 0 0;
@@ -211,7 +213,7 @@ function accordions_main_top($atts)
211
  <?php endif; ?>
212
  }
213
 
214
- #accordions-<?php echo esc_attr($post_id); ?>.accordions-head:hover .accordion-icons span {
215
  <?php if (!empty($icon_color_hover)) : ?>color: <?php echo esc_attr($icon_color_hover); ?>;
216
  <?php endif; ?>
217
  }
@@ -230,7 +232,7 @@ function accordions_main_top($atts)
230
  $bg_color_css = !empty($background_color) ? $background_color : '';
231
 
232
  if (!empty($bg_color_css) || !empty($header_bg_img)) {
233
- ?>#accordions-<?php echo esc_attr($post_id); ?>#header-<?php echo esc_attr($index); ?> {
234
  background: <?php echo esc_attr($bg_color_css); ?> <?php echo $header_bg_img; ?>;
235
  }
236
 
141
 
142
  <?php
143
  if ($lazy_load == 'yes') {
144
+ ?>#accordions-<?php echo esc_attr($post_id); ?> .items {
145
  display: none;
146
  }
147
 
148
+ #accordions-<?php echo esc_attr($post_id); ?> .accordions-lazy {
149
  text-align: center;
150
  position: absolute;
151
  top: 50%;
162
  <?php endif; ?>position: relative;
163
  }
164
 
165
+ #accordions-<?php echo esc_attr($post_id); ?> .accordions-head {
166
+ <?php if (!empty($header_background_color)) : ?>background: <?php echo esc_attr($header_background_color); ?> none repeat scroll 0 0;<?php endif; ?>
167
+
168
+ <?php if (!empty($header_margin)) : ?>margin: <?php echo esc_attr($header_margin); ?>;<?php endif; ?>
169
+
170
+ <?php if (!empty($header_padding)) : ?>padding: <?php echo esc_attr($header_padding); ?>;<?php endif; ?>
171
+ 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 $header_bg_img; ?>;
237
  }
238