Accordion - Version 2.0.17

Version Description

  • 10/03/2017 - fix - Newly added accordion sorting issue.
Download this release

Release Info

Developer pickplugins
Plugin Icon 128x128 Accordion
Version 2.0.17
Comparing to
See all releases

Code changes from version 2.0.16 to 2.0.17

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.16
7
  Author: pickplugins
8
  Author URI: http://pickplugins.com
9
  License: GPLv2 or later
@@ -21,12 +21,12 @@ class Accordions{
21
  define('accordions_plugin_dir', plugin_dir_path( __FILE__ ) );
22
  define('accordions_wp_url', 'https://wordpress.org/plugins/accordions/' );
23
  define('accordions_wp_reviews', 'http://wordpress.org/support/view/plugin-reviews/accordions' );
24
- define('accordions_pro_url','http://www.pickplugins.com/product/accordion/' );
25
  define('accordions_demo_url', 'http://pickplugins.com' );
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.16' );
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' );
@@ -50,7 +50,7 @@ class Accordions{
50
  // DIsplay shortcode in widgets
51
  add_filter('widget_text', 'do_shortcode');
52
 
53
- add_filter( 'plugin_action_links_'.plugin_basename( __FILE__ ), array( $this, 'ts_add_plugin_action_links' ));
54
 
55
  }
56
 
@@ -120,16 +120,16 @@ class Accordions{
120
  }
121
 
122
 
123
- function ts_add_plugin_action_links( $links ) {
124
-
125
- return array_merge(
126
- array(
127
- 'settings' => '<a style=" font-weight:bold;color:#f00;" href="http://www.pickplugins.com/item/accordions-html-css3-responsive-accordion-grid-for-wordpress/">Get Pro!</a>'
128
- ),
129
- $links
130
- );
131
-
132
- }
133
 
134
 
135
  }
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.17
7
  Author: pickplugins
8
  Author URI: http://pickplugins.com
9
  License: GPLv2 or later
21
  define('accordions_plugin_dir', plugin_dir_path( __FILE__ ) );
22
  define('accordions_wp_url', 'https://wordpress.org/plugins/accordions/' );
23
  define('accordions_wp_reviews', 'http://wordpress.org/support/view/plugin-reviews/accordions' );
24
+ define('accordions_pro_url','https://www.pickplugins.com/product/accordions/?ref=dashboard' );
25
  define('accordions_demo_url', 'http://pickplugins.com' );
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.17' );
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' );
50
  // DIsplay shortcode in widgets
51
  add_filter('widget_text', 'do_shortcode');
52
 
53
+ add_filter( 'plugin_action_links_'.plugin_basename( __FILE__ ), array( $this, 'plugin_list_pro_link' ));
54
 
55
  }
56
 
120
  }
121
 
122
 
123
+ public function plugin_list_pro_link( $links ) {
124
+
125
+ return array_merge(
126
+ array(
127
+ 'get_premium' => '<a target="_blank" class="" style=" font-weight:bold;color:#f00;" href="https://www.pickplugins.com/product/accordions/?ref=wordpress.org">Buy Premium!</a>'
128
+ ),
129
+ $links
130
+ );
131
+
132
+ }
133
 
134
 
135
  }
includes/meta.php CHANGED
@@ -430,7 +430,7 @@ function meta_boxes_accordions_input( $post ) {
430
  <?php if(!empty($accordions_title)) echo $accordions_title; ?>
431
  </div>
432
 
433
- <span class="removeaccordions"><?php _e('Remove', accordions_textdomain); ?></span>
434
 
435
  <?php
436
 
@@ -453,7 +453,7 @@ function meta_boxes_accordions_input( $post ) {
453
  <div class="section-panel">
454
 
455
  <strong><?php _e('Header','accordions'); ?></strong> <br>
456
- <input style="width:80%" placeholder="accordions Header" type="text" name="accordions_content_title[<?php echo $accordions_key; ?>]" value="<?php if(!empty($accordions_title)) echo htmlentities($accordions_title); ?>" /><br><br>
457
 
458
 
459
  <strong><?php _e('Content','accordions'); ?></strong> <br>
@@ -507,15 +507,13 @@ function meta_boxes_accordions_input( $post ) {
507
 
508
  var unique_key = $.now();
509
 
510
- $("#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>');
511
 
512
  tinyMCE.execCommand('mceAddEditor', false, 'content-'+unique_key);
513
 
514
  })
515
 
516
 
517
-
518
-
519
  })
520
 
521
  </script>
430
  <?php if(!empty($accordions_title)) echo $accordions_title; ?>
431
  </div>
432
 
433
+ <span class="removeaccordions"><?php _e('Remove', accordions_textdomain); ?></span>
434
 
435
  <?php
436
 
453
  <div class="section-panel">
454
 
455
  <strong><?php _e('Header','accordions'); ?></strong> <br>
456
+ <input style="width:80%" placeholder="Accordion header" type="text" name="accordions_content_title[<?php echo $accordions_key; ?>]" value="<?php if(!empty($accordions_title)) echo htmlentities($accordions_title); ?>" /><br><br>
457
 
458
 
459
  <strong><?php _e('Content','accordions'); ?></strong> <br>
507
 
508
  var unique_key = $.now();
509
 
510
+ $("#accordions_metabox .accordions-content").append('<div class="items" valign="top"><div class="section-header"><span class="move"><i class="fa fa-bars"></i></span><span class="expand-compress"><i class="fa fa-expand"></i><i class="fa fa-compress"></i></span><div class="accordions-title-preview">Demo Title #'+unique_key+'</div><span class="removeaccordions">Remove</span><label class="switch"><input type="checkbox" value="1" name="accordions_hide['+unique_key+']">Hide on Frontend</label></div><div class="section-panel"><strong><?php _e('Header',accordions_textdomain); ?></strong> <br><input style="width:80%" placeholder="<?php echo __('Accordion header', accordions_textdomain); ?>" type="text" name="accordions_content_title['+unique_key+']" value="" /><br> <br /><strong><?php _e('Content', accordions_textdomain); ?></strong> <br><textarea class="accordion-content-textarea" id="content-'+unique_key+'" placeholder="Accordion content" name="accordions_content_body['+unique_key+']" ></textarea></div></div>');
511
 
512
  tinyMCE.execCommand('mceAddEditor', false, 'content-'+unique_key);
513
 
514
  })
515
 
516
 
 
 
517
  })
518
 
519
  </script>
languages/{default.mo → accordions.mo} RENAMED
Binary file
languages/{default.po → accordions.po} RENAMED
@@ -2,14 +2,14 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: accordions\n"
4
  "POT-Creation-Date: 2016-05-06 07:54+0600\n"
5
- "PO-Revision-Date: 2016-05-06 07:54+0600\n"
6
  "Last-Translator: \n"
7
  "Language-Team: PickPlugins <support@pickplugins.com>\n"
8
  "Language: en\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.8.7\n"
13
  "X-Poedit-Basepath: ../includes\n"
14
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
  "X-Poedit-KeywordsList: __;_e\n"
2
  msgstr ""
3
  "Project-Id-Version: accordions\n"
4
  "POT-Creation-Date: 2016-05-06 07:54+0600\n"
5
+ "PO-Revision-Date: 2017-04-05 18:09+0600\n"
6
  "Last-Translator: \n"
7
  "Language-Team: PickPlugins <support@pickplugins.com>\n"
8
  "Language: en\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.12\n"
13
  "X-Poedit-Basepath: ../includes\n"
14
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
  "X-Poedit-KeywordsList: __;_e\n"
readme.txt CHANGED
@@ -3,8 +3,8 @@
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, tabs, jquery tabs, tab, responsive tabs
5
  Requires at least: 3.8
6
- Tested up to: 4.7.3
7
- Stable tag: 2.0.16
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -17,9 +17,9 @@ Accordion content create wasn't easy before, you will really love how its works
17
 
18
  ### Accordions by http://pickplugins.com
19
 
20
- * [Accordions &raquo;](https://www.pickplugins.com/product/accordions/)
21
- * [Support &raquo;](http://www.pickplugins.com/questions/)
22
- * [Documentation &raquo;](https://pickplugins.com/docs/documentation/accordions/)
23
 
24
 
25
  <strong>Plugin Features</strong><br />
@@ -91,6 +91,9 @@ then paste this shortcode anywhere in your page to display accordions<br />
91
 
92
  == Changelog ==
93
 
 
 
 
94
  = 2.0.16 =
95
  * 10/03/2017 - add - Added extra shortcode to avoid conflict.
96
 
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, tabs, jquery tabs, tab, responsive tabs
5
  Requires at least: 3.8
6
+ Tested up to: 4.7
7
+ Stable tag: 2.0.17
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
17
 
18
  ### Accordions by http://pickplugins.com
19
 
20
+ * [Accordions - Premium &raquo;](https://www.pickplugins.com/item/accordions-html-css3-responsive-accordion-grid-for-wordpress/?ref=wordpress.org)
21
+ * [Support &raquo;](http://www.pickplugins.com/questions/?ref=wordpress.org)
22
+ * [Documentation &raquo;](https://pickplugins.com/docs/documentation/accordions/?ref=wordpress.org)
23
 
24
 
25
  <strong>Plugin Features</strong><br />
91
 
92
  == Changelog ==
93
 
94
+ = 2.0.17 =
95
+ * 10/03/2017 - fix - Newly added accordion sorting issue.
96
+
97
  = 2.0.16 =
98
  * 10/03/2017 - add - Added extra shortcode to avoid conflict.
99