Version Description
- Update: 5.5 Support.
- Update: Name change to prevent confusion.
Download this release
Release Info
Developer | britner |
Plugin | Kadence Themes Toolkit |
Version | 4.9.6 |
Comparing to | |
See all releases |
Code changes from version 4.9.4 to 4.9.6
- assets/icon_select.js +1 -1
- class-virtue-toolkit-welcome.php +3 -3
- cmb/init.php +0 -18
- page-contact.php +6 -6
- readme.txt +12 -5
- template-contact.php +1 -1
- virtue_toolkit.php +5 -5
assets/icon_select.js
CHANGED
@@ -24,7 +24,7 @@ for(var b=b.slice(0),a=a.slice(0),c=0;c<b.length;c++)for(var d=0;d<a.length;d++)
|
|
24 |
|
25 |
|
26 |
|
27 |
-
jQuery(
|
28 |
function format(icon) {
|
29 |
return '<span class="kad_icomoon"><i class="' + icon.id + '"></i>' + icon.text + '</span>';
|
30 |
}
|
24 |
|
25 |
|
26 |
|
27 |
+
jQuery(window).on( 'load', function(){
|
28 |
function format(icon) {
|
29 |
return '<span class="kad_icomoon"><i class="' + icon.id + '"></i>' + icon.text + '</span>';
|
30 |
}
|
class-virtue-toolkit-welcome.php
CHANGED
@@ -561,7 +561,7 @@ if ( ! class_exists( 'Virtue_Toolkit_Welcome' ) ) {
|
|
561 |
'active_url' => admin_url( 'admin.php?page=elementor' ),
|
562 |
'redirect_url' => admin_url( 'admin.php?page=elementor' ),
|
563 |
'name' => 'Elementor Page Builder',
|
564 |
-
'desc' => 'A free front-end page builder with tons of ready-made content you can easily use. Elementor offers very powerful features and can create an incredible range of designs while giving great mobile specific editing. A <a href="https://elementor.com/pro
|
565 |
'pros' => '<li>Fully functional as a free plugin</li><li>Good user base with lots of extensions</li><li>Tons of pre-built content</li><li>Mobile previews and responsive design controls.</li>',
|
566 |
'cons' => '<li>For some it can be overwhelming to learn, certain elements can be confusing.</li><li>While you don\'t need the pro extension, you may get annoyed seeing things it can do or demos it can install that you would have to pay to use.</li>',
|
567 |
'image' => VIRTUE_TOOLKIT_URL . 'welcome/images/toolkit_ele.jpg',
|
@@ -575,7 +575,7 @@ if ( ! class_exists( 'Virtue_Toolkit_Welcome' ) ) {
|
|
575 |
'active_url' => admin_url( 'admin.php?page=brizy-settings' ),
|
576 |
'redirect_url' => admin_url( 'admin.php?page=brizy-settings' ),
|
577 |
'name' => 'Brizy – Page Builder',
|
578 |
-
'desc' => 'A free front-end page builder that is lighting fast and intuitive to use. Brizy offers powerful features with an app like feel. The editor is very clutter-free with a lot of features not found in other builders. A <a href="https://brizy.io/
|
579 |
'pros' => '<li>Fully functional as a free plugin</li><li>Very fast and for many intuitive to use.</li><li>Features only found with brizy, like global linked colors and fonts or 4k icons</li>',
|
580 |
'cons' => '<li>Early in development and so does not have the following or backing of tons of users.</li><li>Very little documentation or tutorials so far.</li><li>No extensions for it.</li><li>Missing some features.</li>',
|
581 |
'image' => VIRTUE_TOOLKIT_URL . 'welcome/images/toolkit_brizy.jpg',
|
@@ -669,7 +669,7 @@ if ( ! class_exists( 'Virtue_Toolkit_Welcome' ) ) {
|
|
669 |
$plugins[] = array(
|
670 |
'name' => 'Kadence Importer',
|
671 |
'slug' => 'kadence-importer',
|
672 |
-
'source' => '
|
673 |
'required' => false,
|
674 |
'version' => '2.0.3',
|
675 |
'force_activation' => false,
|
561 |
'active_url' => admin_url( 'admin.php?page=elementor' ),
|
562 |
'redirect_url' => admin_url( 'admin.php?page=elementor' ),
|
563 |
'name' => 'Elementor Page Builder',
|
564 |
+
'desc' => 'A free front-end page builder with tons of ready-made content you can easily use. Elementor offers very powerful features and can create an incredible range of designs while giving great mobile specific editing. A <a href="https://elementor.com/pro/" target="_blank">pro extension</a> is available which adds even more features.',
|
565 |
'pros' => '<li>Fully functional as a free plugin</li><li>Good user base with lots of extensions</li><li>Tons of pre-built content</li><li>Mobile previews and responsive design controls.</li>',
|
566 |
'cons' => '<li>For some it can be overwhelming to learn, certain elements can be confusing.</li><li>While you don\'t need the pro extension, you may get annoyed seeing things it can do or demos it can install that you would have to pay to use.</li>',
|
567 |
'image' => VIRTUE_TOOLKIT_URL . 'welcome/images/toolkit_ele.jpg',
|
575 |
'active_url' => admin_url( 'admin.php?page=brizy-settings' ),
|
576 |
'redirect_url' => admin_url( 'admin.php?page=brizy-settings' ),
|
577 |
'name' => 'Brizy – Page Builder',
|
578 |
+
'desc' => 'A free front-end page builder that is lighting fast and intuitive to use. Brizy offers powerful features with an app like feel. The editor is very clutter-free with a lot of features not found in other builders. A <a href="https://www.brizy.io/brizy-pro-pricing/" target="_blank">pro extension</a> is availible which adds even more features.',
|
579 |
'pros' => '<li>Fully functional as a free plugin</li><li>Very fast and for many intuitive to use.</li><li>Features only found with brizy, like global linked colors and fonts or 4k icons</li>',
|
580 |
'cons' => '<li>Early in development and so does not have the following or backing of tons of users.</li><li>Very little documentation or tutorials so far.</li><li>No extensions for it.</li><li>Missing some features.</li>',
|
581 |
'image' => VIRTUE_TOOLKIT_URL . 'welcome/images/toolkit_brizy.jpg',
|
669 |
$plugins[] = array(
|
670 |
'name' => 'Kadence Importer',
|
671 |
'slug' => 'kadence-importer',
|
672 |
+
'source' => 'http://download.kadencethemes.com/importer/kadence-importer.zip',
|
673 |
'required' => false,
|
674 |
'version' => '2.0.3',
|
675 |
'force_activation' => false,
|
cmb/init.php
CHANGED
@@ -2,24 +2,6 @@
|
|
2 |
/**
|
3 |
* The initation loader for CMB2, and the main plugin file.
|
4 |
*
|
5 |
-
* @category WordPress_Plugin
|
6 |
-
* @package CMB2
|
7 |
-
* @author CMB2 team
|
8 |
-
* @license GPL-2.0+
|
9 |
-
* @link https://cmb2.io
|
10 |
-
*
|
11 |
-
* Plugin Name: CMB2
|
12 |
-
* Plugin URI: https://github.com/CMB2/CMB2
|
13 |
-
* Description: CMB2 will create metaboxes and forms with custom fields that will blow your mind.
|
14 |
-
* Author: CMB2 team
|
15 |
-
* Author URI: https://cmb2.io
|
16 |
-
* Contributors: Justin Sternberg (@jtsternberg / dsgnwrks.pro)
|
17 |
-
* WebDevStudios (@webdevstudios / webdevstudios.com)
|
18 |
-
* Human Made (@humanmadeltd / hmn.md)
|
19 |
-
* Jared Atchison (@jaredatch / jaredatchison.com)
|
20 |
-
* Bill Erickson (@billerickson / billerickson.net)
|
21 |
-
* Andrew Norcross (@norcross / andrewnorcross.com)
|
22 |
-
*
|
23 |
* Version: 2.6.0
|
24 |
*
|
25 |
* Text Domain: cmb2
|
2 |
/**
|
3 |
* The initation loader for CMB2, and the main plugin file.
|
4 |
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
* Version: 2.6.0
|
6 |
*
|
7 |
* Text Domain: cmb2
|
page-contact.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
*/
|
7 |
|
8 |
global $virtue, $post;
|
9 |
-
$
|
10 |
$form_math = get_post_meta( $post->ID, '_kad_contact_form_math', true );
|
11 |
$contactformtitle = get_post_meta( $post->ID, '_kad_contact_form_title', true );
|
12 |
$form = get_post_meta( $post->ID, '_kad_contact_form', true );
|
@@ -64,19 +64,19 @@ if ( isset( $_POST['submitted'] ) && isset( $_POST['virtue_contact_nounce'] ) )
|
|
64 |
$comment_error = __( 'Please enter a message.', 'virtue-toolkit' );
|
65 |
$has_error = true;
|
66 |
} else {
|
67 |
-
$
|
68 |
}
|
69 |
|
70 |
if ( ! isset( $has_error ) ) {
|
71 |
|
72 |
-
if ( isset( $
|
73 |
-
$email_to = $
|
74 |
} else {
|
75 |
$email_to = get_option( 'admin_email' );
|
76 |
}
|
77 |
$sitename = get_bloginfo( 'name' );
|
78 |
$subject = '[' . $sitename . ' ' . __( 'Contact', 'virtue-toolkit' ) . '] ' . __( 'From ', 'virtue-toolkit' ) . $name;
|
79 |
-
$body = __( 'Name', 'virtue-toolkit' ) . ':' . $name . "\n\n" . 'Email:' . $email . "\n\n" . 'Comments:' . $
|
80 |
$headers = 'Content-Type: text/plain; charset=UTF-8' . "\r\n";
|
81 |
$headers .= 'Content-Transfer-Encoding: 8bit' . "\r\n";
|
82 |
$headers .= 'From: ' . $name . ' <' . $email . '>' . "\r\n";
|
@@ -93,7 +93,7 @@ if ( isset( $_POST['submitted'] ) && isset( $_POST['virtue_contact_nounce'] ) )
|
|
93 |
*/
|
94 |
do_action( 'virtue_page_title_container' );
|
95 |
|
96 |
-
if (
|
97 |
$address = get_post_meta( $post->ID, '_kad_contact_address', true );
|
98 |
$maptype = get_post_meta( $post->ID, '_kad_contact_maptype', true );
|
99 |
$height = get_post_meta( $post->ID, '_kad_contact_mapheight', true );
|
6 |
*/
|
7 |
|
8 |
global $virtue, $post;
|
9 |
+
$page_map = get_post_meta( $post->ID, '_kad_contact_map', true );
|
10 |
$form_math = get_post_meta( $post->ID, '_kad_contact_form_math', true );
|
11 |
$contactformtitle = get_post_meta( $post->ID, '_kad_contact_form_title', true );
|
12 |
$form = get_post_meta( $post->ID, '_kad_contact_form', true );
|
64 |
$comment_error = __( 'Please enter a message.', 'virtue-toolkit' );
|
65 |
$has_error = true;
|
66 |
} else {
|
67 |
+
$contact_comments = wp_kses_post( wp_unslash( $_POST['comments'] ) );
|
68 |
}
|
69 |
|
70 |
if ( ! isset( $has_error ) ) {
|
71 |
|
72 |
+
if ( isset( $virtue['contact_email'] ) ) {
|
73 |
+
$email_to = $virtue['contact_email'];
|
74 |
} else {
|
75 |
$email_to = get_option( 'admin_email' );
|
76 |
}
|
77 |
$sitename = get_bloginfo( 'name' );
|
78 |
$subject = '[' . $sitename . ' ' . __( 'Contact', 'virtue-toolkit' ) . '] ' . __( 'From ', 'virtue-toolkit' ) . $name;
|
79 |
+
$body = __( 'Name', 'virtue-toolkit' ) . ':' . $name . "\n\n" . 'Email:' . $email . "\n\n" . 'Comments:' . $contact_comments;
|
80 |
$headers = 'Content-Type: text/plain; charset=UTF-8' . "\r\n";
|
81 |
$headers .= 'Content-Transfer-Encoding: 8bit' . "\r\n";
|
82 |
$headers .= 'From: ' . $name . ' <' . $email . '>' . "\r\n";
|
93 |
*/
|
94 |
do_action( 'virtue_page_title_container' );
|
95 |
|
96 |
+
if ( 'yes' == $page_map ) {
|
97 |
$address = get_post_meta( $post->ID, '_kad_contact_address', true );
|
98 |
$maptype = get_post_meta( $post->ID, '_kad_contact_maptype', true );
|
99 |
$height = get_post_meta( $post->ID, '_kad_contact_mapheight', true );
|
readme.txt
CHANGED
@@ -1,17 +1,17 @@
|
|
1 |
-
===
|
2 |
Contributors: britner
|
3 |
Tags:
|
4 |
Requires at least: 4.5
|
5 |
-
Tested up to: 5.
|
6 |
-
Stable tag: 4.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 free
|
11 |
|
12 |
== Description ==
|
13 |
|
14 |
-
Custom Portfolio and Shortcode functionality for free
|
15 |
|
16 |
Not intended to work with any other themes.
|
17 |
|
@@ -43,6 +43,13 @@ Install the plugin into the `/wp-content/plugins/` folder, and activate it.
|
|
43 |
|
44 |
== Changelog ==
|
45 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
= 4.9.4 =
|
47 |
* Update: Metaboxes
|
48 |
|
1 |
+
=== Virtue/Ascend/Pinnacle Toolkit ===
|
2 |
Contributors: britner
|
3 |
Tags:
|
4 |
Requires at least: 4.5
|
5 |
+
Tested up to: 5.5.0
|
6 |
+
Stable tag: 4.9.6
|
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 free Virtue, Ascend, and Pinnacle WordPress themes
|
11 |
|
12 |
== Description ==
|
13 |
|
14 |
+
Custom Portfolio and Shortcode functionality for free Virtue, Ascend, and Pinnacle WordPress themes
|
15 |
|
16 |
Not intended to work with any other themes.
|
17 |
|
43 |
|
44 |
== Changelog ==
|
45 |
|
46 |
+
= 4.9.6 =
|
47 |
+
* Update: 5.5 Support.
|
48 |
+
* Update: Name change to prevent confusion.
|
49 |
+
|
50 |
+
= 4.9.5 =
|
51 |
+
* Update: Email issue.
|
52 |
+
|
53 |
= 4.9.4 =
|
54 |
* Update: Metaboxes
|
55 |
|
template-contact.php
CHANGED
@@ -39,7 +39,7 @@ global $post, $pinnacle;
|
|
39 |
} ?>
|
40 |
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=<?php echo esc_attr($gmap_api);?>"></script>
|
41 |
<script type="text/javascript">
|
42 |
-
jQuery(window).load
|
43 |
jQuery('#map_address').gmap3({
|
44 |
map: {
|
45 |
address:"<?php echo esc_js($address);?>",
|
39 |
} ?>
|
40 |
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=<?php echo esc_attr($gmap_api);?>"></script>
|
41 |
<script type="text/javascript">
|
42 |
+
jQuery(window).on( 'load', function(){
|
43 |
jQuery('#map_address').gmap3({
|
44 |
map: {
|
45 |
address:"<?php echo esc_js($address);?>",
|
virtue_toolkit.php
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Plugin Name:
|
4 |
-
* Description: Custom Portfolio and Shortcode functionality for free
|
5 |
-
* Version: 4.9.
|
6 |
-
* Author: Kadence
|
7 |
-
* Author URI: https://
|
8 |
* License: GPLv2 or later
|
9 |
*
|
10 |
* @package Kadence Toolkit
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Plugin Name: Virtue/Ascend/Pinnacle Toolkit
|
4 |
+
* Description: Custom Portfolio and Shortcode functionality for free Virtue, Ascend, and Pinnacle WordPress themes.
|
5 |
+
* Version: 4.9.6
|
6 |
+
* Author: Kadence WP
|
7 |
+
* Author URI: https://kadencewp.com/
|
8 |
* License: GPLv2 or later
|
9 |
*
|
10 |
* @package Kadence Toolkit
|