Accordion FAQ - Version 1.3

Version Description

05-Feb-2016 = * Compatible with custom contact form plugin * Resolve recycle bin button conflict error

Download this release

Release Info

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

Code changes from version 1.2 to 1.3

img/rate-bg.jpg ADDED
Binary file
lib/admin/add-acc.php CHANGED
@@ -91,14 +91,5 @@
91
  <a href="https://wordpress.org/support/plugin/responsive-accordion-and-collapse" target="_blank" class="button button-primary button-hero ">Get Support</a>
92
  <br> <br>
93
 
94
- <h1>Rate Us </h1>
95
- <h3>Show us some love, If you like our product then please give us some valuable feedback on wordpress</h3>
96
- <a href="https://wordpress.org/plugins/responsive-accordion-and-collapse/" target="_blank" class="button button-primary button-hero ">RATE HERE</a>
97
- <a class="wpsm-rate-us" style=" text-decoration: none; height: 40px; width: 40px;" href="https://wordpress.org/plugins/responsive-accordion-and-collapse/" target="_blank">
98
- <span class="dashicons dashicons-star-filled"></span>
99
- <span class="dashicons dashicons-star-filled"></span>
100
- <span class="dashicons dashicons-star-filled"></span>
101
- <span class="dashicons dashicons-star-filled"></span>
102
- <span class="dashicons dashicons-star-filled"></span>
103
- </a>
104
  <?php require('add-ac-js-footer.php'); ?>
91
  <a href="https://wordpress.org/support/plugin/responsive-accordion-and-collapse" target="_blank" class="button button-primary button-hero ">Get Support</a>
92
  <br> <br>
93
 
94
+
 
 
 
 
 
 
 
 
 
95
  <?php require('add-ac-js-footer.php'); ?>
lib/admin/menu.php CHANGED
@@ -24,6 +24,7 @@ class wpsm_accordion {
24
  public function wpsm_accordion_admin_scripts(){
25
  if(get_post_type()=="responsive_accordion"){
26
 
 
27
  wp_enqueue_script('jquery-ui-datepicker');
28
  //color-picker css n js
29
  wp_enqueue_style( 'wp-color-picker' );
@@ -83,6 +84,7 @@ class wpsm_accordion {
83
  public function wpsm_accordion_meta_boxes_group(){
84
  add_meta_box('add_accordion', __('Add Accordion', wpshopmart_accordion_text_domain), array(&$this, 'wpsm_add_ac_meta_box_function'), 'responsive_accordion', 'normal', 'low' );
85
  add_meta_box ('accordion_shortcode', __('Accordion Shortcode', wpshopmart_accordion_text_domain), array(&$this, 'wpsm_pic_ac_shortcode'), 'responsive_accordion', 'normal', 'low');
 
86
  add_meta_box('accordion_setting', __('Accordion Settings', wpshopmart_accordion_text_domain), array(&$this, 'wpsm_add_ac_setting_meta_box_function'), 'responsive_accordion', 'side', 'low');
87
  }
88
 
@@ -110,16 +112,6 @@ class wpsm_accordion {
110
  width:100%;
111
  }
112
 
113
- .wpsm-rate-us span.dashicons {
114
- width: 50px;
115
- height: 50px;
116
- font-size:30px;
117
- color : #dd3333 !important;
118
- }
119
- .wpsm-rate-us span.dashicons-star-filled:before {
120
- content: "\f155";
121
- font-size: 40px;
122
- }
123
  </style>
124
  <h3>Accordion Shortcode</h3>
125
  <p><?php _e("Use below shortcode in any Page/Post to publish your Accordion", wpshopmart_accordion_text_domain);?></p>
@@ -150,6 +142,55 @@ class wpsm_accordion {
150
  require('data-post/ac-save-data.php');
151
  }
152
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
153
  public function accordion_settings_meta_box_save($PostID){
154
  require('data-post/ac-settings-save-data.php');
155
  }
24
  public function wpsm_accordion_admin_scripts(){
25
  if(get_post_type()=="responsive_accordion"){
26
 
27
+ wp_enqueue_media();
28
  wp_enqueue_script('jquery-ui-datepicker');
29
  //color-picker css n js
30
  wp_enqueue_style( 'wp-color-picker' );
84
  public function wpsm_accordion_meta_boxes_group(){
85
  add_meta_box('add_accordion', __('Add Accordion', wpshopmart_accordion_text_domain), array(&$this, 'wpsm_add_ac_meta_box_function'), 'responsive_accordion', 'normal', 'low' );
86
  add_meta_box ('accordion_shortcode', __('Accordion Shortcode', wpshopmart_accordion_text_domain), array(&$this, 'wpsm_pic_ac_shortcode'), 'responsive_accordion', 'normal', 'low');
87
+ add_meta_box('accordion_rateus', __('Rate Us If You Like This Plugin', wpshopmart_accordion_text_domain), array(&$this, 'wpsm_accordion_rateus_meta_box_function'), 'responsive_accordion', 'side', 'low');
88
  add_meta_box('accordion_setting', __('Accordion Settings', wpshopmart_accordion_text_domain), array(&$this, 'wpsm_add_ac_setting_meta_box_function'), 'responsive_accordion', 'side', 'low');
89
  }
90
 
112
  width:100%;
113
  }
114
 
 
 
 
 
 
 
 
 
 
 
115
  </style>
116
  <h3>Accordion Shortcode</h3>
117
  <p><?php _e("Use below shortcode in any Page/Post to publish your Accordion", wpshopmart_accordion_text_domain);?></p>
142
  require('data-post/ac-save-data.php');
143
  }
144
 
145
+ public function wpsm_accordion_rateus_meta_box_function(){
146
+ ?>
147
+ <style>
148
+ #accordion_rateus{
149
+ background:url(<?php echo wpshopmart_accordion_directory_url.'img/rate-bg.jpg'; ?>)!important;
150
+ }
151
+ #accordion_rateus .hndle , #accordion_rateus .handlediv{
152
+ display:none;
153
+ }
154
+ #accordion_rateus h1{
155
+ color:#fff;
156
+
157
+ }
158
+ #accordion_rateus h3 {
159
+ color:#fff;
160
+ font-size:15px;
161
+ }
162
+ #accordion_rateus .button-hero{
163
+ display:block;
164
+ text-align:center;
165
+ margin-bottom:15px;
166
+ }
167
+ .wpsm-rate-us{
168
+ text-align:center;
169
+ }
170
+ .wpsm-rate-us span.dashicons {
171
+ width: 40px;
172
+ height: 40px;
173
+ font-size:20px;
174
+ color : #ffffff !important;
175
+ }
176
+ .wpsm-rate-us span.dashicons-star-filled:before {
177
+ content: "\f155";
178
+ font-size: 40px;
179
+ }
180
+ </style>
181
+ <h1>Rate Us </h1>
182
+ <h3>Show us some love, If you like our product then please give us some valuable feedback on wordpress</h3>
183
+ <a href="https://wordpress.org/plugins/responsive-accordion-and-collapse/" target="_blank" class="button button-primary button-hero ">RATE HERE</a>
184
+ <a class="wpsm-rate-us" style=" text-decoration: none; height: 40px; width: 40px;" href="https://wordpress.org/plugins/responsive-accordion-and-collapse/" target="_blank">
185
+ <span class="dashicons dashicons-star-filled"></span>
186
+ <span class="dashicons dashicons-star-filled"></span>
187
+ <span class="dashicons dashicons-star-filled"></span>
188
+ <span class="dashicons dashicons-star-filled"></span>
189
+ <span class="dashicons dashicons-star-filled"></span>
190
+ </a>
191
+ <?php
192
+ }
193
+
194
  public function accordion_settings_meta_box_save($PostID){
195
  require('data-post/ac-settings-save-data.php');
196
  }
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: wpshopmart
3
  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.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -71,6 +71,10 @@ Please use WordPress support forum to ask any query regarding any issue.
71
 
72
  == Changelog ==
73
 
 
 
 
 
74
  = 1.2 01-Feb-2016 =
75
  * Enable custom css on shortcode file
76
 
3
  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.2
7
+ Stable tag: 1.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
71
 
72
  == Changelog ==
73
 
74
+ = 1.3 05-Feb-2016 =
75
+ * Compatible with custom contact form plugin
76
+ * Resolve recycle bin button conflict error
77
+
78
  = 1.2 01-Feb-2016 =
79
  * Enable custom css on shortcode file
80
 
responsive-accordion.php CHANGED
@@ -1,7 +1,7 @@
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
1
  <?php
2
  /**
3
  * Plugin Name: Responsive Accordion And Collapse
4
+ * Version: 1.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: http://www.wpshopmart.com