Version Description
Download this release
Release Info
Developer | nko |
Plugin | Visual Portfolio, Photo Gallery & Post Grid |
Version | 2.10.5 |
Comparing to | |
See all releases |
Code changes from version 2.10.4 to 2.10.5
- assets/admin/js/elementor.js +1 -1
- assets/admin/js/mce-dropdown.js +1 -1
- assets/admin/js/script.js +1 -1
- assets/admin/js/vc-frontend.js +1 -1
- assets/css/main-rtl.min.css +1 -1
- assets/css/main.min.css +1 -1
- assets/js/preview.js +1 -1
- class-visual-portfolio.php +1 -1
- classes/3rd/plugins/class-elementor-widget.php +2 -2
- classes/3rd/plugins/class-tinymce.php +1 -1
- classes/3rd/plugins/class-vc.php +1 -1
- classes/class-admin.php +5 -5
- classes/class-assets.php +8 -10
- classes/class-custom-post-type.php +1 -1
- classes/class-get-portfolio.php +30 -5
- classes/class-gutenberg.php +3 -3
- classes/class-migration.php +4 -11
- classes/class-preview.php +2 -2
- classes/class-settings.php +1 -1
- classes/class-supported-themes.php +1 -1
- gutenberg/components/controls-render/index.js +1 -1
- languages/visual-portfolio.pot +27 -27
- readme.md +8 -1
assets/admin/js/elementor.js
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
* Additional js for Elementor
|
3 |
*
|
4 |
* Name : Visual Portfolio
|
5 |
-
* Version : 2.10.
|
6 |
* Author : nK https://nkdev.info
|
7 |
*/
|
8 |
import { throttle } from 'throttle-debounce';
|
2 |
* Additional js for Elementor
|
3 |
*
|
4 |
* Name : Visual Portfolio
|
5 |
+
* Version : 2.10.5
|
6 |
* Author : nK https://nkdev.info
|
7 |
*/
|
8 |
import { throttle } from 'throttle-debounce';
|
assets/admin/js/mce-dropdown.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
/*!
|
2 |
* Name : Visual Portfolio
|
3 |
-
* Version : 2.10.
|
4 |
* Author : nK https://nkdev.info
|
5 |
*/
|
6 |
const {
|
1 |
/*!
|
2 |
* Name : Visual Portfolio
|
3 |
+
* Version : 2.10.5
|
4 |
* Author : nK https://nkdev.info
|
5 |
*/
|
6 |
const {
|
assets/admin/js/script.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
/*!
|
2 |
* Name : Visual Portfolio
|
3 |
-
* Version : 2.10.
|
4 |
* Author : nK https://nkdev.info
|
5 |
*/
|
6 |
import { debounce } from 'throttle-debounce';
|
1 |
/*!
|
2 |
* Name : Visual Portfolio
|
3 |
+
* Version : 2.10.5
|
4 |
* Author : nK https://nkdev.info
|
5 |
*/
|
6 |
import { debounce } from 'throttle-debounce';
|
assets/admin/js/vc-frontend.js
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
* Additional js for frontend VC
|
3 |
*
|
4 |
* Name : Visual Portfolio
|
5 |
-
* Version : 2.10.
|
6 |
* Author : nK https://nkdev.info
|
7 |
*/
|
8 |
const {
|
2 |
* Additional js for frontend VC
|
3 |
*
|
4 |
* Name : Visual Portfolio
|
5 |
+
* Version : 2.10.5
|
6 |
* Author : nK https://nkdev.info
|
7 |
*/
|
8 |
const {
|
assets/css/main-rtl.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
:root{--vp-color-brand: #2540cc;--vp-color-gray: #6c7781;--vp-color-gray-darken: #4b4b4b;--vp-color-gray-light: #e8e8e8;--vp-color-gray-lighten: #f7f7f7;--vp-border-radius: 5px;--vp-items__gap: 0;--vp-transition-duration: .3s;--vp-transition-easing: ease-in-out;--vp-interactive__transition-duration: .2s;--vp-interactive__transition-easing: ease-in-out}.vp-portfolio__items{--vp-items__gap-vertical: var(--vp-items__gap)}.vp-portfolio{--vp-wrap__min-height: 114px;--vp-elements__gap: 20px;--vp-images__object-fit: cover;--vp-images__object-position: 50% 50%}.vp-spinner{--vp-spinner__color: currentColor;--vp-spinner__size: 20px;--vp-spinner__border-size: 2px;--vp-spinner__speed: .3s;--vp-spinner--background__color: var(--vp-spinner__color);--vp-spinner--background__opacity: .3}.vp-portfolio{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;min-height:var(--vp-wrap__min-height);overflow-wrap:break-word}.vp-portfolio *,.vp-portfolio *::before,.vp-portfolio *::after{-webkit-box-sizing:inherit;box-sizing:inherit}.vp-portfolio .swiper-wrapper{-webkit-box-sizing:inherit;box-sizing:inherit}.vp-portfolio__items{-webkit-transition:var(--vp-transition-duration) height var(--vp-transition-easing),var(--vp-transition-duration) transform var(--vp-transition-easing);-o-transition:var(--vp-transition-duration) height var(--vp-transition-easing),var(--vp-transition-duration) transform var(--vp-transition-easing);transition:var(--vp-transition-duration) height var(--vp-transition-easing),var(--vp-transition-duration) transform var(--vp-transition-easing);will-change:height, transform}.vp-portfolio::after,.vp-portfolio__items::after{content:"";display:block;clear:both}.vp-portfolio__items-wrap,.vp-portfolio__thumbnails-wrap,.vp-portfolio__filter-wrap,.vp-portfolio__sort-wrap,.vp-portfolio__pagination-wrap,.vp-portfolio__item{position:relative;overflow:hidden}.vp-portfolio__items-wrap,.vp-portfolio__thumbnails-wrap,.vp-portfolio__layout-elements{margin-bottom:var(--vp-elements__gap);visibility:hidden;opacity:0;-webkit-transition:var(--vp-transition-duration) opacity,var(--vp-transition-duration) visibility;-o-transition:var(--vp-transition-duration) opacity,var(--vp-transition-duration) visibility;transition:var(--vp-transition-duration) opacity,var(--vp-transition-duration) visibility;will-change:opacity, visibility}.vp-portfolio>:last-child{margin-bottom:0}.vp-portfolio__item-wrap{position:relative;float:right;width:33.333%}.vp-svg-icon{display:inline-block;width:1em;height:1em;overflow:visible;font-size:inherit;vertical-align:-.125em}.vp-screen-reader-text{position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);word-break:normal;word-wrap:normal !important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%)}.vp-screen-reader-text:focus{display:block;top:5px;left:5px;width:auto;height:auto;padding:15px 23px 14px;clip:auto !important;font-size:14px;font-size:.875rem;font-weight:700;line-height:normal;color:var(--vp-color-brand);text-decoration:none;background-color:#f1f1f1;border-radius:3px;-webkit-box-shadow:0 0 2px 2px rgba(0,0,0,0.6);box-shadow:0 0 2px 2px rgba(0,0,0,0.6);-webkit-clip-path:none;clip-path:none;z-index:100000}[data-vp-layout]:not([data-vp-layout="slider"]) .vp-portfolio__item-wrap{padding:0 !important;margin:0 !important}[data-vp-layout="slider"] .vp-portfolio__item-wrap{float:none;padding:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important}.vp-portfolio__item .vp-portfolio__item-img img,.vp-portfolio__item .vp-portfolio__item-img a,.vp-portfolio__item .vp-portfolio__thumbnail-img img{display:block;width:100%;height:auto}.vp-portfolio__item-img,.vp-portfolio__thumbnail-img{position:relative}.vp-portfolio__layout-elements{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;width:calc(100% + var(--vp-elements__gap));margin-top:calc(-1 * var(--vp-elements__gap));margin-right:calc(-1 * var(--vp-elements__gap))}.vp-portfolio__layout-elements>*{margin-top:var(--vp-elements__gap);margin-right:var(--vp-elements__gap)}.vp-portfolio__layout-elements-align-left{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.vp-portfolio__layout-elements-align-center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.vp-portfolio__layout-elements-align-right{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.vp-portfolio__layout-elements-align-between{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.vp-portfolio figure.vp-portfolio__item{margin:0}[class^="wp-block-"]:not(.wp-block-gallery) figcaption.vp-portfolio__item-meta,.vp-portfolio figcaption.vp-portfolio__item-meta{margin-bottom:0;font-style:inherit}.vp-portfolio__preloader-wrap{visibility:visible;opacity:1;-webkit-transition:var(--vp-transition-duration) opacity,var(--vp-transition-duration) visibility;-o-transition:var(--vp-transition-duration) opacity,var(--vp-transition-duration) visibility;transition:var(--vp-transition-duration) opacity,var(--vp-transition-duration) visibility;will-change:opacity, visibility}.vp-portfolio__preloader{position:absolute;right:50%;width:20px;height:20px;margin-top:45px;margin-right:-10px}.vp-portfolio__preloader svg,.vp-portfolio__preloader img{display:block;width:100%;height:100%}.vp-portfolio__preloader::after{content:"";position:absolute;display:block;top:-2px;right:-2px;width:24px;height:24px;text-indent:-9999em;border:1px solid rgba(0,0,0,0.2);border-right:1px solid #000;border-radius:50%;-webkit-animation:vp-preloader-spinner .3s infinite linear;animation:vp-preloader-spinner .3s infinite linear}@-webkit-keyframes vp-preloader-spinner{100%{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}}@keyframes vp-preloader-spinner{100%{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}}.vp-portfolio.vp-portfolio__ready{min-height:initial}.vp-portfolio.vp-portfolio__ready .vp-portfolio__items-wrap,.vp-portfolio.vp-portfolio__ready .vp-portfolio__thumbnails-wrap,.vp-portfolio.vp-portfolio__ready .vp-portfolio__layout-elements{visibility:visible;opacity:1}.vp-portfolio.vp-portfolio__ready .vp-portfolio__preloader-wrap{visibility:hidden;opacity:0}.vp-portfolio.vp-portfolio__ready .vp-portfolio__preloader-wrap .vp-portfolio__preloader{-webkit-animation:none;animation:none}.vp-single-filter.vp-single-filter__ready .vp-portfolio__filter-wrap{visibility:visible;opacity:1}.vp-single-sort.vp-single-sort__ready .vp-portfolio__sort-wrap{visibility:visible;opacity:1}.vp-portfolio.vp-portfolio__loading .vp-portfolio__layout-elements{opacity:.5}.vp-portfolio__item-popup{display:none}.vp-spinner{position:relative;display:block;width:var(--vp-spinner__size);height:var(--vp-spinner__size);text-indent:-9999em;border:var(--vp-spinner__border-size) solid transparent;border-right:var(--vp-spinner__border-size) solid var(--vp-spinner__color);border-radius:50%;-webkit-animation:vp-spinner var(--vp-spinner__speed) infinite linear;animation:vp-spinner var(--vp-spinner__speed) infinite linear}.vp-spinner::after{content:"";position:absolute;display:block;top:calc(-1 * var(--vp-spinner__border-size));left:calc(-1 * var(--vp-spinner__border-size));bottom:calc(-1 * var(--vp-spinner__border-size));right:calc(-1 * var(--vp-spinner__border-size));border:var(--vp-spinner__border-size) solid var(--vp-spinner--background__color);border-radius:50%;opacity:var(--vp-spinner--background__opacity)}@-webkit-keyframes vp-spinner{100%{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}}@keyframes vp-spinner{100%{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}}
|
1 |
+
:root{--vp-color-brand: #2540cc;--vp-color-gray: #6c7781;--vp-color-gray-darken: #4b4b4b;--vp-color-gray-light: #e8e8e8;--vp-color-gray-lighten: #f7f7f7;--vp-border-radius: 5px;--vp-items__gap: 0;--vp-transition-duration: .3s;--vp-transition-easing: ease-in-out;--vp-interactive__transition-duration: .2s;--vp-interactive__transition-easing: ease-in-out}.vp-portfolio__items{--vp-items__gap-vertical: var(--vp-items__gap)}.vp-portfolio{--vp-wrap__min-height: 114px;--vp-elements__gap: 20px;--vp-images__object-fit: cover;--vp-images__object-position: 50% 50%}.vp-spinner{--vp-spinner__color: currentColor;--vp-spinner__size: 20px;--vp-spinner__border-size: 2px;--vp-spinner__speed: .3s;--vp-spinner--background__color: var(--vp-spinner__color);--vp-spinner--background__opacity: .3}.vp-portfolio{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;min-height:var(--vp-wrap__min-height);overflow-wrap:break-word}.vp-portfolio *,.vp-portfolio *::before,.vp-portfolio *::after{-webkit-box-sizing:inherit;box-sizing:inherit}.vp-portfolio .swiper-wrapper{-webkit-box-sizing:inherit;box-sizing:inherit}.vp-portfolio__items{-webkit-transition:var(--vp-transition-duration) height var(--vp-transition-easing),var(--vp-transition-duration) transform var(--vp-transition-easing);-o-transition:var(--vp-transition-duration) height var(--vp-transition-easing),var(--vp-transition-duration) transform var(--vp-transition-easing);transition:var(--vp-transition-duration) height var(--vp-transition-easing),var(--vp-transition-duration) transform var(--vp-transition-easing);will-change:height, transform}.vp-portfolio::after,.vp-portfolio__items::after{content:"";display:block;clear:both}.vp-portfolio__items-wrap,.vp-portfolio__thumbnails-wrap,.vp-portfolio__filter-wrap,.vp-portfolio__sort-wrap,.vp-portfolio__pagination-wrap,.vp-portfolio__item{position:relative;overflow:hidden}.vp-portfolio__items-wrap,.vp-portfolio__thumbnails-wrap,.vp-portfolio__layout-elements{margin-bottom:var(--vp-elements__gap);visibility:hidden;opacity:0;-webkit-transition:var(--vp-transition-duration) opacity,var(--vp-transition-duration) visibility;-o-transition:var(--vp-transition-duration) opacity,var(--vp-transition-duration) visibility;transition:var(--vp-transition-duration) opacity,var(--vp-transition-duration) visibility;will-change:opacity, visibility}.vp-portfolio>:last-child{margin-bottom:0}.vp-portfolio__item-wrap{position:relative;float:right;width:33.333%}.vp-svg-icon{display:inline-block;width:1em;height:1em;overflow:visible;font-size:inherit;vertical-align:-.125em}.vp-screen-reader-text{position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);word-break:normal;word-wrap:normal !important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%)}.vp-screen-reader-text:focus{display:block;top:5px;left:5px;width:auto;height:auto;padding:15px 23px 14px;clip:auto !important;font-size:14px;font-size:.875rem;font-weight:700;line-height:normal;color:var(--vp-color-brand);text-decoration:none;background-color:#f1f1f1;border-radius:3px;-webkit-box-shadow:0 0 2px 2px rgba(0,0,0,0.6);box-shadow:0 0 2px 2px rgba(0,0,0,0.6);-webkit-clip-path:none;clip-path:none;z-index:100000}[data-vp-layout]:not([data-vp-layout="slider"]) .vp-portfolio__item-wrap{padding:0 !important;margin:0 !important}[data-vp-layout="slider"] .vp-portfolio__item-wrap{float:none;padding:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important}.vp-portfolio__item .vp-portfolio__item-img img,.vp-portfolio__item .vp-portfolio__item-img a,.vp-portfolio__item .vp-portfolio__thumbnail-img img{display:block;width:100%;height:auto}.vp-portfolio__item-img,.vp-portfolio__thumbnail-img{position:relative}.vp-portfolio__item .vp-portfolio__item-img a{position:unset}.vp-portfolio__layout-elements{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;width:calc(100% + var(--vp-elements__gap));margin-top:calc(-1 * var(--vp-elements__gap));margin-right:calc(-1 * var(--vp-elements__gap))}.vp-portfolio__layout-elements>*{margin-top:var(--vp-elements__gap);margin-right:var(--vp-elements__gap)}.vp-portfolio__layout-elements-align-left{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.vp-portfolio__layout-elements-align-center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.vp-portfolio__layout-elements-align-right{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.vp-portfolio__layout-elements-align-between{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.vp-portfolio figure.vp-portfolio__item{margin:0}[class^="wp-block-"]:not(.wp-block-gallery) figcaption.vp-portfolio__item-meta,.vp-portfolio figcaption.vp-portfolio__item-meta{margin-bottom:0;font-style:inherit}.vp-portfolio__preloader-wrap{visibility:visible;opacity:1;-webkit-transition:var(--vp-transition-duration) opacity,var(--vp-transition-duration) visibility;-o-transition:var(--vp-transition-duration) opacity,var(--vp-transition-duration) visibility;transition:var(--vp-transition-duration) opacity,var(--vp-transition-duration) visibility;will-change:opacity, visibility}.vp-portfolio__preloader{position:absolute;right:50%;width:20px;height:20px;margin-top:45px;margin-right:-10px}.vp-portfolio__preloader svg,.vp-portfolio__preloader img{display:block;width:100%;height:100%}.vp-portfolio__preloader::after{content:"";position:absolute;display:block;top:-2px;right:-2px;width:24px;height:24px;text-indent:-9999em;border:1px solid rgba(0,0,0,0.2);border-right:1px solid #000;border-radius:50%;-webkit-animation:vp-preloader-spinner .3s infinite linear;animation:vp-preloader-spinner .3s infinite linear}@-webkit-keyframes vp-preloader-spinner{100%{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}}@keyframes vp-preloader-spinner{100%{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}}.vp-portfolio.vp-portfolio__ready{min-height:initial}.vp-portfolio.vp-portfolio__ready .vp-portfolio__items-wrap,.vp-portfolio.vp-portfolio__ready .vp-portfolio__thumbnails-wrap,.vp-portfolio.vp-portfolio__ready .vp-portfolio__layout-elements{visibility:visible;opacity:1}.vp-portfolio.vp-portfolio__ready .vp-portfolio__preloader-wrap{visibility:hidden;opacity:0}.vp-portfolio.vp-portfolio__ready .vp-portfolio__preloader-wrap .vp-portfolio__preloader{-webkit-animation:none;animation:none}.vp-single-filter.vp-single-filter__ready .vp-portfolio__filter-wrap{visibility:visible;opacity:1}.vp-single-sort.vp-single-sort__ready .vp-portfolio__sort-wrap{visibility:visible;opacity:1}.vp-portfolio.vp-portfolio__loading .vp-portfolio__layout-elements{opacity:.5}.vp-portfolio__item-popup{display:none}.vp-spinner{position:relative;display:block;width:var(--vp-spinner__size);height:var(--vp-spinner__size);text-indent:-9999em;border:var(--vp-spinner__border-size) solid transparent;border-right:var(--vp-spinner__border-size) solid var(--vp-spinner__color);border-radius:50%;-webkit-animation:vp-spinner var(--vp-spinner__speed) infinite linear;animation:vp-spinner var(--vp-spinner__speed) infinite linear}.vp-spinner::after{content:"";position:absolute;display:block;top:calc(-1 * var(--vp-spinner__border-size));left:calc(-1 * var(--vp-spinner__border-size));bottom:calc(-1 * var(--vp-spinner__border-size));right:calc(-1 * var(--vp-spinner__border-size));border:var(--vp-spinner__border-size) solid var(--vp-spinner--background__color);border-radius:50%;opacity:var(--vp-spinner--background__opacity)}@-webkit-keyframes vp-spinner{100%{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}}@keyframes vp-spinner{100%{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}}
|
assets/css/main.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
:root{--vp-color-brand: #2540cc;--vp-color-gray: #6c7781;--vp-color-gray-darken: #4b4b4b;--vp-color-gray-light: #e8e8e8;--vp-color-gray-lighten: #f7f7f7;--vp-border-radius: 5px;--vp-items__gap: 0;--vp-transition-duration: .3s;--vp-transition-easing: ease-in-out;--vp-interactive__transition-duration: .2s;--vp-interactive__transition-easing: ease-in-out}.vp-portfolio__items{--vp-items__gap-vertical: var(--vp-items__gap)}.vp-portfolio{--vp-wrap__min-height: 114px;--vp-elements__gap: 20px;--vp-images__object-fit: cover;--vp-images__object-position: 50% 50%}.vp-spinner{--vp-spinner__color: currentColor;--vp-spinner__size: 20px;--vp-spinner__border-size: 2px;--vp-spinner__speed: .3s;--vp-spinner--background__color: var(--vp-spinner__color);--vp-spinner--background__opacity: .3}.vp-portfolio{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;min-height:var(--vp-wrap__min-height);overflow-wrap:break-word}.vp-portfolio *,.vp-portfolio *::before,.vp-portfolio *::after{-webkit-box-sizing:inherit;box-sizing:inherit}.vp-portfolio .swiper-wrapper{-webkit-box-sizing:inherit;box-sizing:inherit}.vp-portfolio__items{-webkit-transition:var(--vp-transition-duration) height var(--vp-transition-easing),var(--vp-transition-duration) transform var(--vp-transition-easing);-o-transition:var(--vp-transition-duration) height var(--vp-transition-easing),var(--vp-transition-duration) transform var(--vp-transition-easing);transition:var(--vp-transition-duration) height var(--vp-transition-easing),var(--vp-transition-duration) transform var(--vp-transition-easing);will-change:height, transform}.vp-portfolio::after,.vp-portfolio__items::after{content:"";display:block;clear:both}.vp-portfolio__items-wrap,.vp-portfolio__thumbnails-wrap,.vp-portfolio__filter-wrap,.vp-portfolio__sort-wrap,.vp-portfolio__pagination-wrap,.vp-portfolio__item{position:relative;overflow:hidden}.vp-portfolio__items-wrap,.vp-portfolio__thumbnails-wrap,.vp-portfolio__layout-elements{margin-bottom:var(--vp-elements__gap);visibility:hidden;opacity:0;-webkit-transition:var(--vp-transition-duration) opacity,var(--vp-transition-duration) visibility;-o-transition:var(--vp-transition-duration) opacity,var(--vp-transition-duration) visibility;transition:var(--vp-transition-duration) opacity,var(--vp-transition-duration) visibility;will-change:opacity, visibility}.vp-portfolio>:last-child{margin-bottom:0}.vp-portfolio__item-wrap{position:relative;float:left;width:33.333%}.vp-svg-icon{display:inline-block;width:1em;height:1em;overflow:visible;font-size:inherit;vertical-align:-.125em}.vp-screen-reader-text{position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);word-break:normal;word-wrap:normal !important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%)}.vp-screen-reader-text:focus{display:block;top:5px;right:5px;width:auto;height:auto;padding:15px 23px 14px;clip:auto !important;font-size:14px;font-size:.875rem;font-weight:700;line-height:normal;color:var(--vp-color-brand);text-decoration:none;background-color:#f1f1f1;border-radius:3px;-webkit-box-shadow:0 0 2px 2px rgba(0,0,0,0.6);box-shadow:0 0 2px 2px rgba(0,0,0,0.6);-webkit-clip-path:none;clip-path:none;z-index:100000}[data-vp-layout]:not([data-vp-layout="slider"]) .vp-portfolio__item-wrap{padding:0 !important;margin:0 !important}[data-vp-layout="slider"] .vp-portfolio__item-wrap{float:none;padding:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-left:0 !important}.vp-portfolio__item .vp-portfolio__item-img img,.vp-portfolio__item .vp-portfolio__item-img a,.vp-portfolio__item .vp-portfolio__thumbnail-img img{display:block;width:100%;height:auto}.vp-portfolio__item-img,.vp-portfolio__thumbnail-img{position:relative}.vp-portfolio__layout-elements{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;width:calc(100% + var(--vp-elements__gap));margin-top:calc(-1 * var(--vp-elements__gap));margin-left:calc(-1 * var(--vp-elements__gap))}.vp-portfolio__layout-elements>*{margin-top:var(--vp-elements__gap);margin-left:var(--vp-elements__gap)}.vp-portfolio__layout-elements-align-left{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.vp-portfolio__layout-elements-align-center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.vp-portfolio__layout-elements-align-right{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.vp-portfolio__layout-elements-align-between{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.vp-portfolio figure.vp-portfolio__item{margin:0}[class^="wp-block-"]:not(.wp-block-gallery) figcaption.vp-portfolio__item-meta,.vp-portfolio figcaption.vp-portfolio__item-meta{margin-bottom:0;font-style:inherit}.vp-portfolio__preloader-wrap{visibility:visible;opacity:1;-webkit-transition:var(--vp-transition-duration) opacity,var(--vp-transition-duration) visibility;-o-transition:var(--vp-transition-duration) opacity,var(--vp-transition-duration) visibility;transition:var(--vp-transition-duration) opacity,var(--vp-transition-duration) visibility;will-change:opacity, visibility}.vp-portfolio__preloader{position:absolute;left:50%;width:20px;height:20px;margin-top:45px;margin-left:-10px}.vp-portfolio__preloader svg,.vp-portfolio__preloader img{display:block;width:100%;height:100%}.vp-portfolio__preloader::after{content:"";position:absolute;display:block;top:-2px;left:-2px;width:24px;height:24px;text-indent:-9999em;border:1px solid rgba(0,0,0,0.2);border-left:1px solid #000;border-radius:50%;-webkit-animation:vp-preloader-spinner .3s infinite linear;animation:vp-preloader-spinner .3s infinite linear}@-webkit-keyframes vp-preloader-spinner{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes vp-preloader-spinner{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.vp-portfolio.vp-portfolio__ready{min-height:initial}.vp-portfolio.vp-portfolio__ready .vp-portfolio__items-wrap,.vp-portfolio.vp-portfolio__ready .vp-portfolio__thumbnails-wrap,.vp-portfolio.vp-portfolio__ready .vp-portfolio__layout-elements{visibility:visible;opacity:1}.vp-portfolio.vp-portfolio__ready .vp-portfolio__preloader-wrap{visibility:hidden;opacity:0}.vp-portfolio.vp-portfolio__ready .vp-portfolio__preloader-wrap .vp-portfolio__preloader{-webkit-animation:none;animation:none}.vp-single-filter.vp-single-filter__ready .vp-portfolio__filter-wrap{visibility:visible;opacity:1}.vp-single-sort.vp-single-sort__ready .vp-portfolio__sort-wrap{visibility:visible;opacity:1}.vp-portfolio.vp-portfolio__loading .vp-portfolio__layout-elements{opacity:.5}.vp-portfolio__item-popup{display:none}.vp-spinner{position:relative;display:block;width:var(--vp-spinner__size);height:var(--vp-spinner__size);text-indent:-9999em;border:var(--vp-spinner__border-size) solid transparent;border-left:var(--vp-spinner__border-size) solid var(--vp-spinner__color);border-radius:50%;-webkit-animation:vp-spinner var(--vp-spinner__speed) infinite linear;animation:vp-spinner var(--vp-spinner__speed) infinite linear}.vp-spinner::after{content:"";position:absolute;display:block;top:calc(-1 * var(--vp-spinner__border-size));right:calc(-1 * var(--vp-spinner__border-size));bottom:calc(-1 * var(--vp-spinner__border-size));left:calc(-1 * var(--vp-spinner__border-size));border:var(--vp-spinner__border-size) solid var(--vp-spinner--background__color);border-radius:50%;opacity:var(--vp-spinner--background__opacity)}@-webkit-keyframes vp-spinner{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes vp-spinner{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}
|
1 |
+
:root{--vp-color-brand: #2540cc;--vp-color-gray: #6c7781;--vp-color-gray-darken: #4b4b4b;--vp-color-gray-light: #e8e8e8;--vp-color-gray-lighten: #f7f7f7;--vp-border-radius: 5px;--vp-items__gap: 0;--vp-transition-duration: .3s;--vp-transition-easing: ease-in-out;--vp-interactive__transition-duration: .2s;--vp-interactive__transition-easing: ease-in-out}.vp-portfolio__items{--vp-items__gap-vertical: var(--vp-items__gap)}.vp-portfolio{--vp-wrap__min-height: 114px;--vp-elements__gap: 20px;--vp-images__object-fit: cover;--vp-images__object-position: 50% 50%}.vp-spinner{--vp-spinner__color: currentColor;--vp-spinner__size: 20px;--vp-spinner__border-size: 2px;--vp-spinner__speed: .3s;--vp-spinner--background__color: var(--vp-spinner__color);--vp-spinner--background__opacity: .3}.vp-portfolio{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;min-height:var(--vp-wrap__min-height);overflow-wrap:break-word}.vp-portfolio *,.vp-portfolio *::before,.vp-portfolio *::after{-webkit-box-sizing:inherit;box-sizing:inherit}.vp-portfolio .swiper-wrapper{-webkit-box-sizing:inherit;box-sizing:inherit}.vp-portfolio__items{-webkit-transition:var(--vp-transition-duration) height var(--vp-transition-easing),var(--vp-transition-duration) transform var(--vp-transition-easing);-o-transition:var(--vp-transition-duration) height var(--vp-transition-easing),var(--vp-transition-duration) transform var(--vp-transition-easing);transition:var(--vp-transition-duration) height var(--vp-transition-easing),var(--vp-transition-duration) transform var(--vp-transition-easing);will-change:height, transform}.vp-portfolio::after,.vp-portfolio__items::after{content:"";display:block;clear:both}.vp-portfolio__items-wrap,.vp-portfolio__thumbnails-wrap,.vp-portfolio__filter-wrap,.vp-portfolio__sort-wrap,.vp-portfolio__pagination-wrap,.vp-portfolio__item{position:relative;overflow:hidden}.vp-portfolio__items-wrap,.vp-portfolio__thumbnails-wrap,.vp-portfolio__layout-elements{margin-bottom:var(--vp-elements__gap);visibility:hidden;opacity:0;-webkit-transition:var(--vp-transition-duration) opacity,var(--vp-transition-duration) visibility;-o-transition:var(--vp-transition-duration) opacity,var(--vp-transition-duration) visibility;transition:var(--vp-transition-duration) opacity,var(--vp-transition-duration) visibility;will-change:opacity, visibility}.vp-portfolio>:last-child{margin-bottom:0}.vp-portfolio__item-wrap{position:relative;float:left;width:33.333%}.vp-svg-icon{display:inline-block;width:1em;height:1em;overflow:visible;font-size:inherit;vertical-align:-.125em}.vp-screen-reader-text{position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);word-break:normal;word-wrap:normal !important;border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%)}.vp-screen-reader-text:focus{display:block;top:5px;right:5px;width:auto;height:auto;padding:15px 23px 14px;clip:auto !important;font-size:14px;font-size:.875rem;font-weight:700;line-height:normal;color:var(--vp-color-brand);text-decoration:none;background-color:#f1f1f1;border-radius:3px;-webkit-box-shadow:0 0 2px 2px rgba(0,0,0,0.6);box-shadow:0 0 2px 2px rgba(0,0,0,0.6);-webkit-clip-path:none;clip-path:none;z-index:100000}[data-vp-layout]:not([data-vp-layout="slider"]) .vp-portfolio__item-wrap{padding:0 !important;margin:0 !important}[data-vp-layout="slider"] .vp-portfolio__item-wrap{float:none;padding:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-left:0 !important}.vp-portfolio__item .vp-portfolio__item-img img,.vp-portfolio__item .vp-portfolio__item-img a,.vp-portfolio__item .vp-portfolio__thumbnail-img img{display:block;width:100%;height:auto}.vp-portfolio__item-img,.vp-portfolio__thumbnail-img{position:relative}.vp-portfolio__item .vp-portfolio__item-img a{position:unset}.vp-portfolio__layout-elements{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;width:calc(100% + var(--vp-elements__gap));margin-top:calc(-1 * var(--vp-elements__gap));margin-left:calc(-1 * var(--vp-elements__gap))}.vp-portfolio__layout-elements>*{margin-top:var(--vp-elements__gap);margin-left:var(--vp-elements__gap)}.vp-portfolio__layout-elements-align-left{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.vp-portfolio__layout-elements-align-center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.vp-portfolio__layout-elements-align-right{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.vp-portfolio__layout-elements-align-between{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.vp-portfolio figure.vp-portfolio__item{margin:0}[class^="wp-block-"]:not(.wp-block-gallery) figcaption.vp-portfolio__item-meta,.vp-portfolio figcaption.vp-portfolio__item-meta{margin-bottom:0;font-style:inherit}.vp-portfolio__preloader-wrap{visibility:visible;opacity:1;-webkit-transition:var(--vp-transition-duration) opacity,var(--vp-transition-duration) visibility;-o-transition:var(--vp-transition-duration) opacity,var(--vp-transition-duration) visibility;transition:var(--vp-transition-duration) opacity,var(--vp-transition-duration) visibility;will-change:opacity, visibility}.vp-portfolio__preloader{position:absolute;left:50%;width:20px;height:20px;margin-top:45px;margin-left:-10px}.vp-portfolio__preloader svg,.vp-portfolio__preloader img{display:block;width:100%;height:100%}.vp-portfolio__preloader::after{content:"";position:absolute;display:block;top:-2px;left:-2px;width:24px;height:24px;text-indent:-9999em;border:1px solid rgba(0,0,0,0.2);border-left:1px solid #000;border-radius:50%;-webkit-animation:vp-preloader-spinner .3s infinite linear;animation:vp-preloader-spinner .3s infinite linear}@-webkit-keyframes vp-preloader-spinner{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes vp-preloader-spinner{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.vp-portfolio.vp-portfolio__ready{min-height:initial}.vp-portfolio.vp-portfolio__ready .vp-portfolio__items-wrap,.vp-portfolio.vp-portfolio__ready .vp-portfolio__thumbnails-wrap,.vp-portfolio.vp-portfolio__ready .vp-portfolio__layout-elements{visibility:visible;opacity:1}.vp-portfolio.vp-portfolio__ready .vp-portfolio__preloader-wrap{visibility:hidden;opacity:0}.vp-portfolio.vp-portfolio__ready .vp-portfolio__preloader-wrap .vp-portfolio__preloader{-webkit-animation:none;animation:none}.vp-single-filter.vp-single-filter__ready .vp-portfolio__filter-wrap{visibility:visible;opacity:1}.vp-single-sort.vp-single-sort__ready .vp-portfolio__sort-wrap{visibility:visible;opacity:1}.vp-portfolio.vp-portfolio__loading .vp-portfolio__layout-elements{opacity:.5}.vp-portfolio__item-popup{display:none}.vp-spinner{position:relative;display:block;width:var(--vp-spinner__size);height:var(--vp-spinner__size);text-indent:-9999em;border:var(--vp-spinner__border-size) solid transparent;border-left:var(--vp-spinner__border-size) solid var(--vp-spinner__color);border-radius:50%;-webkit-animation:vp-spinner var(--vp-spinner__speed) infinite linear;animation:vp-spinner var(--vp-spinner__speed) infinite linear}.vp-spinner::after{content:"";position:absolute;display:block;top:calc(-1 * var(--vp-spinner__border-size));right:calc(-1 * var(--vp-spinner__border-size));bottom:calc(-1 * var(--vp-spinner__border-size));left:calc(-1 * var(--vp-spinner__border-size));border:var(--vp-spinner__border-size) solid var(--vp-spinner--background__color);border-radius:50%;opacity:var(--vp-spinner--background__opacity)}@-webkit-keyframes vp-spinner{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes vp-spinner{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}
|
assets/js/preview.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
/*!
|
2 |
* Name : Visual Portfolio
|
3 |
-
* Version : 2.10.
|
4 |
* Author : nK https://nkdev.info
|
5 |
*/
|
6 |
const $ = window.jQuery;
|
1 |
/*!
|
2 |
* Name : Visual Portfolio
|
3 |
+
* Version : 2.10.5
|
4 |
* Author : nK https://nkdev.info
|
5 |
*/
|
6 |
const $ = window.jQuery;
|
class-visual-portfolio.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Plugin Name: Visual Portfolio, Posts & Image Gallery
|
4 |
* Description: Modern gallery and portfolio plugin with advanced layouts editor. Clean and powerful gallery styles with enormous settings in the Gutenberg block.
|
5 |
-
* Version: 2.10.
|
6 |
* Author: nK
|
7 |
* Author URI: https://nkdev.info
|
8 |
* License: GPLv2 or later
|
2 |
/**
|
3 |
* Plugin Name: Visual Portfolio, Posts & Image Gallery
|
4 |
* Description: Modern gallery and portfolio plugin with advanced layouts editor. Clean and powerful gallery styles with enormous settings in the Gutenberg block.
|
5 |
+
* Version: 2.10.5
|
6 |
* Author: nK
|
7 |
* Author URI: https://nkdev.info
|
8 |
* License: GPLv2 or later
|
classes/3rd/plugins/class-elementor-widget.php
CHANGED
@@ -33,9 +33,9 @@ class Visual_Portfolio_3rd_Elementor_Widget extends \Elementor\Widget_Base {
|
|
33 |
|
34 |
if ( $this->is_preview_mode() ) {
|
35 |
wp_register_script( 'iframe-resizer', visual_portfolio()->plugin_url . 'assets/vendor/iframe-resizer/js/iframeResizer.min.js', '', '4.2.11', true );
|
36 |
-
wp_register_script( 'visual-portfolio-elementor', visual_portfolio()->plugin_url . 'assets/admin/js/elementor.min.js', array( 'elementor-frontend', 'iframe-resizer', 'jquery' ), '2.10.
|
37 |
|
38 |
-
wp_register_style( 'visual-portfolio-elementor', visual_portfolio()->plugin_url . 'assets/admin/css/elementor.min.css', array(), '2.10.
|
39 |
wp_style_add_data( 'visual-portfolio-elementor', 'rtl', 'replace' );
|
40 |
wp_style_add_data( 'visual-portfolio-elementor', 'suffix', '.min' );
|
41 |
}
|
33 |
|
34 |
if ( $this->is_preview_mode() ) {
|
35 |
wp_register_script( 'iframe-resizer', visual_portfolio()->plugin_url . 'assets/vendor/iframe-resizer/js/iframeResizer.min.js', '', '4.2.11', true );
|
36 |
+
wp_register_script( 'visual-portfolio-elementor', visual_portfolio()->plugin_url . 'assets/admin/js/elementor.min.js', array( 'elementor-frontend', 'iframe-resizer', 'jquery' ), '2.10.5', true );
|
37 |
|
38 |
+
wp_register_style( 'visual-portfolio-elementor', visual_portfolio()->plugin_url . 'assets/admin/css/elementor.min.css', array(), '2.10.5' );
|
39 |
wp_style_add_data( 'visual-portfolio-elementor', 'rtl', 'replace' );
|
40 |
wp_style_add_data( 'visual-portfolio-elementor', 'suffix', '.min' );
|
41 |
}
|
classes/3rd/plugins/class-tinymce.php
CHANGED
@@ -70,7 +70,7 @@ class Visual_Portfolio_3rd_TinyMCE {
|
|
70 |
return;
|
71 |
}
|
72 |
|
73 |
-
wp_enqueue_script( 'visual-portfolio-tinymce-localize', visual_portfolio()->plugin_url . 'assets/admin/js/mce-localize.min.js', array(), '2.10.
|
74 |
wp_localize_script( 'visual-portfolio-tinymce-localize', 'VPTinyMCEOptions', $data_tiny_mce );
|
75 |
}
|
76 |
}
|
70 |
return;
|
71 |
}
|
72 |
|
73 |
+
wp_enqueue_script( 'visual-portfolio-tinymce-localize', visual_portfolio()->plugin_url . 'assets/admin/js/mce-localize.min.js', array(), '2.10.5', true );
|
74 |
wp_localize_script( 'visual-portfolio-tinymce-localize', 'VPTinyMCEOptions', $data_tiny_mce );
|
75 |
}
|
76 |
}
|
classes/3rd/plugins/class-vc.php
CHANGED
@@ -35,7 +35,7 @@ class Visual_Portfolio_3rd_VC {
|
|
35 |
*/
|
36 |
public function admin_enqueue_scripts( $page ) {
|
37 |
if ( 'post.php' === $page || 'post-new.php' === $page ) {
|
38 |
-
wp_enqueue_script( 'visual-portfolio-vc-frontend', visual_portfolio()->plugin_url . 'assets/admin/js/vc-frontend.min.js', array( 'jquery' ), '2.10.
|
39 |
}
|
40 |
}
|
41 |
|
35 |
*/
|
36 |
public function admin_enqueue_scripts( $page ) {
|
37 |
if ( 'post.php' === $page || 'post-new.php' === $page ) {
|
38 |
+
wp_enqueue_script( 'visual-portfolio-vc-frontend', visual_portfolio()->plugin_url . 'assets/admin/js/vc-frontend.min.js', array( 'jquery' ), '2.10.5', true );
|
39 |
}
|
40 |
}
|
41 |
|
classes/class-admin.php
CHANGED
@@ -42,9 +42,9 @@ class Visual_Portfolio_Admin {
|
|
42 |
'nonce' => wp_create_nonce( 'vp-ajax-nonce' ),
|
43 |
);
|
44 |
|
45 |
-
wp_enqueue_script( 'visual-portfolio-admin', visual_portfolio()->plugin_url . 'assets/admin/js/script.min.js', array( 'jquery', 'wp-data' ), '2.10.
|
46 |
wp_localize_script( 'visual-portfolio-admin', 'VPAdminVariables', $data_init );
|
47 |
-
wp_enqueue_style( 'visual-portfolio-admin', visual_portfolio()->plugin_url . 'assets/admin/css/style.min.css', array(), '2.10.
|
48 |
wp_style_add_data( 'visual-portfolio-admin', 'rtl', 'replace' );
|
49 |
wp_style_add_data( 'visual-portfolio-admin', 'suffix', '.min' );
|
50 |
}
|
@@ -58,8 +58,8 @@ class Visual_Portfolio_Admin {
|
|
58 |
);
|
59 |
|
60 |
if ( 'vp_lists' === get_post_type() ) {
|
61 |
-
wp_enqueue_script( 'visual-portfolio-saved-layouts', visual_portfolio()->plugin_url . 'gutenberg/layouts-editor.min.js', array( 'jquery' ), '2.10.
|
62 |
-
wp_enqueue_style( 'visual-portfolio-saved-layouts', visual_portfolio()->plugin_url . 'gutenberg/layouts-editor.min.css', array(), '2.10.
|
63 |
wp_style_add_data( 'visual-portfolio-saved-layouts', 'rtl', 'replace' );
|
64 |
wp_style_add_data( 'visual-portfolio-saved-layouts', 'suffix', '.min' );
|
65 |
|
@@ -105,7 +105,7 @@ class Visual_Portfolio_Admin {
|
|
105 |
// phpcs:ignore
|
106 |
if ( 'visual_portfolio_go_pro' === $_GET['page'] ) {
|
107 |
// phpcs:ignore
|
108 |
-
wp_redirect( 'https://visualportfolio.co/pro/?utm_source=freeplugin&utm_medium=link&utm_campaign=admin_page&utm_content=2.10.
|
109 |
exit();
|
110 |
}
|
111 |
}
|
42 |
'nonce' => wp_create_nonce( 'vp-ajax-nonce' ),
|
43 |
);
|
44 |
|
45 |
+
wp_enqueue_script( 'visual-portfolio-admin', visual_portfolio()->plugin_url . 'assets/admin/js/script.min.js', array( 'jquery', 'wp-data' ), '2.10.5', true );
|
46 |
wp_localize_script( 'visual-portfolio-admin', 'VPAdminVariables', $data_init );
|
47 |
+
wp_enqueue_style( 'visual-portfolio-admin', visual_portfolio()->plugin_url . 'assets/admin/css/style.min.css', array(), '2.10.5' );
|
48 |
wp_style_add_data( 'visual-portfolio-admin', 'rtl', 'replace' );
|
49 |
wp_style_add_data( 'visual-portfolio-admin', 'suffix', '.min' );
|
50 |
}
|
58 |
);
|
59 |
|
60 |
if ( 'vp_lists' === get_post_type() ) {
|
61 |
+
wp_enqueue_script( 'visual-portfolio-saved-layouts', visual_portfolio()->plugin_url . 'gutenberg/layouts-editor.min.js', array( 'jquery' ), '2.10.5', true );
|
62 |
+
wp_enqueue_style( 'visual-portfolio-saved-layouts', visual_portfolio()->plugin_url . 'gutenberg/layouts-editor.min.css', array(), '2.10.5' );
|
63 |
wp_style_add_data( 'visual-portfolio-saved-layouts', 'rtl', 'replace' );
|
64 |
wp_style_add_data( 'visual-portfolio-saved-layouts', 'suffix', '.min' );
|
65 |
|
105 |
// phpcs:ignore
|
106 |
if ( 'visual_portfolio_go_pro' === $_GET['page'] ) {
|
107 |
// phpcs:ignore
|
108 |
+
wp_redirect( 'https://visualportfolio.co/pro/?utm_source=freeplugin&utm_medium=link&utm_campaign=admin_page&utm_content=2.10.5' );
|
109 |
exit();
|
110 |
}
|
111 |
}
|
classes/class-assets.php
CHANGED
@@ -98,11 +98,11 @@ class Visual_Portfolio_Assets {
|
|
98 |
foreach ( self::$stored_assets[ $type ] as $name => $data ) {
|
99 |
if ( isset( $data['value'] ) && $data['value'] ) {
|
100 |
if ( 'script' === $type ) {
|
101 |
-
wp_enqueue_script( $name, '', array(), '2.10.
|
102 |
} elseif ( is_string( $data['value'] ) ) {
|
103 |
-
visual_portfolio()->include_template_style( $name, $data['value'], array(), '2.10.
|
104 |
} else {
|
105 |
-
wp_enqueue_style( $name, '', array(), '2.10.
|
106 |
}
|
107 |
|
108 |
self::$stored_assets[ $type ]['value'] = false;
|
@@ -259,7 +259,7 @@ class Visual_Portfolio_Assets {
|
|
259 |
$dynamic_styles = Visual_Portfolio_Controls_Dynamic_CSS::get( $options );
|
260 |
$controls_css_handle = 'vp-dynamic-styles-' . $options['id'];
|
261 |
|
262 |
-
wp_register_style( $controls_css_handle, false, array(), '2.10.
|
263 |
wp_enqueue_style( $controls_css_handle );
|
264 |
wp_add_inline_style( $controls_css_handle, $dynamic_styles ? $dynamic_styles : ' ' );
|
265 |
|
@@ -365,8 +365,8 @@ class Visual_Portfolio_Assets {
|
|
365 |
// LazySizes.
|
366 |
if ( apply_filters( 'vpf_enqueue_plugin_lazysizes', true ) ) {
|
367 |
wp_register_script( 'lazysizes-object-fit-cover', visual_portfolio()->plugin_url . 'assets/js/lazysizes-object-fit-cover.min.js', array(), '4.1.0', true );
|
368 |
-
wp_register_script( 'lazysizes-config', visual_portfolio()->plugin_url . 'assets/js/lazysizes-cfg.min.js', array(), '2.10.
|
369 |
-
wp_register_script( 'lazysizes', visual_portfolio()->plugin_url . 'assets/vendor/lazysizes/lazysizes.min.js', array(), '5.2.2', true );
|
370 |
}
|
371 |
|
372 |
// CSS Vars Polyfill.
|
@@ -413,7 +413,7 @@ class Visual_Portfolio_Assets {
|
|
413 |
);
|
414 |
|
415 |
foreach ( $vp_styles as $name => $data ) {
|
416 |
-
wp_register_style( $name, visual_portfolio()->plugin_url . $data[0], $data[1], '2.10.
|
417 |
wp_style_add_data( $name, 'rtl', 'replace' );
|
418 |
wp_style_add_data( $name, 'suffix', '.min' );
|
419 |
}
|
@@ -456,8 +456,6 @@ class Visual_Portfolio_Assets {
|
|
456 |
'assets/js/lazyload.min.js',
|
457 |
array(
|
458 |
'jquery',
|
459 |
-
'lazysizes-object-fit-cover',
|
460 |
-
'lazysizes-config',
|
461 |
'lazysizes',
|
462 |
),
|
463 |
),
|
@@ -533,7 +531,7 @@ class Visual_Portfolio_Assets {
|
|
533 |
);
|
534 |
|
535 |
foreach ( $vp_scripts as $name => $data ) {
|
536 |
-
wp_register_script( $name, visual_portfolio()->plugin_url . $data[0], $data[1], '2.10.
|
537 |
}
|
538 |
|
539 |
do_action( 'vpf_after_assets_register' );
|
98 |
foreach ( self::$stored_assets[ $type ] as $name => $data ) {
|
99 |
if ( isset( $data['value'] ) && $data['value'] ) {
|
100 |
if ( 'script' === $type ) {
|
101 |
+
wp_enqueue_script( $name, '', array(), '2.10.5', true );
|
102 |
} elseif ( is_string( $data['value'] ) ) {
|
103 |
+
visual_portfolio()->include_template_style( $name, $data['value'], array(), '2.10.5' );
|
104 |
} else {
|
105 |
+
wp_enqueue_style( $name, '', array(), '2.10.5' );
|
106 |
}
|
107 |
|
108 |
self::$stored_assets[ $type ]['value'] = false;
|
259 |
$dynamic_styles = Visual_Portfolio_Controls_Dynamic_CSS::get( $options );
|
260 |
$controls_css_handle = 'vp-dynamic-styles-' . $options['id'];
|
261 |
|
262 |
+
wp_register_style( $controls_css_handle, false, array(), '2.10.5' );
|
263 |
wp_enqueue_style( $controls_css_handle );
|
264 |
wp_add_inline_style( $controls_css_handle, $dynamic_styles ? $dynamic_styles : ' ' );
|
265 |
|
365 |
// LazySizes.
|
366 |
if ( apply_filters( 'vpf_enqueue_plugin_lazysizes', true ) ) {
|
367 |
wp_register_script( 'lazysizes-object-fit-cover', visual_portfolio()->plugin_url . 'assets/js/lazysizes-object-fit-cover.min.js', array(), '4.1.0', true );
|
368 |
+
wp_register_script( 'lazysizes-config', visual_portfolio()->plugin_url . 'assets/js/lazysizes-cfg.min.js', array(), '2.10.5', true );
|
369 |
+
wp_register_script( 'lazysizes', visual_portfolio()->plugin_url . 'assets/vendor/lazysizes/lazysizes.min.js', array( 'lazysizes-object-fit-cover', 'lazysizes-config' ), '5.2.2', true );
|
370 |
}
|
371 |
|
372 |
// CSS Vars Polyfill.
|
413 |
);
|
414 |
|
415 |
foreach ( $vp_styles as $name => $data ) {
|
416 |
+
wp_register_style( $name, visual_portfolio()->plugin_url . $data[0], $data[1], '2.10.5' );
|
417 |
wp_style_add_data( $name, 'rtl', 'replace' );
|
418 |
wp_style_add_data( $name, 'suffix', '.min' );
|
419 |
}
|
456 |
'assets/js/lazyload.min.js',
|
457 |
array(
|
458 |
'jquery',
|
|
|
|
|
459 |
'lazysizes',
|
460 |
),
|
461 |
),
|
531 |
);
|
532 |
|
533 |
foreach ( $vp_scripts as $name => $data ) {
|
534 |
+
wp_register_script( $name, visual_portfolio()->plugin_url . $data[0], $data[1], '2.10.5', true );
|
535 |
}
|
536 |
|
537 |
do_action( 'vpf_after_assets_register' );
|
classes/class-custom-post-type.php
CHANGED
@@ -251,7 +251,7 @@ class Visual_Portfolio_Custom_Post_Type {
|
|
251 |
|
252 |
global $wp_version;
|
253 |
|
254 |
-
$check_string = 'Plugin: 2.10.
|
255 |
|
256 |
if ( get_option( 'visual_portfolio_updated_caps' ) === $check_string ) {
|
257 |
return;
|
251 |
|
252 |
global $wp_version;
|
253 |
|
254 |
+
$check_string = 'Plugin: 2.10.5 WP: ' . $wp_version;
|
255 |
|
256 |
if ( get_option( 'visual_portfolio_updated_caps' ) === $check_string ) {
|
257 |
return;
|
classes/class-get-portfolio.php
CHANGED
@@ -748,7 +748,10 @@ class Visual_Portfolio_Get {
|
|
748 |
|
749 |
$portfolio_query->reset_postdata();
|
750 |
|
751 |
-
//
|
|
|
|
|
|
|
752 |
// phpcs:ignore
|
753 |
$GLOBALS['post'] = $old_post;
|
754 |
}
|
@@ -1675,9 +1678,13 @@ class Visual_Portfolio_Get {
|
|
1675 |
}
|
1676 |
}
|
1677 |
}
|
|
|
1678 |
$portfolio_query->reset_postdata();
|
1679 |
|
1680 |
-
//
|
|
|
|
|
|
|
1681 |
// phpcs:ignore
|
1682 |
$GLOBALS['post'] = $old_post;
|
1683 |
|
@@ -1951,6 +1958,20 @@ class Visual_Portfolio_Get {
|
|
1951 |
|
1952 |
$is_posts = 'post-based' === $args['vp_opts']['content_source'] || 'portfolio' === $args['vp_opts']['content_source'];
|
1953 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1954 |
// prepare image.
|
1955 |
$args['image'] = Visual_Portfolio_Images::get_attachment_image( $args['image_id'], $args['img_size'], false, '' );
|
1956 |
|
@@ -1984,8 +2005,8 @@ class Visual_Portfolio_Get {
|
|
1984 |
// prepare read more button.
|
1985 |
if ( isset( $args['opts']['show_read_more'] ) && $args['opts']['show_read_more'] ) {
|
1986 |
if ( $is_posts && 'more_tag' === $args['opts']['show_read_more'] ) {
|
1987 |
-
if ( strpos(
|
1988 |
-
$args['opts']['read_more_url'] = $args['url'] . '#more-' .
|
1989 |
} else {
|
1990 |
$args['opts']['show_read_more'] = false;
|
1991 |
}
|
@@ -2019,7 +2040,7 @@ class Visual_Portfolio_Get {
|
|
2019 |
$args['class'] = 'vp-portfolio__item-wrap';
|
2020 |
if ( $is_posts ) {
|
2021 |
// post_class functionality.
|
2022 |
-
$args['class'] = join( ' ', get_post_class( $args['class'],
|
2023 |
}
|
2024 |
if ( $args['uid'] ) {
|
2025 |
$args['class'] .= ' vp-portfolio__item-uid-' . esc_attr( $args['uid'] );
|
@@ -2063,6 +2084,10 @@ class Visual_Portfolio_Get {
|
|
2063 |
</figure>
|
2064 |
</<?php echo esc_attr( $tag_name ); ?>>
|
2065 |
<?php
|
|
|
|
|
|
|
|
|
2066 |
}
|
2067 |
|
2068 |
/**
|
748 |
|
749 |
$portfolio_query->reset_postdata();
|
750 |
|
751 |
+
// Sometimes, when we use WPBakery Page Builder, without this reset output is wrong.
|
752 |
+
wp_reset_postdata();
|
753 |
+
|
754 |
+
// stupid hack as wp_reset_postdata() function is not working in some situations...
|
755 |
// phpcs:ignore
|
756 |
$GLOBALS['post'] = $old_post;
|
757 |
}
|
1678 |
}
|
1679 |
}
|
1680 |
}
|
1681 |
+
|
1682 |
$portfolio_query->reset_postdata();
|
1683 |
|
1684 |
+
// Sometimes, when we use WPBakery Page Builder, without this reset output is wrong.
|
1685 |
+
wp_reset_postdata();
|
1686 |
+
|
1687 |
+
// stupid hack as wp_reset_postdata() function is not working in some situations...
|
1688 |
// phpcs:ignore
|
1689 |
$GLOBALS['post'] = $old_post;
|
1690 |
|
1958 |
|
1959 |
$is_posts = 'post-based' === $args['vp_opts']['content_source'] || 'portfolio' === $args['vp_opts']['content_source'];
|
1960 |
|
1961 |
+
// In older plugin versions we used the query objects in these templates.
|
1962 |
+
// And some theme authors used these data to run wp functions to output posts data.
|
1963 |
+
// In order to add back-compatibility, we need to "restore" such a possibility.
|
1964 |
+
//
|
1965 |
+
// Example: https://wordpress.org/support/topic/title-and-link-error-for-blog/.
|
1966 |
+
$set_post_object = $is_posts && isset( $args['post_id'] ) && $args['post_id'];
|
1967 |
+
|
1968 |
+
if ( $set_post_object ) {
|
1969 |
+
// phpcs:ignore
|
1970 |
+
$post = get_post( $args['post_id'] );
|
1971 |
+
|
1972 |
+
setup_postdata( $post );
|
1973 |
+
}
|
1974 |
+
|
1975 |
// prepare image.
|
1976 |
$args['image'] = Visual_Portfolio_Images::get_attachment_image( $args['image_id'], $args['img_size'], false, '' );
|
1977 |
|
2005 |
// prepare read more button.
|
2006 |
if ( isset( $args['opts']['show_read_more'] ) && $args['opts']['show_read_more'] ) {
|
2007 |
if ( $is_posts && 'more_tag' === $args['opts']['show_read_more'] ) {
|
2008 |
+
if ( strpos( get_post_field( 'post_content', $args['post_id'] ), '<!--more-->' ) ) {
|
2009 |
+
$args['opts']['read_more_url'] = $args['url'] . '#more-' . $args['post_id'];
|
2010 |
} else {
|
2011 |
$args['opts']['show_read_more'] = false;
|
2012 |
}
|
2040 |
$args['class'] = 'vp-portfolio__item-wrap';
|
2041 |
if ( $is_posts ) {
|
2042 |
// post_class functionality.
|
2043 |
+
$args['class'] = join( ' ', get_post_class( $args['class'], $args['post_id'] ) );
|
2044 |
}
|
2045 |
if ( $args['uid'] ) {
|
2046 |
$args['class'] .= ' vp-portfolio__item-uid-' . esc_attr( $args['uid'] );
|
2084 |
</figure>
|
2085 |
</<?php echo esc_attr( $tag_name ); ?>>
|
2086 |
<?php
|
2087 |
+
|
2088 |
+
if ( $set_post_object ) {
|
2089 |
+
wp_reset_postdata();
|
2090 |
+
}
|
2091 |
}
|
2092 |
|
2093 |
/**
|
classes/class-gutenberg.php
CHANGED
@@ -173,14 +173,14 @@ class Visual_Portfolio_Gutenberg_Block {
|
|
173 |
'visual-portfolio-gutenberg',
|
174 |
plugins_url( '../gutenberg/index.min.js', __FILE__ ),
|
175 |
array( 'wp-editor', 'wp-i18n', 'wp-element', 'wp-components', 'jquery' ),
|
176 |
-
'2.10.
|
177 |
true
|
178 |
);
|
179 |
wp_enqueue_style(
|
180 |
'visual-portfolio-gutenberg',
|
181 |
plugins_url( '../gutenberg/style.min.css', __FILE__ ),
|
182 |
array(),
|
183 |
-
'2.10.
|
184 |
);
|
185 |
wp_style_add_data( 'visual-portfolio-gutenberg', 'rtl', 'replace' );
|
186 |
wp_style_add_data( 'visual-portfolio-gutenberg', 'suffix', '.min' );
|
@@ -200,7 +200,7 @@ class Visual_Portfolio_Gutenberg_Block {
|
|
200 |
'visual-portfolio-gutenberg-custom-post-meta',
|
201 |
plugins_url( '../gutenberg/custom-post-meta.min.js', __FILE__ ),
|
202 |
array( 'wp-editor', 'wp-i18n', 'wp-element', 'wp-components', 'wp-plugins', 'jquery' ),
|
203 |
-
'2.10.
|
204 |
true
|
205 |
);
|
206 |
|
173 |
'visual-portfolio-gutenberg',
|
174 |
plugins_url( '../gutenberg/index.min.js', __FILE__ ),
|
175 |
array( 'wp-editor', 'wp-i18n', 'wp-element', 'wp-components', 'jquery' ),
|
176 |
+
'2.10.5',
|
177 |
true
|
178 |
);
|
179 |
wp_enqueue_style(
|
180 |
'visual-portfolio-gutenberg',
|
181 |
plugins_url( '../gutenberg/style.min.css', __FILE__ ),
|
182 |
array(),
|
183 |
+
'2.10.5'
|
184 |
);
|
185 |
wp_style_add_data( 'visual-portfolio-gutenberg', 'rtl', 'replace' );
|
186 |
wp_style_add_data( 'visual-portfolio-gutenberg', 'suffix', '.min' );
|
200 |
'visual-portfolio-gutenberg-custom-post-meta',
|
201 |
plugins_url( '../gutenberg/custom-post-meta.min.js', __FILE__ ),
|
202 |
array( 'wp-editor', 'wp-i18n', 'wp-element', 'wp-components', 'wp-plugins', 'jquery' ),
|
203 |
+
'2.10.5',
|
204 |
true
|
205 |
);
|
206 |
|
classes/class-migration.php
CHANGED
@@ -18,21 +18,14 @@ class Visual_Portfolio_Migrations {
|
|
18 |
*
|
19 |
* @var string
|
20 |
*/
|
21 |
-
protected $version = '2.10.
|
22 |
|
23 |
/**
|
24 |
* Initial version.
|
25 |
*
|
26 |
* @var string
|
27 |
*/
|
28 |
-
protected $initial_version = '';
|
29 |
-
|
30 |
-
/**
|
31 |
-
* The theme version as stored in the db.
|
32 |
-
*
|
33 |
-
* @var string
|
34 |
-
*/
|
35 |
-
protected $previous_version;
|
36 |
|
37 |
/**
|
38 |
* Visual_Portfolio_Migrations constructor.
|
@@ -49,8 +42,8 @@ class Visual_Portfolio_Migrations {
|
|
49 |
* Init.
|
50 |
*/
|
51 |
public function init() {
|
52 |
-
// Migration code added after
|
53 |
-
$saved_version = get_option( 'vpf_db_version',
|
54 |
$current_version = $this->version;
|
55 |
|
56 |
foreach ( $this->get_migrations() as $migration ) {
|
18 |
*
|
19 |
* @var string
|
20 |
*/
|
21 |
+
protected $version = '2.10.5';
|
22 |
|
23 |
/**
|
24 |
* Initial version.
|
25 |
*
|
26 |
* @var string
|
27 |
*/
|
28 |
+
protected $initial_version = '1.16.2';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
|
30 |
/**
|
31 |
* Visual_Portfolio_Migrations constructor.
|
42 |
* Init.
|
43 |
*/
|
44 |
public function init() {
|
45 |
+
// Migration code added after `$this->initial_version` plugin version.
|
46 |
+
$saved_version = get_option( 'vpf_db_version', $this->initial_version );
|
47 |
$current_version = $this->version;
|
48 |
|
49 |
foreach ( $this->get_migrations() as $migration ) {
|
classes/class-preview.php
CHANGED
@@ -232,7 +232,7 @@ class Visual_Portfolio_Preview {
|
|
232 |
|
233 |
// Enqueue assets.
|
234 |
wp_enqueue_script( 'iframe-resizer-content', visual_portfolio()->plugin_url . 'assets/vendor/iframe-resizer/js/iframeResizer.contentWindow.min.js', array(), '4.2.11', true );
|
235 |
-
wp_enqueue_script( 'visual-portfolio-preview', visual_portfolio()->plugin_url . 'assets/js/preview.min.js', array( 'jquery', 'iframe-resizer-content' ), '2.10.
|
236 |
|
237 |
// Post data for script.
|
238 |
wp_localize_script(
|
@@ -275,7 +275,7 @@ class Visual_Portfolio_Preview {
|
|
275 |
Visual_Portfolio_Assets::enqueue( $options );
|
276 |
|
277 |
// Custom styles.
|
278 |
-
visual_portfolio()->include_template_style( 'visual-portfolio-preview', 'preview/style', array(), '2.10.
|
279 |
|
280 |
// Output template.
|
281 |
visual_portfolio()->include_template(
|
232 |
|
233 |
// Enqueue assets.
|
234 |
wp_enqueue_script( 'iframe-resizer-content', visual_portfolio()->plugin_url . 'assets/vendor/iframe-resizer/js/iframeResizer.contentWindow.min.js', array(), '4.2.11', true );
|
235 |
+
wp_enqueue_script( 'visual-portfolio-preview', visual_portfolio()->plugin_url . 'assets/js/preview.min.js', array( 'jquery', 'iframe-resizer-content' ), '2.10.5', true );
|
236 |
|
237 |
// Post data for script.
|
238 |
wp_localize_script(
|
275 |
Visual_Portfolio_Assets::enqueue( $options );
|
276 |
|
277 |
// Custom styles.
|
278 |
+
visual_portfolio()->include_template_style( 'visual-portfolio-preview', 'preview/style', array(), '2.10.5' );
|
279 |
|
280 |
// Output template.
|
281 |
visual_portfolio()->include_template(
|
classes/class-settings.php
CHANGED
@@ -486,7 +486,7 @@ class Visual_Portfolio_Settings {
|
|
486 |
<h3>' . esc_html__( 'PRO Feature', 'visual-portfolio' ) . '</h3>
|
487 |
<div>
|
488 |
<p>' . esc_html__( 'Social feeds such as Instagram, Youtube, Flickr, Twitter, etc...', 'visual-portfolio' ) . '</p>
|
489 |
-
<a class="vpf-settings-info-pro-button" target="_blank" rel="noopener noreferrer" href="https://visualportfolio.co/pro/?utm_source=freeplugin&utm_medium=link&utm_campaign=plugin_settings&utm_content=2.10.
|
490 |
</div>
|
491 |
</div>
|
492 |
',
|
486 |
<h3>' . esc_html__( 'PRO Feature', 'visual-portfolio' ) . '</h3>
|
487 |
<div>
|
488 |
<p>' . esc_html__( 'Social feeds such as Instagram, Youtube, Flickr, Twitter, etc...', 'visual-portfolio' ) . '</p>
|
489 |
+
<a class="vpf-settings-info-pro-button" target="_blank" rel="noopener noreferrer" href="https://visualportfolio.co/pro/?utm_source=freeplugin&utm_medium=link&utm_campaign=plugin_settings&utm_content=2.10.5">' . esc_html__( 'Read More', 'visual-portfolio' ) . '</a>
|
490 |
</div>
|
491 |
</div>
|
492 |
',
|
classes/class-supported-themes.php
CHANGED
@@ -74,7 +74,7 @@ class Visual_Portfolio_Supported_Themes {
|
|
74 |
public function wp_enqueue_scripts() {
|
75 |
$theme_compat = $this->get_theme_compatibility_style();
|
76 |
if ( $theme_compat ) {
|
77 |
-
wp_enqueue_style( $theme_compat['name'], $theme_compat['url'], array(), '2.10.
|
78 |
wp_style_add_data( $theme_compat['name'], 'rtl', 'replace' );
|
79 |
wp_style_add_data( $theme_compat['name'], 'suffix', '.min' );
|
80 |
}
|
74 |
public function wp_enqueue_scripts() {
|
75 |
$theme_compat = $this->get_theme_compatibility_style();
|
76 |
if ( $theme_compat ) {
|
77 |
+
wp_enqueue_style( $theme_compat['name'], $theme_compat['url'], array(), '2.10.5' );
|
78 |
wp_style_add_data( $theme_compat['name'], 'rtl', 'replace' );
|
79 |
wp_style_add_data( $theme_compat['name'], 'suffix', '.min' );
|
80 |
}
|
gutenberg/components/controls-render/index.js
CHANGED
@@ -463,7 +463,7 @@ ControlsRender.Control = function( props ) {
|
|
463 |
{ renderControlHelp ? (
|
464 |
<p>{ renderControlHelp }</p>
|
465 |
) : '' }
|
466 |
-
<ProNote.Button target="_blank" rel="noopener noreferrer" href="https://visualportfolio.co/pro/?utm_source=freeplugin&utm_medium=link&utm_campaign=block_settings&utm_content=2.10.
|
467 |
{ __( 'Read More', 'visual-portfolio' ) }
|
468 |
</ProNote.Button>
|
469 |
</ProNote>
|
463 |
{ renderControlHelp ? (
|
464 |
<p>{ renderControlHelp }</p>
|
465 |
) : '' }
|
466 |
+
<ProNote.Button target="_blank" rel="noopener noreferrer" href="https://visualportfolio.co/pro/?utm_source=freeplugin&utm_medium=link&utm_campaign=block_settings&utm_content=2.10.5">
|
467 |
{ __( 'Read More', 'visual-portfolio' ) }
|
468 |
</ProNote.Button>
|
469 |
</ProNote>
|
languages/visual-portfolio.pot
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
# Copyright (C)
|
2 |
# This file is distributed under the same license as the Visual Portfolio package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
@@ -770,83 +770,83 @@ msgstr ""
|
|
770 |
msgid "Current Query"
|
771 |
msgstr ""
|
772 |
|
773 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
774 |
msgid "Couldn't retrieve Visual Portfolio ID."
|
775 |
msgstr ""
|
776 |
|
777 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
778 |
msgid "Close (Esc)"
|
779 |
msgstr ""
|
780 |
|
781 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
782 |
msgid "Share"
|
783 |
msgstr ""
|
784 |
|
785 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
786 |
msgid "Toggle fullscreen"
|
787 |
msgstr ""
|
788 |
|
789 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
790 |
msgid "Zoom in/out"
|
791 |
msgstr ""
|
792 |
|
793 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
794 |
msgid "Previous (arrow left)"
|
795 |
msgstr ""
|
796 |
|
797 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
798 |
msgid "Next (arrow right)"
|
799 |
msgstr ""
|
800 |
|
801 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
802 |
msgid "Share on Facebook"
|
803 |
msgstr ""
|
804 |
|
805 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
806 |
msgid "Tweet"
|
807 |
msgstr ""
|
808 |
|
809 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
810 |
msgid "Pin it"
|
811 |
msgstr ""
|
812 |
|
813 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
814 |
msgid "Close"
|
815 |
msgstr ""
|
816 |
|
817 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
818 |
msgid "Next"
|
819 |
msgstr ""
|
820 |
|
821 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
822 |
msgid "Previous"
|
823 |
msgstr ""
|
824 |
|
825 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
826 |
msgid "The requested content cannot be loaded. <br /> Please try again later."
|
827 |
msgstr ""
|
828 |
|
829 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
830 |
msgid "Start slideshow"
|
831 |
msgstr ""
|
832 |
|
833 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
834 |
msgid "Pause slideshow"
|
835 |
msgstr ""
|
836 |
|
837 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
838 |
msgid "Full screen"
|
839 |
msgstr ""
|
840 |
|
841 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
842 |
msgid "Thumbnails"
|
843 |
msgstr ""
|
844 |
|
845 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
846 |
msgid "Download"
|
847 |
msgstr ""
|
848 |
|
849 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
850 |
msgid "Zoom"
|
851 |
msgstr ""
|
852 |
|
@@ -1010,28 +1010,28 @@ msgstr ""
|
|
1010 |
msgid "Documentation"
|
1011 |
msgstr ""
|
1012 |
|
1013 |
-
#: dist/visual-portfolio/classes/class-get-portfolio.php:
|
1014 |
msgid "Default sorting"
|
1015 |
msgstr ""
|
1016 |
|
1017 |
-
#: dist/visual-portfolio/classes/class-get-portfolio.php:
|
1018 |
msgid "Sort by date (newest)"
|
1019 |
msgstr ""
|
1020 |
|
1021 |
-
#: dist/visual-portfolio/classes/class-get-portfolio.php:
|
1022 |
msgid "Sort by date (oldest)"
|
1023 |
msgstr ""
|
1024 |
|
1025 |
-
#: dist/visual-portfolio/classes/class-get-portfolio.php:
|
1026 |
msgid "Sort by title (A-Z)"
|
1027 |
msgstr ""
|
1028 |
|
1029 |
-
#: dist/visual-portfolio/classes/class-get-portfolio.php:
|
1030 |
msgid "Sort by title (Z-A)"
|
1031 |
msgstr ""
|
1032 |
|
1033 |
#. translators: %s - published in human format.
|
1034 |
-
#: dist/visual-portfolio/classes/class-get-portfolio.php:
|
1035 |
msgid "%s ago"
|
1036 |
msgstr ""
|
1037 |
|
1 |
+
# Copyright (C) 2021 Visual Portfolio
|
2 |
# This file is distributed under the same license as the Visual Portfolio package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
770 |
msgid "Current Query"
|
771 |
msgstr ""
|
772 |
|
773 |
+
#: dist/visual-portfolio/classes/class-assets.php:570
|
774 |
msgid "Couldn't retrieve Visual Portfolio ID."
|
775 |
msgstr ""
|
776 |
|
777 |
+
#: dist/visual-portfolio/classes/class-assets.php:572
|
778 |
msgid "Close (Esc)"
|
779 |
msgstr ""
|
780 |
|
781 |
+
#: dist/visual-portfolio/classes/class-assets.php:573, dist/visual-portfolio/classes/class-assets.php:591
|
782 |
msgid "Share"
|
783 |
msgstr ""
|
784 |
|
785 |
+
#: dist/visual-portfolio/classes/class-assets.php:574
|
786 |
msgid "Toggle fullscreen"
|
787 |
msgstr ""
|
788 |
|
789 |
+
#: dist/visual-portfolio/classes/class-assets.php:575
|
790 |
msgid "Zoom in/out"
|
791 |
msgstr ""
|
792 |
|
793 |
+
#: dist/visual-portfolio/classes/class-assets.php:576
|
794 |
msgid "Previous (arrow left)"
|
795 |
msgstr ""
|
796 |
|
797 |
+
#: dist/visual-portfolio/classes/class-assets.php:577
|
798 |
msgid "Next (arrow right)"
|
799 |
msgstr ""
|
800 |
|
801 |
+
#: dist/visual-portfolio/classes/class-assets.php:578
|
802 |
msgid "Share on Facebook"
|
803 |
msgstr ""
|
804 |
|
805 |
+
#: dist/visual-portfolio/classes/class-assets.php:579
|
806 |
msgid "Tweet"
|
807 |
msgstr ""
|
808 |
|
809 |
+
#: dist/visual-portfolio/classes/class-assets.php:580
|
810 |
msgid "Pin it"
|
811 |
msgstr ""
|
812 |
|
813 |
+
#: dist/visual-portfolio/classes/class-assets.php:582
|
814 |
msgid "Close"
|
815 |
msgstr ""
|
816 |
|
817 |
+
#: dist/visual-portfolio/classes/class-assets.php:583
|
818 |
msgid "Next"
|
819 |
msgstr ""
|
820 |
|
821 |
+
#: dist/visual-portfolio/classes/class-assets.php:584
|
822 |
msgid "Previous"
|
823 |
msgstr ""
|
824 |
|
825 |
+
#: dist/visual-portfolio/classes/class-assets.php:585
|
826 |
msgid "The requested content cannot be loaded. <br /> Please try again later."
|
827 |
msgstr ""
|
828 |
|
829 |
+
#: dist/visual-portfolio/classes/class-assets.php:586
|
830 |
msgid "Start slideshow"
|
831 |
msgstr ""
|
832 |
|
833 |
+
#: dist/visual-portfolio/classes/class-assets.php:587
|
834 |
msgid "Pause slideshow"
|
835 |
msgstr ""
|
836 |
|
837 |
+
#: dist/visual-portfolio/classes/class-assets.php:588
|
838 |
msgid "Full screen"
|
839 |
msgstr ""
|
840 |
|
841 |
+
#: dist/visual-portfolio/classes/class-assets.php:589
|
842 |
msgid "Thumbnails"
|
843 |
msgstr ""
|
844 |
|
845 |
+
#: dist/visual-portfolio/classes/class-assets.php:590
|
846 |
msgid "Download"
|
847 |
msgstr ""
|
848 |
|
849 |
+
#: dist/visual-portfolio/classes/class-assets.php:592
|
850 |
msgid "Zoom"
|
851 |
msgstr ""
|
852 |
|
1010 |
msgid "Documentation"
|
1011 |
msgstr ""
|
1012 |
|
1013 |
+
#: dist/visual-portfolio/classes/class-get-portfolio.php:1856
|
1014 |
msgid "Default sorting"
|
1015 |
msgstr ""
|
1016 |
|
1017 |
+
#: dist/visual-portfolio/classes/class-get-portfolio.php:1857
|
1018 |
msgid "Sort by date (newest)"
|
1019 |
msgstr ""
|
1020 |
|
1021 |
+
#: dist/visual-portfolio/classes/class-get-portfolio.php:1858
|
1022 |
msgid "Sort by date (oldest)"
|
1023 |
msgstr ""
|
1024 |
|
1025 |
+
#: dist/visual-portfolio/classes/class-get-portfolio.php:1859
|
1026 |
msgid "Sort by title (A-Z)"
|
1027 |
msgstr ""
|
1028 |
|
1029 |
+
#: dist/visual-portfolio/classes/class-get-portfolio.php:1860
|
1030 |
msgid "Sort by title (Z-A)"
|
1031 |
msgstr ""
|
1032 |
|
1033 |
#. translators: %s - published in human format.
|
1034 |
+
#: dist/visual-portfolio/classes/class-get-portfolio.php:1986
|
1035 |
msgid "%s ago"
|
1036 |
msgstr ""
|
1037 |
|
readme.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Requires at least: 5.4
|
6 |
* Tested up to: 5.6
|
7 |
* Requires PHP: 5.5.9
|
8 |
-
* Stable tag: 2.10.
|
9 |
* License: GPLv2 or later
|
10 |
* License URI: <http://www.gnu.org/licenses/gpl-2.0.html>
|
11 |
|
@@ -290,6 +290,13 @@ For more information, feel free to visit [Visual Portfolio official website](htt
|
|
290 |
|
291 |
## Changelog ##
|
292 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
293 |
= 2.10.4 =
|
294 |
|
295 |
* added more image extensions support for popup gallery (tif, jfif, jpe, svg)
|
5 |
* Requires at least: 5.4
|
6 |
* Tested up to: 5.6
|
7 |
* Requires PHP: 5.5.9
|
8 |
+
* Stable tag: 2.10.5
|
9 |
* License: GPLv2 or later
|
10 |
* License URI: <http://www.gnu.org/licenses/gpl-2.0.html>
|
11 |
|
290 |
|
291 |
## Changelog ##
|
292 |
|
293 |
+
= 2.10.5 =
|
294 |
+
|
295 |
+
* added posts data for each item templates (fixes wrong output in Leedo theme)
|
296 |
+
* fixed possible conflicts with themes custom styles for <a> tags and non-visible images
|
297 |
+
* fixed possible wrong order of lazysizes dependencies in some themes
|
298 |
+
* fixed rare bug with WPBakery Page Builder, when wrong items content displayed
|
299 |
+
|
300 |
= 2.10.4 =
|
301 |
|
302 |
* added more image extensions support for popup gallery (tif, jfif, jpe, svg)
|