Accordion - Version 2.0.11

Version Description

  • 27/07/2016 - fix - tinyMCE error issue fixed.
Download this release

Release Info

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

Code changes from version 2.0.10 to 2.0.11

Files changed (4) hide show
  1. accordions.php +2 -2
  2. assets/admin/js/scripts.js +1 -25
  3. includes/meta.php +33 -0
  4. readme.txt +4 -1
accordions.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Accordions
4
  Plugin URI: http://www.pickplugins.com/item/accordions-html-css3-responsive-accordion-grid-for-wordpress/
5
  Description: Fully responsive and mobile ready accordion grid for wordpress.
6
- Version: 2.0.10
7
  Author: pickplugins
8
  Author URI: http://pickplugins.com
9
  License: GPLv2 or later
@@ -26,7 +26,7 @@ class Accordions{
26
  define('accordions_conatct_url', 'http://pickplugins.com/contact' );
27
  define('accordions_qa_url', 'http://www.pickplugins.com/questions/' );
28
  define('accordions_plugin_name', 'Accordions' );
29
- define('accordions_plugin_version', '2.0.10' );
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' );
3
  Plugin Name: Accordions
4
  Plugin URI: http://www.pickplugins.com/item/accordions-html-css3-responsive-accordion-grid-for-wordpress/
5
  Description: Fully responsive and mobile ready accordion grid for wordpress.
6
+ Version: 2.0.11
7
  Author: pickplugins
8
  Author URI: http://pickplugins.com
9
  License: GPLv2 or later
26
  define('accordions_conatct_url', 'http://pickplugins.com/contact' );
27
  define('accordions_qa_url', 'http://www.pickplugins.com/questions/' );
28
  define('accordions_plugin_name', 'Accordions' );
29
+ define('accordions_plugin_version', '2.0.11' );
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' );
assets/admin/js/scripts.js CHANGED
@@ -82,31 +82,7 @@ jQuery(document).ready(function($)
82
 
83
 
84
 
85
- // to add editor on textarea
86
- tinyMCE.init({
87
- mode : "none",
88
- statusbar: false,
89
- menubar: false,
90
- statusbar: true,
91
- setup: function (editor) {
92
- editor.on('change', function () {
93
- editor.save();
94
- });
95
-
96
- },
97
- });
98
-
99
-
100
- $(document).on('click', '.accordions-content-buttons .add-accordions', function()
101
- {
102
-
103
- var unique_key = $.now();
104
-
105
- $("#accordions_metabox .accordions-content").append('<div calss="items" valign="top"><div class="section-header"><div class="accordions-title-preview">Demo Title #'+unique_key+'</div><span class="removeaccordions">X</span><label><input type="checkbox" value="1" name="accordions_hide['+unique_key+']">Hide on Frontend</label></div><div class="section-panel"><input width="100%" placeholder="accordions Header" type="text" name="accordions_content_title['+unique_key+']" value="" /><br /><br /><textarea placeholder="Accordion content" id="content-'+unique_key+'" name="accordions_content_body['+unique_key+']" ></textarea></div></div>');
106
-
107
- tinyMCE.execCommand('mceAddEditor', false, 'content-'+unique_key);
108
-
109
- })
110
 
111
 
112
 
82
 
83
 
84
 
85
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
86
 
87
 
88
 
includes/meta.php CHANGED
@@ -476,6 +476,39 @@ $( "#accordions-content" ).sortable({ handle: '.section-header' });
476
  //$( ".items-container" ).disableSelection();
477
  });
478
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
479
  })
480
 
481
  </script>
476
  //$( ".items-container" ).disableSelection();
477
  });
478
 
479
+
480
+
481
+
482
+
483
+ // to add editor on textarea
484
+ tinyMCE.init({
485
+ mode : "none",
486
+ statusbar: false,
487
+ menubar: false,
488
+ statusbar: true,
489
+ setup: function (editor) {
490
+ editor.on('change', function () {
491
+ editor.save();
492
+ });
493
+
494
+ },
495
+ });
496
+
497
+
498
+ $(document).on('click', '.accordions-content-buttons .add-accordions', function()
499
+ {
500
+
501
+ var unique_key = $.now();
502
+
503
+ $("#accordions_metabox .accordions-content").append('<div calss="items" valign="top"><div class="section-header"><div class="accordions-title-preview">Demo Title #'+unique_key+'</div><span class="removeaccordions">X</span><label><input type="checkbox" value="1" name="accordions_hide['+unique_key+']">Hide on Frontend</label></div><div class="section-panel"><input width="100%" placeholder="accordions Header" type="text" name="accordions_content_title['+unique_key+']" value="" /><br /><br /><textarea placeholder="Accordion content" id="content-'+unique_key+'" name="accordions_content_body['+unique_key+']" ></textarea></div></div>');
504
+
505
+ tinyMCE.execCommand('mceAddEditor', false, 'content-'+unique_key);
506
+
507
+ })
508
+
509
+
510
+
511
+
512
  })
513
 
514
  </script>
readme.txt CHANGED
@@ -4,7 +4,7 @@
4
  Tags: accordion, accordions, Responsive accordions, accordions plugin, jQuery accordions, accordions short-code, accordions Widget, accordions plugin wordpress, accordions plugin jquery, tabs, jquery tabs, tab, responsive tabs
5
  Requires at least: 3.8
6
  Tested up to: 4.5.3
7
- Stable tag: 2.0.10
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -94,6 +94,9 @@ then paste this shortcode anywhere in your page to display accordions<br />
94
 
95
  == Changelog ==
96
 
 
 
 
97
  = 2.0.10 =
98
  * 26/07/2016 - add - tinyMCE Editor when add new accoridon
99
 
4
  Tags: accordion, accordions, Responsive accordions, accordions plugin, jQuery accordions, accordions short-code, accordions Widget, accordions plugin wordpress, accordions plugin jquery, tabs, jquery tabs, tab, responsive tabs
5
  Requires at least: 3.8
6
  Tested up to: 4.5.3
7
+ Stable tag: 2.0.11
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
94
 
95
  == Changelog ==
96
 
97
+ = 2.0.11 =
98
+ * 27/07/2016 - fix - tinyMCE error issue fixed.
99
+
100
  = 2.0.10 =
101
  * 26/07/2016 - add - tinyMCE Editor when add new accoridon
102