Version Description
- February 7, 2022 =
- Fixed: Posts - Arrows were appearing in Grid layout
- Fixed: Posts - JS error in pp-posts.js file
Download this release
Release Info
Developer | ideaboxcreations |
Plugin | PowerPack Addons for Elementor (Instagram Feed, Pricing Table, Forms Stylers, Display Conditions, Free Elementor Widgets and Elementor Templates) |
Version | 2.6.9 |
Comparing to | |
See all releases |
Code changes from version 2.6.8 to 2.6.9
- assets/js/min/pp-posts.min.js +1 -1
- assets/js/pp-posts.js +4 -0
- changelog.txt +5 -0
- modules/posts/skins/skin-base.php +12 -2
- package.json +1 -1
- powerpack-lite-elementor.php +2 -2
- readme.txt +4 -0
assets/js/min/pp-posts.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(a){function
|
1 |
+
!function(a){var s=!1;function d(e){var e=e.find(".swiper-slide-visible"),t=-1;e.each(function(){var e=a(this).find(".pp-post").outerHeight();t<e&&(t=e)}),e.each(function(){a(this).find(".pp-post").animate({height:t},{duration:200,easing:"linear"})})}var r=function(e,t,o,n,p){d(e),p.on("slideChange",function(){d(e)}),!0===n.autoplay.pauseOnHover&&(t.on("mouseover",function(){p.autoplay.stop()}),t.on("mouseout",function(){p.autoplay.start()})),s&&o.resize(function(){p.update()});["ppe-tabs-switched","ppe-toggle-switched","ppe-accordion-switched","ppe-popup-opened"].forEach(function(e){void 0!==e&&a(document).on(e,function(e,t){0<t.find(".pp-swiper-slider").length&&setTimeout(function(){slider.update()},100)})})},e=function(t,e){t.find(".pp-posts-container");var o,n,p,s,d=t.find(".pp-posts-grid"),i=t.find(".pp-posts").data("layout");t.find(".pp-posts-loader");"masonry"==i&&t.imagesLoaded(function(e){d.isotope({layoutMode:i,itemSelector:".pp-grid-item-wrap"})}),"carousel"==i&&(o=t.find(".swiper-container-wrap").eq(0),n=t.find(".pp-posts-carousel").eq(0),p=JSON.parse(n.attr("data-slider-settings")),0<n.length&&("undefined"==typeof Swiper?new elementorFrontend.utils.swiper(n,p).then(function(e){r(t,n,o,p,e)}):(s=new Swiper(n,p),r(t,n,o,p,s))))};a("body").delegate(".pp-posts-pagination-ajax .page-numbers","click",function(e){var t;$scope=a(this).closest(".elementor-widget-pp-posts"),"main"!=$scope.find(".pp-posts-grid").data("query-type")&&(e.preventDefault(),$scope.find(".pp-posts-grid .pp-post").last().after('<div class="pp-post-loader"><div class="pp-loader"></div><div class="pp-loader-overlay"></div></div>'),t=1,e=parseInt($scope.find(".pp-posts-pagination .page-numbers.current").html()),t=a(this).hasClass("next")?e+1:a(this).hasClass("prev")?e-1:a(this).html(),$scope.find(".pp-posts-grid .pp-post").last().after('<div class="pp-post-loader"><div class="pp-loader"></div><div class="pp-loader-overlay"></div></div>'),t={page_id:$scope.find(".pp-posts-grid").data("page"),widget_id:$scope.data("id"),skin:$scope.find(".pp-posts-grid").data("skin"),page_number:t},a("html, body").animate({scrollTop:$scope.find(".pp-posts-container").offset().top-30},"slow"),o($scope,t))});var o=function(s,e,d,t){var i=s.find(".pp-posts-loader");a.ajax({url:pp_posts_script.ajax_url,data:{action:"pp_get_post",page_id:e.page_id,widget_id:e.widget_id,skin:e.skin,page_number:e.page_number,nonce:pp_posts_script.posts_nonce},dataType:"json",type:"POST",success:function(e){var t,o=s.find(".pp-posts-grid");1==d?(t=e.data.html,o.append(t)):o.html(e.data.html),s.find(".pp-posts-pagination-wrap").html(e.data.pagination);var n=s.find(".pp-posts-grid").data("layout"),p=s.find(".pp-posts-grid");"masonry"==n&&s.imagesLoaded(function(){p.isotope("destroy"),p.isotope({layoutMode:n,itemSelector:".pp-grid-item-wrap"})}),1==d&&i.hide(),s.trigger("posts.rendered")}})};a(window).on("elementor/frontend/init",function(){elementorFrontend.isEditMode()&&(s=!0),elementorFrontend.hooks.addAction("frontend/element_ready/pp-posts.classic",e),elementorFrontend.hooks.addAction("frontend/element_ready/pp-posts.card",e),elementorFrontend.hooks.addAction("frontend/element_ready/pp-posts.checkerboard",e),elementorFrontend.hooks.addAction("frontend/element_ready/pp-posts.creative",e),elementorFrontend.hooks.addAction("frontend/element_ready/pp-posts.event",e),elementorFrontend.hooks.addAction("frontend/element_ready/pp-posts.news",e),elementorFrontend.hooks.addAction("frontend/element_ready/pp-posts.portfolio",e),elementorFrontend.hooks.addAction("frontend/element_ready/pp-posts.overlap",e),elementorFrontend.hooks.addAction("frontend/element_ready/pp-posts.template",e)})}(jQuery);
|
assets/js/pp-posts.js
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
var count = 1;
|
5 |
var loader = '';
|
6 |
var total = 0;
|
|
|
7 |
|
8 |
function equalHeight( $scope ) {
|
9 |
var activeSlide = $scope.find( '.swiper-slide-visible' ),
|
@@ -212,6 +213,9 @@
|
|
212 |
}
|
213 |
|
214 |
$( window ).on( 'elementor/frontend/init', function () {
|
|
|
|
|
|
|
215 |
|
216 |
elementorFrontend.hooks.addAction( 'frontend/element_ready/pp-posts.classic', PostsHandler );
|
217 |
|
4 |
var count = 1;
|
5 |
var loader = '';
|
6 |
var total = 0;
|
7 |
+
var isEditMode = false;
|
8 |
|
9 |
function equalHeight( $scope ) {
|
10 |
var activeSlide = $scope.find( '.swiper-slide-visible' ),
|
213 |
}
|
214 |
|
215 |
$( window ).on( 'elementor/frontend/init', function () {
|
216 |
+
if ( elementorFrontend.isEditMode() ) {
|
217 |
+
isEditMode = true;
|
218 |
+
}
|
219 |
|
220 |
elementorFrontend.hooks.addAction( 'frontend/element_ready/pp-posts.classic', PostsHandler );
|
221 |
|
changelog.txt
CHANGED
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
== 2.6.8 ==
|
2 |
Release date: February 3, 2022
|
3 |
* Added: Posts - Option to hide empty comments
|
1 |
+
== 2.6.9 ==
|
2 |
+
Release date: February 7, 2022
|
3 |
+
* Fixed: Posts - Arrows were appearing in Grid layout
|
4 |
+
* Fixed: Posts - JS error in pp-posts.js file
|
5 |
+
|
6 |
== 2.6.8 ==
|
7 |
Release date: February 3, 2022
|
8 |
* Added: Posts - Option to hide empty comments
|
modules/posts/skins/skin-base.php
CHANGED
@@ -4941,7 +4941,12 @@ abstract class Skin_Base extends Elementor_Skin_Base {
|
|
4941 |
* @access protected
|
4942 |
*/
|
4943 |
protected function render_dots() {
|
4944 |
-
$dots
|
|
|
|
|
|
|
|
|
|
|
4945 |
|
4946 |
if ( 'yes' === $dots ) {
|
4947 |
?>
|
@@ -4959,12 +4964,17 @@ abstract class Skin_Base extends Elementor_Skin_Base {
|
|
4959 |
* @access protected
|
4960 |
*/
|
4961 |
protected function render_arrows() {
|
4962 |
-
$settings
|
4963 |
$skin = $this->get_id();
|
|
|
4964 |
$arrows = $this->get_instance_value( 'arrows' );
|
4965 |
$arrow = $this->get_instance_value( 'arrow' );
|
4966 |
$select_arrow = $this->get_instance_value( 'select_arrow' );
|
4967 |
|
|
|
|
|
|
|
|
|
4968 |
$migration_allowed = Icons_Manager::is_migration_allowed();
|
4969 |
|
4970 |
if ( ! isset( $settings[ $skin . '_arrow' ] ) && ! Icons_Manager::is_migration_allowed() ) {
|
4941 |
* @access protected
|
4942 |
*/
|
4943 |
protected function render_dots() {
|
4944 |
+
$dots = $this->get_instance_value( 'dots' );
|
4945 |
+
$layout = $this->get_instance_value( 'layout' );
|
4946 |
+
|
4947 |
+
if ( 'carousel' !== $layout ) {
|
4948 |
+
return;
|
4949 |
+
}
|
4950 |
|
4951 |
if ( 'yes' === $dots ) {
|
4952 |
?>
|
4964 |
* @access protected
|
4965 |
*/
|
4966 |
protected function render_arrows() {
|
4967 |
+
$settings = $this->parent->get_settings_for_display();
|
4968 |
$skin = $this->get_id();
|
4969 |
+
$layout = $this->get_instance_value( 'layout' );
|
4970 |
$arrows = $this->get_instance_value( 'arrows' );
|
4971 |
$arrow = $this->get_instance_value( 'arrow' );
|
4972 |
$select_arrow = $this->get_instance_value( 'select_arrow' );
|
4973 |
|
4974 |
+
if ( 'carousel' !== $layout ) {
|
4975 |
+
return;
|
4976 |
+
}
|
4977 |
+
|
4978 |
$migration_allowed = Icons_Manager::is_migration_allowed();
|
4979 |
|
4980 |
if ( ! isset( $settings[ $skin . '_arrow' ] ) && ! Icons_Manager::is_migration_allowed() ) {
|
package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"name": "powerpack-lite-for-elementor",
|
3 |
-
"version": "2.6.
|
4 |
"description": "Extend Elementor Page Builder with 50+ Creative Widgets.",
|
5 |
"keywords": [],
|
6 |
"author": "IdeaBox Creations",
|
1 |
{
|
2 |
"name": "powerpack-lite-for-elementor",
|
3 |
+
"version": "2.6.9",
|
4 |
"description": "Extend Elementor Page Builder with 50+ Creative Widgets.",
|
5 |
"keywords": [],
|
6 |
"author": "IdeaBox Creations",
|
powerpack-lite-elementor.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: PowerPack Lite for Elementor
|
4 |
* Plugin URI: https://powerpackelements.com
|
5 |
* Description: Extend Elementor Page Builder with 30+ Creative Widgets and exciting extensions.
|
6 |
-
* Version: 2.6.
|
7 |
* Author: IdeaBox Creations
|
8 |
* Author URI: http://ideabox.io/
|
9 |
* License: GNU General Public License v2.0
|
@@ -20,7 +20,7 @@ if ( defined( 'POWERPACK_ELEMENTS_VER' ) ) {
|
|
20 |
return;
|
21 |
}
|
22 |
|
23 |
-
define( 'POWERPACK_ELEMENTS_LITE_VER', '2.6.
|
24 |
define( 'POWERPACK_ELEMENTS_LITE_PATH', plugin_dir_path( __FILE__ ) );
|
25 |
define( 'POWERPACK_ELEMENTS_LITE_BASE', plugin_basename( __FILE__ ) );
|
26 |
define( 'POWERPACK_ELEMENTS_LITE_URL', plugins_url( '/', __FILE__ ) );
|
3 |
* Plugin Name: PowerPack Lite for Elementor
|
4 |
* Plugin URI: https://powerpackelements.com
|
5 |
* Description: Extend Elementor Page Builder with 30+ Creative Widgets and exciting extensions.
|
6 |
+
* Version: 2.6.9
|
7 |
* Author: IdeaBox Creations
|
8 |
* Author URI: http://ideabox.io/
|
9 |
* License: GNU General Public License v2.0
|
20 |
return;
|
21 |
}
|
22 |
|
23 |
+
define( 'POWERPACK_ELEMENTS_LITE_VER', '2.6.9' );
|
24 |
define( 'POWERPACK_ELEMENTS_LITE_PATH', plugin_dir_path( __FILE__ ) );
|
25 |
define( 'POWERPACK_ELEMENTS_LITE_BASE', plugin_basename( __FILE__ ) );
|
26 |
define( 'POWERPACK_ELEMENTS_LITE_URL', plugins_url( '/', __FILE__ ) );
|
readme.txt
CHANGED
@@ -229,6 +229,10 @@ Not at all! All the widgets and settings are easy to use with drag & drop interf
|
|
229 |
|
230 |
== Changelog ==
|
231 |
|
|
|
|
|
|
|
|
|
232 |
= 2.6.8 - February 3, 2022 =
|
233 |
* Added: Posts - Option to hide empty comments
|
234 |
* Fixed: Image Hotspots - JS error
|
229 |
|
230 |
== Changelog ==
|
231 |
|
232 |
+
= 2.6.9 - February 7, 2022 =
|
233 |
+
* Fixed: Posts - Arrows were appearing in Grid layout
|
234 |
+
* Fixed: Posts - JS error in pp-posts.js file
|
235 |
+
|
236 |
= 2.6.8 - February 3, 2022 =
|
237 |
* Added: Posts - Option to hide empty comments
|
238 |
* Fixed: Image Hotspots - JS error
|