Premium Portfolio Features for Phlox theme - Version 1.4.5

Version Description

Download this release

Release Info

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

Code changes from version 1.4.0 to 1.4.5

README.txt CHANGED
@@ -6,8 +6,8 @@ License URI: http://www.gnu.org/licenses/gpl.html
6
  Tags: ajaxload, page-builder, 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.2
10
- Stable tag: 1.4.0
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl.html
13
 
@@ -121,6 +121,11 @@ Bugs can be reported in our [support forums](http://wordpress.org/tags/auxin-por
121
 
122
  == Changelog ==
123
 
 
 
 
 
 
124
  = Version 1.4.0 / (23.01.2018) =
125
  - [New]: New option for new skin of next and previous navigation added.
126
  - [New]: New options for modifying the title of portfolio archive page.
@@ -176,6 +181,6 @@ Bugs can be reported in our [support forums](http://wordpress.org/tags/auxin-por
176
 
177
  == Upgrade Notice ==
178
 
179
- = 1.2.2 =
180
- - [Improvement]: Preview animation added for theme options.
181
- - [Improvement]: Improvement in portfolio archive page.
6
  Tags: ajaxload, page-builder, 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.3
10
+ Stable tag: 1.4.5
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl.html
13
 
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
 
182
  == Upgrade Notice ==
183
 
184
+ = 1.4.5 =
185
+ - [New]: New option for changing the taxonomy slug.
186
+ - [New]: Improvments on single portfolio page.
admin/includes/metaboxes/metabox-fields-portfolio-metadata.php CHANGED
@@ -262,11 +262,35 @@ function auxpfo_metabox_fields_portfolio_metadata(){
262
  'thumb-arrow-sticky' => array(
263
  'label' => __('Sticky Thumbnail with Arrow', 'auxin-portfolio'),
264
  'image' => AUXIN_URL . 'images/visual-select/post-navigation-6.svg'
265
- )
 
 
 
 
266
  ),
267
  'type' => 'radio-image',
268
  'default' => 'default'
269
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
270
 
271
  array(
272
  'title' => __('Display Portfolio Meta Info', 'auxin-portfolio'),
262
  'thumb-arrow-sticky' => array(
263
  'label' => __('Sticky Thumbnail with Arrow', 'auxin-portfolio'),
264
  'image' => AUXIN_URL . 'images/visual-select/post-navigation-6.svg'
265
+ ),
266
+ 'modern' => array(
267
+ 'label' => __('Modern', 'auxin-portfolio'),
268
+ 'image' => AUXIN_URL . 'images/visual-select/post-navigation-2.svg'
269
+ ),
270
  ),
271
  'type' => 'radio-image',
272
  'default' => 'default'
273
  ),
274
+
275
+ array(
276
+ 'title' => __('Next & Previous Button Link', 'auxin-portfolio'),
277
+ 'description' => __('Specifies the link of button in next and previous navigation. leave it blank to use default portfolio archive link', 'auxin-portfolio'),
278
+ 'id' => '_next_prev_nav_btn_link',
279
+ 'dependency' => array(
280
+ array(
281
+ 'id' => '_show_next_prev_nav',
282
+ 'value' => array('default', 'yes'),
283
+ 'operator'=> ''
284
+ ),
285
+ array(
286
+ 'id' => '_next_prev_nav_skin',
287
+ 'value' => array('modern', 'classic', 'classic-title'),
288
+ 'operator'=> ''
289
+ )
290
+ ),
291
+ 'type' => 'text',
292
+ 'default' => '',
293
+ ),
294
 
295
  array(
296
  'title' => __('Display Portfolio Meta Info', 'auxin-portfolio'),
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.0
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.2
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.0', // 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,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' => '5.0.0', // 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,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.0', // 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
  )
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.5
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.3
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.5', // 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.0', // 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.5', // 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/classes/class-auxpfo-post-type-portfolio.php CHANGED
@@ -97,7 +97,6 @@ class Auxpfo_Post_Type_Portfolio extends Auxin_Post_Type_Base {
97
  */
98
  public function register_taxonomies() {
99
 
100
-
101
  // labels for Category of this post type
102
  $cat_labels = array(
103
  'name' => __( 'Portfolio Categories' , 'auxin-portfolio' ),
@@ -131,7 +130,7 @@ class Auxpfo_Post_Type_Portfolio extends Auxin_Post_Type_Base {
131
  'assign_terms' => "assign_{$this->post_type}_terms",
132
  ),
133
  'rewrite' => array(
134
- 'slug' => _x( 'portfolio-cat', 'taxonomy slug', 'auxin-portfolio' ),
135
  'hierarchical' => false
136
  )
137
  ) )
@@ -179,7 +178,7 @@ class Auxpfo_Post_Type_Portfolio extends Auxin_Post_Type_Base {
179
  'assign_terms' => "assign_{$this->post_type}_terms",
180
  ),
181
  'rewrite' => array(
182
- 'slug' => _x( 'portfolio-tag', 'taxonomy tag slug', 'auxin-portfolio' ),
183
  'hierarchical' => false
184
  )
185
  ) )
97
  */
98
  public function register_taxonomies() {
99
 
 
100
  // labels for Category of this post type
101
  $cat_labels = array(
102
  'name' => __( 'Portfolio Categories' , 'auxin-portfolio' ),
130
  'assign_terms' => "assign_{$this->post_type}_terms",
131
  ),
132
  'rewrite' => array(
133
+ 'slug' => get_theme_mod( $this->prefix.'permalink_'. $this->post_type. '_' .str_replace('-', '_', $tax_cat_name ) .'_structure', $tax_cat_name ),
134
  'hierarchical' => false
135
  )
136
  ) )
178
  'assign_terms' => "assign_{$this->post_type}_terms",
179
  ),
180
  'rewrite' => array(
181
+ 'slug' => get_theme_mod( $this->prefix.'permalink_'. $this->post_type. '_' .str_replace('-', '_', $tax_tag_name ).'_structure', $tax_tag_name ),
182
  'hierarchical' => false
183
  )
184
  ) )
includes/define.php CHANGED
@@ -15,7 +15,7 @@ if( ! defined( 'THEME_NAME' ) ){
15
 
16
 
17
 
18
- define( 'AUXPFO_VERSION' , '1.4.0' );
19
 
20
  define( 'AUXPFO_SLUG' , 'auxin-portfolio' );
21
 
15
 
16
 
17
 
18
+ define( 'AUXPFO_VERSION' , '1.4.5' );
19
 
20
  define( 'AUXPFO_SLUG' , 'auxin-portfolio' );
21
 
includes/general-hooks.php CHANGED
@@ -343,20 +343,61 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
343
  );
344
 
345
  $options[] = array(
346
- 'title' => __('Next & Previous Label', 'auxin-portfolio'),
347
  'description' => __('Specifies the word after next and previous navigation.', 'auxin-portfolio'),
348
- 'id' => 'portfolio_single_next_prev_nav_label',
349
  'section' => 'portfolio-section-single',
350
  'dependency' => array(
351
  array(
352
  'id' => 'show_portfolio_single_next_prev_nav',
353
  'value' => array('1'),
354
  'operator'=> ''
355
- )
356
  ),
357
  'transport' => 'postMessage',
 
358
  'type' => 'text',
359
- 'default' => 'Portfolio'
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
360
  );
361
 
362
 
@@ -3011,7 +3052,7 @@ function auxpfo_single_portfolio_related_items( $post ){
3011
  }
3012
 
3013
  }
3014
- add_action( 'auxin_portfolio_single_after_content_primary', 'auxpfo_single_portfolio_related_items' );
3015
 
3016
 
3017
  /**
@@ -3052,9 +3093,37 @@ function auxpfo_single_portfolio_show_all_portfolios( $post ){
3052
  <?php
3053
  }
3054
  }
3055
- add_action( 'auxin_portfolio_single_after_content_primary', 'auxpfo_single_portfolio_show_all_portfolios' );
3056
 
3057
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3058
  /**
3059
  * Changes the default portfolio layout to "no-sidebar"
3060
  *
343
  );
344
 
345
  $options[] = array(
346
+ 'title' => __('Next Portfolio Label', 'auxin-portfolio'),
347
  'description' => __('Specifies the word after next and previous navigation.', 'auxin-portfolio'),
348
+ 'id' => 'portfolio_single_next_nav_label',
349
  'section' => 'portfolio-section-single',
350
  'dependency' => array(
351
  array(
352
  'id' => 'show_portfolio_single_next_prev_nav',
353
  'value' => array('1'),
354
  'operator'=> ''
355
+ ),
356
  ),
357
  'transport' => 'postMessage',
358
+ 'post_js' => '$(".single-portfolio .aux-next-prev-posts .np-next-section .np-nav-text").text( to );',
359
  'type' => 'text',
360
+ 'default' => 'Next Portfolio'
361
+ );
362
+
363
+ $options[] = array(
364
+ 'title' => __('Previous Portfolio Label', 'auxin-portfolio'),
365
+ 'description' => __('Specifies the word after next and previous navigation.', 'auxin-portfolio'),
366
+ 'id' => 'portfolio_single_prev_nav_label',
367
+ 'section' => 'portfolio-section-single',
368
+ 'dependency' => array(
369
+ array(
370
+ 'id' => 'show_portfolio_single_next_prev_nav',
371
+ 'value' => array('1'),
372
+ 'operator'=> ''
373
+ ),
374
+ ),
375
+ 'transport' => 'postMessage',
376
+ 'post_js' => '$(".single-portfolio .aux-next-prev-posts .np-prev-section .np-nav-text").text( to );',
377
+ 'type' => 'text',
378
+ 'default' => 'Previous Portfolio'
379
+ );
380
+
381
+ $options[] = array(
382
+ 'title' => __('Next & Previous Button Link', 'auxin-portfolio'),
383
+ 'description' => __('Specifies the link of button in next and previous navigation. leave it blank to use default portfolio archive link', 'auxin-portfolio'),
384
+ 'id' => 'portfolio_single_next_prev_nav_btn_link',
385
+ 'section' => 'portfolio-section-single',
386
+ 'dependency' => array(
387
+ array(
388
+ 'id' => 'show_portfolio_single_next_prev_nav',
389
+ 'value' => array('1'),
390
+ 'operator'=> ''
391
+ ),
392
+ array(
393
+ 'id' => 'portfolio_single_next_prev_nav_skin',
394
+ 'value' => array('modern', 'classic', 'classic-title'),
395
+ 'operator'=> ''
396
+ )
397
+ ),
398
+ 'transport' => 'refresh',
399
+ 'type' => 'text',
400
+ 'default' => '',
401
  );
402
 
403
 
3052
  }
3053
 
3054
  }
3055
+
3056
 
3057
 
3058
  /**
3093
  <?php
3094
  }
3095
  }
 
3096
 
3097
 
3098
+ /**
3099
+ * Add Related Portfolios to Wrappers Based on Our Conditions
3100
+ *
3101
+ * @return void
3102
+ */
3103
+
3104
+ function auxpfo_related_portfolios_location(){
3105
+
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' );
3117
+ } else {
3118
+ add_action( 'auxin_portfolio_single_after_content_primary', 'auxpfo_single_portfolio_related_items' );
3119
+ add_action( 'auxin_portfolio_single_after_content_primary', 'auxpfo_single_portfolio_show_all_portfolios' );
3120
+ }
3121
+
3122
+ }
3123
+
3124
+ }
3125
+
3126
+ add_action( 'wp', 'auxpfo_related_portfolios_location');
3127
  /**
3128
  * Changes the default portfolio layout to "no-sidebar"
3129
  *
public/includes/templates-post.php CHANGED
@@ -17,11 +17,13 @@ function auxpfo_get_portfolio_related_posts( $args = array() ){
17
  // the recent posts args
18
  $defaults = array(
19
  'title' => auxin_get_option('portfolio_related_posts_label', __( 'Related Projects', 'auxin-portfolio' ) ),
 
20
  'taxonomy_name' => 'portfolio-cat', // the taxonomy that we intent to display in post info
21
  'taxonomy' => array( 'portfolio-cat', 'portfolio-tag' ),
22
  'desktop_cnum' => auxin_get_option('portfolio_related_posts_column_number', 3 ),
23
  'tablet_cnum' => 2,
24
  'phone_cnum' => 1,
 
25
  'display_title' => true,
26
  'show_info' => true,
27
  'show_date' => false,
@@ -88,12 +90,3 @@ function auxpfo_get_portfolio_related_posts( $args = array() ){
88
 
89
  return auxin_get_the_related_posts( $args );
90
  }
91
-
92
-
93
-
94
-
95
-
96
-
97
-
98
-
99
-
17
  // the recent posts args
18
  $defaults = array(
19
  'title' => auxin_get_option('portfolio_related_posts_label', __( 'Related Projects', 'auxin-portfolio' ) ),
20
+ 'post_type' => 'portfolio',
21
  'taxonomy_name' => 'portfolio-cat', // the taxonomy that we intent to display in post info
22
  'taxonomy' => array( 'portfolio-cat', 'portfolio-tag' ),
23
  'desktop_cnum' => auxin_get_option('portfolio_related_posts_column_number', 3 ),
24
  'tablet_cnum' => 2,
25
  'phone_cnum' => 1,
26
+ 'size' => '', // array or string. thumbnail, medium, medium_large, large, full
27
  'display_title' => true,
28
  'show_info' => true,
29
  'show_date' => false,
90
 
91
  return auxin_get_the_related_posts( $args );
92
  }
 
 
 
 
 
 
 
 
 
public/templates/single-portfolio.php CHANGED
@@ -37,9 +37,11 @@ get_header(); ?>
37
  auxpfo_get_template_part( 'theme-parts/content', 'none' );
38
 
39
  endif;
 
 
40
  ?>
41
  </div><!-- end content -->
42
- <?php
43
  global $post_next_prev_navigation;
44
  echo empty( $post_next_prev_navigation ) ? '' : $post_next_prev_navigation;
45
  ?>
37
  auxpfo_get_template_part( 'theme-parts/content', 'none' );
38
 
39
  endif;
40
+
41
+ do_action( 'auxin_portfolio_single_after_article_primary', $post );
42
  ?>
43
  </div><!-- end content -->
44
+ <?php
45
  global $post_next_prev_navigation;
46
  echo empty( $post_next_prev_navigation ) ? '' : $post_next_prev_navigation;
47
  ?>
public/templates/theme-parts/entry/single-portfolio.php CHANGED
@@ -28,9 +28,9 @@
28
  $info_pos = auxin_get_post_meta( $post->ID, '_side_info_pos');
29
 
30
  if ( ! empty( $info_layout_bg ) ){
31
- $layout_bg = ' background-color: ' . $info_layout_bg . ';';
32
- $layout_mg = ' aux-layout-margin' ;
33
- echo '<div class="layout-bg" style=" ' . esc_attr ( $layout_bg ) . ' "></div>';
34
  }
35
 
36
  $info_layout_font_color = 'light' == $info_layout_font_color ? ' aux-text-color-light' : 'aux-text-color-dark' ;
@@ -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-use-transform="true" data-sticky-margin="<?php echo $sticky_header_height; ?>" data-boundaries="true">
85
  <?php } else { ?>
86
  <div class="entry-side <?php echo esc_attr( $header_class );?>" <?php echo $header_styles ;?> >
87
  <?php }
@@ -174,11 +174,12 @@
174
  $next_prev_skin = auxin_get_option( 'portfolio_single_next_prev_nav_skin', false );
175
  }
176
 
177
- $label = auxin_get_option( 'portfolio_single_next_prev_nav_label', '' );
 
178
 
179
  $args = array(
180
- 'prev_text' => __( 'Previous ' . esc_attr( $label ), 'auxin-portfolio' ),
181
- 'next_text' => __( 'Next '. esc_attr( $label ) , 'auxin-portfolio' ),
182
  'taxonomy' => 'portfolio-cat',
183
  'skin' => $next_prev_skin, // minimal, thumb-no-arrow, thumb-arrow, boxed-image
184
  'echo' => false
@@ -201,3 +202,6 @@
201
  ?>
202
 
203
  </article> <!-- end article -->
 
 
 
28
  $info_pos = auxin_get_post_meta( $post->ID, '_side_info_pos');
29
 
30
  if ( ! empty( $info_layout_bg ) ){
31
+ $layout_bg = ' background-color: ' . $info_layout_bg . ';';
32
+ $layout_mg = ' aux-layout-margin' ;
33
+ $layout_bg_markup = '<div class="layout-bg" style=" ' . esc_attr ( $layout_bg ) . ' "></div>';
34
  }
35
 
36
  $info_layout_font_color = 'light' == $info_layout_font_color ? ' aux-text-color-light' : 'aux-text-color-dark' ;
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-sticky-move=".aux-primary" data-sticky-move-method="after" 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 }
174
  $next_prev_skin = auxin_get_option( 'portfolio_single_next_prev_nav_skin', false );
175
  }
176
 
177
+ $next_label = auxin_get_option( 'portfolio_single_next_nav_label', '' );
178
+ $prev_label = auxin_get_option( 'portfolio_single_prev_nav_label', '' );
179
 
180
  $args = array(
181
+ 'prev_text' => __( esc_attr( $prev_label ), 'auxin-portfolio' ),
182
+ 'next_text' => __( esc_attr( $next_label ), 'auxin-portfolio' ),
183
  'taxonomy' => 'portfolio-cat',
184
  'skin' => $next_prev_skin, // minimal, thumb-no-arrow, thumb-arrow, boxed-image
185
  'echo' => false
202
  ?>
203
 
204
  </article> <!-- end article -->
205
+
206
+ <?php
207
+ echo isset( $layout_bg_markup ) ? $layout_bg_markup : '';