Premium Portfolio Features for Phlox theme - Version 1.9.2

Version Description

Download this release

Release Info

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

Code changes from version 1.9.0 to 1.9.2

README.txt CHANGED
@@ -7,7 +7,7 @@ Tags: phlox, gallery, elementor, siteorigin, portfolio, averta, auxin, fullwidth
7
  Requires PHP: 5.4
8
  Requires at least: 4.6
9
  Tested up to: 5.3.3
10
- Stable tag: 1.9.0
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl.html
13
 
7
  Requires PHP: 5.4
8
  Requires at least: 4.6
9
  Tested up to: 5.3.3
10
+ Stable tag: 1.9.2
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl.html
13
 
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.9.0
16
  * Author: averta
17
  * Author URI: http://averta.net
18
  * License: GPL2
@@ -101,6 +101,17 @@ if( is_admin() ||
101
  }
102
  }
103
 
 
 
 
 
 
 
 
 
 
 
 
104
  /**
105
  * Initialize the plugin
106
  * ===========================================================================*/
12
  * Plugin Name: Phlox Portfolio
13
  * Plugin URI: http://phlox.pro/
14
  * Description: Showcase your projects beautifully in Phlox theme
15
+ * Version: 1.9.2
16
  * Author: averta
17
  * Author URI: http://averta.net
18
  * License: GPL2
101
  }
102
  }
103
 
104
+ // Flush dependency check on absence of core element plugin
105
+ add_action( 'plugins_loaded', function(){
106
+ if( ! function_exists( 'AUXELS' ) ){
107
+ delete_transient( 'auxels_plugin_requirements_check' );
108
+ delete_transient( 'auxpfo_plugin_requirements_check' );
109
+ delete_transient( 'auxshp_plugin_requirements_check' );
110
+ delete_transient( 'auxnew_plugin_requirements_check' );
111
+ delete_transient( 'auxpro_plugin_requirements_check' );
112
+ }
113
+ });
114
+
115
  /**
116
  * Initialize the plugin
117
  * ===========================================================================*/
includes/define.php CHANGED
@@ -15,7 +15,7 @@ if( ! defined( 'THEME_NAME' ) ){
15
 
16
 
17
 
18
- define( 'AUXPFO_VERSION' , '1.9.0' );
19
 
20
  define( 'AUXPFO_SLUG' , 'auxin-portfolio' );
21
 
15
 
16
 
17
 
18
+ define( 'AUXPFO_VERSION' , '1.9.2' );
19
 
20
  define( 'AUXPFO_SLUG' , 'auxin-portfolio' );
21
 
includes/general-functions.php CHANGED
@@ -212,6 +212,9 @@ if ( ! function_exists('auxpfo_get_portfolio_config') ) {
212
  $args['has_attach'] = ! auxin_get_post_meta( $post, '_no_feature_image_in_single', 0 );
213
 
214
  if( $args['has_attach'] ){
 
 
 
215
  $args['the_media'] = get_the_post_thumbnail( $post->ID, 'large' );
216
  $args['has_attach'] = ! empty( $args['the_media'] );
217
  }
212
  $args['has_attach'] = ! auxin_get_post_meta( $post, '_no_feature_image_in_single', 0 );
213
 
214
  if( $args['has_attach'] ){
215
+ if ( function_exists( 'auxin_maybe_create_image_size' ) ) {
216
+ auxin_maybe_create_image_size(get_post_thumbnail_id( $post->ID ), 'large');
217
+ }
218
  $args['the_media'] = get_the_post_thumbnail( $post->ID, 'large' );
219
  $args['has_attach'] = ! empty( $args['the_media'] );
220
  }
includes/general-hooks.php CHANGED
@@ -1044,7 +1044,7 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
1044
  'operator'=> '=='
1045
  )
1046
  ),
1047
- 'default' => 'auxicon-arrow',
1048
  'transport' => 'postMessage',
1049
  'partial' => array(
1050
  'selector' => '.single-portfolio .aux-customizer-page-title-container',
@@ -3078,7 +3078,7 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
3078
  'selectors' => '.aux-single .type-portfolio .entry-meta-data dd, .aux-single .type-portfolio .entry-meta-data .entry-tax > a',
3079
  'transport' => 'postMessage',
3080
  );
3081
-
3082
  $options[] = array(
3083
  'title' => __( 'Launch Button', 'auxin-portfolio' ),
3084
  'id' => 'single_portfolio_lunch_btn_typography',
1044
  'operator'=> '=='
1045
  )
1046
  ),
1047
+ 'default' => 'chevron-right-1',
1048
  'transport' => 'postMessage',
1049
  'partial' => array(
1050
  'selector' => '.single-portfolio .aux-customizer-page-title-container',
3078
  'selectors' => '.aux-single .type-portfolio .entry-meta-data dd, .aux-single .type-portfolio .entry-meta-data .entry-tax > a',
3079
  'transport' => 'postMessage',
3080
  );
3081
+
3082
  $options[] = array(
3083
  'title' => __( 'Launch Button', 'auxin-portfolio' ),
3084
  'id' => 'single_portfolio_lunch_btn_typography',
public/assets/js/portfolio.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! Auxin portfolio - v1.9.0 (2020-03-09)
2
  * All required plugins
3
  * http://averta.net/phlox/
4
  */
1
+ /*! Auxin portfolio - v1.9.2 (2020-03-16)
2
  * All required plugins
3
  * http://averta.net/phlox/
4
  */