Premium Addons for Elementor - Version 3.4.5

Version Description

  • Tweak: Added Filter Tabs option for categories in Blog widget.
  • Tweak: Added Theme option for lightbox in Grid widget.
Download this release

Release Info

Developer leap13
Plugin Icon 128x128 Premium Addons for Elementor
Version 3.4.5
Comparing to
See all releases

Code changes from version 3.4.4 to 3.4.5

Files changed (53) hide show
  1. admin/includes/version-control.php +1 -1
  2. assets/css/premium-addons.css +8 -4
  3. assets/css/prettyphoto.css +20 -83
  4. assets/images/prettyPhoto/dark_rounded/btnNext.png +0 -0
  5. assets/images/prettyPhoto/dark_rounded/btnPrevious.png +0 -0
  6. assets/images/prettyPhoto/dark_rounded/contentPattern.png +0 -0
  7. assets/images/prettyPhoto/dark_rounded/default_thumbnail.gif +0 -0
  8. assets/images/prettyPhoto/dark_rounded/loader.gif +0 -0
  9. assets/images/prettyPhoto/dark_rounded/sprite.png +0 -0
  10. assets/images/prettyPhoto/dark_square/btnNext.png +0 -0
  11. assets/images/prettyPhoto/dark_square/btnPrevious.png +0 -0
  12. assets/images/prettyPhoto/dark_square/contentPattern.png +0 -0
  13. assets/images/prettyPhoto/dark_square/default_thumbnail.gif +0 -0
  14. assets/images/prettyPhoto/dark_square/loader.gif +0 -0
  15. assets/images/prettyPhoto/dark_square/sprite.png +0 -0
  16. assets/images/prettyPhoto/facebook/btnNext.png +0 -0
  17. assets/images/prettyPhoto/facebook/btnPrevious.png +0 -0
  18. assets/images/prettyPhoto/facebook/contentPatternBottom.png +0 -0
  19. assets/images/prettyPhoto/facebook/contentPatternLeft.png +0 -0
  20. assets/images/prettyPhoto/facebook/contentPatternRight.png +0 -0
  21. assets/images/prettyPhoto/facebook/contentPatternTop.png +0 -0
  22. assets/images/prettyPhoto/facebook/default_thumbnail.gif +0 -0
  23. assets/images/prettyPhoto/facebook/loader.gif +0 -0
  24. assets/images/prettyPhoto/facebook/sprite.png +0 -0
  25. assets/images/prettyPhoto/light_rounded/btnNext.png +0 -0
  26. assets/images/prettyPhoto/light_rounded/btnPrevious.png +0 -0
  27. assets/images/prettyPhoto/light_rounded/default_thumbnail.gif +0 -0
  28. assets/images/prettyPhoto/light_rounded/loader.gif +0 -0
  29. assets/images/prettyPhoto/light_rounded/sprite.png +0 -0
  30. assets/images/prettyPhoto/light_square/btnNext.png +0 -0
  31. assets/images/prettyPhoto/light_square/btnPrevious.png +0 -0
  32. assets/images/prettyPhoto/light_square/default_thumbnail.gif +0 -0
  33. assets/images/prettyPhoto/light_square/loader.gif +0 -0
  34. assets/images/prettyPhoto/light_square/sprite.png +0 -0
  35. assets/images/prettyPhoto1/default/default_thumb.png +0 -0
  36. assets/images/prettyPhoto1/default/loader.gif +0 -0
  37. assets/images/prettyPhoto1/default/sprite.png +0 -0
  38. assets/images/prettyPhoto1/default/sprite_next.png +0 -0
  39. assets/images/prettyPhoto1/default/sprite_prev.png +0 -0
  40. assets/images/prettyPhoto1/default/sprite_x.png +0 -0
  41. assets/images/prettyPhoto1/default/sprite_y.png +0 -0
  42. assets/images/{prettyPhoto → prettyPhoto1}/lightbox.gif +0 -0
  43. assets/images/{prettyPhoto → prettyPhoto1}/next.png +0 -0
  44. assets/images/{prettyPhoto → prettyPhoto1}/next@2x.png +0 -0
  45. assets/images/{prettyPhoto → prettyPhoto1}/previous.png +0 -0
  46. assets/images/{prettyPhoto → prettyPhoto1}/previous@2x.png +0 -0
  47. assets/images/{prettyPhoto → prettyPhoto1}/sprite.png +0 -0
  48. assets/images/{prettyPhoto → prettyPhoto1}/sprite@2x.png +0 -0
  49. assets/js/premium-addons.js +16 -2
  50. premium-addons-for-elementor.php +3 -3
  51. readme.txt +6 -1
  52. widgets/premium-blog.php +197 -11
  53. widgets/premium-grid.php +20 -0
admin/includes/version-control.php CHANGED
@@ -91,7 +91,7 @@ class Version_Control {
91
  <tr class="pa-roll-row">
92
  <th><?php echo __('Rollback Version', 'premium-addons-for-elementor'); ?></th>
93
  <td>
94
- <div><?php echo sprintf( '<a target="_blank" href="%1$s" class="button pa-btn pa-rollback-button elementor-button-spinner">%2$s</a>', wp_nonce_url( admin_url( 'admin-post.php?action=premium_addons_rollback' ), 'premium_addons_rollback' ), __('Reinstall Version 3.4.3', 'premium-addons-for-elementor') ); ?></div>
95
  <p class="pa-roll-desc">
96
  <span><?php echo __('Warning: Please backup your database before making the rollback.', 'premium-addons-for-elementor'); ?></span>
97
  </p>
91
  <tr class="pa-roll-row">
92
  <th><?php echo __('Rollback Version', 'premium-addons-for-elementor'); ?></th>
93
  <td>
94
+ <div><?php echo sprintf( '<a target="_blank" href="%1$s" class="button pa-btn pa-rollback-button elementor-button-spinner">%2$s</a>', wp_nonce_url( admin_url( 'admin-post.php?action=premium_addons_rollback' ), 'premium_addons_rollback' ), __('Reinstall Version 3.4.4', 'premium-addons-for-elementor') ); ?></div>
95
  <p class="pa-roll-desc">
96
  <span><?php echo __('Warning: Please backup your database before making the rollback.', 'premium-addons-for-elementor'); ?></span>
97
  </p>
assets/css/premium-addons.css CHANGED
@@ -3164,7 +3164,8 @@ button.premium-modal-box-modal-close {
3164
  }
3165
  /**************** Premium Grid *******************/
3166
  /*************************************************/
3167
- .premium-img-gallery-filter {
 
3168
  display: flex;
3169
  align-items: center;
3170
  justify-content: center;
@@ -3180,7 +3181,8 @@ button.premium-modal-box-modal-close {
3180
  .premium-gallery-container .grid-sizer {
3181
  width: 33.33%;
3182
  }
3183
- .premium-img-gallery-filter .premium-gallery-cats-container li a.category {
 
3184
  border-radius: 75px;
3185
  margin: 15px 5px 20px;
3186
  padding: 7px 20px;
@@ -3264,11 +3266,13 @@ button.premium-modal-box-modal-close {
3264
  .pa-gallery-img:hover .pa-gallery-img-link span {
3265
  opacity: 1;
3266
  }
3267
- .premium-img-gallery-filter .premium-gallery-cats-container {
 
3268
  text-align: center;
3269
  margin: 0;
3270
  }
3271
- .premium-img-gallery-filter .premium-gallery-cats-container li {
 
3272
  list-style: none;
3273
  display: inline-flex;
3274
  }
3164
  }
3165
  /**************** Premium Grid *******************/
3166
  /*************************************************/
3167
+ .premium-img-gallery-filter,
3168
+ .premium-blog-filter {
3169
  display: flex;
3170
  align-items: center;
3171
  justify-content: center;
3181
  .premium-gallery-container .grid-sizer {
3182
  width: 33.33%;
3183
  }
3184
+ .premium-img-gallery-filter .premium-gallery-cats-container li a.category,
3185
+ .premium-blog-filter .premium-blog-cats-container li a.category {
3186
  border-radius: 75px;
3187
  margin: 15px 5px 20px;
3188
  padding: 7px 20px;
3266
  .pa-gallery-img:hover .pa-gallery-img-link span {
3267
  opacity: 1;
3268
  }
3269
+ .premium-img-gallery-filter .premium-gallery-cats-container,
3270
+ .premium-blog-filter .premium-blog-cats-container {
3271
  text-align: center;
3272
  margin: 0;
3273
  }
3274
+ .premium-img-gallery-filter .premium-gallery-cats-container li,
3275
+ .premium-blog-filter .premium-blog-cats-container li {
3276
  list-style: none;
3277
  display: inline-flex;
3278
  }
assets/css/prettyphoto.css CHANGED
@@ -1,96 +1,33 @@
1
- .pp_gallery div,.pp_gallery ul a,.pp_social .facebook{overflow:hidden;float:left}div.pp_default .pp_bottom,div.pp_default .pp_bottom .pp_left,div.pp_default .pp_bottom .pp_middle,div.pp_default .pp_bottom .pp_right,div.pp_default .pp_top,div.pp_default .pp_top .pp_left,div.pp_default .pp_top .pp_middle,div.pp_default .pp_top .pp_right{height:13px}div.pp_default .pp_top .pp_left{background:url(../images/prettyPhoto/default/sprite.png) -78px -93px no-repeat}div.pp_default .pp_top .pp_middle{background:url(../images/prettyPhoto/default/sprite_x.png) top left repeat-x}div.pp_default .pp_top .pp_right{background:url(../images/prettyPhoto/default/sprite.png) -112px -93px no-repeat}div.pp_default .pp_content .ppt{color:#f8f8f8}div.pp_default .pp_content_container .pp_left{background:url(../images/prettyPhoto/default/sprite_y.png) -7px 0 repeat-y;padding-left:13px}div.pp_default .pp_content_container .pp_right{background:url(../images/prettyPhoto/default/sprite_y.png) top right repeat-y;padding-right:13px}div.pp_default .pp_next:hover{background:url(../images/prettyPhoto/default/sprite_next.png) center right no-repeat;cursor:pointer}div.pp_default .pp_previous:hover{background:url(../images/prettyPhoto/default/sprite_prev.png) center left no-repeat;cursor:pointer}div.pp_default .pp_expand{background:url(../images/prettyPhoto/default/sprite.png) 0 -29px no-repeat;cursor:pointer;width:28px;height:28px}div.pp_default .pp_expand:hover{background:url(../images/prettyPhoto/default/sprite.png) 0 -56px no-repeat;cursor:pointer}div.pp_default .pp_contract{background:url(../images/prettyPhoto/default/sprite.png) 0 -84px no-repeat;cursor:pointer;width:28px;height:28px}div.pp_default .pp_contract:hover{background:url(../images/prettyPhoto/default/sprite.png) 0 -113px no-repeat;cursor:pointer}div.pp_default .pp_close{width:30px;height:30px;background:url(../images/prettyPhoto/default/sprite.png) 2px 1px no-repeat;cursor:pointer}div.pp_default .pp_gallery ul li a{background:url(../images/prettyPhoto/default/default_thumb.png) center center #f8f8f8;border:1px solid #aaa}div.pp_default .pp_social{margin-top:7px}div.pp_default .pp_gallery a.pp_arrow_next,div.pp_default .pp_gallery a.pp_arrow_previous{position:static;left:auto}div.pp_default .pp_nav .pp_pause,div.pp_default .pp_nav .pp_play{background:url(../images/prettyPhoto/default/sprite.png) -51px 1px no-repeat;height:30px;width:30px}div.pp_default .pp_nav .pp_pause{background-position:-51px -29px}div.pp_default a.pp_arrow_next,div.pp_default a.pp_arrow_previous{background:url(../images/prettyPhoto/default/sprite.png) -31px -3px no-repeat;height:20px;width:20px;margin:4px 0 0}div.pp_default a.pp_arrow_next{left:52px;background-position:-82px -3px}div.pp_default .pp_content_container .pp_details{margin-top:5px}div.pp_default .pp_nav{clear:none;height:30px;width:110px;position:relative}div.pp_default .pp_nav .currentTextHolder{font-family:Georgia;font-style:italic;color:#999;font-size:11px;left:75px;line-height:25px;position:absolute;top:2px;margin:0;padding:0 0 0 10px}div.pp_default .pp_arrow_next:hover,div.pp_default .pp_arrow_previous:hover,div.pp_default .pp_close:hover,div.pp_default .pp_nav .pp_pause:hover,div.pp_default .pp_nav .pp_play:hover{opacity:.7}div.pp_default .pp_description{font-size:11px;font-weight:700;line-height:14px;margin:5px 50px 5px 0}div.pp_default .pp_bottom .pp_left{background:url(../images/prettyPhoto/default/sprite.png) -78px -127px no-repeat}div.pp_default .pp_bottom .pp_middle{background:url(../images/prettyPhoto/default/sprite_x.png) bottom left repeat-x}div.pp_default .pp_bottom .pp_right{background:url(../images/prettyPhoto/default/sprite.png) -112px -127px no-repeat}div.pp_default .pp_loaderIcon{background:url(../images/prettyPhoto/default/loader.gif) center center no-repeat}div.light_rounded .pp_top .pp_left{background:url(../images/prettyPhoto/light_rounded/sprite.png) -88px -53px no-repeat}div.light_rounded .pp_top .pp_right{background:url(../images/prettyPhoto/light_rounded/sprite.png) -110px -53px no-repeat}div.light_rounded .pp_next:hover{background:url(../images/prettyPhoto/light_rounded/btnNext.png) center right no-repeat;cursor:pointer}div.light_rounded .pp_previous:hover{background:url(../images/prettyPhoto/light_rounded/btnPrevious.png) center left no-repeat;cursor:pointer}div.light_rounded .pp_expand{background:url(../images/prettyPhoto/light_rounded/sprite.png) -31px -26px no-repeat;cursor:pointer}div.light_rounded .pp_expand:hover{background:url(../images/prettyPhoto/light_rounded/sprite.png) -31px -47px no-repeat;cursor:pointer}div.light_rounded .pp_contract{background:url(../images/prettyPhoto/light_rounded/sprite.png) 0 -26px no-repeat;cursor:pointer}div.light_rounded .pp_contract:hover{background:url(../images/prettyPhoto/light_rounded/sprite.png) 0 -47px no-repeat;cursor:pointer}div.light_rounded .pp_close{width:75px;height:22px;background:url(../images/prettyPhoto/light_rounded/sprite.png) -1px -1px no-repeat;cursor:pointer}div.light_rounded .pp_nav .pp_play{background:url(../images/prettyPhoto/light_rounded/sprite.png) -1px -100px no-repeat;height:15px;width:14px}div.light_rounded .pp_nav .pp_pause{background:url(../images/prettyPhoto/light_rounded/sprite.png) -24px -100px no-repeat;height:15px;width:14px}div.light_rounded .pp_arrow_previous{background:url(../images/prettyPhoto/light_rounded/sprite.png) 0 -71px no-repeat}div.light_rounded .pp_arrow_next{background:url(../images/prettyPhoto/light_rounded/sprite.png) -22px -71px no-repeat}div.light_rounded .pp_bottom .pp_left{background:url(../images/prettyPhoto/light_rounded/sprite.png) -88px -80px no-repeat}div.light_rounded .pp_bottom .pp_right{background:url(../images/prettyPhoto/light_rounded/sprite.png) -110px -80px no-repeat}div.dark_rounded .pp_top .pp_left{background:url(../images/prettyPhoto/dark_rounded/sprite.png) -88px -53px no-repeat}div.dark_rounded .pp_top .pp_right{background:url(../images/prettyPhoto/dark_rounded/sprite.png) -110px -53px no-repeat}div.dark_rounded .pp_content_container .pp_left{background:url(../images/prettyPhoto/dark_rounded/contentPattern.png) top left repeat-y}div.dark_rounded .pp_content_container .pp_right{background:url(../images/prettyPhoto/dark_rounded/contentPattern.png) top right repeat-y}div.dark_rounded .pp_next:hover{background:url(../images/prettyPhoto/dark_rounded/btnNext.png) center right no-repeat;cursor:pointer}div.dark_rounded .pp_previous:hover{background:url(../images/prettyPhoto/dark_rounded/btnPrevious.png) center left no-repeat;cursor:pointer}div.dark_rounded .pp_expand{background:url(../images/prettyPhoto/dark_rounded/sprite.png) -31px -26px no-repeat;cursor:pointer}div.dark_rounded .pp_expand:hover{background:url(../images/prettyPhoto/dark_rounded/sprite.png) -31px -47px no-repeat;cursor:pointer}div.dark_rounded .pp_contract{background:url(../images/prettyPhoto/dark_rounded/sprite.png) 0 -26px no-repeat;cursor:pointer}div.dark_rounded .pp_contract:hover{background:url(../images/prettyPhoto/dark_rounded/sprite.png) 0 -47px no-repeat;cursor:pointer}div.dark_rounded .pp_close{width:75px;height:22px;background:url(../images/prettyPhoto/dark_rounded/sprite.png) -1px -1px no-repeat;cursor:pointer}div.dark_rounded .pp_description{margin-right:85px;color:#fff}div.dark_rounded .pp_nav .pp_play{background:url(../images/prettyPhoto/dark_rounded/sprite.png) -1px -100px no-repeat;height:15px;width:14px}div.dark_rounded .pp_nav .pp_pause{background:url(../images/prettyPhoto/dark_rounded/sprite.png) -24px -100px no-repeat;height:15px;width:14px}div.dark_rounded .pp_arrow_previous{background:url(../images/prettyPhoto/dark_rounded/sprite.png) 0 -71px no-repeat}div.dark_rounded .pp_arrow_next{background:url(../images/prettyPhoto/dark_rounded/sprite.png) -22px -71px no-repeat}div.dark_rounded .pp_bottom .pp_left{background:url(../images/prettyPhoto/dark_rounded/sprite.png) -88px -80px no-repeat}div.dark_rounded .pp_bottom .pp_right{background:url(../images/prettyPhoto/dark_rounded/sprite.png) -110px -80px no-repeat}div.dark_rounded .pp_loaderIcon{background:url(../images/prettyPhoto/dark_rounded/loader.gif) center center no-repeat}div.dark_square .pp_content,div.dark_square .pp_left,div.dark_square .pp_middle,div.dark_square .pp_right{background:#000}div.dark_square .pp_description{color:#fff;margin:0 85px 0 0}div.dark_square .pp_loaderIcon{background:url(../images/prettyPhoto/dark_square/loader.gif) center center no-repeat}div.dark_square .pp_expand{background:url(../images/prettyPhoto/dark_square/sprite.png) -31px -26px no-repeat;cursor:pointer}div.dark_square .pp_expand:hover{background:url(../images/prettyPhoto/dark_square/sprite.png) -31px -47px no-repeat;cursor:pointer}div.dark_square .pp_contract{background:url(../images/prettyPhoto/dark_square/sprite.png) 0 -26px no-repeat;cursor:pointer}div.dark_square .pp_contract:hover{background:url(../images/prettyPhoto/dark_square/sprite.png) 0 -47px no-repeat;cursor:pointer}div.dark_square .pp_close{width:75px;height:22px;background:url(../images/prettyPhoto/dark_square/sprite.png) -1px -1px no-repeat;cursor:pointer}div.dark_square .pp_nav{clear:none}div.dark_square .pp_nav .pp_play{background:url(../images/prettyPhoto/dark_square/sprite.png) -1px -100px no-repeat;height:15px;width:14px}div.dark_square .pp_nav .pp_pause{background:url(../images/prettyPhoto/dark_square/sprite.png) -24px -100px no-repeat;height:15px;width:14px}div.dark_square .pp_arrow_previous{background:url(../images/prettyPhoto/dark_square/sprite.png) 0 -71px no-repeat}div.dark_square .pp_arrow_next{background:url(../images/prettyPhoto/dark_square/sprite.png) -22px -71px no-repeat}div.dark_square .pp_next:hover{background:url(../images/prettyPhoto/dark_square/btnNext.png) center right no-repeat;cursor:pointer}div.dark_square .pp_previous:hover{background:url(../images/prettyPhoto/dark_square/btnPrevious.png) center left no-repeat;cursor:pointer}div.light_square .pp_expand{background:url(../images/prettyPhoto/light_square/sprite.png) -31px -26px no-repeat;cursor:pointer}div.light_square .pp_expand:hover{background:url(../images/prettyPhoto/light_square/sprite.png) -31px -47px no-repeat;cursor:pointer}div.light_square .pp_contract{background:url(../images/prettyPhoto/light_square/sprite.png) 0 -26px no-repeat;cursor:pointer}div.light_square .pp_contract:hover{background:url(../images/prettyPhoto/light_square/sprite.png) 0 -47px no-repeat;cursor:pointer}div.light_square .pp_close{width:75px;height:22px;background:url(../images/prettyPhoto/light_square/sprite.png) -1px -1px no-repeat;cursor:pointer}div.light_square .pp_nav .pp_play{background:url(../images/prettyPhoto/light_square/sprite.png) -1px -100px no-repeat;height:15px;width:14px}div.light_square .pp_nav .pp_pause{background:url(../images/prettyPhoto/light_square/sprite.png) -24px -100px no-repeat;height:15px;width:14px}div.light_square .pp_arrow_previous{background:url(../images/prettyPhoto/light_square/sprite.png) 0 -71px no-repeat}div.light_square .pp_arrow_next{background:url(../images/prettyPhoto/light_square/sprite.png) -22px -71px no-repeat}div.light_square .pp_next:hover{background:url(../images/prettyPhoto/light_square/btnNext.png) center right no-repeat;cursor:pointer}div.light_square .pp_previous:hover{background:url(../images/prettyPhoto/light_square/btnPrevious.png) center left no-repeat;cursor:pointer}div.facebook .pp_top .pp_left{background:url(../images/prettyPhoto/facebook/sprite.png) -88px -53px no-repeat}div.facebook .pp_top .pp_middle{background:url(../images/prettyPhoto/facebook/contentPatternTop.png) top left repeat-x}div.facebook .pp_top .pp_right{background:url(../images/prettyPhoto/facebook/sprite.png) -110px -53px no-repeat}div.facebook .pp_content_container .pp_left{background:url(../images/prettyPhoto/facebook/contentPatternLeft.png) top left repeat-y}div.facebook .pp_content_container .pp_right{background:url(../images/prettyPhoto/facebook/contentPatternRight.png) top right repeat-y}div.facebook .pp_expand{background:url(../images/prettyPhoto/facebook/sprite.png) -31px -26px no-repeat;cursor:pointer}div.facebook .pp_expand:hover{background:url(../images/prettyPhoto/facebook/sprite.png) -31px -47px no-repeat;cursor:pointer}div.facebook .pp_contract{background:url(../images/prettyPhoto/facebook/sprite.png) 0 -26px no-repeat;cursor:pointer}div.facebook .pp_contract:hover{background:url(../images/prettyPhoto/facebook/sprite.png) 0 -47px no-repeat;cursor:pointer}div.facebook .pp_close{width:22px;height:22px;background:url(../images/prettyPhoto/facebook/sprite.png) -1px -1px no-repeat;cursor:pointer}div.facebook .pp_description{margin:0 37px 0 0}div.facebook .pp_loaderIcon{background:url(../images/prettyPhoto/facebook/loader.gif) center center no-repeat}div.facebook .pp_arrow_previous{background:url(../images/prettyPhoto/facebook/sprite.png) 0 -71px no-repeat;height:22px;margin-top:0;width:22px}div.facebook .pp_arrow_previous.disabled{background-position:0 -96px;cursor:default}div.facebook .pp_arrow_next{background:url(../images/prettyPhoto/facebook/sprite.png) -32px -71px no-repeat;height:22px;margin-top:0;width:22px}div.facebook .pp_arrow_next.disabled{background-position:-32px -96px;cursor:default}div.facebook .pp_nav{margin-top:0}div.facebook .pp_nav p{font-size:15px;padding:0 3px 0 4px}div.facebook .pp_nav .pp_play{background:url(../images/prettyPhoto/facebook/sprite.png) -1px -123px no-repeat;height:22px;width:22px}div.facebook .pp_nav .pp_pause{background:url(../images/prettyPhoto/facebook/sprite.png) -32px -123px no-repeat;height:22px;width:22px}div.facebook .pp_next:hover{background:url(../images/prettyPhoto/facebook/btnNext.png) center right no-repeat;cursor:pointer}div.facebook .pp_previous:hover{background:url(../images/prettyPhoto/facebook/btnPrevious.png) center left no-repeat;cursor:pointer}div.facebook .pp_bottom .pp_left{background:url(../images/prettyPhoto/facebook/sprite.png) -88px -80px no-repeat}div.facebook .pp_bottom .pp_middle{background:url(../images/prettyPhoto/facebook/contentPatternBottom.png) top left repeat-x}div.facebook .pp_bottom .pp_right{background:url(../images/prettyPhoto/facebook/sprite.png) -110px -80px no-repeat}div.pp_pic_holder a:focus{outline:0}div.pp_overlay{background:#000;display:none;left:0;position:absolute;top:0;width:100%;z-index:9500}div.pp_pic_holder{display:none;position:absolute;width:100px;z-index:10000}.pp_content{height:40px;min-width:40px}* html .pp_content{width:40px}.pp_content_container{position:relative;text-align:left;width:100%}.pp_content_container .pp_left{padding-left:20px}.pp_content_container .pp_right{padding-right:20px}.pp_content_container .pp_details{float:left;margin:10px 0 2px}.pp_description{display:none;margin:0}.pp_social{float:left;margin:0}.pp_social .facebook{margin-left:5px;width:55px}.pp_social .twitter{float:left}.pp_nav{clear:right;float:left;margin:3px 10px 0 0}.pp_nav p{float:left;white-space:nowrap;margin:2px 4px}.pp_nav .pp_pause,.pp_nav .pp_play{float:left;margin-right:4px;text-indent:-10000px}a.pp_arrow_next,a.pp_arrow_previous{display:block;float:left;height:15px;margin-top:3px;overflow:hidden;text-indent:-10000px;width:14px}.pp_hoverContainer{position:absolute;top:0;width:100%;z-index:2000}.pp_gallery{display:none;left:50%;margin-top:-50px;position:absolute;z-index:10000}.pp_gallery div{position:relative}.pp_gallery ul{float:left;height:35px;position:relative;white-space:nowrap;margin:0 0 0 5px;padding:0}.pp_gallery ul a{border:1px solid rgba(0,0,0,.5);display:block;height:33px}.pp_gallery ul a img{border:0}.pp_gallery li{display:block;float:left;margin:0 5px 0 0;padding:0}.pp_gallery li.default a{background:url(../images/prettyPhoto/facebook/default_thumbnail.gif) no-repeat;display:block;height:33px;width:50px}a.pp_next,a.pp_previous{background:url(../images/prettyPhoto/light_rounded/btnNext.png) 10000px 10000px no-repeat;display:block;height:100%;width:49%;text-indent:-10000px}.pp_gallery .pp_arrow_next,.pp_gallery .pp_arrow_previous{margin-top:7px!important}a.pp_next{float:right}a.pp_previous{float:left}a.pp_contract,a.pp_expand{cursor:pointer;display:none;height:20px;position:absolute;right:30px;text-indent:-10000px;top:10px;width:20px;z-index:20000}.pp_loaderIcon,a.pp_close{display:block;position:absolute}a.pp_close{right:0;top:0;line-height:22px;text-indent:-10000px}.pp_loaderIcon{height:24px;left:50%;top:50%;width:24px;margin:-12px 0 0 -12px}.pp_fade,.pp_gallery li.default a img,div.ppt{display:none}#pp_full_res{line-height:1!important}#pp_full_res .pp_inline{text-align:left}#pp_full_res .pp_inline p{margin:0 0 15px}div.ppt{color:#fff;font-size:17px;z-index:9999;margin:0 0 5px 15px}div.light_rounded .pp_content,div.pp_default .pp_content{background-color:#fff}div.facebook #pp_full_res .pp_inline,div.facebook .pp_content .ppt,div.light_rounded #pp_full_res .pp_inline,div.light_rounded .pp_content .ppt,div.light_square #pp_full_res .pp_inline,div.light_square .pp_content .ppt,div.pp_default #pp_full_res .pp_inline{color:#000}.pp_gallery li.selected a,.pp_gallery ul a:hover,div.pp_default .pp_gallery ul li a:hover,div.pp_default .pp_gallery ul li.selected a{border-color:#fff}div.dark_rounded .pp_details,div.dark_square .pp_details,div.facebook .pp_details,div.light_rounded .pp_details,div.light_square .pp_details,div.pp_default .pp_details{position:relative}div.facebook .pp_content,div.light_rounded .pp_bottom .pp_middle,div.light_rounded .pp_content_container .pp_left,div.light_rounded .pp_content_container .pp_right,div.light_rounded .pp_top .pp_middle,div.light_square .pp_content,div.light_square .pp_left,div.light_square .pp_middle,div.light_square .pp_right{background:#fff}div.light_rounded .pp_description,div.light_square .pp_description{margin-right:85px}div.dark_rounded .pp_gallery a.pp_arrow_next,div.dark_rounded .pp_gallery a.pp_arrow_previous,div.dark_square .pp_gallery a.pp_arrow_next,div.dark_square .pp_gallery a.pp_arrow_previous,div.light_rounded .pp_gallery a.pp_arrow_next,div.light_rounded .pp_gallery a.pp_arrow_previous,div.light_square .pp_gallery a.pp_arrow_next,div.light_square .pp_gallery a.pp_arrow_previous{margin-top:12px!important}div.dark_rounded .pp_arrow_previous.disabled,div.dark_square .pp_arrow_previous.disabled,div.light_rounded .pp_arrow_previous.disabled,div.light_square .pp_arrow_previous.disabled{background-position:0 -87px;cursor:default}div.dark_rounded .pp_arrow_next.disabled,div.dark_square .pp_arrow_next.disabled,div.light_rounded .pp_arrow_next.disabled,div.light_square .pp_arrow_next.disabled{background-position:-22px -87px;cursor:default}div.light_rounded .pp_loaderIcon,div.light_square .pp_loaderIcon{background:url(../images/prettyPhoto/light_rounded/loader.gif) center center no-repeat}div.dark_rounded .pp_bottom .pp_middle,div.dark_rounded .pp_content,div.dark_rounded .pp_top .pp_middle{background:url(../images/prettyPhoto/dark_rounded/contentPattern.png) top left}div.dark_rounded .currentTextHolder,div.dark_square .currentTextHolder{color:#c4c4c4}div.dark_rounded #pp_full_res .pp_inline,div.dark_square #pp_full_res .pp_inline{color:#fff}.pp_bottom,.pp_top{height:20px;position:relative}* html .pp_bottom,* html .pp_top{padding:0 20px}.pp_bottom .pp_left,.pp_top .pp_left{height:20px;left:0;position:absolute;width:20px}.pp_bottom .pp_middle,.pp_top .pp_middle{height:20px;left:20px;position:absolute;right:20px}* html .pp_bottom .pp_middle,* html .pp_top .pp_middle{left:0;position:static}.pp_bottom .pp_right,.pp_top .pp_right{height:20px;left:auto;position:absolute;right:0;top:0;width:20px}
2
-
3
- /* prettyPhoto styling for small screens - below 767px width */
4
- @media only screen and (max-width: 767px) {
5
- body .pp_pic_holder.pp_default {
6
- width: 100%!important;
7
- left: 0!important;
8
- overflow: hidden;
9
- min-height:60px;
10
- }
11
- body div.pp_default .pp_loaderIcon {
12
- margin-top:-15px;
13
-
14
- }
15
- body div.pp_default .pp_content .pp_fade {
16
- box-shadow: 0px 0px 60px rgba(0,0,0, 0);
17
- }
18
-
19
- body div.pp_default .pp_content_container .pp_left {
20
- padding-left: 0!important;
21
- }
22
- body div.pp_default .pp_content_container .pp_right {
23
- padding-right: 0!important;
24
- }
25
-
26
- body div.pp_default a.pp_close {
27
- right:-20px;
28
- }
29
-
30
- body .pp_content {
31
- width: 100%!important;
32
- height: auto!important;
33
- }
34
- body .pp_hoverContainer,
35
- body .pp_fade {
36
- width: 100%!important;
37
- height: 100%!important;
38
- }
39
-
40
- body a.pp_expand, body a.pp_contract, body .pp_gallery, body .pp_top, body .pp_bottom {
41
- display: none!important;
42
- }
43
-
44
- body #pp_full_res .wp-video,
45
- body #pp_full_res iframe {
46
- width:100% !important;
47
- min-height:250px !important;
48
- }
49
- body #pp_full_res img {
50
- width: 100% !important;
51
- height: auto !important;
52
- }
53
-
54
- body .pp_details {
55
- width: 94%!important;
56
- padding-left: 3%;
57
- padding-right: 4%;
58
- padding-top: 20px;
59
- padding-bottom: 20px;
60
- margin-top: -10px !important;
61
- }
62
-
63
- }
64
  div.pp_default .pp_top,div.pp_default .pp_top .pp_middle,div.pp_default .pp_top .pp_left,div.pp_default .pp_top .pp_right,div.pp_default .pp_bottom,div.pp_default .pp_bottom .pp_left,div.pp_default .pp_bottom .pp_middle,div.pp_default .pp_bottom .pp_right{height:13px}
65
- div.pp_default .pp_top .pp_left{background:url(../images/prettyPhoto/default/sprite.png) -78px -93px no-repeat}
66
- div.pp_default .pp_top .pp_middle{background:url(../images/prettyPhoto/default/sprite_x.png) top left repeat-x}
67
- div.pp_default .pp_top .pp_right{background:url(../images/prettyPhoto/default/sprite.png) -112px -93px no-repeat}
68
  div.pp_default .pp_content .ppt{color:#f8f8f8}
69
- div.pp_default .pp_content_container .pp_left{background:url(../images/prettyPhoto/default/sprite_y.png) -7px 0 repeat-y;padding-left:13px}
70
- div.pp_default .pp_content_container .pp_right{background:url(../images/prettyPhoto/default/sprite_y.png) top right repeat-y;padding-right:13px}
71
- div.pp_default .pp_next:hover{background:url(../images/prettyPhoto/default/sprite_next.png) center right no-repeat;cursor:pointer}
72
- div.pp_default .pp_previous:hover{background:url(../images/prettyPhoto/default/sprite_prev.png) center left no-repeat;cursor:pointer}
73
- div.pp_default .pp_expand{background:url(../images/prettyPhoto/default/sprite.png) 0 -29px no-repeat;cursor:pointer;width:28px;height:28px}
74
- div.pp_default .pp_expand:hover{background:url(../images/prettyPhoto/default/sprite.png) 0 -56px no-repeat;cursor:pointer}
75
- div.pp_default .pp_contract{background:url(../images/prettyPhoto/default/sprite.png) 0 -84px no-repeat;cursor:pointer;width:28px;height:28px}
76
- div.pp_default .pp_contract:hover{background:url(../images/prettyPhoto/default/sprite.png) 0 -113px no-repeat;cursor:pointer}
77
- div.pp_default .pp_close{width:30px;height:30px;background:url(../images/prettyPhoto/default/sprite.png) 2px 1px no-repeat;cursor:pointer}
78
- div.pp_default .pp_gallery ul li a{background:url(../images/prettyPhoto/default/default_thumb.png) center center #f8f8f8;border:1px solid #aaa}
79
  div.pp_default .pp_social{margin-top:7px}
80
  div.pp_default .pp_gallery a.pp_arrow_previous,div.pp_default .pp_gallery a.pp_arrow_next{position:static;left:auto}
81
- div.pp_default .pp_nav .pp_play,div.pp_default .pp_nav .pp_pause{background:url(../images/prettyPhoto/default/sprite.png) -51px 1px no-repeat;height:30px;width:30px}
82
  div.pp_default .pp_nav .pp_pause{background-position:-51px -29px}
83
- div.pp_default a.pp_arrow_previous,div.pp_default a.pp_arrow_next{background:url(../images/prettyPhoto/default/sprite.png) -31px -3px no-repeat;height:20px;width:20px;margin:4px 0 0}
84
  div.pp_default a.pp_arrow_next{left:52px;background-position:-82px -3px}
85
  div.pp_default .pp_content_container .pp_details{margin-top:5px}
86
  div.pp_default .pp_nav{clear:none;height:30px;width:110px;position:relative}
87
  div.pp_default .pp_nav .currentTextHolder{font-family:Georgia;font-style:italic;color:#999;font-size:11px;left:75px;line-height:25px;position:absolute;top:2px;margin:0;padding:0 0 0 10px}
88
  div.pp_default .pp_close:hover,div.pp_default .pp_nav .pp_play:hover,div.pp_default .pp_nav .pp_pause:hover,div.pp_default .pp_arrow_next:hover,div.pp_default .pp_arrow_previous:hover{opacity:0.7}
89
  div.pp_default .pp_description{font-size:11px;font-weight:700;line-height:14px;margin:5px 50px 5px 0}
90
- div.pp_default .pp_bottom .pp_left{background:url(../images/prettyPhoto/default/sprite.png) -78px -127px no-repeat}
91
- div.pp_default .pp_bottom .pp_middle{background:url(../images/prettyPhoto/default/sprite_x.png) bottom left repeat-x}
92
- div.pp_default .pp_bottom .pp_right{background:url(../images/prettyPhoto/default/sprite.png) -112px -127px no-repeat}
93
- div.pp_default .pp_loaderIcon{background:url(../images/prettyPhoto/default/loader.gif) center center no-repeat}
94
  div.light_rounded .pp_top .pp_left{background:url(../images/prettyPhoto/light_rounded/sprite.png) -88px -53px no-repeat}
95
  div.light_rounded .pp_top .pp_right{background:url(../images/prettyPhoto/light_rounded/sprite.png) -110px -53px no-repeat}
96
  div.light_rounded .pp_next:hover{background:url(../images/prettyPhoto/light_rounded/btnNext.png) center right no-repeat;cursor:pointer}
@@ -190,7 +127,7 @@ div.pp_pic_holder{display:none;position:absolute;width:100px;z-index:10000}
190
  .pp_social .facebook{float:left;margin-left:5px;width:55px;overflow:hidden}
191
  .pp_social .twitter{float:left}
192
  .pp_nav{clear:right;float:left;margin:3px 10px 0 0}
193
- .pp_nav p{float:left;white-space:nowrap;margin:2px 4px}
194
  .pp_nav .pp_play,.pp_nav .pp_pause{float:left;margin-right:4px;text-indent:-10000px}
195
  a.pp_arrow_previous,a.pp_arrow_next{display:block;float:left;height:15px;margin-top:3px;overflow:hidden;text-indent:-10000px;width:14px}
196
  .pp_hoverContainer{position:absolute;top:0;width:100%;z-index:2000}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  div.pp_default .pp_top,div.pp_default .pp_top .pp_middle,div.pp_default .pp_top .pp_left,div.pp_default .pp_top .pp_right,div.pp_default .pp_bottom,div.pp_default .pp_bottom .pp_left,div.pp_default .pp_bottom .pp_middle,div.pp_default .pp_bottom .pp_right{height:13px}
2
+ div.pp_default .pp_top .pp_left{background:url(../images/prettyPhoto1/default/sprite.png) -78px -93px no-repeat}
3
+ div.pp_default .pp_top .pp_middle{background:url(../images/prettyPhoto1/default/sprite_x.png) top left repeat-x}
4
+ div.pp_default .pp_top .pp_right{background:url(../images/prettyPhoto1/default/sprite.png) -112px -93px no-repeat}
5
  div.pp_default .pp_content .ppt{color:#f8f8f8}
6
+ div.pp_default .pp_content_container .pp_left{background:url(../images/prettyPhoto1/default/sprite_y.png) -7px 0 repeat-y;padding-left:13px}
7
+ div.pp_default .pp_content_container .pp_right{background:url(../images/prettyPhoto1/default/sprite_y.png) top right repeat-y;padding-right:13px}
8
+ div.pp_default .pp_next:hover{background:url(../images/prettyPhoto1/default/sprite_next.png) center right no-repeat;cursor:pointer}
9
+ div.pp_default .pp_previous:hover{background:url(../images/prettyPhoto1/default/sprite_prev.png) center left no-repeat;cursor:pointer}
10
+ div.pp_default .pp_expand{background:url(../images/prettyPhoto1/default/sprite.png) 0 -29px no-repeat;cursor:pointer;width:28px;height:28px}
11
+ div.pp_default .pp_expand:hover{background:url(../images/prettyPhoto1/default/sprite.png) 0 -56px no-repeat;cursor:pointer}
12
+ div.pp_default .pp_contract{background:url(../images/prettyPhoto1/default/sprite.png) 0 -84px no-repeat;cursor:pointer;width:28px;height:28px}
13
+ div.pp_default .pp_contract:hover{background:url(../images/prettyPhoto1/default/sprite.png) 0 -113px no-repeat;cursor:pointer}
14
+ div.pp_default .pp_close{width:30px;height:30px;background:url(../images/prettyPhoto1/default/sprite.png) 2px 1px no-repeat;cursor:pointer}
15
+ div.pp_default .pp_gallery ul li a{background:url(../images/prettyPhoto1/default/default_thumb.png) center center #f8f8f8;border:1px solid #aaa}
16
  div.pp_default .pp_social{margin-top:7px}
17
  div.pp_default .pp_gallery a.pp_arrow_previous,div.pp_default .pp_gallery a.pp_arrow_next{position:static;left:auto}
18
+ div.pp_default .pp_nav .pp_play,div.pp_default .pp_nav .pp_pause{background:url(../images/prettyPhoto1/default/sprite.png) -51px 1px no-repeat;height:30px;width:30px}
19
  div.pp_default .pp_nav .pp_pause{background-position:-51px -29px}
20
+ div.pp_default a.pp_arrow_previous,div.pp_default a.pp_arrow_next{background:url(../images/prettyPhoto1/default/sprite.png) -31px -3px no-repeat;height:20px;width:20px;margin:4px 0 0}
21
  div.pp_default a.pp_arrow_next{left:52px;background-position:-82px -3px}
22
  div.pp_default .pp_content_container .pp_details{margin-top:5px}
23
  div.pp_default .pp_nav{clear:none;height:30px;width:110px;position:relative}
24
  div.pp_default .pp_nav .currentTextHolder{font-family:Georgia;font-style:italic;color:#999;font-size:11px;left:75px;line-height:25px;position:absolute;top:2px;margin:0;padding:0 0 0 10px}
25
  div.pp_default .pp_close:hover,div.pp_default .pp_nav .pp_play:hover,div.pp_default .pp_nav .pp_pause:hover,div.pp_default .pp_arrow_next:hover,div.pp_default .pp_arrow_previous:hover{opacity:0.7}
26
  div.pp_default .pp_description{font-size:11px;font-weight:700;line-height:14px;margin:5px 50px 5px 0}
27
+ div.pp_default .pp_bottom .pp_left{background:url(../images/prettyPhoto1/default/sprite.png) -78px -127px no-repeat}
28
+ div.pp_default .pp_bottom .pp_middle{background:url(../images/prettyPhoto1/default/sprite_x.png) bottom left repeat-x}
29
+ div.pp_default .pp_bottom .pp_right{background:url(../images/prettyPhoto1/default/sprite.png) -112px -127px no-repeat}
30
+ div.pp_default .pp_loaderIcon{background:url(../images/prettyPhoto1/default/loader.gif) center center no-repeat}
31
  div.light_rounded .pp_top .pp_left{background:url(../images/prettyPhoto/light_rounded/sprite.png) -88px -53px no-repeat}
32
  div.light_rounded .pp_top .pp_right{background:url(../images/prettyPhoto/light_rounded/sprite.png) -110px -53px no-repeat}
33
  div.light_rounded .pp_next:hover{background:url(../images/prettyPhoto/light_rounded/btnNext.png) center right no-repeat;cursor:pointer}
127
  .pp_social .facebook{float:left;margin-left:5px;width:55px;overflow:hidden}
128
  .pp_social .twitter{float:left}
129
  .pp_nav{clear:right;float:left;margin:3px 10px 0 0}
130
+ .pp_nav p{float:left;white-space:nowrap;margin:2px 4px; font-size: 0.6em}
131
  .pp_nav .pp_play,.pp_nav .pp_pause{float:left;margin-right:4px;text-indent:-10000px}
132
  a.pp_arrow_previous,a.pp_arrow_next{display:block;float:left;height:15px;margin-top:3px;overflow:hidden;text-indent:-10000px;width:14px}
133
  .pp_hoverContainer{position:absolute;top:0;width:100%;z-index:2000}
assets/images/prettyPhoto/dark_rounded/btnNext.png ADDED
Binary file
assets/images/prettyPhoto/dark_rounded/btnPrevious.png ADDED
Binary file
assets/images/prettyPhoto/dark_rounded/contentPattern.png ADDED
Binary file
assets/images/prettyPhoto/dark_rounded/default_thumbnail.gif ADDED
Binary file
assets/images/prettyPhoto/dark_rounded/loader.gif ADDED
Binary file
assets/images/prettyPhoto/dark_rounded/sprite.png ADDED
Binary file
assets/images/prettyPhoto/dark_square/btnNext.png ADDED
Binary file
assets/images/prettyPhoto/dark_square/btnPrevious.png ADDED
Binary file
assets/images/prettyPhoto/dark_square/contentPattern.png ADDED
Binary file
assets/images/prettyPhoto/dark_square/default_thumbnail.gif ADDED
Binary file
assets/images/prettyPhoto/dark_square/loader.gif ADDED
Binary file
assets/images/prettyPhoto/dark_square/sprite.png ADDED
Binary file
assets/images/prettyPhoto/facebook/btnNext.png ADDED
Binary file
assets/images/prettyPhoto/facebook/btnPrevious.png ADDED
Binary file
assets/images/prettyPhoto/facebook/contentPatternBottom.png ADDED
Binary file
assets/images/prettyPhoto/facebook/contentPatternLeft.png ADDED
Binary file
assets/images/prettyPhoto/facebook/contentPatternRight.png ADDED
Binary file
assets/images/prettyPhoto/facebook/contentPatternTop.png ADDED
Binary file
assets/images/prettyPhoto/facebook/default_thumbnail.gif ADDED
Binary file
assets/images/prettyPhoto/facebook/loader.gif ADDED
Binary file
assets/images/prettyPhoto/facebook/sprite.png ADDED
Binary file
assets/images/prettyPhoto/light_rounded/btnNext.png ADDED
Binary file
assets/images/prettyPhoto/light_rounded/btnPrevious.png ADDED
Binary file
assets/images/prettyPhoto/light_rounded/default_thumbnail.gif ADDED
Binary file
assets/images/prettyPhoto/light_rounded/loader.gif ADDED
Binary file
assets/images/prettyPhoto/light_rounded/sprite.png ADDED
Binary file
assets/images/prettyPhoto/light_square/btnNext.png ADDED
Binary file
assets/images/prettyPhoto/light_square/btnPrevious.png ADDED
Binary file
assets/images/prettyPhoto/light_square/default_thumbnail.gif ADDED
Binary file
assets/images/prettyPhoto/light_square/loader.gif ADDED
Binary file
assets/images/prettyPhoto/light_square/sprite.png ADDED
Binary file
assets/images/prettyPhoto1/default/default_thumb.png ADDED
Binary file
assets/images/prettyPhoto1/default/loader.gif ADDED
Binary file
assets/images/prettyPhoto1/default/sprite.png ADDED
Binary file
assets/images/prettyPhoto1/default/sprite_next.png ADDED
Binary file
assets/images/prettyPhoto1/default/sprite_prev.png ADDED
Binary file
assets/images/prettyPhoto1/default/sprite_x.png ADDED
Binary file
assets/images/prettyPhoto1/default/sprite_y.png ADDED
Binary file
assets/images/{prettyPhoto → prettyPhoto1}/lightbox.gif RENAMED
File without changes
assets/images/{prettyPhoto → prettyPhoto1}/next.png RENAMED
File without changes
assets/images/{prettyPhoto → prettyPhoto1}/next@2x.png RENAMED
File without changes
assets/images/{prettyPhoto → prettyPhoto1}/previous.png RENAMED
File without changes
assets/images/{prettyPhoto → prettyPhoto1}/previous@2x.png RENAMED
File without changes
assets/images/{prettyPhoto → prettyPhoto1}/sprite.png RENAMED
File without changes
assets/images/{prettyPhoto → prettyPhoto1}/sprite@2x.png RENAMED
File without changes
assets/js/premium-addons.js CHANGED
@@ -162,9 +162,9 @@
162
  galleryElement.isotope({ filter: selector });
163
  return false;
164
  });
165
-
166
  $scope.find(".premium-img-gallery a[data-rel^='prettyPhoto']").prettyPhoto({
167
- theme: "pp_default",
168
  hook: "data-rel",
169
  opacity: 0.7,
170
  show_title: false,
@@ -537,6 +537,20 @@
537
  nextArrow =
538
  '<a type="button" data-role="none" class="carousel-arrow carousel-next" aria-label="Next" role="button" style=""><i class="fa fa-angle-right" aria-hidden="true"></i></a>';
539
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
540
  if (masonryBlog) {
541
  blogElement.imagesLoaded(function() {
542
  blogElement.isotope({
162
  galleryElement.isotope({ filter: selector });
163
  return false;
164
  });
165
+
166
  $scope.find(".premium-img-gallery a[data-rel^='prettyPhoto']").prettyPhoto({
167
+ theme: gridSettings['theme'],
168
  hook: "data-rel",
169
  opacity: 0.7,
170
  show_title: false,
537
  nextArrow =
538
  '<a type="button" data-role="none" class="carousel-arrow carousel-next" aria-label="Next" role="button" style=""><i class="fa fa-angle-right" aria-hidden="true"></i></a>';
539
 
540
+ $scope.find(".premium-blog-cats-container li a").click(function(e) {
541
+ e.preventDefault();
542
+
543
+ $scope.find(".premium-blog-cats-container li .active").removeClass("active");
544
+
545
+ $(this).addClass("active");
546
+
547
+ var selector = $(this).attr("data-filter");
548
+ console.log(selector);
549
+ blogElement.isotope({ filter: selector });
550
+
551
+ return false;
552
+ });
553
+
554
  if (masonryBlog) {
555
  blogElement.imagesLoaded(function() {
556
  blogElement.isotope({
premium-addons-for-elementor.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Premium Addons for Elementor
4
  Description: Premium Addons Plugin Includes 22+ premium widgets for Elementor Page Builder.
5
  Plugin URI: https://premiumaddons.com
6
- Version: 3.4.4
7
  Author: Leap13
8
  Author URI: https://leap13.com/
9
  Text Domain: premium-addons-for-elementor
@@ -14,12 +14,12 @@ License: GNU General Public License v3.0
14
  if ( ! defined('ABSPATH') ) exit; // No access of directly access
15
 
16
  // Define Constants
17
- define('PREMIUM_ADDONS_VERSION', '3.4.4');
18
  define('PREMIUM_ADDONS_URL', plugins_url('/', __FILE__));
19
  define('PREMIUM_ADDONS_PATH', plugin_dir_path(__FILE__));
20
  define('PREMIUM_ADDONS_FILE', __FILE__);
21
  define('PREMIUM_ADDONS_BASENAME', plugin_basename( PREMIUM_ADDONS_FILE ) );
22
- define('PREMIUM_ADDONS_STABLE_VERSION', '3.4.3');
23
 
24
  if( ! class_exists('Premium_Addons_Elementor') ) {
25
 
3
  Plugin Name: Premium Addons for Elementor
4
  Description: Premium Addons Plugin Includes 22+ premium widgets for Elementor Page Builder.
5
  Plugin URI: https://premiumaddons.com
6
+ Version: 3.4.5
7
  Author: Leap13
8
  Author URI: https://leap13.com/
9
  Text Domain: premium-addons-for-elementor
14
  if ( ! defined('ABSPATH') ) exit; // No access of directly access
15
 
16
  // Define Constants
17
+ define('PREMIUM_ADDONS_VERSION', '3.4.5');
18
  define('PREMIUM_ADDONS_URL', plugins_url('/', __FILE__));
19
  define('PREMIUM_ADDONS_PATH', plugin_dir_path(__FILE__));
20
  define('PREMIUM_ADDONS_FILE', __FILE__);
21
  define('PREMIUM_ADDONS_BASENAME', plugin_basename( PREMIUM_ADDONS_FILE ) );
22
+ define('PREMIUM_ADDONS_STABLE_VERSION', '3.4.4');
23
 
24
  if( ! class_exists('Premium_Addons_Elementor') ) {
25
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: http://premiumaddons.com
5
  Requires at least: 4.5
6
  Tested up to: 5.2
7
  Requires PHP: 5.4
8
- Stable tag: 3.4.4
9
  License: GPL v3.0
10
  License URI: https://opensource.org/licenses/GPL-3.0
11
 
@@ -139,6 +139,11 @@ Premium Addons for Elementor is 100% Ads Free, Ads can only be detected from You
139
 
140
  == Changelog ==
141
 
 
 
 
 
 
142
  = 3.4.4 =
143
 
144
  - Tweak: Added Classic/Cards skin option in Blog widget.
5
  Requires at least: 4.5
6
  Tested up to: 5.2
7
  Requires PHP: 5.4
8
+ Stable tag: 3.4.5
9
  License: GPL v3.0
10
  License URI: https://opensource.org/licenses/GPL-3.0
11
 
139
 
140
  == Changelog ==
141
 
142
+ = 3.4.5 =
143
+
144
+ - Tweak: Added `Filter Tabs` option for categories in Blog widget.
145
+ - Tweak: Added `Theme` option for lightbox in Grid widget.
146
+
147
  = 3.4.4 =
148
 
149
  - Tweak: Added Classic/Cards skin option in Blog widget.
widgets/premium-blog.php CHANGED
@@ -6,6 +6,7 @@ use PremiumAddons\Helper_Functions;
6
  use Elementor\Widget_Base;
7
  use Elementor\Controls_Manager;
8
  use Elementor\Scheme_Color;
 
9
  use Elementor\Group_Control_Border;
10
  use Elementor\Group_Control_Typography;
11
  use Elementor\Group_Control_Css_Filter;
@@ -417,6 +418,16 @@ class Premium_Blog extends Widget_Base {
417
  ]
418
  );
419
 
 
 
 
 
 
 
 
 
 
 
420
  $this->add_control('premium_blog_tags',
421
  [
422
  'label' => __( 'Filter By Tag', 'premium-addons-for-elementor' ),
@@ -1268,6 +1279,131 @@ class Premium_Blog extends Widget_Base {
1268
  );
1269
 
1270
  $this->end_controls_section();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1271
 
1272
  }
1273
 
@@ -1406,13 +1542,29 @@ class Premium_Blog extends Widget_Base {
1406
 
1407
  $skin = $settings['premium_blog_skin'];
1408
 
1409
- $this->add_render_attribute( 'post', 'class', [
 
 
 
 
1410
  'premium-blog-post-container',
1411
  $skin,
1412
  ] );
1413
 
1414
  $thumb = ( ! has_post_thumbnail() ) ? 'empty-thumb' : '';
1415
 
 
 
 
 
 
 
 
 
 
 
 
 
1416
  $this->add_render_attribute( 'content', 'class', [
1417
  'premium-blog-content-wrapper',
1418
  $thumb,
@@ -1420,7 +1572,7 @@ class Premium_Blog extends Widget_Base {
1420
 
1421
  ?>
1422
 
1423
- <div <?php echo $this->get_render_attribute_string('post'); ?>>
1424
  <div class="premium-blog-thumb-effect-wrapper">
1425
  <div class="premium-blog-thumbnail-container <?php echo 'premium-blog-' . $image_effect . '-effect';?>">
1426
  <a href="<?php the_permalink(); ?>" target="<?php echo esc_attr( $target ); ?>"><?php the_post_thumbnail('full'); ?></a>
@@ -1536,16 +1688,50 @@ class Premium_Blog extends Widget_Base {
1536
 
1537
 
1538
  ?>
 
 
 
 
 
 
 
 
 
 
 
1539
 
1540
- <div <?php echo $this->get_render_attribute_string('blog'); ?>>
1541
- <?php
1542
- if( count( $posts ) ) {
1543
- global $post;
1544
- foreach( $posts as $post ) {
1545
- setup_postdata( $post );
1546
- $this->get_post_layout();
1547
- }
1548
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1549
  </div>
1550
  <?php if ( $settings['premium_blog_paging'] === 'yes' ) : ?>
1551
  <div class="premium-blog-pagination-container">
6
  use Elementor\Widget_Base;
7
  use Elementor\Controls_Manager;
8
  use Elementor\Scheme_Color;
9
+ use Elementor\Scheme_Typography;
10
  use Elementor\Group_Control_Border;
11
  use Elementor\Group_Control_Typography;
12
  use Elementor\Group_Control_Css_Filter;
418
  ]
419
  );
420
 
421
+ $this->add_control('premium_blog_cat_tabs',
422
+ [
423
+ 'label' => __('Filter Tabs', 'premium-addons-for-elementor'),
424
+ 'type' => Controls_Manager::SWITCHER,
425
+ 'condition' => [
426
+ 'premium_blog_carousel!' => 'yes'
427
+ ]
428
+ ]
429
+ );
430
+
431
  $this->add_control('premium_blog_tags',
432
  [
433
  'label' => __( 'Filter By Tag', 'premium-addons-for-elementor' ),
1279
  );
1280
 
1281
  $this->end_controls_section();
1282
+
1283
+ $this->start_controls_section('premium_blog_filter_style',
1284
+ [
1285
+ 'label' => __('Filter','premium-addons-for-elementor'),
1286
+ 'tab' => Controls_Manager::TAB_STYLE,
1287
+ 'condition' => [
1288
+ 'premium_blog_cat_tabs' => 'yes'
1289
+ ]
1290
+ ]);
1291
+
1292
+ $this->add_control('premium_blog_filter_color',
1293
+ [
1294
+ 'label' => __('Color', 'premium-addons-for-elementor'),
1295
+ 'type' => Controls_Manager::COLOR,
1296
+ 'scheme' => [
1297
+ 'type' => Scheme_Color::get_type(),
1298
+ 'value' => Scheme_Color::COLOR_2,
1299
+ ],
1300
+ 'selectors' => [
1301
+ '{{WRAPPER}} .premium-blog-cats-container li a.category span' => 'color: {{VALUE}};',
1302
+ ]
1303
+ ]
1304
+ );
1305
+
1306
+ $this->add_control('premium_blog_filter_active_color',
1307
+ [
1308
+ 'label' => __('Active Color', 'premium-addons-for-elementor'),
1309
+ 'type' => Controls_Manager::COLOR,
1310
+ 'scheme' => [
1311
+ 'type' => Scheme_Color::get_type(),
1312
+ 'value' => Scheme_Color::COLOR_1,
1313
+ ],
1314
+ 'selectors' => [
1315
+ '{{WRAPPER}} .premium-blog-cats-container li a.active span' => 'color: {{VALUE}};',
1316
+ ]
1317
+ ]
1318
+ );
1319
+
1320
+ $this->add_group_control(
1321
+ Group_Control_Typography::get_type(),
1322
+ [
1323
+ 'name' => 'premium_blog_filter_typo',
1324
+ 'scheme' => Scheme_Typography::TYPOGRAPHY_1,
1325
+ 'selector' => '{{WRAPPER}} .premium-blog-cats-container li a.category',
1326
+ ]
1327
+ );
1328
+
1329
+ $this->add_control('premium_blog_background_color',
1330
+ [
1331
+ 'label' => __('Background Color', 'premium-addons-for-elementor'),
1332
+ 'type' => Controls_Manager::COLOR,
1333
+ 'scheme' => [
1334
+ 'type' => Scheme_Color::get_type(),
1335
+ 'value' => Scheme_Color::COLOR_1,
1336
+ ],
1337
+ 'selectors' => [
1338
+ '{{WRAPPER}} .premium-blog-cats-container li a.category' => 'background-color: {{VALUE}};',
1339
+ ],
1340
+ ]
1341
+ );
1342
+
1343
+ $this->add_control('premium_blog_background_active_color',
1344
+ [
1345
+ 'label' => __('Background Active Color', 'premium-addons-for-elementor'),
1346
+ 'type' => Controls_Manager::COLOR,
1347
+ 'scheme' => [
1348
+ 'type' => Scheme_Color::get_type(),
1349
+ 'value' => Scheme_Color::COLOR_2,
1350
+ ],
1351
+ 'selectors' => [
1352
+ '{{WRAPPER}} .premium-blog-cats-container li a.active' => 'background-color: {{VALUE}};',
1353
+ ],
1354
+ ]
1355
+ );
1356
+
1357
+ $this->add_group_control(
1358
+ Group_Control_Border::get_type(),
1359
+ [
1360
+ 'name' => 'premium_blog_filter_border',
1361
+ 'selector' => '{{WRAPPER}} .premium-blog-cats-container li a.category',
1362
+ ]
1363
+ );
1364
+
1365
+ $this->add_control('premium_blog_filter_border_radius',
1366
+ [
1367
+ 'label' => __('Border Radius', 'premium-addons-for-elementor'),
1368
+ 'type' => Controls_Manager::SLIDER,
1369
+ 'size_units' => ['px','em','%'],
1370
+ 'selectors' => [
1371
+ '{{WRAPPER}} .premium-blog-cats-container li a.category' => 'border-radius: {{SIZE}}{{UNIT}};',
1372
+ ]
1373
+ ]
1374
+ );
1375
+
1376
+ $this->add_group_control(
1377
+ Group_Control_Box_Shadow::get_type(),
1378
+ [
1379
+ 'name' => 'premium_blog_filter_shadow',
1380
+ 'selector' => '{{WRAPPER}} .premium-blog-cats-container li a.category',
1381
+ ]
1382
+ );
1383
+
1384
+ $this->add_responsive_control('premium_blog_filter_margin',
1385
+ [
1386
+ 'label' => __('Margin', 'premium-addons-for-elementor'),
1387
+ 'type' => Controls_Manager::DIMENSIONS,
1388
+ 'size_units' => ['px', 'em', '%'],
1389
+ 'selectors' => [
1390
+ '{{WRAPPER}} .premium-blog-cats-container li a.category' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1391
+ ],
1392
+ ]
1393
+ );
1394
+
1395
+ $this->add_responsive_control('premium_blog_filter_padding',
1396
+ [
1397
+ 'label' => __('Padding', 'premium-addons-for-elementor'),
1398
+ 'type' => Controls_Manager::DIMENSIONS,
1399
+ 'size_units' => ['px', 'em', '%'],
1400
+ 'selectors' => [
1401
+ '{{WRAPPER}} .premium-blog-cats-container li a.category' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1402
+ ],
1403
+ ]
1404
+ );
1405
+
1406
+ $this->end_controls_section();
1407
 
1408
  }
1409
 
1542
 
1543
  $skin = $settings['premium_blog_skin'];
1544
 
1545
+ $post_id = get_the_ID();
1546
+
1547
+ $key = 'post_' . $post_id;
1548
+
1549
+ $this->add_render_attribute( $key, 'class', [
1550
  'premium-blog-post-container',
1551
  $skin,
1552
  ] );
1553
 
1554
  $thumb = ( ! has_post_thumbnail() ) ? 'empty-thumb' : '';
1555
 
1556
+ if ( 'yes' === $settings['premium_blog_cat_tabs'] && 'yes' !== $settings['premium_blog_carousel'] ) {
1557
+
1558
+ $categories = get_the_category( $post_id );
1559
+
1560
+ foreach( $categories as $index => $category ) {
1561
+
1562
+ $category = str_replace( ' ', '-', $category->cat_name );
1563
+ $this->add_render_attribute( $key, 'class', strtolower( $category ) );
1564
+ }
1565
+
1566
+ }
1567
+
1568
  $this->add_render_attribute( 'content', 'class', [
1569
  'premium-blog-content-wrapper',
1570
  $thumb,
1572
 
1573
  ?>
1574
 
1575
+ <div <?php echo $this->get_render_attribute_string( $key ); ?>>
1576
  <div class="premium-blog-thumb-effect-wrapper">
1577
  <div class="premium-blog-thumbnail-container <?php echo 'premium-blog-' . $image_effect . '-effect';?>">
1578
  <a href="<?php the_permalink(); ?>" target="<?php echo esc_attr( $target ); ?>"><?php the_post_thumbnail('full'); ?></a>
1688
 
1689
 
1690
  ?>
1691
+ <div class="premium-blog">
1692
+ <?php if ( 'yes' === $settings['premium_blog_cat_tabs'] && 'yes' !== $settings['premium_blog_carousel'] ) { ?>
1693
+ <div class="premium-blog-filter">
1694
+ <ul class="premium-blog-cats-container">
1695
+ <li>
1696
+ <a href="javascript:;" class="category active" data-filter="*">
1697
+ <span><?php echo __('All', 'premium-addons-for-elementor'); ?></span>
1698
+ </a>
1699
+ </li>
1700
+ <?php foreach( $settings['premium_blog_categories'] as $index => $id ) {
1701
+ $cat_list_key = 'blog_category_' . $index;
1702
 
1703
+ $name = get_cat_name( $id );
1704
+
1705
+ $name_filter = str_replace(' ', '-', $name );
1706
+ $name_lower = strtolower( $name_filter );
1707
+
1708
+ $this->add_render_attribute( $cat_list_key,
1709
+ 'class', [
1710
+ 'category'
1711
+ ]
1712
+ );
1713
+ ?>
1714
+ <li>
1715
+ <a href="javascript:;" <?php echo $this->get_render_attribute_string($cat_list_key); ?> data-filter=".<?php echo esc_attr( $name_lower ); ?>"
1716
+ ><span><?php echo $name; ?></span>
1717
+ </a>
1718
+ </li>
1719
+ <?php } ?>
1720
+ </ul>
1721
+ </div>
1722
+ <?php } ?>
1723
+ <div <?php echo $this->get_render_attribute_string('blog'); ?>>
1724
+
1725
+ <?php
1726
+
1727
+ if( count( $posts ) ) {
1728
+ global $post;
1729
+ foreach( $posts as $post ) {
1730
+ setup_postdata( $post );
1731
+ $this->get_post_layout();
1732
+ }
1733
+ ?>
1734
+ </div>
1735
  </div>
1736
  <?php if ( $settings['premium_blog_paging'] === 'yes' ) : ?>
1737
  <div class="premium-blog-pagination-container">
widgets/premium-grid.php CHANGED
@@ -537,6 +537,25 @@ class Premium_Grid extends Widget_Base {
537
  ]
538
  );
539
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
540
  $this->add_control('premium_gallery_overlay_gallery',
541
  [
542
  'label' => __( 'Overlay Gallery Images', 'premium-addons-for-elementor' ),
@@ -1509,6 +1528,7 @@ class Premium_Grid extends Widget_Base {
1509
  'filter' => $settings['premium_gallery_filter'],
1510
  'light_box' => $settings['premium_gallery_light_box'],
1511
  'overlay_gallery'=> 'yes' === $settings['premium_gallery_overlay_gallery'] ? true : false,
 
1512
  'active_cat' => $category_formatted,
1513
  'load_more' => $load_more,
1514
  'minimum' => $minimum,
537
  ]
538
  );
539
 
540
+ $this->add_control('premium_gallery_lightbox_theme',
541
+ [
542
+ 'label' => __('Lightbox Theme', 'premium-addons-pro'),
543
+ 'type' => Controls_Manager::SELECT,
544
+ 'options' => [
545
+ 'pp_default' => __('Default', 'premium-addons-pro'),
546
+ 'light_rounded' => __('Light Rounded', 'premium-addons-pro'),
547
+ 'dark_rounded' => __('Dark Rounded', 'premium-addons-pro'),
548
+ 'light_square' => __('Light Square', 'premium-addons-pro'),
549
+ 'dark_square' => __('Dark Square', 'premium-addons-pro'),
550
+ 'facebook' => __('Facebook', 'premium-addons-pro'),
551
+ ],
552
+ 'default' => 'pp_default',
553
+ 'condition' => [
554
+ 'premium_gallery_light_box' => 'yes'
555
+ ]
556
+ ]
557
+ );
558
+
559
  $this->add_control('premium_gallery_overlay_gallery',
560
  [
561
  'label' => __( 'Overlay Gallery Images', 'premium-addons-for-elementor' ),
1528
  'filter' => $settings['premium_gallery_filter'],
1529
  'light_box' => $settings['premium_gallery_light_box'],
1530
  'overlay_gallery'=> 'yes' === $settings['premium_gallery_overlay_gallery'] ? true : false,
1531
+ 'theme' => $settings['premium_gallery_lightbox_theme'],
1532
  'active_cat' => $category_formatted,
1533
  'load_more' => $load_more,
1534
  'minimum' => $minimum,