Accordion - Version 1.9

Version Description

  • 11/12/2015 - fix - Shortcode issue fixed.
Download this release

Release Info

Developer paratheme
Plugin Icon 128x128 Accordion
Version 1.9
Comparing to
See all releases

Code changes from version 1.7 to 1.9

Files changed (39) hide show
  1. ParaAdmin/ParaAdminClass.php +0 -245
  2. ParaAdmin/css/ParaAdmin.css +14 -11
  3. ParaAdmin/css/ParaDashboard.css +0 -83
  4. ParaAdmin/css/ParaIcons.css +0 -82
  5. ParaAdmin/css/icons/browser-firefox.png +0 -0
  6. ParaAdmin/css/icons/dark/browser-firefox.png +0 -0
  7. ParaAdmin/css/icons/dark/device-monitor.png +0 -0
  8. ParaAdmin/css/icons/dark/globe.png +0 -0
  9. ParaAdmin/css/icons/dark/keywords.png +0 -0
  10. ParaAdmin/css/icons/dark/map-pin.png +0 -0
  11. ParaAdmin/css/icons/dark/os-apple.png +0 -0
  12. ParaAdmin/css/icons/dark/os-windows.png +0 -0
  13. ParaAdmin/css/icons/dark/page.png +0 -0
  14. ParaAdmin/css/icons/dark/share-hub.png +0 -0
  15. ParaAdmin/css/icons/dark/user-crowd.png +0 -0
  16. ParaAdmin/css/icons/dark/user-group.png +0 -0
  17. ParaAdmin/css/icons/device-monitor.png +0 -0
  18. ParaAdmin/css/icons/globe.png +0 -0
  19. ParaAdmin/css/icons/keywords.png +0 -0
  20. ParaAdmin/css/icons/map-pin.png +0 -0
  21. ParaAdmin/css/icons/os-apple.png +0 -0
  22. ParaAdmin/css/icons/os-windows.png +0 -0
  23. ParaAdmin/css/icons/page.png +0 -0
  24. ParaAdmin/css/icons/share-hub.png +0 -0
  25. ParaAdmin/css/icons/user-crowd.png +0 -0
  26. ParaAdmin/css/icons/user-group.png +0 -0
  27. accordions.php +7 -7
  28. admin/css/style.css +22 -0
  29. includes/accordions-functions.php +2 -2
  30. includes/accordions-meta.php +21 -18
  31. includes/class-functions.php +2 -2
  32. includes/class-settings.php +2 -2
  33. includes/class-shortcodes.php +2 -2
  34. readme.txt +11 -4
  35. templates/content.php +2 -5
  36. templates/header.php +2 -5
  37. templates/scripts.php +2 -2
  38. templates/variables.php +2 -5
  39. themes/flat/index.php +2 -2
ParaAdmin/ParaAdminClass.php DELETED
@@ -1,245 +0,0 @@
1
- <?php
2
-
3
- // ParaAdmin Class
4
-
5
- class paraAdmin
6
- {
7
- var $options = array();
8
-
9
-
10
- function option_output($options_all, $options_tabs)
11
- {
12
- $html = '';
13
- $html .= '<div class="para-settings">';
14
-
15
- $html .= '<ul class="tab-nav">';
16
-
17
- $i=1;
18
- foreach($options_tabs as $id => $tabs)
19
- {
20
- if($i==1)
21
- {
22
- $active = 'active';
23
- }
24
- else
25
- {
26
- $active = '';
27
- }
28
-
29
- $html.= '<li nav="'.$i.'" class="tab'.$i.' '.$active.' ">'.$tabs.'</li>';
30
-
31
- $i++;
32
- }
33
- $html .= '</ul>';
34
-
35
-
36
-
37
- $html .= '<ul class="box">';
38
-
39
- $j = 1;
40
- foreach($options_tabs as $id => $tabs)
41
- {
42
- if($j==1)
43
- {
44
- $active = 'active';
45
- $display = 'block';
46
- }
47
- else
48
- {
49
- $active = '';
50
- $display = 'none';
51
- }
52
- $html.= '<li style="display: '.$display.';" class="box'.$j.' tab-box '.$active.'">';
53
- foreach($options_all[$id] as $id => $options)
54
- {
55
- foreach($options as $option)
56
-
57
- $css_class = $options['css_class'];
58
- $title = $options['title'];
59
- $option_details = $options['option_details'];
60
- $input_type = $options['input_type'];
61
- $input_values = $options['input_values'];
62
-
63
- $html.= '<div class="option-box">';
64
-
65
- $html.= '<p class="option-title">'.$title.'</p>';
66
- $html.= '<p class="option-info">'.$option_details.'</p>';
67
-
68
- $html.= $this->input_type($input_type, $input_values, $id, $css_class);
69
-
70
- $html.= '</div>';
71
-
72
- }
73
- $html.= '</li>';
74
-
75
- $j++;
76
- }
77
- $html .= '</ul>';
78
-
79
-
80
-
81
-
82
-
83
-
84
-
85
-
86
- $html .= '</div>';
87
-
88
-
89
- return $html;
90
-
91
- }
92
-
93
-
94
- function input_type($input_type, $input_values, $id, $css_class)
95
- {
96
-
97
-
98
-
99
- $html ='';
100
- if($input_type == 'text')
101
- {
102
-
103
- $option_id_value = get_option( $id );
104
- if(empty($option_id_value))
105
- {
106
- $option_id_value = '';
107
- }
108
-
109
-
110
-
111
- $html.= '<input name="'.$id.'" type="text" value="'.$option_id_value.'" id="'.$id.'" class="'.$css_class.'" />';
112
- }
113
-
114
- elseif($input_type == 'textarea')
115
- {
116
-
117
- $option_id_value = get_option( $id );
118
-
119
- if(!empty($option_id_value))
120
- {
121
- $value = $option_id_value;
122
- }
123
- else
124
- {
125
- $value = $input_values;
126
- }
127
-
128
-
129
-
130
- $html.= '<textarea name="'.$id.'" type="text" id="'.$id.'" class="'.$css_class.'" >'.$value.'</textarea>';
131
- }
132
-
133
-
134
-
135
-
136
-
137
- elseif($input_type == 'checkbox')
138
- {
139
-
140
- foreach($input_values as $key => $value)
141
- {
142
-
143
-
144
-
145
- $option_key_value = get_option( $key );
146
- if(empty($option_key_value))
147
- {
148
- $option_key_value = '';
149
- $checked = '';
150
- }
151
- else
152
- {
153
- $checked = 'checked';
154
- }
155
-
156
-
157
-
158
- $html.= '<label>';
159
-
160
- $html.= '<input name="'.$key.'" type="checkbox" '.$checked.' value="1" id="'.$key.'" class="'.$css_class.'" /> '.$value;
161
- $html.= '</label><br />';
162
- }
163
-
164
-
165
- }
166
-
167
- elseif($input_type == 'select')
168
- {
169
-
170
-
171
- $html.= '<select name="'.$id.'" id="'.$id.'" class="'.$css_class.'">';
172
- foreach($input_values as $key => $value)
173
- {
174
-
175
-
176
- $option_id_value = get_option( $id );
177
- if($option_id_value == $key )
178
- {
179
- $selected = 'selected';
180
-
181
- }
182
- else
183
- {
184
- $selected = '';
185
- }
186
-
187
-
188
-
189
- $html.= '<option '.$selected.' value="'.$key.'" >'.$value.'</option>';
190
- }
191
- $html.= '</select>';
192
-
193
- }
194
-
195
-
196
- elseif($input_type == 'radio')
197
- {
198
-
199
- foreach($input_values as $key => $value)
200
- {
201
- $html.= '<label>';
202
-
203
- $option_id_value = get_option( $id );
204
- if($option_id_value == $key )
205
- {
206
- $checked = 'checked';
207
-
208
- }
209
- else
210
- {
211
- $checked = '';
212
- }
213
-
214
-
215
-
216
-
217
- $html.= '<input '.$checked.' class="'.$css_class.'" id="'.$key.'" type="radio" name="'.$id.'" value="'.$key.'" >'.$value.'</option> ';
218
- $html.= '</label><br />';
219
- }
220
-
221
-
222
- }
223
-
224
-
225
-
226
-
227
-
228
-
229
-
230
- return $html;
231
- }
232
-
233
-
234
-
235
-
236
-
237
-
238
-
239
-
240
-
241
-
242
-
243
- }
244
-
245
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ParaAdmin/css/ParaAdmin.css CHANGED
@@ -9,15 +9,13 @@
9
  }
10
 
11
  .para-settings .option-box {
12
- border-left: 3px solid rgb(255, 255, 255);
13
  margin: 10px 0;
14
  padding: 10px;
15
  }
16
 
17
 
18
  .para-settings .option-box:hover {
19
- background: #e6e6e6;
20
- border-left: 3px solid #11b063;
21
  }
22
 
23
 
@@ -27,7 +25,7 @@
27
  }
28
 
29
  .para-settings .option-box .option-info {
30
- color: rgb(73, 147, 14);
31
  font-size: 13px;
32
  font-weight: normal;
33
  margin: 10px 0;
@@ -41,20 +39,20 @@
41
 
42
  .para-settings ul.tab-nav li {
43
  background: none repeat scroll 0 0 rgb(230, 230, 230);
44
- border-left: 1px solid rgb(199, 199, 199);
45
  cursor: pointer;
46
  display: inline-block;
47
  float: left;
48
  margin: 0;
49
- padding: 8px 15px;
50
  }
51
 
52
  .para-settings ul.tab-nav li.active{
53
- background:#d8d6d6;
54
- border-top:2px solid #11b063;
55
- padding-top:6px;
56
  font-weight: bold;
57
  }
 
 
 
58
  .para-settings ul.box {
59
  clear: both;
60
  margin: 0;
@@ -62,7 +60,7 @@
62
  }
63
 
64
  .para-settings ul.box li.tab-box {
65
- border: 1px solid rgb(153, 153, 153);
66
  display: none;
67
  margin: 0;
68
  width: 100%;
@@ -70,7 +68,6 @@
70
 
71
 
72
 
73
-
74
  .para-settings .new_user_profile_social {
75
  margin: 15px 5px;
76
  }
@@ -109,6 +106,12 @@
109
  margin: 2px 0;
110
  }
111
 
 
 
 
 
 
 
112
  .para-settings .expandable .header {
113
  background: none repeat scroll 0 0 rgb(255, 255, 255);
114
  padding: 5px;
9
  }
10
 
11
  .para-settings .option-box {
 
12
  margin: 10px 0;
13
  padding: 10px;
14
  }
15
 
16
 
17
  .para-settings .option-box:hover {
18
+
 
19
  }
20
 
21
 
25
  }
26
 
27
  .para-settings .option-box .option-info {
28
+ color: rgb(153, 153, 153);
29
  font-size: 13px;
30
  font-weight: normal;
31
  margin: 10px 0;
39
 
40
  .para-settings ul.tab-nav li {
41
  background: none repeat scroll 0 0 rgb(230, 230, 230);
 
42
  cursor: pointer;
43
  display: inline-block;
44
  float: left;
45
  margin: 0;
46
+ padding: 15px 20px;
47
  }
48
 
49
  .para-settings ul.tab-nav li.active{
50
+ background:#ffffff;
 
 
51
  font-weight: bold;
52
  }
53
+
54
+
55
+
56
  .para-settings ul.box {
57
  clear: both;
58
  margin: 0;
60
  }
61
 
62
  .para-settings ul.box li.tab-box {
63
+ background: rgb(255, 255, 255) none repeat scroll 0 0;
64
  display: none;
65
  margin: 0;
66
  width: 100%;
68
 
69
 
70
 
 
71
  .para-settings .new_user_profile_social {
72
  margin: 15px 5px;
73
  }
106
  margin: 2px 0;
107
  }
108
 
109
+ .para-settings .expandable .items.ui-sortable-helper {
110
+ border: 1px dashed rgb(153, 153, 153);
111
+ }
112
+
113
+
114
+
115
  .para-settings .expandable .header {
116
  background: none repeat scroll 0 0 rgb(255, 255, 255);
117
  padding: 5px;
ParaAdmin/css/ParaDashboard.css DELETED
@@ -1,83 +0,0 @@
1
- @charset "utf-8";
2
- /* CSS Document */
3
-
4
-
5
-
6
- /*para-dashboard*/
7
-
8
- .para-dashboard {
9
- background: none repeat scroll 0 0 rgb(91, 116, 145);
10
- padding: 10px;
11
- }
12
-
13
- .para-dashboard .dash-box {
14
- background: none repeat scroll 0 0 rgb(93, 126, 163);
15
- border: 1px solid rgb(122, 170, 223);
16
- display: inline-block;
17
- height: auto;
18
- margin-bottom: 30px;
19
- margin-right: 10px;
20
- margin-top: 0;
21
- overflow: hidden;
22
- padding-bottom: 30px;
23
- vertical-align: top;
24
- width: 350px;
25
- }
26
-
27
- .para-dashboard .dash-box-title {
28
- background: none repeat scroll 0 0 rgb(100, 140, 186);
29
- color: rgb(255, 255, 255);
30
- font-size: 16px;
31
- font-weight: bold;
32
- line-height: 30px;
33
- padding: 0 10px;
34
- }
35
-
36
- .para-dashboard .dash-box-title .fa {
37
- padding-right: 10px;
38
- }
39
-
40
- .para-dashboard .dash-box-info {
41
- color: rgb(238, 238, 238);
42
- font-size: 12px;
43
- padding: 10px;
44
- }
45
-
46
- .para-dashboard .dash-box .total-online {
47
- color: rgb(255, 255, 255);
48
- font-size: 40px;
49
- padding: 30px 10px 10px;
50
- text-align: center;
51
- }
52
-
53
- .para-dashboard .dash-box .total-session {
54
- color: rgb(255, 255, 255);
55
- font-size: 40px;
56
- padding: 30px 10px 10px;
57
- text-align: center;
58
- }
59
-
60
-
61
-
62
-
63
- .para-dashboard .dash-box .para-data-table {
64
- border: 1px solid rgb(221, 221, 221);
65
- border-collapse: collapse;
66
- color: rgb(255, 255, 255);
67
- text-align: left;
68
- }
69
-
70
- .para-dashboard .dash-box .para-data-table th {
71
- padding: 7px;
72
- }
73
- .para-dashboard .dash-box tr {
74
- border-bottom: 1px solid rgb(221, 221, 221);
75
- }
76
- .para-dashboard .dash-box .para-data-table td {
77
- padding: 5px;
78
- }
79
-
80
- .para-dashboard .dash-box .para-data-table a {
81
- color: rgb(255, 255, 255);
82
- text-decoration: none;
83
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ParaAdmin/css/ParaIcons.css DELETED
@@ -1,82 +0,0 @@
1
- @charset "utf-8";
2
- /* CSS Document */
3
-
4
-
5
- /*Admin CSS*/
6
-
7
- .para-icons {
8
- padding-left: 25px;
9
-
10
- }
11
-
12
- .para-icons.globe {
13
- background: url("icons/globe.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
14
-
15
- }
16
-
17
- .para-icons.os-windows {
18
- background: url("icons/os-windows.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
19
-
20
- }
21
-
22
-
23
- .para-icons.device-monitor {
24
- background: url("icons/device-monitor.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
25
-
26
- }
27
-
28
- .para-icons.browser-firefox {
29
- background: url("icons/browser-firefox.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
30
-
31
- }
32
-
33
-
34
- .para-icons.keywords {
35
- background: url("icons/keywords.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
36
-
37
- }
38
-
39
- .para-icons.map-pin {
40
- background: url("icons/map-pin.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
41
-
42
- }
43
-
44
-
45
-
46
- .para-icons.share-hub {
47
- background: url("icons/share-hub.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
48
-
49
- }
50
-
51
- .para-icons.page {
52
- background: url("icons/page.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
53
-
54
- }
55
-
56
- .para-icons.user-group {
57
- background: url("icons/user-group.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
58
-
59
- }
60
-
61
- .para-icons.user-crowd {
62
- background: url("icons/user-crowd.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
63
-
64
- }
65
-
66
-
67
-
68
-
69
-
70
-
71
-
72
-
73
-
74
-
75
-
76
-
77
-
78
-
79
-
80
-
81
-
82
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ParaAdmin/css/icons/browser-firefox.png DELETED
Binary file
ParaAdmin/css/icons/dark/browser-firefox.png DELETED
Binary file
ParaAdmin/css/icons/dark/device-monitor.png DELETED
Binary file
ParaAdmin/css/icons/dark/globe.png DELETED
Binary file
ParaAdmin/css/icons/dark/keywords.png DELETED
Binary file
ParaAdmin/css/icons/dark/map-pin.png DELETED
Binary file
ParaAdmin/css/icons/dark/os-apple.png DELETED
Binary file
ParaAdmin/css/icons/dark/os-windows.png DELETED
Binary file
ParaAdmin/css/icons/dark/page.png DELETED
Binary file
ParaAdmin/css/icons/dark/share-hub.png DELETED
Binary file
ParaAdmin/css/icons/dark/user-crowd.png DELETED
Binary file
ParaAdmin/css/icons/dark/user-group.png DELETED
Binary file
ParaAdmin/css/icons/device-monitor.png DELETED
Binary file
ParaAdmin/css/icons/globe.png DELETED
Binary file
ParaAdmin/css/icons/keywords.png DELETED
Binary file
ParaAdmin/css/icons/map-pin.png DELETED
Binary file
ParaAdmin/css/icons/os-apple.png DELETED
Binary file
ParaAdmin/css/icons/os-windows.png DELETED
Binary file
ParaAdmin/css/icons/page.png DELETED
Binary file
ParaAdmin/css/icons/share-hub.png DELETED
Binary file
ParaAdmin/css/icons/user-crowd.png DELETED
Binary file
ParaAdmin/css/icons/user-group.png DELETED
Binary file
accordions.php CHANGED
@@ -3,11 +3,11 @@
3
  Plugin Name: Accordions
4
  Plugin URI: http://paratheme.com/items/accordions-html-css3-responsive-accordion-grid-for-wordpress/
5
  Description: Fully responsive and mobile ready accordion grid for wordpress.
6
- Version: 1.7
7
- Author: paratheme
8
- Author URI: http://paratheme.com
9
- License: Custom support@paratheme.com
10
- License URI: http://paratheme.com/copyright/
11
  */
12
 
13
  if ( ! defined('ABSPATH')) exit; // if direct access
@@ -26,8 +26,8 @@ class Accordions{
26
  define('accordions_conatct_url', 'http://paratheme.com/contact' );
27
  define('accordions_qa_url', 'http://paratheme.com/qa/' );
28
  define('accordions_plugin_name', 'Accordions' );
29
- define('accordions_plugin_version', '1.7' );
30
- define('accordions_customer_type', 'free' ); // pro & free
31
  define('accordions_share_url', 'https://wordpress.org/plugins/accordions/' );
32
  define('accordions_tutorial_video_url', '//www.youtube.com/embed/h2wNFJaaY8s?rel=0' );
33
 
3
  Plugin Name: Accordions
4
  Plugin URI: http://paratheme.com/items/accordions-html-css3-responsive-accordion-grid-for-wordpress/
5
  Description: Fully responsive and mobile ready accordion grid for wordpress.
6
+ Version: 1.9
7
+ Author: pickplugins
8
+ Author URI: http://pickplugins.com
9
+ License: GPLv2 or later
10
+ License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
  */
12
 
13
  if ( ! defined('ABSPATH')) exit; // if direct access
26
  define('accordions_conatct_url', 'http://paratheme.com/contact' );
27
  define('accordions_qa_url', 'http://paratheme.com/qa/' );
28
  define('accordions_plugin_name', 'Accordions' );
29
+ define('accordions_plugin_version', '1.9' );
30
+ define('accordions_customer_type', 'free' );
31
  define('accordions_share_url', 'https://wordpress.org/plugins/accordions/' );
32
  define('accordions_tutorial_video_url', '//www.youtube.com/embed/h2wNFJaaY8s?rel=0' );
33
 
admin/css/style.css CHANGED
@@ -2,6 +2,28 @@
2
  /* CSS Document */
3
 
4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  /*Admin CSS*/
6
 
7
  #accordions_metabox ul.accordions_bg_img_list{}
2
  /* CSS Document */
3
 
4
 
5
+ #accordions_metabox {
6
+ background: #f1f1f1 none repeat scroll 0 0;
7
+ border: medium none;
8
+ box-shadow: none;
9
+ }
10
+
11
+ #accordions_metabox .hndle {
12
+ background: rgb(96, 173, 252) none repeat scroll 0 0;
13
+ color: rgb(255, 255, 255);
14
+ }
15
+
16
+ #accordions_metabox .handlediv{
17
+ color: rgb(255, 255, 255);
18
+ }
19
+
20
+
21
+
22
+
23
+
24
+
25
+
26
+
27
  /*Admin CSS*/
28
 
29
  #accordions_metabox ul.accordions_bg_img_list{}
includes/accordions-functions.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
 
3
  /*
4
- * @Author ParaTheme
5
- * Copyright: 2015 ParaTheme
6
  */
7
 
8
  if ( ! defined('ABSPATH')) exit; // if direct access
1
  <?php
2
 
3
  /*
4
+ * @Author pickplugins
5
+ * Copyright: 2015 pickplugins
6
  */
7
 
8
  if ( ! defined('ABSPATH')) exit; // if direct access
includes/accordions-meta.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
 
3
  /*
4
- * @Author ParaTheme
5
- * Copyright: 2015 ParaTheme
6
  */
7
 
8
  if ( ! defined('ABSPATH')) exit; // if direct access
@@ -110,21 +110,13 @@ function meta_boxes_accordions_input( $post ) {
110
 
111
  <div class="para-settings">
112
 
113
- <div class="option-box">
114
- <p class="option-title">Shortcode</p>
115
- <p class="option-info">Copy this shortcode and paste on page or post where you want to display accordions, Use PHP code to your themes file to display accordions.</p>
116
- <br />
117
- <textarea cols="50" rows="1" style="background:#bfefff" onClick="this.select();" >[accordions <?php echo ' id="'.$post->ID.'"';?> ]</textarea>
118
- <br />
119
- PHP Code:<br />
120
- <textarea cols="50" rows="1" style="background:#bfefff" onClick="this.select();" ><?php echo '<?php echo do_shortcode("[accordions id='; echo "'".$post->ID."' ]"; echo '"); ?>'; ?></textarea>
121
-
122
- </div>
123
 
124
 
125
  <ul class="tab-nav">
126
 
127
- <li nav="2" class="nav2 active">Style</li>
 
128
  <li nav="3" class="nav3">Content</li>
129
  <li nav="4" class="nav4">Custom CSS</li>
130
 
@@ -132,9 +124,20 @@ function meta_boxes_accordions_input( $post ) {
132
 
133
  <ul class="box">
134
 
135
-
 
 
 
 
 
 
 
 
 
 
 
136
 
137
- <li style="display: block;" class="box2 tab-box active">
138
 
139
  <div class="option-box">
140
  <p class="option-title">Themes</p>
@@ -349,12 +352,12 @@ function meta_boxes_accordions_input( $post ) {
349
  <div class="option-box">
350
  <p class="option-title">Default Background Color</p>
351
  <p class="option-info"></p>
352
- <input type="text" name="accordions_default_bg_color" id="accordions_default_bg_color" value="<?php if(!empty($accordions_default_bg_color)) echo $accordions_default_bg_color; else echo "#01ce6a"; ?>" /> </div>
353
 
354
  <div class="option-box">
355
  <p class="option-title">Active Background Color</p>
356
  <p class="option-info"></p>
357
- <input type="text" name="accordions_active_bg_color" id="accordions_active_bg_color" value="<?php if(!empty($accordions_active_bg_color)) echo $accordions_active_bg_color; else echo "#02e576"; ?>" /> </div>
358
 
359
 
360
  <div class="option-box">
@@ -449,7 +452,7 @@ function meta_boxes_accordions_input( $post ) {
449
 
450
  </div>
451
  <div class="section-panel">
452
- <input width="100%" placeholder="accordions Header" type="text" name="accordions_content_title[row_<?php echo $i; ?>]" value="<?php if(!empty($accordions_title)) echo $accordions_title; ?>" />
453
 
454
 
455
 
1
  <?php
2
 
3
  /*
4
+ * @Author pickplugins
5
+ * Copyright: 2015 pickplugins
6
  */
7
 
8
  if ( ! defined('ABSPATH')) exit; // if direct access
110
 
111
  <div class="para-settings">
112
 
113
+
 
 
 
 
 
 
 
 
 
114
 
115
 
116
  <ul class="tab-nav">
117
 
118
+ <li nav="1" class="nav1 active">Shortcode</li>
119
+ <li nav="2" class="nav2">Style</li>
120
  <li nav="3" class="nav3">Content</li>
121
  <li nav="4" class="nav4">Custom CSS</li>
122
 
124
 
125
  <ul class="box">
126
 
127
+ <li style="display: block;" class="box1 tab-box active">
128
+ <div class="option-box">
129
+ <p class="option-title">Shortcode</p>
130
+ <p class="option-info">Copy this shortcode and paste on page or post where you want to display accordions, Use PHP code to your themes file to display accordions.</p>
131
+ <br />
132
+ <textarea cols="50" rows="1" style="background:#bfefff" onClick="this.select();" >[accordions <?php echo 'id="'.$post->ID.'"';?>]</textarea>
133
+ <br />
134
+ PHP Code:<br />
135
+ <textarea cols="50" rows="1" style="background:#bfefff" onClick="this.select();" ><?php echo '<?php echo do_shortcode("[accordions id='; echo "'".$post->ID."']"; echo '"); ?>'; ?></textarea>
136
+
137
+ </div>
138
+ </li>
139
 
140
+ <li style="display: none;" class="box2 tab-box">
141
 
142
  <div class="option-box">
143
  <p class="option-title">Themes</p>
352
  <div class="option-box">
353
  <p class="option-title">Default Background Color</p>
354
  <p class="option-info"></p>
355
+ <input type="text" name="accordions_default_bg_color" id="accordions_default_bg_color" value="<?php if(!empty($accordions_default_bg_color)) echo $accordions_default_bg_color; else echo "#48b3fd"; ?>" /> </div>
356
 
357
  <div class="option-box">
358
  <p class="option-title">Active Background Color</p>
359
  <p class="option-info"></p>
360
+ <input type="text" name="accordions_active_bg_color" id="accordions_active_bg_color" value="<?php if(!empty($accordions_active_bg_color)) echo $accordions_active_bg_color; else echo "#077fd4"; ?>" /> </div>
361
 
362
 
363
  <div class="option-box">
452
 
453
  </div>
454
  <div class="section-panel">
455
+ <input width="100%" placeholder="accordions Header" type="text" name="accordions_content_title[row_<?php echo $i; ?>]" value="<?php if(!empty($accordions_title)) echo htmlentities($accordions_title); ?>" />
456
 
457
 
458
 
includes/class-functions.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
 
3
  /*
4
- * @Author ParaTheme
5
- * Copyright: 2015 ParaTheme
6
  */
7
 
8
  if ( ! defined('ABSPATH')) exit; // if direct access
1
  <?php
2
 
3
  /*
4
+ * @Author pickplugins
5
+ * Copyright: 2015 pickplugins
6
  */
7
 
8
  if ( ! defined('ABSPATH')) exit; // if direct access
includes/class-settings.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
 
3
  /*
4
- * @Author ParaTheme
5
- * Copyright: 2015 ParaTheme
6
  */
7
 
8
  if ( ! defined('ABSPATH')) exit; // if direct access
1
  <?php
2
 
3
  /*
4
+ * @Author pickplugins
5
+ * Copyright: 2015 pickplugins
6
  */
7
 
8
  if ( ! defined('ABSPATH')) exit; // if direct access
includes/class-shortcodes.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
 
3
  /*
4
- * @Author ParaTheme
5
- * Copyright: 2015 ParaTheme
6
  */
7
 
8
  if ( ! defined('ABSPATH')) exit; // if direct access
1
  <?php
2
 
3
  /*
4
+ * @Author pickplugins
5
+ * Copyright: 2015 pickplugins
6
  */
7
 
8
  if ( ! defined('ABSPATH')) exit; // if direct access
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Accordion ===
2
- Contributors: paratheme
3
- Donate link: http://paratheme.com
4
  Tags: accordion, accordions, Responsive accordions, accordions plugin, jQuery accordions, accordions short-code, accordions Widget, accordions plugin wordpress, accordions plugin jquery
5
  Requires at least: 3.8
6
- Tested up to: 4.3
7
- Stable tag: 1.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -102,6 +102,13 @@ then paste this shortcode anywhere in your page to display accordions<br />
102
  == Changelog ==
103
 
104
 
 
 
 
 
 
 
 
105
  = 1.7 =
106
  * 11/09/2015 - add - ssl issue fixed.
107
  * 11/09/2015 - add - accordion collapsible.
1
  === Accordion ===
2
+ Contributors: pickplugins
3
+ Donate link: http://pickplugins.com
4
  Tags: accordion, accordions, Responsive accordions, accordions plugin, jQuery accordions, accordions short-code, accordions Widget, accordions plugin wordpress, accordions plugin jquery
5
  Requires at least: 3.8
6
+ Tested up to: 4.4.0
7
+ Stable tag: 1.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
102
  == Changelog ==
103
 
104
 
105
+ = 1.9 =
106
+ * 11/12/2015 - fix - Shortcode issue fixed.
107
+
108
+ = 1.8 =
109
+ * 23/11/2015 - add - admin UI changed.
110
+ * 23/11/2015 - fix - minor php issue fixed.
111
+
112
  = 1.7 =
113
  * 11/09/2015 - add - ssl issue fixed.
114
  * 11/09/2015 - add - accordion collapsible.
templates/content.php CHANGED
@@ -1,11 +1,8 @@
1
  <?php
2
 
3
  /*
4
- * @Author ParaTheme
5
- * @Folder accordions/templates
6
- * @version 2.0.3
7
-
8
- * Copyright: 2015 ParaTheme
9
  */
10
 
11
  if ( ! defined('ABSPATH')) exit; // if direct access
1
  <?php
2
 
3
  /*
4
+ * @Author pickplugins
5
+ * Copyright: 2015 pickplugins
 
 
 
6
  */
7
 
8
  if ( ! defined('ABSPATH')) exit; // if direct access
templates/header.php CHANGED
@@ -1,11 +1,8 @@
1
  <?php
2
 
3
  /*
4
- * @Author ParaTheme
5
- * @Folder accordions/templates
6
- * @version 2.0.3
7
-
8
- * Copyright: 2015 ParaTheme
9
  */
10
 
11
  if ( ! defined('ABSPATH')) exit; // if direct access
1
  <?php
2
 
3
  /*
4
+ * @Author pickplugins
5
+ * Copyright: 2015 pickplugins
 
 
 
6
  */
7
 
8
  if ( ! defined('ABSPATH')) exit; // if direct access
templates/scripts.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
 
3
  /*
4
- * @Author ParaTheme
5
- * Copyright: 2015 ParaTheme
6
  */
7
 
8
  if ( ! defined('ABSPATH')) exit; // if direct access
1
  <?php
2
 
3
  /*
4
+ * @Author pickplugins
5
+ * Copyright: 2015 pickplugins
6
  */
7
 
8
  if ( ! defined('ABSPATH')) exit; // if direct access
templates/variables.php CHANGED
@@ -1,11 +1,8 @@
1
  <?php
2
 
3
  /*
4
- * @Author ParaTheme
5
- * @Folder accordions/templates
6
- * @version 2.0.3
7
-
8
- * Copyright: 2015 ParaTheme
9
  */
10
 
11
  if ( ! defined('ABSPATH')) exit; // if direct access
1
  <?php
2
 
3
  /*
4
+ * @Author pickplugins
5
+ * Copyright: 2015 pickplugins
 
 
 
6
  */
7
 
8
  if ( ! defined('ABSPATH')) exit; // if direct access
themes/flat/index.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
 
3
  /*
4
- * @Author ParaTheme
5
- * Copyright: 2015 ParaTheme
6
  */
7
 
8
  if ( ! defined('ABSPATH')) exit; // if direct access
1
  <?php
2
 
3
  /*
4
+ * @Author pickplugins
5
+ * Copyright: 2015 pickplugins
6
  */
7
 
8
  if ( ! defined('ABSPATH')) exit; // if direct access