Version Description
Download this release
Release Info
Developer | averta |
Plugin | Premium Portfolio Features for Phlox theme |
Version | 1.4.9 |
Comparing to | |
See all releases |
Code changes from version 1.4.5 to 1.4.9
- README.txt +10 -7
- auxin-portfolio.php +5 -5
- includes/define.php +1 -1
- includes/elements/recent-portfolios-tile-carousel.php +2 -2
- includes/elements/recent-portfolios.php +8 -8
- includes/general-hooks.php +32 -16
- public/templates/theme-parts/entry/portfolio-column.php +1 -1
- public/templates/theme-parts/entry/portfolio-land.php +1 -1
- public/templates/theme-parts/entry/portfolio.php +1 -1
- public/templates/theme-parts/entry/single-portfolio.php +1 -1
README.txt
CHANGED
@@ -3,11 +3,11 @@ Contributors: averta
|
|
3 |
Donate link: http://averta.net/
|
4 |
License: GPLv3
|
5 |
License URI: http://www.gnu.org/licenses/gpl.html
|
6 |
-
Tags:
|
7 |
Requires PHP: 5.3
|
8 |
Requires at least: 4.6
|
9 |
-
Tested up to: 4.9.
|
10 |
-
Stable tag: 1.4.
|
11 |
License: GPLv3
|
12 |
License URI: http://www.gnu.org/licenses/gpl.html
|
13 |
|
@@ -121,11 +121,14 @@ Bugs can be reported in our [support forums](http://wordpress.org/tags/auxin-por
|
|
121 |
|
122 |
== Changelog ==
|
123 |
|
|
|
|
|
|
|
|
|
124 |
= Version 1.4.5 / (13.02.2018) =
|
125 |
- [New]: New option for changing the taxonomy slug.
|
126 |
- [New]: Improvments on single portfolio page.
|
127 |
|
128 |
-
|
129 |
= Version 1.4.0 / (23.01.2018) =
|
130 |
- [New]: New option for new skin of next and previous navigation added.
|
131 |
- [New]: New options for modifying the title of portfolio archive page.
|
@@ -181,6 +184,6 @@ Bugs can be reported in our [support forums](http://wordpress.org/tags/auxin-por
|
|
181 |
|
182 |
== Upgrade Notice ==
|
183 |
|
184 |
-
= 1.4.
|
185 |
-
- [New]: New option
|
186 |
-
- [
|
3 |
Donate link: http://averta.net/
|
4 |
License: GPLv3
|
5 |
License URI: http://www.gnu.org/licenses/gpl.html
|
6 |
+
Tags: page-builder, elementor, siteorigin, auxin, phlox, averta, fullwidth, masonry, timeline, portfolio, projects, showcase, minimal, wix, flat
|
7 |
Requires PHP: 5.3
|
8 |
Requires at least: 4.6
|
9 |
+
Tested up to: 4.9.5
|
10 |
+
Stable tag: 1.4.9
|
11 |
License: GPLv3
|
12 |
License URI: http://www.gnu.org/licenses/gpl.html
|
13 |
|
121 |
|
122 |
== Changelog ==
|
123 |
|
124 |
+
= Version 1.4.9 / (13.03.2018) =
|
125 |
+
- [New]: New option to change the breadcrumb label for a portfolio site
|
126 |
+
- [Improvement]: Improvement for sticky portfolio metadata in portfolio single page.
|
127 |
+
|
128 |
= Version 1.4.5 / (13.02.2018) =
|
129 |
- [New]: New option for changing the taxonomy slug.
|
130 |
- [New]: Improvments on single portfolio page.
|
131 |
|
|
|
132 |
= Version 1.4.0 / (23.01.2018) =
|
133 |
- [New]: New option for new skin of next and previous navigation added.
|
134 |
- [New]: New options for modifying the title of portfolio archive page.
|
184 |
|
185 |
== Upgrade Notice ==
|
186 |
|
187 |
+
= 1.4.9 =
|
188 |
+
- [New]: New option to change the breadcrumb label for a portfolio site
|
189 |
+
- [Improvement]: Improvement for sticky portfolio metadata in portfolio single page.
|
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: 4.9.
|
23 |
*/
|
24 |
|
25 |
// If this file is called directly, abort.
|
@@ -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.0.
|
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 |
)
|
@@ -61,7 +61,7 @@ if( is_admin() || false === get_transient( 'auxpfo_plugin_requirements_check' )
|
|
61 |
array(
|
62 |
'name' => __('Phlox Pro', 'auxin-portfolio'), // The theme name.
|
63 |
'id' => 'phlox-pro', // The theme id name.
|
64 |
-
'version' => '4.3.
|
65 |
'is_callable' => '', // If set, this callable will be be checked for availability to determine if a theme is active.
|
66 |
'file_required' => get_template_directory() . '/auxin-content/init/const.php'
|
67 |
),
|
@@ -69,7 +69,7 @@ if( is_admin() || false === get_transient( 'auxpfo_plugin_requirements_check' )
|
|
69 |
'name' => __('Phlox', 'auxin-portfolio'), // The theme name.
|
70 |
'id' => 'phlox', // The theme id name.
|
71 |
'update_link' => 'themes.php?theme=phlox',
|
72 |
-
'version' => '2.0.
|
73 |
'is_callable' => '', // If set, this callable will be be checked for availability to determine if a theme is active.
|
74 |
'file_required' => get_template_directory() . '/auxin-content/init/const.php'
|
75 |
)
|
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.9
|
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: 4.9.5
|
23 |
*/
|
24 |
|
25 |
// If this file is called directly, abort.
|
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.0.9', // 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 |
)
|
61 |
array(
|
62 |
'name' => __('Phlox Pro', 'auxin-portfolio'), // The theme name.
|
63 |
'id' => 'phlox-pro', // The theme id name.
|
64 |
+
'version' => '4.3.6', // E.g. 1.0.0. If set, the active theme must be this version or higher.
|
65 |
'is_callable' => '', // If set, this callable will be be checked for availability to determine if a theme is active.
|
66 |
'file_required' => get_template_directory() . '/auxin-content/init/const.php'
|
67 |
),
|
69 |
'name' => __('Phlox', 'auxin-portfolio'), // The theme name.
|
70 |
'id' => 'phlox', // The theme id name.
|
71 |
'update_link' => 'themes.php?theme=phlox',
|
72 |
+
'version' => '2.0.9', // E.g. 1.0.0. If set, the active theme must be this version or higher.
|
73 |
'is_callable' => '', // If set, this callable will be be checked for availability to determine if a theme is active.
|
74 |
'file_required' => get_template_directory() . '/auxin-content/init/const.php'
|
75 |
)
|
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.9' );
|
19 |
|
20 |
define( 'AUXPFO_SLUG' , 'auxin-portfolio' );
|
21 |
|
includes/elements/recent-portfolios-tile-carousel.php
CHANGED
@@ -207,7 +207,7 @@ function auxin_get_recent_portfolios_tiles_carousel_master_array( $master_array
|
|
207 |
'param_name' => 'include',
|
208 |
'type' => 'textfield',
|
209 |
'value' => '',
|
210 |
-
'holder' => '
|
211 |
'class' => '',
|
212 |
'admin_label' => false,
|
213 |
'dependency' => '',
|
@@ -235,7 +235,7 @@ function auxin_get_recent_portfolios_tiles_carousel_master_array( $master_array
|
|
235 |
'param_name' => 'offset',
|
236 |
'type' => 'textfield',
|
237 |
'value' => '',
|
238 |
-
'holder' => '
|
239 |
'class' => '',
|
240 |
'admin_label' => false,
|
241 |
'dependency' => '',
|
207 |
'param_name' => 'include',
|
208 |
'type' => 'textfield',
|
209 |
'value' => '',
|
210 |
+
'holder' => '',
|
211 |
'class' => '',
|
212 |
'admin_label' => false,
|
213 |
'dependency' => '',
|
235 |
'param_name' => 'offset',
|
236 |
'type' => 'textfield',
|
237 |
'value' => '',
|
238 |
+
'holder' => '',
|
239 |
'class' => '',
|
240 |
'admin_label' => false,
|
241 |
'dependency' => '',
|
includes/elements/recent-portfolios.php
CHANGED
@@ -46,7 +46,7 @@ function auxin_get_recent_portfolios_master_array( $master_array ) {
|
|
46 |
'param_name' => 'title',
|
47 |
'type' => 'textfield',
|
48 |
'value' => '',
|
49 |
-
'holder' => '
|
50 |
'class' => 'title',
|
51 |
'admin_label' => false,
|
52 |
'dependency' => '',
|
@@ -160,7 +160,7 @@ function auxin_get_recent_portfolios_master_array( $master_array ) {
|
|
160 |
'param_name' => 'include',
|
161 |
'type' => 'textfield',
|
162 |
'value' => '',
|
163 |
-
'holder' => '
|
164 |
'class' => '',
|
165 |
'admin_label' => false,
|
166 |
'dependency' => '',
|
@@ -188,7 +188,7 @@ function auxin_get_recent_portfolios_master_array( $master_array ) {
|
|
188 |
'param_name' => 'offset',
|
189 |
'type' => 'textfield',
|
190 |
'value' => '',
|
191 |
-
'holder' => '
|
192 |
'class' => '',
|
193 |
'admin_label' => false,
|
194 |
'dependency' => '',
|
@@ -398,7 +398,7 @@ function auxin_get_recent_portfolios_master_array( $master_array ) {
|
|
398 |
'param_name' => 'filter_by',
|
399 |
'type' => 'dropdown',
|
400 |
'def_value' => 'portfolio-filter',
|
401 |
-
'holder' => '
|
402 |
'value' =>array (
|
403 |
'portfolio-filter' => __('Filter', 'auxin-portfolio'),
|
404 |
'portfolio-cat' => __('Category', 'auxin-portfolio'),
|
@@ -486,7 +486,7 @@ function auxin_get_recent_portfolios_master_array( $master_array ) {
|
|
486 |
'aux-dropdown-filter' => array(
|
487 |
'label' => __('DropDown' , 'auxin-portfolio'),
|
488 |
'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/FilterUnderline.webm webm'
|
489 |
-
),
|
490 |
),
|
491 |
),
|
492 |
array(
|
@@ -955,7 +955,7 @@ function auxin_widget_recent_portfolios_grid_callback( $atts, $shortcode_content
|
|
955 |
|
956 |
|
957 |
if ( $terms ) {
|
958 |
-
|
959 |
$list_output = '<ul>';
|
960 |
$list_output .= '<li class="aux-active-item" data-filter="all"><a href="#"><span data-select="' . __('all', 'auxin-portfolio') . '">' . __('all', 'auxin-portfolio') . '</span></a></li>';
|
961 |
|
@@ -985,7 +985,7 @@ function auxin_widget_recent_portfolios_grid_callback( $atts, $shortcode_content
|
|
985 |
|
986 |
echo $filter_output;
|
987 |
}
|
988 |
-
|
989 |
}
|
990 |
?>
|
991 |
<div id="<?php echo esc_attr( $isotope_id ); ?>" class="<?php echo esc_attr( $items_classes ); ?>" <?php echo $isoxin_attrs ?>>
|
@@ -1130,4 +1130,4 @@ function auxin_widget_recent_portfolios_grid_callback( $atts, $shortcode_content
|
|
1130 |
echo $result['widget_footer'];
|
1131 |
|
1132 |
return ob_get_clean();
|
1133 |
-
}
|
46 |
'param_name' => 'title',
|
47 |
'type' => 'textfield',
|
48 |
'value' => '',
|
49 |
+
'holder' => '',
|
50 |
'class' => 'title',
|
51 |
'admin_label' => false,
|
52 |
'dependency' => '',
|
160 |
'param_name' => 'include',
|
161 |
'type' => 'textfield',
|
162 |
'value' => '',
|
163 |
+
'holder' => '',
|
164 |
'class' => '',
|
165 |
'admin_label' => false,
|
166 |
'dependency' => '',
|
188 |
'param_name' => 'offset',
|
189 |
'type' => 'textfield',
|
190 |
'value' => '',
|
191 |
+
'holder' => '',
|
192 |
'class' => '',
|
193 |
'admin_label' => false,
|
194 |
'dependency' => '',
|
398 |
'param_name' => 'filter_by',
|
399 |
'type' => 'dropdown',
|
400 |
'def_value' => 'portfolio-filter',
|
401 |
+
'holder' => '',
|
402 |
'value' =>array (
|
403 |
'portfolio-filter' => __('Filter', 'auxin-portfolio'),
|
404 |
'portfolio-cat' => __('Category', 'auxin-portfolio'),
|
486 |
'aux-dropdown-filter' => array(
|
487 |
'label' => __('DropDown' , 'auxin-portfolio'),
|
488 |
'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/FilterUnderline.webm webm'
|
489 |
+
),
|
490 |
),
|
491 |
),
|
492 |
array(
|
955 |
|
956 |
|
957 |
if ( $terms ) {
|
958 |
+
|
959 |
$list_output = '<ul>';
|
960 |
$list_output .= '<li class="aux-active-item" data-filter="all"><a href="#"><span data-select="' . __('all', 'auxin-portfolio') . '">' . __('all', 'auxin-portfolio') . '</span></a></li>';
|
961 |
|
985 |
|
986 |
echo $filter_output;
|
987 |
}
|
988 |
+
|
989 |
}
|
990 |
?>
|
991 |
<div id="<?php echo esc_attr( $isotope_id ); ?>" class="<?php echo esc_attr( $items_classes ); ?>" <?php echo $isoxin_attrs ?>>
|
1130 |
echo $result['widget_footer'];
|
1131 |
|
1132 |
return ob_get_clean();
|
1133 |
+
}
|
includes/general-hooks.php
CHANGED
@@ -113,10 +113,6 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
|
|
113 |
'type' => 'radio-image',
|
114 |
'default' => 'default',
|
115 |
'choices' => array(
|
116 |
-
'default' => array(
|
117 |
-
'label' => __('Default', 'auxin-portfolio'),
|
118 |
-
'css_class' => 'axiAdminIcon-default',
|
119 |
-
),
|
120 |
'left' => array(
|
121 |
'label' => __('Left', 'auxin-portfolio'),
|
122 |
'css_class' => 'axiAdminIcon-text-align-left'
|
@@ -805,7 +801,7 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
|
|
805 |
'operator'=> '=='
|
806 |
)
|
807 |
),
|
808 |
-
);
|
809 |
|
810 |
$options[] = array(
|
811 |
'title' => __( 'Border for Heading', 'auxin-portfolio' ),
|
@@ -866,7 +862,7 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
|
|
866 |
'id' => 'portfolio_title_bar_title_show',
|
867 |
'value' => '1',
|
868 |
'operator'=> '=='
|
869 |
-
),
|
870 |
array(
|
871 |
'id' => 'portfolio_title_bar_enable_customize',
|
872 |
'value' => '1',
|
@@ -900,7 +896,7 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
|
|
900 |
'id' => 'portfolio_title_bar_title_show',
|
901 |
'value' => '1',
|
902 |
'operator'=> '=='
|
903 |
-
),
|
904 |
array(
|
905 |
'id' => 'portfolio_title_bar_enable_customize',
|
906 |
'value' => '1',
|
@@ -2386,8 +2382,7 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
|
|
2386 |
'dependency' => array(
|
2387 |
array(
|
2388 |
'id' => 'portfolio_archive_titlebar_enabled',
|
2389 |
-
'value' => '
|
2390 |
-
'operator'=> '!='
|
2391 |
)
|
2392 |
),
|
2393 |
'partial' => array(
|
@@ -2410,8 +2405,7 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
|
|
2410 |
'dependency' => array(
|
2411 |
array(
|
2412 |
'id' => 'portfolio_archive_titlebar_enabled',
|
2413 |
-
'value' => '
|
2414 |
-
'operator'=> '!='
|
2415 |
)
|
2416 |
),
|
2417 |
'partial' => array(
|
@@ -2434,8 +2428,7 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
|
|
2434 |
'dependency' => array(
|
2435 |
array(
|
2436 |
'id' => 'portfolio_archive_titlebar_enabled',
|
2437 |
-
'value' => '
|
2438 |
-
'operator'=> '!='
|
2439 |
)
|
2440 |
),
|
2441 |
'partial' => array(
|
@@ -2450,6 +2443,29 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
|
|
2450 |
'type' => 'text'
|
2451 |
);
|
2452 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2453 |
// Sub section - Portfolio Taxonomy Page -------------------------------
|
2454 |
|
2455 |
$sections[] = array(
|
@@ -2968,7 +2984,7 @@ if ( auxin_is_plugin_active( 'wp-ulike/wp-ulike.php' ) ) {
|
|
2968 |
function auxpfo_add_single_portfolio_actions( $show_like_btn, $show_share_btn ){
|
2969 |
|
2970 |
if( function_exists( 'wp_ulike' ) && $show_like_btn ){
|
2971 |
-
wp_ulike( 'get', array( 'style' => 'wpulike-heart' ) );
|
2972 |
}
|
2973 |
if( $show_share_btn ) {
|
2974 |
?>
|
@@ -3106,11 +3122,11 @@ function auxpfo_single_portfolio_show_all_portfolios( $post ){
|
|
3106 |
if ( is_single() ){
|
3107 |
|
3108 |
global $post;
|
3109 |
-
|
3110 |
$sticky_sidebar = auxin_get_post_meta( $post->ID, '_sticky_sidebar', 'default' );
|
3111 |
$sticky_sidebar = 'default' === $sticky_sidebar ? auxin_get_option( 'portfolio_single_sticky_sidebar', false ) : $sticky_sidebar;
|
3112 |
$info_layout_bg = auxin_get_post_meta( $post->ID, '_side_info_color' );
|
3113 |
-
|
3114 |
if ( auxin_is_true( $sticky_sidebar ) || ! empty( $info_layout_bg ) ) {
|
3115 |
add_action( 'auxin_portfolio_single_after_article_primary', 'auxpfo_single_portfolio_related_items' );
|
3116 |
add_action( 'auxin_portfolio_single_after_article_primary', 'auxpfo_single_portfolio_show_all_portfolios' );
|
113 |
'type' => 'radio-image',
|
114 |
'default' => 'default',
|
115 |
'choices' => array(
|
|
|
|
|
|
|
|
|
116 |
'left' => array(
|
117 |
'label' => __('Left', 'auxin-portfolio'),
|
118 |
'css_class' => 'axiAdminIcon-text-align-left'
|
801 |
'operator'=> '=='
|
802 |
)
|
803 |
),
|
804 |
+
);
|
805 |
|
806 |
$options[] = array(
|
807 |
'title' => __( 'Border for Heading', 'auxin-portfolio' ),
|
862 |
'id' => 'portfolio_title_bar_title_show',
|
863 |
'value' => '1',
|
864 |
'operator'=> '=='
|
865 |
+
),
|
866 |
array(
|
867 |
'id' => 'portfolio_title_bar_enable_customize',
|
868 |
'value' => '1',
|
896 |
'id' => 'portfolio_title_bar_title_show',
|
897 |
'value' => '1',
|
898 |
'operator'=> '=='
|
899 |
+
),
|
900 |
array(
|
901 |
'id' => 'portfolio_title_bar_enable_customize',
|
902 |
'value' => '1',
|
2382 |
'dependency' => array(
|
2383 |
array(
|
2384 |
'id' => 'portfolio_archive_titlebar_enabled',
|
2385 |
+
'value' => '1'
|
|
|
2386 |
)
|
2387 |
),
|
2388 |
'partial' => array(
|
2405 |
'dependency' => array(
|
2406 |
array(
|
2407 |
'id' => 'portfolio_archive_titlebar_enabled',
|
2408 |
+
'value' => '1'
|
|
|
2409 |
)
|
2410 |
),
|
2411 |
'partial' => array(
|
2428 |
'dependency' => array(
|
2429 |
array(
|
2430 |
'id' => 'portfolio_archive_titlebar_enabled',
|
2431 |
+
'value' => '1'
|
|
|
2432 |
)
|
2433 |
),
|
2434 |
'partial' => array(
|
2443 |
'type' => 'text'
|
2444 |
);
|
2445 |
|
2446 |
+
$options[] = array(
|
2447 |
+
'title' => __('Custom Breadcrumb Label', 'auxin-portfolio'),
|
2448 |
+
'description' => '',
|
2449 |
+
'id' => 'portfolio_archive_breadcrumb_label',
|
2450 |
+
'section' => 'portfolio-section-archive',
|
2451 |
+
'dependency' => array(
|
2452 |
+
array(
|
2453 |
+
'id' => 'portfolio_archive_titlebar_enabled',
|
2454 |
+
'value' => '1'
|
2455 |
+
)
|
2456 |
+
),
|
2457 |
+
'partial' => array(
|
2458 |
+
'selector' => 'body.archive .aux-customizer-page-title-container',
|
2459 |
+
'container_inclusive' => false,
|
2460 |
+
'render_callback' => function(){
|
2461 |
+
auxin_the_main_title_section( array( 'has_helper_wrapper' => false ) );
|
2462 |
+
}
|
2463 |
+
),
|
2464 |
+
'transport' => 'postMessage',
|
2465 |
+
'default' => __('Portfolio', 'auxin-portfolio'),
|
2466 |
+
'type' => 'text'
|
2467 |
+
);
|
2468 |
+
|
2469 |
// Sub section - Portfolio Taxonomy Page -------------------------------
|
2470 |
|
2471 |
$sections[] = array(
|
2984 |
function auxpfo_add_single_portfolio_actions( $show_like_btn, $show_share_btn ){
|
2985 |
|
2986 |
if( function_exists( 'wp_ulike' ) && $show_like_btn ){
|
2987 |
+
wp_ulike( 'get', array( 'style' => 'wpulike-heart', 'wrapper_class' => 'aux-wpulike' ) );
|
2988 |
}
|
2989 |
if( $show_share_btn ) {
|
2990 |
?>
|
3122 |
if ( is_single() ){
|
3123 |
|
3124 |
global $post;
|
3125 |
+
|
3126 |
$sticky_sidebar = auxin_get_post_meta( $post->ID, '_sticky_sidebar', 'default' );
|
3127 |
$sticky_sidebar = 'default' === $sticky_sidebar ? auxin_get_option( 'portfolio_single_sticky_sidebar', false ) : $sticky_sidebar;
|
3128 |
$info_layout_bg = auxin_get_post_meta( $post->ID, '_side_info_color' );
|
3129 |
+
|
3130 |
if ( auxin_is_true( $sticky_sidebar ) || ! empty( $info_layout_bg ) ) {
|
3131 |
add_action( 'auxin_portfolio_single_after_article_primary', 'auxpfo_single_portfolio_related_items' );
|
3132 |
add_action( 'auxin_portfolio_single_after_article_primary', 'auxpfo_single_portfolio_show_all_portfolios' );
|
public/templates/theme-parts/entry/portfolio-column.php
CHANGED
@@ -49,7 +49,7 @@
|
|
49 |
<?php } ?>
|
50 |
<?php
|
51 |
if( $display_like && function_exists('wp_ulike') ){
|
52 |
-
wp_ulike( 'get', array( 'style' => 'wpulike-heart' ) );
|
53 |
}
|
54 |
?>
|
55 |
<?php if( $show_info ) { ?>
|
49 |
<?php } ?>
|
50 |
<?php
|
51 |
if( $display_like && function_exists('wp_ulike') ){
|
52 |
+
wp_ulike( 'get', array( 'style' => 'wpulike-heart', 'wrapper_class' => 'aux-wpulike' ) );
|
53 |
}
|
54 |
?>
|
55 |
<?php if( $show_info ) { ?>
|
public/templates/theme-parts/entry/portfolio-land.php
CHANGED
@@ -99,7 +99,7 @@
|
|
99 |
if( function_exists('wp_ulike') && auxin_get_option( 'show_portfolio_archive_like_button' ) ) { ?>
|
100 |
<div class="comments-iconic">
|
101 |
<?php
|
102 |
-
wp_ulike( 'get', array( 'style' => 'wpulike-heart' ) );
|
103 |
?>
|
104 |
</div>
|
105 |
<?php } ?>
|
99 |
if( function_exists('wp_ulike') && auxin_get_option( 'show_portfolio_archive_like_button' ) ) { ?>
|
100 |
<div class="comments-iconic">
|
101 |
<?php
|
102 |
+
wp_ulike( 'get', array( 'style' => 'wpulike-heart', 'wrapper_class' => 'aux-wpulike' ) );
|
103 |
?>
|
104 |
</div>
|
105 |
<?php } ?>
|
public/templates/theme-parts/entry/portfolio.php
CHANGED
@@ -29,7 +29,7 @@
|
|
29 |
<?php
|
30 |
if( $display_like && function_exists('wp_ulike') ){
|
31 |
echo '<div class="comments-iconic">';
|
32 |
-
wp_ulike( 'get', array( 'style' => 'wpulike-heart' ) );
|
33 |
echo '</div>';
|
34 |
}
|
35 |
?>
|
29 |
<?php
|
30 |
if( $display_like && function_exists('wp_ulike') ){
|
31 |
echo '<div class="comments-iconic">';
|
32 |
+
wp_ulike( 'get', array( 'style' => 'wpulike-heart', 'wrapper_class' => 'aux-wpulike' ) );
|
33 |
echo '</div>';
|
34 |
}
|
35 |
?>
|
public/templates/theme-parts/entry/single-portfolio.php
CHANGED
@@ -81,7 +81,7 @@
|
|
81 |
// 45 is the space between site header and the side area
|
82 |
$sticky_header_height = ( auxin_get_option('site_header_top_sticky') ? auxin_get_option('site_header_container_scaled_height') : 0 ) + 45 ;
|
83 |
?>
|
84 |
-
<div class="entry-side aux-sticky-position <?php echo esc_attr( $header_class );?>" <?php echo $header_styles ;?> data-
|
85 |
<?php } else { ?>
|
86 |
<div class="entry-side <?php echo esc_attr( $header_class );?>" <?php echo $header_styles ;?> >
|
87 |
<?php }
|
81 |
// 45 is the space between site header and the side area
|
82 |
$sticky_header_height = ( auxin_get_option('site_header_top_sticky') ? auxin_get_option('site_header_container_scaled_height') : 0 ) + 45 ;
|
83 |
?>
|
84 |
+
<div class="entry-side aux-sticky-position <?php echo esc_attr( $header_class );?>" <?php echo $header_styles ;?> data-boundry-target=".content .portfolio.hentry" data-sticky-move-method="after" data-boundaries="true" data-use-transform="true" data-sticky-margin="<?php echo $sticky_header_height; ?>">
|
85 |
<?php } else { ?>
|
86 |
<div class="entry-side <?php echo esc_attr( $header_class );?>" <?php echo $header_styles ;?> >
|
87 |
<?php }
|