Accordion - Version 1.5

Version Description

  • 09/06/2015 - fix - fix issue for content formating and added wpautop().
Download this release

Release Info

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

Code changes from version 1.4 to 1.5

Files changed (3) hide show
  1. accordions.php +2 -2
  2. readme.txt +6 -2
  3. themes/flat/index.php +1 -22
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.4
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.4";
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.5
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.5";
75
  update_option('accordions_version', $accordions_version); //update plugin version.
76
 
77
  $accordions_customer_type= "free"; //customer_type "free"
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.2.2
7
- Stable tag: 1.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -96,6 +96,10 @@ then paste this shortcode anywhere in your page to display accordions<br />
96
 
97
  == Changelog ==
98
 
 
 
 
 
99
  = 1.4 =
100
  * 09/06/2015 - fix - WP editor button width fixed.
101
 
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.4
7
+ Stable tag: 1.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
96
 
97
  == Changelog ==
98
 
99
+
100
+ = 1.5 =
101
+ * 09/06/2015 - fix - fix issue for content formating and added wpautop().
102
+
103
  = 1.4 =
104
  * 09/06/2015 - fix - WP editor button width fixed.
105
 
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 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>';
@@ -75,28 +75,7 @@ function accordions_themes_flat($post_id)
75
 
76
 
77
  </style>';
78
-
79
-
80
-
81
- $accordions_body .= "<script type='text/javascript'>
82
-
83
- </script>";
84
 
85
-
86
-
87
  return $accordions_body;
88
 
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
-
98
-
99
-
100
-
101
-
102
  }
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">'.wpautop($accordions_content_body[$index]);
51
 
52
  $accordions_body.= '</div>';
53
  $accordions_body.= '</li>';
75
 
76
 
77
  </style>';
 
 
 
 
 
 
78
 
 
 
79
  return $accordions_body;
80
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  }