Version Description
Download this release
Release Info
Developer | averta |
Plugin | Premium Portfolio Features for Phlox theme |
Version | 1.7.1 |
Comparing to | |
See all releases |
Code changes from version 1.7.0 to 1.7.1
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: 4.9.8
|
10 |
-
Stable tag: 1.7.
|
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: 4.9.8
|
10 |
+
Stable tag: 1.7.1
|
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.7.
|
16 |
* Author: averta
|
17 |
* Author URI: http://averta.net
|
18 |
* License: GPL2
|
@@ -51,7 +51,7 @@ if( is_admin() || false === get_transient( 'auxpfo_plugin_requirements_check' )
|
|
51 |
'name' => __('Phlox Core Elements', 'auxin-portfolio'), // The plugin name.
|
52 |
'basename' => 'auxin-elements/auxin-elements.php', // The plugin basename (typically the folder name and main php file)
|
53 |
'required' => true, // If true, the user will be notified with a notice to install the plugin.
|
54 |
-
'version' => '2.2.
|
55 |
'dependency' => true, // If true, and the plugin is activated, the plugin will be loaded before as a dependeny.
|
56 |
'is_callable' => 'AUXELS' // If set, this callable will be be checked for availability to determine if a plugin is active.
|
57 |
)
|
@@ -70,7 +70,7 @@ if( is_admin() || false === get_transient( 'auxpfo_plugin_requirements_check' )
|
|
70 |
'name' => __('Phlox', 'auxin-portfolio'), // The theme name.
|
71 |
'id' => 'phlox', // The theme id name.
|
72 |
'update_link' => 'themes.php?theme=phlox',
|
73 |
-
'version' => '2.2.
|
74 |
'is_callable' => '', // If set, this callable will be be checked for availability to determine if a theme is active.
|
75 |
'theme_requires_const' => 'AUXPFO_REQUIRED_VERSION',
|
76 |
'file_required' => array( get_template_directory() . '/auxin-content/init/dependency.php', get_template_directory() . '/auxin-content/init/constant.php' )
|
12 |
* Plugin Name: Phlox Portfolio
|
13 |
* Plugin URI: http://phlox.pro/
|
14 |
* Description: Showcase your projects beautifully in Phlox theme
|
15 |
+
* Version: 1.7.1
|
16 |
* Author: averta
|
17 |
* Author URI: http://averta.net
|
18 |
* License: GPL2
|
51 |
'name' => __('Phlox Core Elements', 'auxin-portfolio'), // The plugin name.
|
52 |
'basename' => 'auxin-elements/auxin-elements.php', // The plugin basename (typically the folder name and main php file)
|
53 |
'required' => true, // If true, the user will be notified with a notice to install the plugin.
|
54 |
+
'version' => '2.2.16', // E.g. 1.0.0. If set, the active plugin must be this version or higher.
|
55 |
'dependency' => true, // If true, and the plugin is activated, the plugin will be loaded before as a dependeny.
|
56 |
'is_callable' => 'AUXELS' // If set, this callable will be be checked for availability to determine if a plugin is active.
|
57 |
)
|
70 |
'name' => __('Phlox', 'auxin-portfolio'), // The theme name.
|
71 |
'id' => 'phlox', // The theme id name.
|
72 |
'update_link' => 'themes.php?theme=phlox',
|
73 |
+
'version' => '2.2.16', // E.g. 1.0.0. If set, the active theme must be this version or higher.
|
74 |
'is_callable' => '', // If set, this callable will be be checked for availability to determine if a theme is active.
|
75 |
'theme_requires_const' => 'AUXPFO_REQUIRED_VERSION',
|
76 |
'file_required' => array( get_template_directory() . '/auxin-content/init/dependency.php', get_template_directory() . '/auxin-content/init/constant.php' )
|
includes/define.php
CHANGED
@@ -15,7 +15,7 @@ if( ! defined( 'THEME_NAME' ) ){
|
|
15 |
|
16 |
|
17 |
|
18 |
-
define( 'AUXPFO_VERSION' , '1.7.
|
19 |
|
20 |
define( 'AUXPFO_SLUG' , 'auxin-portfolio' );
|
21 |
|
15 |
|
16 |
|
17 |
|
18 |
+
define( 'AUXPFO_VERSION' , '1.7.1' );
|
19 |
|
20 |
define( 'AUXPFO_SLUG' , 'auxin-portfolio' );
|
21 |
|
includes/elements/recent-portfolios-grid-carousel.php
CHANGED
@@ -76,21 +76,18 @@ function auxin_widget_recent_portfolios_grid_carousel_callback( $atts, $shortcod
|
|
76 |
|
77 |
ob_start();
|
78 |
|
79 |
-
if(
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
);
|
90 |
-
}
|
91 |
}
|
92 |
|
93 |
-
|
94 |
global $wp_query;
|
95 |
|
96 |
if( ! $use_wp_query ) {
|
76 |
|
77 |
ob_start();
|
78 |
|
79 |
+
if( empty( $cat ) || $cat == " " || ( is_array( $cat ) && in_array( " ", $cat ) ) ) {
|
80 |
+
$tax_args = array();
|
81 |
+
} else {
|
82 |
+
$tax_args = array(
|
83 |
+
array(
|
84 |
+
'taxonomy' => 'portfolio-cat',
|
85 |
+
'field' => 'term_id',
|
86 |
+
'terms' => ! is_array( $cat ) ? explode( ",", $cat ) : $cat
|
87 |
+
)
|
88 |
+
);
|
|
|
|
|
89 |
}
|
90 |
|
|
|
91 |
global $wp_query;
|
92 |
|
93 |
if( ! $use_wp_query ) {
|
includes/elements/recent-portfolios-tile-carousel.php
CHANGED
@@ -463,18 +463,16 @@ function auxin_widget_recent_portfolios_tiles_carousel_callback( $atts, $shortco
|
|
463 |
|
464 |
ob_start();
|
465 |
|
466 |
-
if(
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
);
|
477 |
-
}
|
478 |
}
|
479 |
|
480 |
global $wp_query;
|
463 |
|
464 |
ob_start();
|
465 |
|
466 |
+
if( empty( $cat ) || $cat == " " || ( is_array( $cat ) && in_array( " ", $cat ) ) ) {
|
467 |
+
$tax_args = array();
|
468 |
+
} else {
|
469 |
+
$tax_args = array(
|
470 |
+
array(
|
471 |
+
'taxonomy' => 'portfolio-cat',
|
472 |
+
'field' => 'term_id',
|
473 |
+
'terms' => ! is_array( $cat ) ? explode( ",", $cat ) : $cat
|
474 |
+
)
|
475 |
+
);
|
|
|
|
|
476 |
}
|
477 |
|
478 |
global $wp_query;
|
includes/elements/recent-portfolios.php
CHANGED
@@ -908,21 +908,18 @@ function auxin_widget_recent_portfolios_grid_callback( $atts, $shortcode_content
|
|
908 |
|
909 |
ob_start();
|
910 |
|
911 |
-
if(
|
912 |
-
|
913 |
-
|
914 |
-
|
915 |
-
|
916 |
-
|
917 |
-
|
918 |
-
|
919 |
-
|
920 |
-
|
921 |
-
);
|
922 |
-
}
|
923 |
}
|
924 |
|
925 |
-
|
926 |
global $wp_query;
|
927 |
|
928 |
if( ! $use_wp_query ) {
|
@@ -1093,7 +1090,7 @@ function auxin_widget_recent_portfolios_grid_callback( $atts, $shortcode_content
|
|
1093 |
$cat = array( $cat );
|
1094 |
}
|
1095 |
|
1096 |
-
if ( ( empty( $cat ) || $cat == " " ) || in_array( $term->term_id, $cat ) ) {
|
1097 |
$list_output .= '<li data-filter="'.$term->slug.'"><a href="#"><span data-select="'.$term->name.'">'.$term->name.'</span></a></li>';
|
1098 |
}
|
1099 |
} else {
|
908 |
|
909 |
ob_start();
|
910 |
|
911 |
+
if( empty( $cat ) || $cat == " " || ( is_array( $cat ) && in_array( " ", $cat ) ) ) {
|
912 |
+
$tax_args = array();
|
913 |
+
} else {
|
914 |
+
$tax_args = array(
|
915 |
+
array(
|
916 |
+
'taxonomy' => 'portfolio-cat',
|
917 |
+
'field' => 'term_id',
|
918 |
+
'terms' => ! is_array( $cat ) ? explode( ",", $cat ) : $cat
|
919 |
+
)
|
920 |
+
);
|
|
|
|
|
921 |
}
|
922 |
|
|
|
923 |
global $wp_query;
|
924 |
|
925 |
if( ! $use_wp_query ) {
|
1090 |
$cat = array( $cat );
|
1091 |
}
|
1092 |
|
1093 |
+
if ( ( empty( $cat ) || $cat == " " || ( is_array( $cat ) && in_array( " ", $cat ) ) ) || in_array( $term->term_id, $cat ) ) {
|
1094 |
$list_output .= '<li data-filter="'.$term->slug.'"><a href="#"><span data-select="'.$term->name.'">'.$term->name.'</span></a></li>';
|
1095 |
}
|
1096 |
} else {
|