Version Description
- 26/07/2016 - add - tinyMCE Editor when add new accoridon
Download this release
Release Info
Developer | paratheme |
Plugin | Accordion |
Version | 2.0.10 |
Comparing to | |
See all releases |
Code changes from version 2.0.9 to 2.0.10
- accordions.php +2 -2
- assets/admin/js/scripts.js +16 -2
- 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.
|
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.
|
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.10
|
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.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' );
|
assets/admin/js/scripts.js
CHANGED
@@ -82,15 +82,29 @@ jQuery(document).ready(function($)
|
|
82 |
|
83 |
|
84 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
|
86 |
$(document).on('click', '.accordions-content-buttons .add-accordions', function()
|
87 |
{
|
88 |
|
89 |
var unique_key = $.now();
|
90 |
|
91 |
-
$("#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="
|
92 |
|
93 |
-
|
94 |
|
95 |
})
|
96 |
|
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 |
|
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.
|
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.9 =
|
98 |
* 21/07/2016 - add - added filter to work in sidebar.
|
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.10
|
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.10 =
|
98 |
+
* 26/07/2016 - add - tinyMCE Editor when add new accoridon
|
99 |
+
|
100 |
= 2.0.9 =
|
101 |
* 21/07/2016 - add - added filter to work in sidebar.
|
102 |
|