Premium Portfolio Features for Phlox theme - Version 1.7.0

Version Description

Download this release

Release Info

Developer averta
Plugin Icon 128x128 Premium Portfolio Features for Phlox theme
Version 1.7.0
Comparing to
See all releases

Code changes from version 1.6.9 to 1.7.0

README.txt CHANGED
@@ -6,8 +6,8 @@ License URI: http://www.gnu.org/licenses/gpl.html
6
  Tags: phlox, gallery, elementor, siteorigin, portfolio, averta, auxin, fullwidth, masonry, timeline, projects, showcase, minimal, wix, flat
7
  Requires PHP: 5.4
8
  Requires at least: 4.6
9
- Tested up to: 4.9.7
10
- Stable tag: 1.6.9
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl.html
13
 
@@ -136,7 +136,7 @@ Bugs can be reported in our [support forums](http://support.averta.net/en/item/p
136
 
137
  == Changelog ==
138
 
139
- = Version 1.6.9 / (31.07.2018) =
140
  - [Fix]: Minor bugs fixed.
141
 
142
  = Version 1.6.7 / (05.07.2018) =
6
  Tags: phlox, gallery, elementor, siteorigin, portfolio, averta, auxin, fullwidth, masonry, timeline, projects, showcase, minimal, wix, flat
7
  Requires PHP: 5.4
8
  Requires at least: 4.6
9
+ Tested up to: 4.9.8
10
+ Stable tag: 1.7.0
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl.html
13
 
136
 
137
  == Changelog ==
138
 
139
+ = Version 1.7.0 / (09.08.2018) =
140
  - [Fix]: Minor bugs fixed.
141
 
142
  = Version 1.6.7 / (05.07.2018) =
auxin-portfolio.php CHANGED
@@ -12,7 +12,7 @@
12
  * Plugin Name: Phlox Portfolio
13
  * Plugin URI: http://phlox.pro/
14
  * Description: Showcase your projects beautifully in Phlox theme
15
- * Version: 1.6.9
16
  * Author: averta
17
  * Author URI: http://averta.net
18
  * License: GPL2
12
  * Plugin Name: Phlox Portfolio
13
  * Plugin URI: http://phlox.pro/
14
  * Description: Showcase your projects beautifully in Phlox theme
15
+ * Version: 1.7.0
16
  * Author: averta
17
  * Author URI: http://averta.net
18
  * License: GPL2
includes/define.php CHANGED
@@ -15,7 +15,7 @@ if( ! defined( 'THEME_NAME' ) ){
15
 
16
 
17
 
18
- define( 'AUXPFO_VERSION' , '1.6.9' );
19
 
20
  define( 'AUXPFO_SLUG' , 'auxin-portfolio' );
21
 
15
 
16
 
17
 
18
+ define( 'AUXPFO_VERSION' , '1.7.0' );
19
 
20
  define( 'AUXPFO_SLUG' , 'auxin-portfolio' );
21
 
includes/elements/elementor/recent-portfolios-grid.php CHANGED
@@ -1072,11 +1072,13 @@ class Recent_Portfolios_Grid extends Widget_Base {
1072
  'show_title' => $settings['display_title'],
1073
  'show_info' => $settings['show_info'],
1074
  'image_aspect_ratio' => $settings['image_aspect_ratio'],
1075
- 'space' => auxin_get_control_size( $settings['space'] ),
1076
  'desktop_cnum' => $settings['columns'],
1077
  'tablet_cnum' => $settings['columns_tablet'],
1078
  'phone_cnum' => $settings['columns_mobile'],
 
1079
  'layout' => 'grid',
 
1080
 
1081
  'loadmore_type' => $settings['loadmore_type'],
1082
  'loadmore_label' => $settings['loadmore_label'],
1072
  'show_title' => $settings['display_title'],
1073
  'show_info' => $settings['show_info'],
1074
  'image_aspect_ratio' => $settings['image_aspect_ratio'],
1075
+ 'space' => auxin_get_control_size( $settings['space'] ),
1076
  'desktop_cnum' => $settings['columns'],
1077
  'tablet_cnum' => $settings['columns_tablet'],
1078
  'phone_cnum' => $settings['columns_mobile'],
1079
+
1080
  'layout' => 'grid',
1081
+ 'called_from' => 'elementor',
1082
 
1083
  'loadmore_type' => $settings['loadmore_type'],
1084
  'loadmore_label' => $settings['loadmore_label'],
includes/elements/elementor/recent-portfolios-masonry.php CHANGED
@@ -1058,7 +1058,9 @@ class Recent_Portfolios_Masonry extends Widget_Base {
1058
  'desktop_cnum' => $settings['columns'],
1059
  'tablet_cnum' => $settings['columns_tablet'],
1060
  'phone_cnum' => $settings['columns_mobile'],
 
1061
  'layout' => 'masonry',
 
1062
 
1063
  'loadmore_type' => $settings['loadmore_type'],
1064
  'loadmore_label' => $settings['loadmore_label'],
1058
  'desktop_cnum' => $settings['columns'],
1059
  'tablet_cnum' => $settings['columns_tablet'],
1060
  'phone_cnum' => $settings['columns_mobile'],
1061
+
1062
  'layout' => 'masonry',
1063
+ 'called_from' => 'elementor',
1064
 
1065
  'loadmore_type' => $settings['loadmore_type'],
1066
  'loadmore_label' => $settings['loadmore_label'],
includes/elements/recent-portfolios.php CHANGED
@@ -1048,7 +1048,11 @@ function auxin_widget_recent_portfolios_grid_callback( $atts, $shortcode_content
1048
  }
1049
 
1050
  // apply boxed style to items
1051
- $is_boxed = in_array( $item_style, array( 'classic', 'classic-lightbox', 'classic-lightbox-boxed' ) ) ;
 
 
 
 
1052
 
1053
  $isoxin_attrs = 'data-lazyload="true" data-space="'.esc_attr( $space ).'" data-pagination="'. ( $paginate ? 'true' : 'false' ) . '" data-deeplink="'. ( $deeplink ? 'true' : 'false' ) . '"';
1054
  $isoxin_attrs .= ' data-slug="'. esc_attr( $deeplink_slug ).'" data-perpage="'.esc_attr( $perpage ).'" data-layout="'.esc_attr( $isotope_layout ).'"';
1048
  }
1049
 
1050
  // apply boxed style to items
1051
+ if( ! empty( $called_from ) && 'elementor' == $called_from ){
1052
+ $is_boxed = false;
1053
+ } else {
1054
+ $is_boxed = in_array( $item_style, array( 'classic', 'classic-lightbox', 'classic-lightbox-boxed' ) ) && ( $entry_background_color || $entry_border_color );
1055
+ }
1056
 
1057
  $isoxin_attrs = 'data-lazyload="true" data-space="'.esc_attr( $space ).'" data-pagination="'. ( $paginate ? 'true' : 'false' ) . '" data-deeplink="'. ( $deeplink ? 'true' : 'false' ) . '"';
1058
  $isoxin_attrs .= ' data-slug="'. esc_attr( $deeplink_slug ).'" data-perpage="'.esc_attr( $perpage ).'" data-layout="'.esc_attr( $isotope_layout ).'"';