Version Description
Download this release
Release Info
Developer | averta |
Plugin | Premium Portfolio Features for Phlox theme |
Version | 1.4.14 |
Comparing to | |
See all releases |
Code changes from version 1.4.13 to 1.4.14
README.txt
CHANGED
@@ -7,7 +7,7 @@ Tags: page-builder, elementor, siteorigin, auxin, phlox, averta, fullwidth, maso
|
|
7 |
Requires PHP: 5.3
|
8 |
Requires at least: 4.6
|
9 |
Tested up to: 4.9.6
|
10 |
-
Stable tag: 1.4.
|
11 |
License: GPLv3
|
12 |
License URI: http://www.gnu.org/licenses/gpl.html
|
13 |
|
@@ -118,9 +118,11 @@ Bugs can be reported in our [support forums](http://wordpress.org/tags/auxin-por
|
|
118 |
== Screenshots ==
|
119 |
|
120 |
|
121 |
-
|
122 |
== Changelog ==
|
123 |
|
|
|
|
|
|
|
124 |
= Version 1.4.13 / (16.04.2018) =
|
125 |
- [Improvement]: Bug fix and prformance Improvement.
|
126 |
|
7 |
Requires PHP: 5.3
|
8 |
Requires at least: 4.6
|
9 |
Tested up to: 4.9.6
|
10 |
+
Stable tag: 1.4.14
|
11 |
License: GPLv3
|
12 |
License URI: http://www.gnu.org/licenses/gpl.html
|
13 |
|
118 |
== Screenshots ==
|
119 |
|
120 |
|
|
|
121 |
== Changelog ==
|
122 |
|
123 |
+
= Version 1.4.14 / (24.04.2018) =
|
124 |
+
- [Improvement]: Improvement in load more functionality.
|
125 |
+
|
126 |
= Version 1.4.13 / (16.04.2018) =
|
127 |
- [Improvement]: Bug fix and prformance Improvement.
|
128 |
|
auxin-portfolio.php
CHANGED
@@ -12,14 +12,14 @@
|
|
12 |
* Plugin Name: Phlox Portfolio
|
13 |
* Plugin URI: http://averta.net/phlox/
|
14 |
* Description: Showcase your projects beautifully in Phlox theme
|
15 |
-
* Version: 1.4.
|
16 |
* Author: averta
|
17 |
* Author URI: http://averta.net
|
18 |
* License: GPL2
|
19 |
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
20 |
* Text Domain: auxin-portfolio
|
21 |
* Domain Path: /languages
|
22 |
-
* Tested up to:
|
23 |
*/
|
24 |
|
25 |
// If this file is called directly, abort.
|
12 |
* Plugin Name: Phlox Portfolio
|
13 |
* Plugin URI: http://averta.net/phlox/
|
14 |
* Description: Showcase your projects beautifully in Phlox theme
|
15 |
+
* Version: 1.4.14
|
16 |
* Author: averta
|
17 |
* Author URI: http://averta.net
|
18 |
* License: GPL2
|
19 |
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
20 |
* Text Domain: auxin-portfolio
|
21 |
* Domain Path: /languages
|
22 |
+
* Tested up to: 5.0.0
|
23 |
*/
|
24 |
|
25 |
// If this file is called directly, abort.
|
includes/define.php
CHANGED
@@ -15,7 +15,7 @@ if( ! defined( 'THEME_NAME' ) ){
|
|
15 |
|
16 |
|
17 |
|
18 |
-
define( 'AUXPFO_VERSION' , '1.4.
|
19 |
|
20 |
define( 'AUXPFO_SLUG' , 'auxin-portfolio' );
|
21 |
|
15 |
|
16 |
|
17 |
|
18 |
+
define( 'AUXPFO_VERSION' , '1.4.14' );
|
19 |
|
20 |
define( 'AUXPFO_SLUG' , 'auxin-portfolio' );
|
21 |
|
includes/elements/recent-portfolios-tile-carousel.php
CHANGED
@@ -417,8 +417,6 @@ add_filter( 'auxin_master_array_shortcodes', 'auxin_get_recent_portfolios_tiles_
|
|
417 |
*/
|
418 |
function auxin_widget_recent_portfolios_tiles_carousel_callback( $atts, $shortcode_content = null ){
|
419 |
|
420 |
-
global $aux_content_width;
|
421 |
-
|
422 |
// Defining default attributes
|
423 |
$default_atts = array(
|
424 |
'title' => '', // header title
|
@@ -570,7 +568,7 @@ function auxin_widget_recent_portfolios_tiles_carousel_callback( $atts, $shortco
|
|
570 |
$carousel_attrs .= ' data-bullet-class="aux-bullets aux-small aux-mask"';
|
571 |
$carousel_attrs .= ' data-arrows="' . ('arrows' == $carousel_navigation_control ? 'true' : 'false') . '"';
|
572 |
$carousel_attrs .= ' data-same-height="false"';
|
573 |
-
$column_media_width = auxin_get_content_column_width( 4, 0 );
|
574 |
|
575 |
$have_posts = $wp_query->have_posts();
|
576 |
|
@@ -657,7 +655,10 @@ function auxin_widget_recent_portfolios_tiles_carousel_callback( $atts, $shortco
|
|
657 |
|
658 |
if( ! $skip_wrappers ) {
|
659 |
// End tag for aux-ajax-view wrapper & Execute load more functionality
|
660 |
-
echo '</div>'
|
|
|
|
|
|
|
661 |
|
662 |
} else {
|
663 |
// Get post counter in the query
|
417 |
*/
|
418 |
function auxin_widget_recent_portfolios_tiles_carousel_callback( $atts, $shortcode_content = null ){
|
419 |
|
|
|
|
|
420 |
// Defining default attributes
|
421 |
$default_atts = array(
|
422 |
'title' => '', // header title
|
568 |
$carousel_attrs .= ' data-bullet-class="aux-bullets aux-small aux-mask"';
|
569 |
$carousel_attrs .= ' data-arrows="' . ('arrows' == $carousel_navigation_control ? 'true' : 'false') . '"';
|
570 |
$carousel_attrs .= ' data-same-height="false"';
|
571 |
+
$column_media_width = auxin_get_content_column_width( 4, 0, $content_width );
|
572 |
|
573 |
$have_posts = $wp_query->have_posts();
|
574 |
|
655 |
|
656 |
if( ! $skip_wrappers ) {
|
657 |
// End tag for aux-ajax-view wrapper & Execute load more functionality
|
658 |
+
echo '</div>';
|
659 |
+
if( $wp_query->found_posts > $loadmore_per_page ) {
|
660 |
+
echo auxin_get_load_more_controller( $loadmore_type );
|
661 |
+
}
|
662 |
|
663 |
} else {
|
664 |
// Get post counter in the query
|
includes/elements/recent-portfolios.php
CHANGED
@@ -781,8 +781,6 @@ add_filter( 'auxin_master_array_shortcodes', 'auxin_get_recent_portfolios_master
|
|
781 |
*/
|
782 |
function auxin_widget_recent_portfolios_grid_callback( $atts, $shortcode_content = null ){
|
783 |
|
784 |
-
global $aux_content_width;
|
785 |
-
|
786 |
// Defining default attributes
|
787 |
$default_atts = array(
|
788 |
'title' => '', // header title
|
@@ -963,7 +961,7 @@ function auxin_widget_recent_portfolios_grid_callback( $atts, $shortcode_content
|
|
963 |
// generate columns class
|
964 |
if ( $is_tiles ) {
|
965 |
$items_classes = 'aux-tiles-layout aux-ajax-view aux-isotope-animated aux-portfolio-columns';
|
966 |
-
$column_media_width = auxin_get_content_column_width( 4, $space );
|
967 |
} else {
|
968 |
$tablet_cnum = ('inherit' == $tablet_cnum ) ? $desktop_cnum : $tablet_cnum ;
|
969 |
// $tablet_cnum = 'inherit' != $tablet_cnum ? $tablet_cnum : $desktop_cnum;
|
@@ -974,7 +972,7 @@ function auxin_widget_recent_portfolios_grid_callback( $atts, $shortcode_content
|
|
974 |
$items_classes .= ' aux-tb-col' . $tablet_cnum;
|
975 |
$items_classes .= ' aux-mb-col' . $phone_cnum;
|
976 |
$items_classes .= 'grid' === $layout ? ' aux-match-height' : '';
|
977 |
-
$column_media_width = auxin_get_content_column_width( $desktop_cnum, 15 );
|
978 |
$column_media_height = 'masonry' == $layout ? 0 : $column_media_width * $image_aspect_ratio;
|
979 |
}
|
980 |
|
@@ -1153,7 +1151,9 @@ function auxin_widget_recent_portfolios_grid_callback( $atts, $shortcode_content
|
|
1153 |
// End tag for aux-ajax-view wrapper
|
1154 |
echo '</div>';
|
1155 |
// Execute load more functionality
|
1156 |
-
|
|
|
|
|
1157 |
|
1158 |
} else {
|
1159 |
// Get post counter in the query
|
781 |
*/
|
782 |
function auxin_widget_recent_portfolios_grid_callback( $atts, $shortcode_content = null ){
|
783 |
|
|
|
|
|
784 |
// Defining default attributes
|
785 |
$default_atts = array(
|
786 |
'title' => '', // header title
|
961 |
// generate columns class
|
962 |
if ( $is_tiles ) {
|
963 |
$items_classes = 'aux-tiles-layout aux-ajax-view aux-isotope-animated aux-portfolio-columns';
|
964 |
+
$column_media_width = auxin_get_content_column_width( 4, $space, $content_width );
|
965 |
} else {
|
966 |
$tablet_cnum = ('inherit' == $tablet_cnum ) ? $desktop_cnum : $tablet_cnum ;
|
967 |
// $tablet_cnum = 'inherit' != $tablet_cnum ? $tablet_cnum : $desktop_cnum;
|
972 |
$items_classes .= ' aux-tb-col' . $tablet_cnum;
|
973 |
$items_classes .= ' aux-mb-col' . $phone_cnum;
|
974 |
$items_classes .= 'grid' === $layout ? ' aux-match-height' : '';
|
975 |
+
$column_media_width = auxin_get_content_column_width( $desktop_cnum, 15, $content_width );
|
976 |
$column_media_height = 'masonry' == $layout ? 0 : $column_media_width * $image_aspect_ratio;
|
977 |
}
|
978 |
|
1151 |
// End tag for aux-ajax-view wrapper
|
1152 |
echo '</div>';
|
1153 |
// Execute load more functionality
|
1154 |
+
if( $wp_query->found_posts > $loadmore_per_page ) {
|
1155 |
+
echo auxin_get_load_more_controller( $loadmore_type, $loadmore_label );
|
1156 |
+
}
|
1157 |
|
1158 |
} else {
|
1159 |
// Get post counter in the query
|
includes/general-hooks.php
CHANGED
@@ -69,11 +69,11 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
|
|
69 |
),
|
70 |
'top' => array(
|
71 |
'label' => __('Info on Top', 'auxin-portfolio'),
|
72 |
-
'image' => AUXIN_URL . 'images/visual-select/portfolio-single-info-on-top.svg'
|
73 |
),
|
74 |
'top-reverse' => array(
|
75 |
'label' => __('Info on Top - Direction reverse', 'auxin-portfolio'),
|
76 |
-
'image' => AUXIN_URL . 'images/visual-select/portfolio-single-info-on-top
|
77 |
),
|
78 |
'top-down' => array(
|
79 |
'label' => __('Info on Top - Metadata Below', 'auxin-portfolio'),
|
69 |
),
|
70 |
'top' => array(
|
71 |
'label' => __('Info on Top', 'auxin-portfolio'),
|
72 |
+
'image' => AUXIN_URL . 'images/visual-select/portfolio-single-info-on-top-direction-reverse.svg'
|
73 |
),
|
74 |
'top-reverse' => array(
|
75 |
'label' => __('Info on Top - Direction reverse', 'auxin-portfolio'),
|
76 |
+
'image' => AUXIN_URL . 'images/visual-select/portfolio-single-info-on-top.svg'
|
77 |
),
|
78 |
'top-down' => array(
|
79 |
'label' => __('Info on Top - Metadata Below', 'auxin-portfolio'),
|