Version Description
- 12/11/2014 problem fixed for content color and font size.
Download this release
Release Info
Developer | paratheme |
Plugin | Accordion |
Version | 1.2 |
Comparing to | |
See all releases |
Code changes from version 1.1 to 1.2
- accordions-help.php +0 -32
- accordions.php +2 -2
- includes/accordions-meta.php +3 -62
- readme.txt +19 -2
- themes/flat/index.php +1 -1
accordions-help.php
CHANGED
@@ -78,41 +78,9 @@
|
|
78 |
?>
|
79 |
</div>
|
80 |
|
81 |
-
<!--
|
82 |
|
83 |
-
<div class="option-box">
|
84 |
-
<p class="option-title">Video Tutorial</p>
|
85 |
-
<p class="option-info">Please watch this video tutorial.</p>
|
86 |
-
<iframe width="640" height="480" src="<?php echo accordions_tutorial_video_url; ?>" frameborder="0" allowfullscreen></iframe>
|
87 |
-
</div>
|
88 |
-
|
89 |
-
|
90 |
-
-->
|
91 |
|
92 |
-
|
93 |
-
<?php
|
94 |
-
if($accordions_customer_type=="free")
|
95 |
-
{
|
96 |
-
?>
|
97 |
-
|
98 |
-
|
99 |
-
<div class="option-box">
|
100 |
-
<p class="option-title">Comparison</p>
|
101 |
-
<p class="option-info">You could try our premium version for more features.</p>
|
102 |
-
<a target="_blank" href="<?php echo accordions_pro_url; ?>">
|
103 |
-
<img class="accordions-pro-pricing" src="<?php echo accordions_plugin_url."css/accordions-pro-pricing.png";?>" />
|
104 |
-
</a>
|
105 |
-
</div>
|
106 |
-
<?php
|
107 |
-
}
|
108 |
|
109 |
-
?>
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
|
117 |
|
118 |
</li>
|
78 |
?>
|
79 |
</div>
|
80 |
|
|
|
81 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
|
85 |
|
86 |
</li>
|
accordions.php
CHANGED
@@ -3,7 +3,7 @@
|
|
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 |
Author: paratheme
|
8 |
Author URI: http://paratheme.com
|
9 |
License: GPLv2 or later
|
@@ -71,7 +71,7 @@ register_activation_hook(__FILE__, 'accordions_paratheme_activation');
|
|
71 |
|
72 |
function accordions_paratheme_activation()
|
73 |
{
|
74 |
-
$accordions_version= "1.
|
75 |
update_option('accordions_version', $accordions_version); //update plugin version.
|
76 |
|
77 |
$accordions_customer_type= "free"; //customer_type "free"
|
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.2
|
7 |
Author: paratheme
|
8 |
Author URI: http://paratheme.com
|
9 |
License: GPLv2 or later
|
71 |
|
72 |
function accordions_paratheme_activation()
|
73 |
{
|
74 |
+
$accordions_version= "1.2";
|
75 |
update_option('accordions_version', $accordions_version); //update plugin version.
|
76 |
|
77 |
$accordions_customer_type= "free"; //customer_type "free"
|
includes/accordions-meta.php
CHANGED
@@ -76,9 +76,6 @@ function meta_boxes_accordions_input( $post ) {
|
|
76 |
$accordions_items_content_color = get_post_meta( $post->ID, 'accordions_items_content_color', true );
|
77 |
$accordions_items_content_font_size = get_post_meta( $post->ID, 'accordions_items_content_font_size', true );
|
78 |
|
79 |
-
$accordions_items_thumb_size = get_post_meta( $post->ID, 'accordions_items_thumb_size', true );
|
80 |
-
$accordions_items_thumb_max_hieght = get_post_meta( $post->ID, 'accordions_items_thumb_max_hieght', true );
|
81 |
-
|
82 |
$accordions_content_title = get_post_meta( $post->ID, 'accordions_content_title', true );
|
83 |
$accordions_content_body = get_post_meta( $post->ID, 'accordions_content_body', true );
|
84 |
|
@@ -122,31 +119,13 @@ function meta_boxes_accordions_input( $post ) {
|
|
122 |
|
123 |
|
124 |
<ul class="tab-nav">
|
125 |
-
<li nav="
|
126 |
-
<li nav="2" class="nav2">Style</li>
|
127 |
<li nav="3" class="nav3">Content</li>
|
128 |
|
129 |
</ul> <!-- tab-nav end -->
|
130 |
|
131 |
<ul class="box">
|
132 |
-
<li style="display: block;" class="
|
133 |
-
|
134 |
-
<div class="option-box">
|
135 |
-
<p class="option-title">Option's is empty(try other tab.)</p>
|
136 |
-
<p class="option-info"></p>
|
137 |
-
|
138 |
-
</div>
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
</li>
|
149 |
-
<li style="display: none;" class="box2 tab-box ">
|
150 |
<div class="option-box">
|
151 |
<p class="option-title">Themes</p>
|
152 |
<p class="option-info"></p>
|
@@ -453,9 +432,6 @@ function meta_boxes_accordions_save( $post_id ) {
|
|
453 |
|
454 |
$accordions_items_content_color = sanitize_text_field( $_POST['accordions_items_content_color'] );
|
455 |
$accordions_items_content_font_size = sanitize_text_field( $_POST['accordions_items_content_font_size'] );
|
456 |
-
|
457 |
-
$accordions_items_thumb_size = sanitize_text_field( $_POST['accordions_items_thumb_size'] );
|
458 |
-
$accordions_items_thumb_max_hieght = sanitize_text_field( $_POST['accordions_items_thumb_max_hieght'] );
|
459 |
|
460 |
$accordions_content_title = stripslashes_deep( $_POST['accordions_content_title'] );
|
461 |
$accordions_content_body = stripslashes_deep( $_POST['accordions_content_body'] );
|
@@ -479,45 +455,10 @@ function meta_boxes_accordions_save( $post_id ) {
|
|
479 |
|
480 |
update_post_meta( $post_id, 'accordions_items_content_color', $accordions_items_content_color );
|
481 |
update_post_meta( $post_id, 'accordions_items_content_font_size', $accordions_items_content_font_size );
|
482 |
-
|
483 |
-
update_post_meta( $post_id, 'accordions_items_thumb_size', $accordions_items_thumb_size );
|
484 |
-
update_post_meta( $post_id, 'accordions_items_thumb_max_hieght', $accordions_items_thumb_max_hieght );
|
485 |
|
486 |
update_post_meta( $post_id, 'accordions_content_title', $accordions_content_title );
|
487 |
update_post_meta( $post_id, 'accordions_content_body', $accordions_content_body );
|
488 |
-
|
489 |
-
|
490 |
-
|
491 |
-
|
492 |
-
|
493 |
-
|
494 |
|
495 |
}
|
496 |
-
add_action( 'save_post', 'meta_boxes_accordions_save' );
|
497 |
-
|
498 |
-
|
499 |
-
|
500 |
-
|
501 |
-
|
502 |
-
|
503 |
-
|
504 |
-
|
505 |
-
|
506 |
-
|
507 |
-
|
508 |
-
|
509 |
-
|
510 |
-
|
511 |
-
|
512 |
-
|
513 |
-
|
514 |
-
|
515 |
-
|
516 |
-
|
517 |
-
|
518 |
-
|
519 |
-
|
520 |
-
|
521 |
-
|
522 |
|
523 |
-
|
76 |
$accordions_items_content_color = get_post_meta( $post->ID, 'accordions_items_content_color', true );
|
77 |
$accordions_items_content_font_size = get_post_meta( $post->ID, 'accordions_items_content_font_size', true );
|
78 |
|
|
|
|
|
|
|
79 |
$accordions_content_title = get_post_meta( $post->ID, 'accordions_content_title', true );
|
80 |
$accordions_content_body = get_post_meta( $post->ID, 'accordions_content_body', true );
|
81 |
|
119 |
|
120 |
|
121 |
<ul class="tab-nav">
|
122 |
+
<li nav="2" class="nav2 active">Style</li>
|
|
|
123 |
<li nav="3" class="nav3">Content</li>
|
124 |
|
125 |
</ul> <!-- tab-nav end -->
|
126 |
|
127 |
<ul class="box">
|
128 |
+
<li style="display: block;" class="box2 tab-box active">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
129 |
<div class="option-box">
|
130 |
<p class="option-title">Themes</p>
|
131 |
<p class="option-info"></p>
|
432 |
|
433 |
$accordions_items_content_color = sanitize_text_field( $_POST['accordions_items_content_color'] );
|
434 |
$accordions_items_content_font_size = sanitize_text_field( $_POST['accordions_items_content_font_size'] );
|
|
|
|
|
|
|
435 |
|
436 |
$accordions_content_title = stripslashes_deep( $_POST['accordions_content_title'] );
|
437 |
$accordions_content_body = stripslashes_deep( $_POST['accordions_content_body'] );
|
455 |
|
456 |
update_post_meta( $post_id, 'accordions_items_content_color', $accordions_items_content_color );
|
457 |
update_post_meta( $post_id, 'accordions_items_content_font_size', $accordions_items_content_font_size );
|
|
|
|
|
|
|
458 |
|
459 |
update_post_meta( $post_id, 'accordions_content_title', $accordions_content_title );
|
460 |
update_post_meta( $post_id, 'accordions_content_body', $accordions_content_body );
|
|
|
|
|
|
|
|
|
|
|
|
|
461 |
|
462 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
463 |
|
464 |
+
add_action( 'save_post', 'meta_boxes_accordions_save' );
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@
|
|
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.
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -18,6 +18,10 @@ Accordions is pure HTML & CSS3 responsive accordion grid for WordPress. By this
|
|
18 |
|
19 |
### Accordions by http://paratheme.com
|
20 |
|
|
|
|
|
|
|
|
|
21 |
<br />
|
22 |
|
23 |
|
@@ -35,6 +39,16 @@ Accordions is pure HTML & CSS3 responsive accordion grid for WordPress. By this
|
|
35 |
* Custom font color and size for accordions content.
|
36 |
|
37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
|
39 |
|
40 |
== Installation ==
|
@@ -69,6 +83,9 @@ then paste this shortcode anywhere in your page to display accordions<br />
|
|
69 |
|
70 |
== Changelog ==
|
71 |
|
|
|
|
|
|
|
72 |
= 1.1 =
|
73 |
* 17/11/2014 add confirmation before delete accordion content.
|
74 |
* 17/11/2014 Update help page.
|
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.2
|
7 |
+
Stable tag: 1.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
18 |
|
19 |
### Accordions by http://paratheme.com
|
20 |
|
21 |
+
* [Upgrade to Premium!»](http://goo.gl/0gcRTQ)
|
22 |
+
* [Live Demo!»](http://paratheme.com/demo/accordions/)
|
23 |
+
|
24 |
+
|
25 |
<br />
|
26 |
|
27 |
|
39 |
* Custom font color and size for accordions content.
|
40 |
|
41 |
|
42 |
+
<strong>Premium Features</strong><br />
|
43 |
+
|
44 |
+
* Life time free update.
|
45 |
+
* Life time support via forum.
|
46 |
+
* 7 Days Refund.
|
47 |
+
* Themes(4 Different Themes).
|
48 |
+
* Icon Position(Left or Right).
|
49 |
+
* Custom Icons(Add your own icons).
|
50 |
+
* Drag & Drop Content Sorting.
|
51 |
+
* WP Editor for Accordion Content.
|
52 |
|
53 |
|
54 |
== Installation ==
|
83 |
|
84 |
== Changelog ==
|
85 |
|
86 |
+
= 1.2 =
|
87 |
+
* 12/11/2014 problem fixed for content color and font size.
|
88 |
+
|
89 |
= 1.1 =
|
90 |
* 17/11/2014 add confirmation before delete accordion content.
|
91 |
* 17/11/2014 Update help page.
|
themes/flat/index.php
CHANGED
@@ -47,7 +47,7 @@ function accordions_themes_flat($post_id)
|
|
47 |
{
|
48 |
$accordions_body.= '<li>';
|
49 |
$accordions_body.= '<div class="responsive-accordion-head">'.$accordions_title.'<i class="responsive-accordion-icons responsive-accordion-plus '.$accordions_icons.'"></i><i class="responsive-accordion-icons responsive-accordion-minus '.$accordions_icons.'"></i></div>';
|
50 |
-
$accordions_body.= '<div class="responsive-accordion-panel">'.$accordions_content_body[$index];
|
51 |
|
52 |
$accordions_body.= '</div>';
|
53 |
$accordions_body.= '</li>';
|
47 |
{
|
48 |
$accordions_body.= '<li>';
|
49 |
$accordions_body.= '<div class="responsive-accordion-head">'.$accordions_title.'<i class="responsive-accordion-icons responsive-accordion-plus '.$accordions_icons.'"></i><i class="responsive-accordion-icons responsive-accordion-minus '.$accordions_icons.'"></i></div>';
|
50 |
+
$accordions_body.= '<div style="font-size:'.$accordions_items_content_font_size.';color:'.$accordions_items_content_color.'" class="responsive-accordion-panel">'.$accordions_content_body[$index];
|
51 |
|
52 |
$accordions_body.= '</div>';
|
53 |
$accordions_body.= '</li>';
|