Version Description
- fix: Img src set for gallery.
Download this release
Release Info
Developer | britner |
Plugin | Kadence Themes Toolkit |
Version | 3.4 |
Comparing to | |
See all releases |
Code changes from version 3.3 to 3.4
- gallery.php +1 -1
- readme.txt +4 -1
- virtue_toolkit.php +1 -1
gallery.php
CHANGED
@@ -169,7 +169,7 @@ function kadence_shortcode_gallery($attr) {
|
|
169 |
$attachment_url = wp_get_attachment_url($id);
|
170 |
$image = aq_resize($attachment_url, $imgsize, $imgsize, true, false);
|
171 |
if(empty($image[0])) {$image = array($attachment_url,$imgsize,$imgsize);}
|
172 |
-
$img_srcset_output =
|
173 |
if($lightboxsize != 'full') {
|
174 |
$attachment_url = wp_get_attachment_image_src( $id, $lightboxsize);
|
175 |
$attachment_url = $attachment_url[0];
|
169 |
$attachment_url = wp_get_attachment_url($id);
|
170 |
$image = aq_resize($attachment_url, $imgsize, $imgsize, true, false);
|
171 |
if(empty($image[0])) {$image = array($attachment_url,$imgsize,$imgsize);}
|
172 |
+
$img_srcset_output = kt_toolkit_get_srcset_output( $image[1], $image[2], $attachment_url, $id);
|
173 |
if($lightboxsize != 'full') {
|
174 |
$attachment_url = wp_get_attachment_image_src( $id, $lightboxsize);
|
175 |
$attachment_url = $attachment_url[0];
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: britner
|
|
3 |
Tags:
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 4.5
|
6 |
-
Stable tag: 3.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -43,6 +43,9 @@ Install the plugin into the `/wp-content/plugins/` folder, and activate it.
|
|
43 |
|
44 |
== Changelog ==
|
45 |
|
|
|
|
|
|
|
46 |
= 3.3 =
|
47 |
* Add: Img src set for gallery.
|
48 |
|
3 |
Tags:
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 4.5
|
6 |
+
Stable tag: 3.4
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
43 |
|
44 |
== Changelog ==
|
45 |
|
46 |
+
= 3.4 =
|
47 |
+
* fix: Img src set for gallery.
|
48 |
+
|
49 |
= 3.3 =
|
50 |
* Add: Img src set for gallery.
|
51 |
|
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: 3.
|
7 |
Author: Kadence Themes
|
8 |
Author URI: http://kadencethemes.com/
|
9 |
License: GPLv2 or later
|
3 |
/*
|
4 |
Plugin Name: Virtue / Pinnacle ToolKit
|
5 |
Description: Custom Portfolio and Shortcode functionality for Virtue and Pinnacle Wordpress Theme
|
6 |
+
Version: 3.4
|
7 |
Author: Kadence Themes
|
8 |
Author URI: http://kadencethemes.com/
|
9 |
License: GPLv2 or later
|