Kadence Themes Toolkit - Version 1.9

Version Description

  • Fix some video shortcode issues.
  • Add support for portfolio excerpt.
  • Add support for pinnacle theme.
  • 4.0 Support
Download this release

Release Info

Developer britner
Plugin Icon wp plugin Kadence Themes Toolkit
Version 1.9
Comparing to
See all releases

Code changes from version 1.8 to 1.9

Files changed (5) hide show
  1. post-types.php +1 -1
  2. readme.txt +12 -6
  3. shortcode_ajax.php +0 -8
  4. shortcodes.php +0 -2
  5. virtue_toolkit.php +3 -3
post-types.php CHANGED
@@ -30,7 +30,7 @@ function portfolio_post_init() {
30
  'hierarchical' => false,
31
  'menu_position' => 8,
32
  'menu_icon' => 'dashicons-format-gallery',
33
- 'supports' => array( 'title', 'editor', 'author', 'page-attributes', 'thumbnail', 'comments' )
34
  );
35
  // Initialize Taxonomy Labels
36
  $worklabels = array(
30
  'hierarchical' => false,
31
  'menu_position' => 8,
32
  'menu_icon' => 'dashicons-format-gallery',
33
+ 'supports' => array( 'title', 'editor', 'excerpt', 'author', 'page-attributes', 'thumbnail', 'comments' )
34
  );
35
  // Initialize Taxonomy Labels
36
  $worklabels = array(
readme.txt CHANGED
@@ -1,19 +1,19 @@
1
- === Virtue ToolKit ===
2
  Contributors: britner
3
  Tags:
4
  Requires at least: 3.2
5
- Tested up to: 3.9
6
- Stable tag: 1.8
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
10
- Custom Portfolio and Shortcode functionality for Virtue Theme
11
 
12
  == Description ==
13
 
14
- Custom Portfolio and Shortcode functionality for Virtue Theme
15
 
16
- Not intended to work with any other theme.
17
 
18
  == Installation ==
19
 
@@ -22,6 +22,12 @@ Install the plugin into the `/wp-content/plugins/` folder, and activate it.
22
 
23
  == Changelog ==
24
 
 
 
 
 
 
 
25
  = 1.8 =
26
  * Add target option to button shortcode.
27
 
1
+ === Virtue / Pinnacle ToolKit ===
2
  Contributors: britner
3
  Tags:
4
  Requires at least: 3.2
5
+ Tested up to: 4.0
6
+ Stable tag: 1.9
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
10
+ Custom Portfolio and Shortcode functionality for Virtue and Pinnacle Wordpress Theme
11
 
12
  == Description ==
13
 
14
+ Custom Portfolio and Shortcode functionality for Virtue and Pinnacle Wordpress Theme
15
 
16
+ Not intended to work with any other themes.
17
 
18
  == Installation ==
19
 
22
 
23
  == Changelog ==
24
 
25
+ = 1.9 =
26
+ * Fix some video shortcode issues.
27
+ * Add support for portfolio excerpt.
28
+ * Add support for pinnacle theme.
29
+ * 4.0 Support
30
+
31
  = 1.8 =
32
  * Add target option to button shortcode.
33
 
shortcode_ajax.php CHANGED
@@ -23,14 +23,6 @@ function virtue_quote_ajax_tinymce() {
23
  }
24
  add_action('wp_ajax_kadquote_tinymce', 'virtue_quote_ajax_tinymce');
25
 
26
- function virtue_video_ajax_tinymce() {
27
- if (!current_user_can('edit_pages') && !current_user_can('edit_posts'))
28
- die(__("You are not allowed to be here"));
29
-
30
- include_once( dirname(dirname(__FILE__)) . '/virtue-toolkit/shortcodes/video/video_popup.php');
31
- }
32
- add_action('wp_ajax_kadvideo_tinymce', 'virtue_video_ajax_tinymce');
33
-
34
  function virtue_youtube_ajax_tinymce() {
35
  if (!current_user_can('edit_pages') && !current_user_can('edit_posts'))
36
  die(__("You are not allowed to be here"));
23
  }
24
  add_action('wp_ajax_kadquote_tinymce', 'virtue_quote_ajax_tinymce');
25
 
 
 
 
 
 
 
 
 
26
  function virtue_youtube_ajax_tinymce() {
27
  if (!current_user_can('edit_pages') && !current_user_can('edit_posts'))
28
  die(__("You are not allowed to be here"));
shortcodes.php CHANGED
@@ -272,7 +272,6 @@ function virtuetoolkit_register_shortcodes(){
272
  add_shortcode('span1', 'kad_column1_function');
273
  add_shortcode('columnhelper', 'kad_columnhelper_function');
274
  add_shortcode('icon', 'kad_icon_shortcode_function');
275
- add_shortcode('video', 'kad_video_shortcode_function');
276
  add_shortcode('pullquote', 'kad_pullquote_shortcode_function');
277
  add_shortcode('blockquote', 'kad_blockquote_shortcode_function');
278
  add_shortcode('btn', 'kad_button_shortcode_function');
@@ -302,7 +301,6 @@ function virtue_add_plugin( $plugin_array ) {
302
  $plugin_array['kadcolumns'] = VIRTUE_TOOLKIT_URL . '/shortcodes/columns/columns_shortgen.js';
303
  $plugin_array['kadicon'] = VIRTUE_TOOLKIT_URL . '/shortcodes/icons/icon_shortgen.js';
304
  $plugin_array['kadaccordion'] = VIRTUE_TOOLKIT_URL . '/shortcodes/accordion/accordion_shortgen.js';
305
- $plugin_array['kadvideo'] = VIRTUE_TOOLKIT_URL . '/shortcodes/video/video_shortgen.js';
306
  $plugin_array['kadyoutube'] = VIRTUE_TOOLKIT_URL . '/shortcodes/youtube/youtube_shortgen.js';
307
  $plugin_array['kadvimeo'] = VIRTUE_TOOLKIT_URL . '/shortcodes/vimeo/vimeo_shortgen.js';
308
  $plugin_array['kadquote'] = VIRTUE_TOOLKIT_URL . '/shortcodes/pullquote/quote_shortgen.js';
272
  add_shortcode('span1', 'kad_column1_function');
273
  add_shortcode('columnhelper', 'kad_columnhelper_function');
274
  add_shortcode('icon', 'kad_icon_shortcode_function');
 
275
  add_shortcode('pullquote', 'kad_pullquote_shortcode_function');
276
  add_shortcode('blockquote', 'kad_blockquote_shortcode_function');
277
  add_shortcode('btn', 'kad_button_shortcode_function');
301
  $plugin_array['kadcolumns'] = VIRTUE_TOOLKIT_URL . '/shortcodes/columns/columns_shortgen.js';
302
  $plugin_array['kadicon'] = VIRTUE_TOOLKIT_URL . '/shortcodes/icons/icon_shortgen.js';
303
  $plugin_array['kadaccordion'] = VIRTUE_TOOLKIT_URL . '/shortcodes/accordion/accordion_shortgen.js';
 
304
  $plugin_array['kadyoutube'] = VIRTUE_TOOLKIT_URL . '/shortcodes/youtube/youtube_shortgen.js';
305
  $plugin_array['kadvimeo'] = VIRTUE_TOOLKIT_URL . '/shortcodes/vimeo/vimeo_shortgen.js';
306
  $plugin_array['kadquote'] = VIRTUE_TOOLKIT_URL . '/shortcodes/pullquote/quote_shortgen.js';
virtue_toolkit.php CHANGED
@@ -1,9 +1,9 @@
1
  <?php
2
 
3
  /*
4
- Plugin Name: Virtue ToolKit
5
- Description: Custom Portfolio and Shortcode functionality for Virtue Theme
6
- Version: 1.8
7
  Author: Kadence Themes
8
  Author URI: http://kadencethemes.com/
9
  License: GPLv2 or later
1
  <?php
2
 
3
  /*
4
+ Plugin Name: Virtue / Pinnacle ToolKit
5
+ Description: Custom Portfolio and Shortcode functionality for Virtue and Pinnacle Wordpress Theme
6
+ Version: 1.9
7
  Author: Kadence Themes
8
  Author URI: http://kadencethemes.com/
9
  License: GPLv2 or later