Version Description
- description field tag issue resolved
Download this release
Release Info
Developer | wpshopmart |
Plugin | Accordion FAQ |
Version | 2.3.1 |
Comparing to | |
See all releases |
Code changes from version 2.3.0 to 2.3.1
- front/ac-content.php +21 -3
- lib/admin/data-post/ac-save-data.php +1 -1
- readme.txt +4 -1
- responsive-accordion.php +1 -1
front/ac-content.php
CHANGED
@@ -76,7 +76,7 @@
|
|
76 |
<div class="wpsm_panel wpsm_panel-default">
|
77 |
<div class="wpsm_panel-heading" role="tab" >
|
78 |
<h4 class="wpsm_panel-title">
|
79 |
-
<a class="<?php if($i!=1){ echo "collapsed"; } ?>" data-toggle="collapse" data-parent="<?php if($enable_toggle=="no") { ?>#wpsm_accordion_<?php echo esc_attr($post_id); ?> <?php } ?>" href="javascript:void(0)" data-target="#ac_<?php echo esc_attr($post_id); ?>_collapse<?php echo esc_attr($i); ?>"
|
80 |
<?php if($op_cl_icon == 'yes' )
|
81 |
{ ?>
|
82 |
<span class="ac_open_cl_icon fa fa-<?php if($i==$j){ echo "minus"; } else { echo "plus"; } ?>"></span>
|
@@ -100,7 +100,7 @@
|
|
100 |
</div>
|
101 |
<div id="ac_<?php echo esc_attr($post_id); ?>_collapse<?php echo esc_attr($i); ?>" class="wpsm_panel-collapse collapse <?php if($i==$j){ echo "in"; } ?>" >
|
102 |
<div class="wpsm_panel-body">
|
103 |
-
<?php echo do_shortcode(
|
104 |
</div>
|
105 |
</div>
|
106 |
</div>
|
@@ -116,4 +116,22 @@
|
|
116 |
else{
|
117 |
echo "<h3> No Accordion Found </h3>";
|
118 |
}
|
119 |
-
endwhile; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
<div class="wpsm_panel wpsm_panel-default">
|
77 |
<div class="wpsm_panel-heading" role="tab" >
|
78 |
<h4 class="wpsm_panel-title">
|
79 |
+
<a class="<?php if($i!=1){ echo "collapsed"; } ?>" data-toggle="collapse" data-parent="<?php if($enable_toggle=="no") { ?>#wpsm_accordion_<?php echo esc_attr($post_id); ?> <?php } ?>" href="javascript:void(0)" data-target="#ac_<?php echo esc_attr($post_id); ?>_collapse<?php echo esc_attr($i); ?>" onclick="do_resize()">
|
80 |
<?php if($op_cl_icon == 'yes' )
|
81 |
{ ?>
|
82 |
<span class="ac_open_cl_icon fa fa-<?php if($i==$j){ echo "minus"; } else { echo "plus"; } ?>"></span>
|
100 |
</div>
|
101 |
<div id="ac_<?php echo esc_attr($post_id); ?>_collapse<?php echo esc_attr($i); ?>" class="wpsm_panel-collapse collapse <?php if($i==$j){ echo "in"; } ?>" >
|
102 |
<div class="wpsm_panel-body">
|
103 |
+
<?php echo do_shortcode($accordion_desc); ?>
|
104 |
</div>
|
105 |
</div>
|
106 |
</div>
|
116 |
else{
|
117 |
echo "<h3> No Accordion Found </h3>";
|
118 |
}
|
119 |
+
endwhile; ?>
|
120 |
+
|
121 |
+
<script type="text/javascript">
|
122 |
+
|
123 |
+
function do_resize(){
|
124 |
+
|
125 |
+
var width=jQuery( '.wpsm_panel .wpsm_panel-body iframe' ).width();
|
126 |
+
var height=jQuery( '.wpsm_panel .wpsm_panel-body iframe' ).height();
|
127 |
+
|
128 |
+
var toggleSize = true;
|
129 |
+
jQuery('iframe').animate({
|
130 |
+
width: toggleSize ? width : 640,
|
131 |
+
height: toggleSize ? height : 360
|
132 |
+
}, 250);
|
133 |
+
|
134 |
+
toggleSize = !toggleSize;
|
135 |
+
}
|
136 |
+
|
137 |
+
</script>
|
lib/admin/data-post/ac-save-data.php
CHANGED
@@ -10,7 +10,7 @@ if(isset($PostID) && isset($_POST['ac_save_data_action']) ) {
|
|
10 |
$accordion_title = stripslashes(sanitize_text_field($_POST['accordion_title'][$i]));
|
11 |
$accordion_title_icon = sanitize_text_field($_POST['accordion_title_icon'][$i]);
|
12 |
$enable_single_icon = sanitize_text_field($_POST['enable_single_icon'][$i]);
|
13 |
-
$accordion_desc = stripslashes(
|
14 |
|
15 |
$AccordionArray[] = array(
|
16 |
'accordion_title' => $accordion_title,
|
10 |
$accordion_title = stripslashes(sanitize_text_field($_POST['accordion_title'][$i]));
|
11 |
$accordion_title_icon = sanitize_text_field($_POST['accordion_title_icon'][$i]);
|
12 |
$enable_single_icon = sanitize_text_field($_POST['enable_single_icon'][$i]);
|
13 |
+
$accordion_desc = stripslashes($_POST['accordion_desc'][$i]);
|
14 |
|
15 |
$AccordionArray[] = array(
|
16 |
'accordion_title' => $accordion_title,
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.wpshopmart.com
|
|
4 |
Tags: Accordion, accordions, accordion plugin, FAQ, collapse, accordion plugin jquery, accordions plugin wordpress, accordions shortcode, accordion shortcode, accordions Widget, accordion Widget, jQuery accordions, Responsive accordion, Responsive accordions, collapsable content, collapsible, display, expand, expandable, expandable content, hidden, hide, javascript, jquery, toggle, css accordion, css3 , bootstrap, bootstrap accordion, bootstrap collapse, wordpress accordion, widget, shortcode, responsive, plugin, wordpress accordion plugin
|
5 |
Requires at least: 5.0
|
6 |
Tested up to: 5.8.1
|
7 |
-
Stable tag: 2.3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -183,6 +183,9 @@ We love your feedback please submit your review here [pluign review](https://wor
|
|
183 |
|
184 |
== Changelog ==
|
185 |
|
|
|
|
|
|
|
186 |
= 2.3.0 =
|
187 |
* Description Shortcode issue resolved
|
188 |
|
4 |
Tags: Accordion, accordions, accordion plugin, FAQ, collapse, accordion plugin jquery, accordions plugin wordpress, accordions shortcode, accordion shortcode, accordions Widget, accordion Widget, jQuery accordions, Responsive accordion, Responsive accordions, collapsable content, collapsible, display, expand, expandable, expandable content, hidden, hide, javascript, jquery, toggle, css accordion, css3 , bootstrap, bootstrap accordion, bootstrap collapse, wordpress accordion, widget, shortcode, responsive, plugin, wordpress accordion plugin
|
5 |
Requires at least: 5.0
|
6 |
Tested up to: 5.8.1
|
7 |
+
Stable tag: 2.3.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
183 |
|
184 |
== Changelog ==
|
185 |
|
186 |
+
= 2.3.1 =
|
187 |
+
* description field tag issue resolved
|
188 |
+
|
189 |
= 2.3.0 =
|
190 |
* Description Shortcode issue resolved
|
191 |
|
responsive-accordion.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Responsive Accordion And Collapse
|
4 |
-
* Version: 2.3.
|
5 |
* Description: Responsive Accordion is the most easiest drag & drop accordion builder for WordPress. You can generate multiple accordion and collapse with multiple colour.
|
6 |
* Author: wpshopmart
|
7 |
* Author URI: https://www.wpshopmart.com
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Responsive Accordion And Collapse
|
4 |
+
* Version: 2.3.1
|
5 |
* Description: Responsive Accordion is the most easiest drag & drop accordion builder for WordPress. You can generate multiple accordion and collapse with multiple colour.
|
6 |
* Author: wpshopmart
|
7 |
* Author URI: https://www.wpshopmart.com
|