Version Description
Download this release
Release Info
Developer | pickplugins |
Plugin | Accordion |
Version | 2.2.43 |
Comparing to | |
See all releases |
Code changes from version 2.2.40 to 2.2.43
- accordions.php +2 -2
- assets/admin/js/scripts.js +1 -1
- assets/settings-tabs/settings-tabs.js +1 -1
- includes/class-post-meta-accordions-hook.php +1 -1
- includes/class-post-meta-accordions.php +1 -1
- includes/class-post-meta-product.php +1 -1
- includes/class-settings-hook.php +1 -1
- includes/class-settings-tabs.php +6 -6
- readme.txt +10 -2
- templates/accordion/accordion-hook.php +3 -5
- templates/tabs/tabs-hook.php +3 -5
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.
|
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.
|
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.42
|
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.42');
|
27 |
define('accordions_plugin_name', 'Accordions');
|
28 |
define('accordions_plugin_basename', plugin_basename(__FILE__));
|
29 |
|
assets/admin/js/scripts.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
|
2 |
(function($) {
|
3 |
|
4 |
-
$(document).
|
5 |
|
6 |
$(document).on('click','.accordions-import-json',function(){
|
7 |
json_file = $('.json_file').val();
|
1 |
|
2 |
(function($) {
|
3 |
|
4 |
+
$( document ).ready( function() {
|
5 |
|
6 |
$(document).on('click','.accordions-import-json',function(){
|
7 |
json_file = $('.json_file').val();
|
assets/settings-tabs/settings-tabs.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
|
2 |
(function($) {
|
3 |
|
4 |
-
|
5 |
|
6 |
$( ".settings-tabs-loading").fadeOut();
|
7 |
$( ".settings-tabs").fadeIn();
|
1 |
|
2 |
(function($) {
|
3 |
|
4 |
+
$( document ).ready( function() {
|
5 |
|
6 |
$( ".settings-tabs-loading").fadeOut();
|
7 |
$( ".settings-tabs").fadeIn();
|
includes/class-post-meta-accordions-hook.php
CHANGED
@@ -110,7 +110,7 @@ function accordions_metabox_content_shortcode($post_id){
|
|
110 |
<script>
|
111 |
(function($) {
|
112 |
|
113 |
-
$(document).
|
114 |
|
115 |
|
116 |
|
110 |
<script>
|
111 |
(function($) {
|
112 |
|
113 |
+
$( document ).ready( function() {
|
114 |
|
115 |
|
116 |
|
includes/class-post-meta-accordions.php
CHANGED
@@ -133,7 +133,7 @@ class class_accordions_post_meta{
|
|
133 |
<script>
|
134 |
(function($) {
|
135 |
|
136 |
-
$(document).
|
137 |
$(document).on('click', '.settings-tabs input[name="accordions_options[view_type]"]', function(){
|
138 |
var val = $(this).val();
|
139 |
|
133 |
<script>
|
134 |
(function($) {
|
135 |
|
136 |
+
$( document ).ready( function() {
|
137 |
$(document).on('click', '.settings-tabs input[name="accordions_options[view_type]"]', function(){
|
138 |
var val = $(this).val();
|
139 |
|
includes/class-post-meta-product.php
CHANGED
@@ -57,7 +57,7 @@ class class_accordions_post_meta_product{
|
|
57 |
|
58 |
(function($) {
|
59 |
|
60 |
-
$(document).
|
61 |
$(document).on('click', ".clear-faq-tab", function() {
|
62 |
$('#accordions_id').select2('destroy').val('').select2();
|
63 |
})
|
57 |
|
58 |
(function($) {
|
59 |
|
60 |
+
$( document ).ready( function() {
|
61 |
$(document).on('click', ".clear-faq-tab", function() {
|
62 |
$('#accordions_id').select2('destroy').val('').select2();
|
63 |
})
|
includes/class-settings-hook.php
CHANGED
@@ -319,7 +319,7 @@ if(!function_exists('accordions_settings_content_help_support')) {
|
|
319 |
<script>
|
320 |
(function($) {
|
321 |
|
322 |
-
$(document).
|
323 |
$(document).on('click','.reset-migration a',function(event){
|
324 |
|
325 |
event.preventDefault();
|
319 |
<script>
|
320 |
(function($) {
|
321 |
|
322 |
+
$( document ).ready( function() {
|
323 |
$(document).on('click','.reset-migration a',function(event){
|
324 |
|
325 |
event.preventDefault();
|
includes/class-settings-tabs.php
CHANGED
@@ -1182,7 +1182,7 @@ class settings_tabs_field{
|
|
1182 |
<script>
|
1183 |
(function($) {
|
1184 |
|
1185 |
-
$(document).
|
1186 |
|
1187 |
$(document).on("keyup", ".text-icon input", function () {
|
1188 |
val = $(this).val();
|
@@ -1238,7 +1238,7 @@ $(document).on("ready",function(){
|
|
1238 |
<script>
|
1239 |
(function($) {
|
1240 |
|
1241 |
-
$(document).
|
1242 |
$(document).on("change", "#<?php echo $css_id; ?>", function () {
|
1243 |
val = $(this).val();
|
1244 |
if(val){
|
@@ -1370,7 +1370,7 @@ $(document).on("ready",function(){
|
|
1370 |
<script>
|
1371 |
(function($) {
|
1372 |
|
1373 |
-
$(document).
|
1374 |
wp.codeEditor.initialize($('#<?php echo $css_id; ?>'), <?php echo $code_editor; ?>);
|
1375 |
})
|
1376 |
})(jQuery);
|
@@ -1421,7 +1421,7 @@ $(document).on("ready",function(){
|
|
1421 |
|
1422 |
(function($) {
|
1423 |
|
1424 |
-
$(document).
|
1425 |
|
1426 |
wp.codeEditor.initialize($('#<?php echo $css_id; ?>'), <?php echo $code_editor; ?>);
|
1427 |
|
@@ -1721,7 +1721,7 @@ $(document).on("ready",function(){
|
|
1721 |
<input type="text" autocomplete="off" name="<?php echo esc_attr($field_name); ?>" id="<?php echo esc_attr($css_id); ?>" placeholder="<?php echo esc_attr($placeholder); ?>" value="<?php echo esc_attr($value); ?>" />
|
1722 |
<script>(function($) {
|
1723 |
|
1724 |
-
$(document).
|
1725 |
<?php
|
1726 |
|
1727 |
$input_html = ob_get_clean();
|
@@ -1802,7 +1802,7 @@ $(document).on("ready",function(){$("#<?php echo $css_id; ?>").datepicker({ date
|
|
1802 |
<input name="<?php echo esc_attr($field_name); ?>[<?php echo esc_attr($arg_key); ?>]" id="<?php echo esc_attr($arg_key).'-'.esc_attr($css_id); ?>" value="<?php echo esc_attr($item_value); ?>" />
|
1803 |
<script>(function($) {
|
1804 |
|
1805 |
-
$(document).
|
1806 |
</div>
|
1807 |
|
1808 |
<?php
|
1182 |
<script>
|
1183 |
(function($) {
|
1184 |
|
1185 |
+
$( document ).ready( function() {
|
1186 |
|
1187 |
$(document).on("keyup", ".text-icon input", function () {
|
1188 |
val = $(this).val();
|
1238 |
<script>
|
1239 |
(function($) {
|
1240 |
|
1241 |
+
$( document ).ready( function() {
|
1242 |
$(document).on("change", "#<?php echo $css_id; ?>", function () {
|
1243 |
val = $(this).val();
|
1244 |
if(val){
|
1370 |
<script>
|
1371 |
(function($) {
|
1372 |
|
1373 |
+
$( document ).ready( function() {
|
1374 |
wp.codeEditor.initialize($('#<?php echo $css_id; ?>'), <?php echo $code_editor; ?>);
|
1375 |
})
|
1376 |
})(jQuery);
|
1421 |
|
1422 |
(function($) {
|
1423 |
|
1424 |
+
$( document ).ready( function() {
|
1425 |
|
1426 |
wp.codeEditor.initialize($('#<?php echo $css_id; ?>'), <?php echo $code_editor; ?>);
|
1427 |
|
1721 |
<input type="text" autocomplete="off" name="<?php echo esc_attr($field_name); ?>" id="<?php echo esc_attr($css_id); ?>" placeholder="<?php echo esc_attr($placeholder); ?>" value="<?php echo esc_attr($value); ?>" />
|
1722 |
<script>(function($) {
|
1723 |
|
1724 |
+
$( document ).ready( function() {$("#<?php echo $css_id; ?>").datepicker({ dateFormat: "<?php echo $format; ?>" });});})(jQuery);</script>
|
1725 |
<?php
|
1726 |
|
1727 |
$input_html = ob_get_clean();
|
1802 |
<input name="<?php echo esc_attr($field_name); ?>[<?php echo esc_attr($arg_key); ?>]" id="<?php echo esc_attr($arg_key).'-'.esc_attr($css_id); ?>" value="<?php echo esc_attr($item_value); ?>" />
|
1803 |
<script>(function($) {
|
1804 |
|
1805 |
+
$( document ).ready( function() { $("#<?php echo $arg_key.'-'.$css_id; ?>").wpColorPicker();});})(jQuery);</script>
|
1806 |
</div>
|
1807 |
|
1808 |
<?php
|
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: 6.0
|
7 |
-
Stable tag: 2.2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -139,7 +139,15 @@ then paste this shortcode anywhere in your page to display accordions<br />
|
|
139 |
|
140 |
== Changelog ==
|
141 |
|
142 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
143 |
* 2022-05-15 - fix - Tabs style issue fixed.
|
144 |
|
145 |
|
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.42
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
139 |
|
140 |
== Changelog ==
|
141 |
|
142 |
+
|
143 |
+
= 2.2.42 =
|
144 |
+
* 2022-06-15 - fix - Empty line scripts issue fixed.
|
145 |
+
|
146 |
+
= 2.2.41 =
|
147 |
+
* 2022-05-28 - fix - jQUery issue fixed.
|
148 |
+
|
149 |
+
|
150 |
+
= 2.2.40 =
|
151 |
* 2022-05-15 - fix - Tabs style issue fixed.
|
152 |
|
153 |
|
templates/accordion/accordion-hook.php
CHANGED
@@ -380,7 +380,7 @@ function accordions_main_top($atts)
|
|
380 |
<script>
|
381 |
(function($) {
|
382 |
|
383 |
-
$(document).
|
384 |
<?php
|
385 |
if (isset($_GET['active_index'])) :
|
386 |
$accordion_index = isset($_GET['active_index']) ? esc_attr($_GET['active_index']) : '';
|
@@ -572,8 +572,7 @@ $(document).on("ready",function(){
|
|
572 |
?>
|
573 |
<script>
|
574 |
(function($) {
|
575 |
-
|
576 |
-
$(document).on("ready",function(){
|
577 |
accordion_<?php echo esc_attr($post_id); ?> = $("#accordions-<?php echo esc_attr($post_id); ?> .items").accordion({
|
578 |
event: "<?php echo esc_attr($active_event); ?>",
|
579 |
collapsible: <?php echo esc_attr($collapsible); ?>,
|
@@ -615,8 +614,7 @@ $(document).on("ready",function(){
|
|
615 |
?>
|
616 |
<script>
|
617 |
(function($) {
|
618 |
-
|
619 |
-
$(document).on("ready",function(){
|
620 |
<?php echo ($custom_js); ?>
|
621 |
})})(jQuery);
|
622 |
</script>
|
380 |
<script>
|
381 |
(function($) {
|
382 |
|
383 |
+
$( document ).ready( function() {
|
384 |
<?php
|
385 |
if (isset($_GET['active_index'])) :
|
386 |
$accordion_index = isset($_GET['active_index']) ? esc_attr($_GET['active_index']) : '';
|
572 |
?>
|
573 |
<script>
|
574 |
(function($) {
|
575 |
+
$( document ).ready( function() {
|
|
|
576 |
accordion_<?php echo esc_attr($post_id); ?> = $("#accordions-<?php echo esc_attr($post_id); ?> .items").accordion({
|
577 |
event: "<?php echo esc_attr($active_event); ?>",
|
578 |
collapsible: <?php echo esc_attr($collapsible); ?>,
|
614 |
?>
|
615 |
<script>
|
616 |
(function($) {
|
617 |
+
$( document ).ready( function() {
|
|
|
618 |
<?php echo ($custom_js); ?>
|
619 |
})})(jQuery);
|
620 |
</script>
|
templates/tabs/tabs-hook.php
CHANGED
@@ -438,7 +438,7 @@ function accordions_tabs_main_items($atts)
|
|
438 |
<script>
|
439 |
(function($) {
|
440 |
|
441 |
-
$(document).
|
442 |
<?php
|
443 |
if (isset($_GET['active_index'])) :
|
444 |
$accordion_index = isset($_GET['active_index']) ? esc_attr($_GET['active_index']) : '';
|
@@ -519,8 +519,7 @@ function accordions_tabs_main_scripts($atts)
|
|
519 |
?>
|
520 |
<script>
|
521 |
(function($) {
|
522 |
-
|
523 |
-
$(document).on("ready",function(){
|
524 |
<?php
|
525 |
if ($tabs_is_vertical == 'yes') {
|
526 |
?>
|
@@ -544,8 +543,7 @@ $(document).on("ready",function(){
|
|
544 |
?>
|
545 |
<script>
|
546 |
(function($) {
|
547 |
-
|
548 |
-
$(document).on("ready",function(){
|
549 |
<?php echo $custom_js; ?>
|
550 |
})})(jQuery);
|
551 |
</script>
|
438 |
<script>
|
439 |
(function($) {
|
440 |
|
441 |
+
$( document ).ready( function() {
|
442 |
<?php
|
443 |
if (isset($_GET['active_index'])) :
|
444 |
$accordion_index = isset($_GET['active_index']) ? esc_attr($_GET['active_index']) : '';
|
519 |
?>
|
520 |
<script>
|
521 |
(function($) {
|
522 |
+
$( document ).ready( function() {
|
|
|
523 |
<?php
|
524 |
if ($tabs_is_vertical == 'yes') {
|
525 |
?>
|
543 |
?>
|
544 |
<script>
|
545 |
(function($) {
|
546 |
+
$( document ).ready( function() {
|
|
|
547 |
<?php echo $custom_js; ?>
|
548 |
})})(jQuery);
|
549 |
</script>
|