Premium Portfolio Features for Phlox theme - Version 2.1.6

Version Description

Download this release

Release Info

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

Code changes from version 2.1.5 to 2.1.6

README.txt CHANGED
@@ -7,7 +7,7 @@ Tags: phlox, gallery, elementor, siteorigin, portfolio, averta, auxin, fullwidth
7
  Requires PHP: 5.6
8
  Requires at least: 4.6
9
  Tested up to: 5.7.0
10
- Stable tag: 2.1.5
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl.html
13
 
7
  Requires PHP: 5.6
8
  Requires at least: 4.6
9
  Tested up to: 5.7.0
10
+ Stable tag: 2.1.6
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: 2.1.5
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: 2.1.6
16
  * Author: averta
17
  * Author URI: http://averta.net
18
  * License: GPL2
includes/classes/class-auxin-plugin-requirements.php CHANGED
@@ -178,14 +178,14 @@ if( ! class_exists( 'Auxin_Plugin_Requirements' ) ){
178
  $active_plugins = get_option( 'active_plugins' );
179
 
180
  // Change the plugins load order
181
- foreach ( $resolved_plugins_load_order as $plugin_basename ) {
182
- if( ( $key = array_search( $plugin_basename, $active_plugins ) ) !== false ) {
183
- unset( $active_plugins[ $key ] );
 
184
  }
185
- $active_plugins[] = $plugin_basename;
186
  }
187
 
188
- update_option( 'active_plugins', $active_plugins );
189
  }
190
 
191
  }
178
  $active_plugins = get_option( 'active_plugins' );
179
 
180
  // Change the plugins load order
181
+ $active_plugins_reordered = $resolved_plugins_load_order;
182
+ foreach( $active_plugins as $plugin_basename ) {
183
+ if ( !in_array( $plugin_basename, $active_plugins_reordered ) ) {
184
+ $active_plugins_reordered[] = $plugin_basename;
185
  }
 
186
  }
187
 
188
+ update_option( 'active_plugins', $active_plugins_reordered );
189
  }
190
 
191
  }
includes/define.php CHANGED
@@ -15,7 +15,7 @@ if( ! defined( 'THEME_NAME' ) ){
15
 
16
 
17
 
18
- define( 'AUXPFO_VERSION' , '2.1.4' );
19
 
20
  define( 'AUXPFO_SLUG' , 'auxin-portfolio' );
21
 
15
 
16
 
17
 
18
+ define( 'AUXPFO_VERSION' , '2.1.6' );
19
 
20
  define( 'AUXPFO_SLUG' , 'auxin-portfolio' );
21
 
includes/elements/elementor/recent-portfolios-grid-carousel.php CHANGED
@@ -7,7 +7,7 @@ use Elementor\Controls_Manager;
7
  use Elementor\Core\Files\CSS\Post;
8
  use Elementor\Group_Control_Image_Size;
9
  use Elementor\Group_Control_Typography;
10
- use Elementor\Scheme_Color;
11
  use Elementor\Core\Schemes\Typography;
12
  use Elementor\Utils;
13
  use Elementor\Control_Media;
7
  use Elementor\Core\Files\CSS\Post;
8
  use Elementor\Group_Control_Image_Size;
9
  use Elementor\Group_Control_Typography;
10
+ use Elementor\Core\Schemes\Color;
11
  use Elementor\Core\Schemes\Typography;
12
  use Elementor\Utils;
13
  use Elementor\Control_Media;
includes/elements/elementor/recent-portfolios-grid.php CHANGED
@@ -7,7 +7,7 @@ use Elementor\Controls_Manager;
7
  use Elementor\Core\Files\CSS\Post;
8
  use Elementor\Group_Control_Image_Size;
9
  use Elementor\Group_Control_Typography;
10
- use Elementor\Scheme_Color;
11
  use Elementor\Core\Schemes\Typography;
12
  use Elementor\Utils;
13
  use Elementor\Control_Media;
7
  use Elementor\Core\Files\CSS\Post;
8
  use Elementor\Group_Control_Image_Size;
9
  use Elementor\Group_Control_Typography;
10
+ use Elementor\Core\Schemes\Color;
11
  use Elementor\Core\Schemes\Typography;
12
  use Elementor\Utils;
13
  use Elementor\Control_Media;
includes/elements/elementor/recent-portfolios-masonry.php CHANGED
@@ -7,7 +7,7 @@ use Elementor\Controls_Manager;
7
  use Elementor\Core\Files\CSS\Post;
8
  use Elementor\Group_Control_Image_Size;
9
  use Elementor\Group_Control_Typography;
10
- use Elementor\Scheme_Color;
11
  use Elementor\Core\Schemes\Typography;
12
  use Elementor\Utils;
13
  use Elementor\Control_Media;
7
  use Elementor\Core\Files\CSS\Post;
8
  use Elementor\Group_Control_Image_Size;
9
  use Elementor\Group_Control_Typography;
10
+ use Elementor\Core\Schemes\Color;
11
  use Elementor\Core\Schemes\Typography;
12
  use Elementor\Utils;
13
  use Elementor\Control_Media;
includes/elements/elementor/recent-portfolios-tile-carousel.php CHANGED
@@ -7,7 +7,7 @@ use Elementor\Controls_Manager;
7
  use Elementor\Core\Files\CSS\Post;
8
  use Elementor\Group_Control_Image_Size;
9
  use Elementor\Group_Control_Typography;
10
- use Elementor\Scheme_Color;
11
  use Elementor\Core\Schemes\Typography;
12
  use Elementor\Utils;
13
  use Elementor\Control_Media;
7
  use Elementor\Core\Files\CSS\Post;
8
  use Elementor\Group_Control_Image_Size;
9
  use Elementor\Group_Control_Typography;
10
+ use Elementor\Core\Schemes\Color;
11
  use Elementor\Core\Schemes\Typography;
12
  use Elementor\Utils;
13
  use Elementor\Control_Media;
includes/elements/elementor/recent-portfolios-tile.php CHANGED
@@ -7,7 +7,7 @@ use Elementor\Controls_Manager;
7
  use Elementor\Core\Files\CSS\Post;
8
  use Elementor\Group_Control_Image_Size;
9
  use Elementor\Group_Control_Typography;
10
- use Elementor\Scheme_Color;
11
  use Elementor\Core\Schemes\Typography;
12
  use Elementor\Utils;
13
  use Elementor\Control_Media;
7
  use Elementor\Core\Files\CSS\Post;
8
  use Elementor\Group_Control_Image_Size;
9
  use Elementor\Group_Control_Typography;
10
+ use Elementor\Core\Schemes\Color;
11
  use Elementor\Core\Schemes\Typography;
12
  use Elementor\Utils;
13
  use Elementor\Control_Media;
includes/elements/recent-portfolios-tile-carousel.php CHANGED
@@ -668,6 +668,7 @@ function auxin_widget_recent_portfolios_tiles_carousel_callback( $atts, $shortco
668
  } else {
669
  // Get post counter in the query
670
  echo '<span class="aux-post-count hidden">'.$wp_query->post_count.'</span>';
 
671
  }
672
  }
673
 
668
  } else {
669
  // Get post counter in the query
670
  echo '<span class="aux-post-count hidden">'.$wp_query->post_count.'</span>';
671
+ echo '<span class="aux-all-posts-count hidden">'.$wp_query->found_posts.'</span>';
672
  }
673
  }
674
 
languages/auxin-portfolio-fa_IR.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Phlox Portfolio\n"
4
  "Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
5
- "POT-Creation-Date: 2021-04-24 08:37:28+00:00\n"
6
  "PO-Revision-Date: 2017-12-20 13:38+0330\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
2
  msgstr ""
3
  "Project-Id-Version: Phlox Portfolio\n"
4
  "Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
5
+ "POT-Creation-Date: 2021-05-16 11:29:28+00:00\n"
6
  "PO-Revision-Date: 2017-12-20 13:38+0330\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
languages/auxin-portfolio.pot CHANGED
@@ -1,9 +1,9 @@
1
  # Averta Copyright (c) {2021}
2
  msgid ""
3
  msgstr ""
4
- "Project-Id-Version: Phlox Portfolio 2.1.5\n"
5
  "Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
6
- "POT-Creation-Date: 2021-04-24 08:37:28+00:00\n"
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=utf-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
1
  # Averta Copyright (c) {2021}
2
  msgid ""
3
  msgstr ""
4
+ "Project-Id-Version: Phlox Portfolio 2.1.6\n"
5
  "Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
6
+ "POT-Creation-Date: 2021-05-16 11:29:28+00:00\n"
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=utf-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
public/assets/js/portfolio.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! 2.1.5
2
  * All required plugins
3
  * http://averta.net/phlox/
4
  */
1
+ /*! 2.1.6
2
  * All required plugins
3
  * http://averta.net/phlox/
4
  */
public/templates/elements/recent-portfolio.php CHANGED
@@ -388,6 +388,7 @@ function auxin_recent_portfolio( $args= array() ) {
388
  } else {
389
  // Get post counter in the query
390
  echo '<span class="aux-post-count hidden">'.$wp_query->post_count.'</span>';
 
391
  }
392
 
393
  if ( $is_boxed ) {
388
  } else {
389
  // Get post counter in the query
390
  echo '<span class="aux-post-count hidden">'.$wp_query->post_count.'</span>';
391
+ echo '<span class="aux-all-posts-count hidden">'.$wp_query->found_posts.'</span>';
392
  }
393
 
394
  if ( $is_boxed ) {