Kadence Themes Toolkit - Version 2.8

Version Description

  • Add fix for some servers not loading correctly.
  • Add filter to only show slider images on feature templates.
Download this release

Release Info

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

Code changes from version 2.7 to 2.8

Files changed (3) hide show
  1. metaboxes.php +8 -3
  2. readme.txt +5 -1
  3. virtue_toolkit.php +2 -2
metaboxes.php CHANGED
@@ -959,6 +959,12 @@ $meta_boxes[] = array(
959
  array( 'name' => __('Image', 'kadencetoolkit'), 'value' => 'image', ),
960
  ),
961
  ),
 
 
 
 
 
 
962
  array(
963
  'name' => __('Max Image/Slider Height', 'kadencetoolkit'),
964
  'desc' => __('Default is: 400 <b>(Note: just input number, example: 350)</b>', 'kadencetoolkit'),
@@ -1094,7 +1100,7 @@ $meta_boxes[] = array(
1094
  $meta_boxes[] = array(
1095
  'id' => 'virtue_post_gallery',
1096
  'title' => __("Slider Images", 'kadencetoolkit'),
1097
- 'pages' => array( 'post', 'page', 'portfolio'), // Post type
1098
  'context' => 'normal',
1099
  'priority' => 'high',
1100
  'show_names' => true, // Show field names on the left
@@ -1105,8 +1111,7 @@ $meta_boxes[] = array(
1105
  'id' => $prefix . 'image_gallery',
1106
  'type' => 'kad_gallery',
1107
  ),
1108
- ));
1109
-
1110
  return $meta_boxes;
1111
  }
1112
 
959
  array( 'name' => __('Image', 'kadencetoolkit'), 'value' => 'image', ),
960
  ),
961
  ),
962
+ array(
963
+ 'name' => __("Slider Gallery", 'kadencetoolkit' ),
964
+ 'desc' => __("Add images for gallery here", 'kadencetoolkit' ),
965
+ 'id' => $prefix . 'image_gallery',
966
+ 'type' => 'kad_gallery',
967
+ ),
968
  array(
969
  'name' => __('Max Image/Slider Height', 'kadencetoolkit'),
970
  'desc' => __('Default is: 400 <b>(Note: just input number, example: 350)</b>', 'kadencetoolkit'),
1100
  $meta_boxes[] = array(
1101
  'id' => 'virtue_post_gallery',
1102
  'title' => __("Slider Images", 'kadencetoolkit'),
1103
+ 'pages' => array( 'post', 'portfolio'), // Post type
1104
  'context' => 'normal',
1105
  'priority' => 'high',
1106
  'show_names' => true, // Show field names on the left
1111
  'id' => $prefix . 'image_gallery',
1112
  'type' => 'kad_gallery',
1113
  ),
1114
+ ));
 
1115
  return $meta_boxes;
1116
  }
1117
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: britner
3
  Tags:
4
  Requires at least: 3.5
5
  Tested up to: 4.1
6
- Stable tag: 2.7
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -22,6 +22,10 @@ Install the plugin into the `/wp-content/plugins/` folder, and activate it.
22
 
23
  == Changelog ==
24
 
 
 
 
 
25
  = 2.6 =
26
  * Fix for checkboxes not saving correctly.
27
  * Update security with contact forms.
3
  Tags:
4
  Requires at least: 3.5
5
  Tested up to: 4.1
6
+ Stable tag: 2.8
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
22
 
23
  == Changelog ==
24
 
25
+ = 2.8 =
26
+ * Add fix for some servers not loading correctly.
27
+ * Add filter to only show slider images on feature templates.
28
+
29
  = 2.6 =
30
  * Fix for checkboxes not saving correctly.
31
  * Update security with contact forms.
virtue_toolkit.php CHANGED
@@ -3,7 +3,7 @@
3
  /*
4
  Plugin Name: Virtue / Pinnacle ToolKit
5
  Description: Custom Portfolio and Shortcode functionality for Virtue and Pinnacle Wordpress Theme
6
- Version: 2.7
7
  Author: Kadence Themes
8
  Author URI: http://kadencethemes.com/
9
  License: GPLv2 or later
@@ -32,7 +32,7 @@ if(!defined('VIRTUE_TOOLKIT_URL')){
32
  add_action( 'plugins_loaded', 'kadencetoolkit_textdomain' );
33
 
34
  function kadencetoolkit_textdomain() {
35
- load_plugin_textdomain( 'kadencetoolkit', false, VIRTUE_TOOLKIT_URL . '/languages' );
36
  }
37
  function kadencetoolkit_admin_scripts() {
38
  wp_register_style('kadencetoolkit_adminstyles', VIRTUE_TOOLKIT_URL . '/assets/toolkit_admin.css', false, 23);
3
  /*
4
  Plugin Name: Virtue / Pinnacle ToolKit
5
  Description: Custom Portfolio and Shortcode functionality for Virtue and Pinnacle Wordpress Theme
6
+ Version: 2.8
7
  Author: Kadence Themes
8
  Author URI: http://kadencethemes.com/
9
  License: GPLv2 or later
32
  add_action( 'plugins_loaded', 'kadencetoolkit_textdomain' );
33
 
34
  function kadencetoolkit_textdomain() {
35
+ load_plugin_textdomain( 'kadencetoolkit', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
36
  }
37
  function kadencetoolkit_admin_scripts() {
38
  wp_register_style('kadencetoolkit_adminstyles', VIRTUE_TOOLKIT_URL . '/assets/toolkit_admin.css', false, 23);