Accordion FAQ - Version 1.2

Version Description

01-Feb-2016 = * Enable custom css on shortcode file

Download this release

Release Info

Developer wpshopmart
Plugin Icon 128x128 Accordion FAQ
Version 1.2
Comparing to
See all releases

Code changes from version 1.1 to 1.2

front/ac-content.php CHANGED
@@ -30,6 +30,7 @@
30
  "font_family" => "Open Sans",
31
  "expand_option" =>1,
32
  "ac_styles" =>1,
 
33
  );
34
 
35
  foreach($option_names as $option_name => $default_value) {
@@ -49,45 +50,6 @@
49
  <h3 style="margin-bottom:20px;display:block;width:100%;margin-top:10px"><?php echo get_the_title( $post_id ); ?> </h3>
50
  <?php } ?>
51
  <style>
52
- <?php
53
- switch($ac_styles){
54
- case "1":
55
- ?>
56
-
57
- <?php
58
- break;
59
- case "2":
60
- ?>
61
- #wpsm_accordion_<?php echo $post_id; ?> .wpsm_panel-heading {
62
- background-image: url(<?php echo wpshopmart_accordion_directory_url.'img/style-soft.png'; ?>);
63
- background-position: 0 0;
64
- background-repeat: repeat-x;
65
- }
66
- #wpsm_accordion_<?php echo $post_id; ?> .ac_open_cl_icon{
67
- background-image: url(<?php echo wpshopmart_accordion_directory_url.'img/style-soft.png'; ?>);
68
- background-position: 0 0;
69
- background-repeat: repeat-x;
70
- }
71
- <?php
72
- break;
73
- case "3":
74
- ?>
75
- #wpsm_accordion_<?php echo $post_id; ?> .wpsm_panel-heading {
76
- background-image: url(<?php echo wpshopmart_accordion_directory_url.'img/style-noise.png'; ?>);
77
- background-position: 0 0;
78
- background-repeat: repeat-x;
79
- }
80
- #wpsm_accordion_<?php echo $post_id; ?> .ac_open_cl_icon{
81
- background-image: url(<?php echo wpshopmart_accordion_directory_url.'img/style-noise.png'; ?>);
82
- background-position: 0 0;
83
- background-repeat: repeat-x;
84
- }
85
- <?php
86
- break;
87
- }
88
- ?>
89
-
90
-
91
  <?php require('style.php'); ?>
92
  </style>
93
  <div class="wpsm_panel-group" id="wpsm_accordion_<?php echo $post_id; ?>" >
30
  "font_family" => "Open Sans",
31
  "expand_option" =>1,
32
  "ac_styles" =>1,
33
+ "custom_css" =>"",
34
  );
35
 
36
  foreach($option_names as $option_name => $default_value) {
50
  <h3 style="margin-bottom:20px;display:block;width:100%;margin-top:10px"><?php echo get_the_title( $post_id ); ?> </h3>
51
  <?php } ?>
52
  <style>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
  <?php require('style.php'); ?>
54
  </style>
55
  <div class="wpsm_panel-group" id="wpsm_accordion_<?php echo $post_id; ?>" >
front/style.php CHANGED
@@ -104,4 +104,43 @@
104
  padding-right: 15px !important;
105
  display: inline-block !important;
106
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
107
  <?php echo $custom_css; ?>
104
  padding-right: 15px !important;
105
  display: inline-block !important;
106
  }
107
+
108
+ <?php
109
+ switch($ac_styles){
110
+ case "1":
111
+ ?>
112
+
113
+ <?php
114
+ break;
115
+ case "2":
116
+ ?>
117
+ #wpsm_accordion_<?php echo $post_id; ?> .wpsm_panel-heading {
118
+ background-image: url(<?php echo wpshopmart_accordion_directory_url.'img/style-soft.png'; ?>);
119
+ background-position: 0 0;
120
+ background-repeat: repeat-x;
121
+ }
122
+ #wpsm_accordion_<?php echo $post_id; ?> .ac_open_cl_icon{
123
+ background-image: url(<?php echo wpshopmart_accordion_directory_url.'img/style-soft.png'; ?>);
124
+ background-position: 0 0;
125
+ background-repeat: repeat-x;
126
+ }
127
+ <?php
128
+ break;
129
+ case "3":
130
+ ?>
131
+ #wpsm_accordion_<?php echo $post_id; ?> .wpsm_panel-heading {
132
+ background-image: url(<?php echo wpshopmart_accordion_directory_url.'img/style-noise.png'; ?>);
133
+ background-position: 0 0;
134
+ background-repeat: repeat-x;
135
+ }
136
+ #wpsm_accordion_<?php echo $post_id; ?> .ac_open_cl_icon{
137
+ background-image: url(<?php echo wpshopmart_accordion_directory_url.'img/style-noise.png'; ?>);
138
+ background-position: 0 0;
139
+ background-repeat: repeat-x;
140
+ }
141
+ <?php
142
+ break;
143
+ }
144
+ ?>
145
+
146
  <?php echo $custom_css; ?>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.wpshopmart.com
4
  Tags: Accordion, accordions, accordion plugin, accordion plugin jquery, accordions plugin wordpress, accordions shortcode, accordion shortcode, accordions Widget, accordion Widget, jQuery accordions, Responsive accordion, Responsive accordions, collapsable content, collapse, 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: 3.3
6
  Tested up to: 4.4.1
7
- Stable tag: 1.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -71,6 +71,9 @@ Please use WordPress support forum to ask any query regarding any issue.
71
 
72
  == Changelog ==
73
 
 
 
 
74
  = 1.1 =
75
  * All Data are sanitized
76
  * (New) Add expand/collapse hide settings on page load
4
  Tags: Accordion, accordions, accordion plugin, accordion plugin jquery, accordions plugin wordpress, accordions shortcode, accordion shortcode, accordions Widget, accordion Widget, jQuery accordions, Responsive accordion, Responsive accordions, collapsable content, collapse, 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: 3.3
6
  Tested up to: 4.4.1
7
+ Stable tag: 1.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
71
 
72
  == Changelog ==
73
 
74
+ = 1.2 01-Feb-2016 =
75
+ * Enable custom css on shortcode file
76
+
77
  = 1.1 =
78
  * All Data are sanitized
79
  * (New) Add expand/collapse hide settings on page load
responsive-accordion.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Responsive Accordion And Collapse
4
- * Version: 1.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: http://www.wpshopmart.com
1
  <?php
2
  /**
3
  * Plugin Name: Responsive Accordion And Collapse
4
+ * Version: 1.2
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: http://www.wpshopmart.com