Accordion - Version 2.2.39

Version Description

  • 2022-05-09 - fix - Removed empty scripts.js file
Download this release

Release Info

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

Code changes from version 2.2.38 to 2.2.39

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.38
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.38');
27
  define('accordions_plugin_name', 'Accordions');
28
  define('accordions_plugin_basename', plugin_basename(__FILE__));
29
 
@@ -121,8 +121,8 @@ class Accordions
121
  public function _front_scripts()
122
  {
123
 
124
- wp_enqueue_script('accordions_js', accordions_plugin_url . 'assets/frontend/js/scripts.js', array('jquery'));
125
- wp_localize_script('accordions_js', 'accordions_ajax', array('accordions_ajaxurl' => admin_url('admin-ajax.php')));
126
 
127
  wp_register_style('accordions-style', accordions_plugin_url . 'assets/frontend/css/style.css');
128
  wp_register_style('style-tabs', accordions_plugin_url . 'assets/global/css/style-tabs.css');
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.39
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.39');
27
  define('accordions_plugin_name', 'Accordions');
28
  define('accordions_plugin_basename', plugin_basename(__FILE__));
29
 
121
  public function _front_scripts()
122
  {
123
 
124
+ //wp_enqueue_script('accordions_js', accordions_plugin_url . 'assets/frontend/js/scripts.js', array('jquery'));
125
+ //wp_localize_script('accordions_js', 'accordions_ajax', array('accordions_ajaxurl' => admin_url('admin-ajax.php')));
126
 
127
  wp_register_style('accordions-style', accordions_plugin_url . 'assets/frontend/css/style.css');
128
  wp_register_style('style-tabs', accordions_plugin_url . 'assets/global/css/style-tabs.css');
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.9
7
- Stable tag: 2.2.38
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -140,6 +140,9 @@ then paste this shortcode anywhere in your page to display accordions<br />
140
  == Changelog ==
141
 
142
 
 
 
 
143
  = 2.2.38 =
144
  * 2022-04-30 - fix - jQuery 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: 6.0
7
+ Stable tag: 2.2.39
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.39 =
144
+ * 2022-05-09 - fix - Removed empty scripts.js file
145
+
146
  = 2.2.38 =
147
  * 2022-04-30 - fix - jQuery issue fixed.
148
 
templates/accordion/accordion-hook.php CHANGED
@@ -126,21 +126,18 @@ function accordions_main_top($atts)
126
  <?php endif; ?>
127
  }
128
  }
129
-
130
  @media only screen and (min-width: 768px) and (max-width: 1023px) {
131
  #accordions-<?php echo esc_attr($post_id); ?> {
132
  <?php if (!empty($width_medium)) : ?>width: <?php echo esc_attr($width_medium); ?>;
133
  <?php endif; ?>
134
  }
135
  }
136
-
137
  @media only screen and (min-width: 0px) and (max-width: 767px) {
138
  #accordions-<?php echo esc_attr($post_id); ?> {
139
  <?php if (!empty($width_small)) : ?>width: <?php echo esc_attr($width_small); ?>;
140
  <?php endif; ?>
141
  }
142
  }
143
-
144
  <?php
145
  if ($lazy_load == 'yes') {
146
  ?>#accordions-<?php echo esc_attr($post_id); ?> .items {
126
  <?php endif; ?>
127
  }
128
  }
 
129
  @media only screen and (min-width: 768px) and (max-width: 1023px) {
130
  #accordions-<?php echo esc_attr($post_id); ?> {
131
  <?php if (!empty($width_medium)) : ?>width: <?php echo esc_attr($width_medium); ?>;
132
  <?php endif; ?>
133
  }
134
  }
 
135
  @media only screen and (min-width: 0px) and (max-width: 767px) {
136
  #accordions-<?php echo esc_attr($post_id); ?> {
137
  <?php if (!empty($width_small)) : ?>width: <?php echo esc_attr($width_small); ?>;
138
  <?php endif; ?>
139
  }
140
  }
 
141
  <?php
142
  if ($lazy_load == 'yes') {
143
  ?>#accordions-<?php echo esc_attr($post_id); ?> .items {