Premium Portfolio Features for Phlox theme - Version 1.4.0

Version Description

Download this release

Release Info

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

Code changes from version 1.2.2 to 1.4.0

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.1
10
- Stable tag: 1.2.2
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl.html
13
 
@@ -121,6 +121,17 @@ Bugs can be reported in our [support forums](http://wordpress.org/tags/auxin-por
121
 
122
  == Changelog ==
123
 
 
 
 
 
 
 
 
 
 
 
 
124
  = Version 1.2.2 / (02.12.2017) =
125
  - [Improvement]: Preview animation added for theme options.
126
  - [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.2
10
+ Stable tag: 1.4.0
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl.html
13
 
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.
127
+ - [Fix]: Fixing an issue with wrong number of items in archive page of portfolio.
128
+ - [Fix]: A fix in portfolio filter slug.
129
+ - [New]: New options for hiding the page title in title bar added.
130
+ - [New]: New transition options added to recent portfolio element.
131
+ - [New]: New options for showing and hiding the share and like button added.
132
+ - [New]: New taxonomy for filtering the portfolio items added.
133
+ - [New]: Recent Portfolio tile carousel with light skin added.
134
+
135
  = Version 1.2.2 / (02.12.2017) =
136
  - [Improvement]: Preview animation added for theme options.
137
  - [Improvement]: Improvement in portfolio archive page.
admin/assets/images/ClassicLightbox.png CHANGED
Binary file
admin/includes/metaboxes/metabox-fields-portfolio-metadata.php CHANGED
@@ -7,7 +7,7 @@
7
  * @license LICENSE.txt
8
  * @author
9
  * @link http://averta.net/phlox/
10
- * @copyright (c) 2010-2017
11
  */
12
 
13
  function auxpfo_metabox_fields_portfolio_metadata(){
7
  * @license LICENSE.txt
8
  * @author
9
  * @link http://averta.net/phlox/
10
+ * @copyright (c) 2010-2018
11
  */
12
 
13
  function auxpfo_metabox_fields_portfolio_metadata(){
admin/includes/metaboxes/metabox-fields-portfolio-related.php CHANGED
@@ -7,7 +7,7 @@
7
  * @license LICENSE.txt
8
  * @author
9
  * @link http://averta.net/phlox/
10
- * @copyright (c) 2010-2017
11
  */
12
 
13
  function auxpfo_metabox_fields_portfolio_related_metadata(){
@@ -166,7 +166,97 @@ function auxpfo_metabox_fields_portfolio_related_metadata(){
166
  'yes' => __('Yes', 'auxin-portfolio'),
167
  'no' => __('No', 'auxin-portfolio'),
168
  )
169
- )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
170
 
171
  );
172
 
7
  * @license LICENSE.txt
8
  * @author
9
  * @link http://averta.net/phlox/
10
+ * @copyright (c) 2010-2018
11
  */
12
 
13
  function auxpfo_metabox_fields_portfolio_related_metadata(){
166
  'yes' => __('Yes', 'auxin-portfolio'),
167
  'no' => __('No', 'auxin-portfolio'),
168
  )
169
+ ),
170
+
171
+ array(
172
+ 'title' => __('Display The Button Under Related Items', 'auxin-portfolio'),
173
+ 'description' => __('You can specific to show the button under related items'),
174
+ 'id' => '_related_posts_all_items_btn_display',
175
+ 'dependency' => array(
176
+ array(
177
+ 'id' => '_display_related',
178
+ 'value' => array('default', 'yes'),
179
+ 'operator'=> ''
180
+ )
181
+ ),
182
+ 'type' => 'select',
183
+ 'default' => 'default',
184
+ 'choices' => array(
185
+ 'default' => __('Theme Default', 'auxin-portfolio'),
186
+ 'yes' => __('Yes', 'auxin-portfolio'),
187
+ 'no' => __('No', 'auxin-portfolio'),
188
+ ),
189
+ ),
190
+
191
+ array(
192
+ 'title' => __('Link the Button Under Related Items To', 'auxin-portfolio'),
193
+ 'description' => __('Whether to display a button bellow related items section in order to direct visitors to portfolio archive page or not. You can link the button to the portfolio archive page or a custom page, or hide the button.'),
194
+ 'id' => '_related_posts_all_items_url_type',
195
+ 'dependency' => array(
196
+ array(
197
+ 'id' => '_display_related',
198
+ 'value' => array('default', 'yes'),
199
+ 'operator'=> ''
200
+ ),
201
+ array(
202
+ 'id' => '_related_posts_all_items_btn_display',
203
+ 'value' => array('default', 'yes'),
204
+ 'operator'=> ''
205
+ )
206
+ ),
207
+ 'type' => 'select',
208
+ 'default' => 'default',
209
+ 'choices' => array(
210
+ 'default' => __( 'Theme Default', 'auxin-portfolio'),
211
+ 'archive' => __( 'Archive page', 'auxin-portfolio' ),
212
+ 'custom' => __( 'Custom URL', 'auxin-portfolio' ),
213
+ ),
214
+ ),
215
+
216
+ array(
217
+ 'title' => __('Custom Link for Related Items Button', 'auxin-portfolio'),
218
+ 'description' => __('A custom link for the button under related items section.'),
219
+ 'id' => '_related_posts_all_items_url_type_custom',
220
+ 'dependency' => array(
221
+ array(
222
+ 'id' => '_display_related',
223
+ 'value' => array('default', 'yes'),
224
+ 'operator'=> ''
225
+ ),
226
+ array(
227
+ 'id' => '_related_posts_all_items_btn_display',
228
+ 'value' => array('default', 'yes'),
229
+ 'operator'=> ''
230
+ ),
231
+ array(
232
+ 'id' => '_related_posts_all_items_url_type',
233
+ 'value' => array('custom'),
234
+ 'operator'=> ''
235
+ ),
236
+ ),
237
+ 'type' => 'text',
238
+ 'default' => '',
239
+ ),
240
+
241
+ array(
242
+ 'title' => __('Custom label for Related Items Button', 'auxin-portfolio'),
243
+ 'description' => __('A custom label for the button under related items section.'),
244
+ 'id' => '_related_posts_all_items_btn_label',
245
+ 'dependency' => array(
246
+ array(
247
+ 'id' => '_display_related',
248
+ 'value' => array('default', 'yes'),
249
+ 'operator'=> ''
250
+ ),
251
+ array(
252
+ 'id' => '_related_posts_all_items_btn_display',
253
+ 'value' => array('default', 'yes'),
254
+ 'operator'=> ''
255
+ ),
256
+ ),
257
+ 'type' => 'text',
258
+ 'default' => __( "Browse All Projects", 'auxin-portfolio' ),
259
+ ),
260
 
261
  );
262
 
admin/includes/metaboxes/metabox-fields-portfolio.php CHANGED
@@ -7,7 +7,7 @@
7
  * @license LICENSE.txt
8
  * @author
9
  * @link http://averta.net/phlox/
10
- * @copyright (c) 2010-2017
11
  */
12
 
13
  // no direct access allowed
7
  * @license LICENSE.txt
8
  * @author
9
  * @link http://averta.net/phlox/
10
+ * @copyright (c) 2010-2018
11
  */
12
 
13
  // no direct access allowed
auxin-portfolio.php CHANGED
@@ -7,19 +7,19 @@
7
  * @license LICENSE.txt
8
  * @author
9
  * @link http://averta.net/phlox/
10
- * @copyright (c) 2010-2017
11
  *
12
  * Plugin Name: Phlox Portfolio
13
  * Plugin URI: http://averta.net/phlox/
14
  * Description: Showcase your projects beautifully in Phlox theme
15
- * Version: 1.2.2
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.1
23
  */
24
 
25
  // If this file is called directly, abort.
@@ -51,18 +51,27 @@ 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' => '1.7.2', // 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
  )
58
  ),
59
 
60
  'themes' => array(
 
 
 
 
 
 
 
61
  array(
62
  'name' => __('Phlox', 'auxin-portfolio'), // The theme name.
63
- 'version' => '1.9.2', // E.g. 1.0.0. If set, the active theme must be this version or higher.
 
 
64
  'is_callable' => '', // If set, this callable will be be checked for availability to determine if a theme is active.
65
- 'file_exists' => get_template_directory() . '/auxin/auxin-include/auxin.php' // If set, this file will be checked for availability to determine if a theme is active.
66
  )
67
  ),
68
 
7
  * @license LICENSE.txt
8
  * @author
9
  * @link http://averta.net/phlox/
10
+ * @copyright (c) 2010-2018
11
  *
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
  '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
  )
58
  ),
59
 
60
  'themes' => array(
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
+ ),
68
  array(
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
  )
76
  ),
77
 
includes/classes/class-auxin-plugin-requirements.php CHANGED
@@ -53,7 +53,7 @@ if( ! class_exists( 'Auxin_Plugin_Requirements' ) ){
53
  * @return void
54
  */
55
  public function admin_notices( $pop_notice = '' ){
56
- if( $this->admin_notices ) {
57
  echo '<div class="error aux-admin-error">';
58
  echo $this->get_notices( $pop_notice );
59
  echo '</div>';
@@ -81,6 +81,7 @@ if( ! class_exists( 'Auxin_Plugin_Requirements' ) ){
81
  $active_plugins = get_option( 'active_plugins' );
82
  $the_notice .= "<pre>"; $the_notice .= print_r( $active_plugins, true ); $the_notice .= "</pre>";
83
  }
 
84
  return $the_notice;
85
  }
86
 
@@ -90,6 +91,8 @@ if( ! class_exists( 'Auxin_Plugin_Requirements' ) ){
90
  * @return void
91
  */
92
  public function front_notices(){
 
 
93
  if( $this->admin_notices && current_user_can( 'edit_theme_options' ) ) {
94
  $pop_notice = '<strong>' . __( 'Note for admin', 'auxin-portfolio' ) . '</strong>: ';
95
  echo '<div class="aux-front-error aux-front-notice aux-fold">';
@@ -267,60 +270,76 @@ if( ! class_exists( 'Auxin_Plugin_Requirements' ) ){
267
  return;
268
  }
269
 
 
 
270
  if( $theme_requirements = $this->requirements['themes'] ){
271
 
272
  // Walk through the themes
273
  foreach ( $theme_requirements as $theme_requirement ) {
274
 
275
- if (
276
- ( ! empty( $theme_requirement['file_exists'] ) && ! file_exists( $theme_requirement['file_exists'] ) ) ||
277
- ( ! empty( $theme_requirement['is_callable'] ) && ! function_exists( $theme_requirement['is_callable'] ) )
278
- ){
279
 
280
- $this->admin_notices[] = sprintf(
281
- __( '%s theme is required in order to use this plugin. Please install and activate the theme.', 'auxin-portfolio' ),
282
- '<strong>'. $theme_requirement['name'] . '</strong>'
283
- );
 
 
284
 
 
285
  $this->requirements_passed = false;
286
- return;
 
287
 
288
- } elseif ( $theme_requirement['version'] ){
289
 
290
  $theme_data = wp_get_theme();
291
  $theme_data = $theme_data->parent() ? $theme_data->parent() : $theme_data;
292
 
293
  if ( version_compare( $theme_data->Version, $theme_requirement['version'], '<' ) ) {
294
 
295
- $this->admin_notices[] = sprintf(
296
- __( 'The plugin requires %s theme version %s or higher in order to function property. Your current theme version is %s, please update it to the latest version.', 'auxin-portfolio' ),
 
 
 
297
  '<strong>'. $theme_requirement['name'] . '</strong>',
298
  '<strong>'. $theme_requirement['version'] . '</strong>',
299
- '<strong>'. $theme_data->Version . '</strong>'
 
 
300
  );
301
 
302
  if( defined( 'AUXIN_DEBUG' ) && AUXIN_DEBUG ){
303
- if( ! empty( $theme_requirement['file_exists'] ) ){
304
- $this->admin_notices[] = sprintf(
305
- __( '%s path while checking the availability of theme not found.', 'auxin-portfolio' ),
306
- '<code>'. $theme_requirement['file_exists'] . '</code>'
307
- );
308
- } elseif( ! empty( $theme_requirement['is_callable'] ) ){
309
- $this->admin_notices[] = sprintf(
310
- __( '%s function callback while checking the availability of theme not found.', 'auxin-portfolio' ),
311
- '<code>'. $theme_requirement['file_exists'] . '</code>'
312
- );
 
313
  }
314
- }
315
 
316
- $this->requirements_passed = false;
317
- return;
318
  }
319
 
320
  }
321
 
 
 
 
322
  }
323
 
 
 
324
  }
325
 
326
  }
53
  * @return void
54
  */
55
  public function admin_notices( $pop_notice = '' ){
56
+ if( $this->admin_notices = array_filter( $this->admin_notices ) ) {
57
  echo '<div class="error aux-admin-error">';
58
  echo $this->get_notices( $pop_notice );
59
  echo '</div>';
81
  $active_plugins = get_option( 'active_plugins' );
82
  $the_notice .= "<pre>"; $the_notice .= print_r( $active_plugins, true ); $the_notice .= "</pre>";
83
  }
84
+
85
  return $the_notice;
86
  }
87
 
91
  * @return void
92
  */
93
  public function front_notices(){
94
+ $this->admin_notices = array_filter( $this->admin_notices );
95
+
96
  if( $this->admin_notices && current_user_can( 'edit_theme_options' ) ) {
97
  $pop_notice = '<strong>' . __( 'Note for admin', 'auxin-portfolio' ) . '</strong>: ';
98
  echo '<div class="aux-front-error aux-front-notice aux-fold">';
270
  return;
271
  }
272
 
273
+ $this->admin_notices['theme'] = '';
274
+
275
  if( $theme_requirements = $this->requirements['themes'] ){
276
 
277
  // Walk through the themes
278
  foreach ( $theme_requirements as $theme_requirement ) {
279
 
280
+ if( ! isset( $theme_requirement['id'] ) ){
281
+ $theme_requirement['id'] = str_replace( ' ', '-', strtolower( $theme_requirement['name'] ) );
282
+ }
283
+ $theme_requirement = apply_filters( 'auxin_plugin_requirements_theme_dependency', $theme_requirement, $theme_requirement['id'] );
284
 
285
+ if ( ! empty( $theme_requirement['file_required'] ) && file_exists( $theme_requirement['file_required'] ) ){
286
+ require_once( $theme_requirement['file_required'] );
287
+ } else {
288
+ $this->requirements_passed = false;
289
+ continue;
290
+ }
291
 
292
+ if( THEME_ID !== $theme_requirement['id'] ){
293
  $this->requirements_passed = false;
294
+ continue;
295
+ }
296
 
297
+ if ( $theme_requirement['version'] ){
298
 
299
  $theme_data = wp_get_theme();
300
  $theme_data = $theme_data->parent() ? $theme_data->parent() : $theme_data;
301
 
302
  if ( version_compare( $theme_data->Version, $theme_requirement['version'], '<' ) ) {
303
 
304
+ $theme_requirement['update_anchor_start'] = ! empty( $theme_requirement['update_link'] ) ? '<a target="_blank" href="'. admin_url( $theme_requirement['update_link'] ).'">' : '';
305
+ $theme_requirement['update_anchor_end'] = ! empty( $theme_requirement['update_link'] ) ? '</a>' : '';
306
+
307
+ $this->admin_notices['theme'] .= sprintf(
308
+ __( 'The plugin requires %s theme version %s or higher in order to function property. Your current theme version is %s, please %s update to latest version %s.', 'auxin-portfolio' ),
309
  '<strong>'. $theme_requirement['name'] . '</strong>',
310
  '<strong>'. $theme_requirement['version'] . '</strong>',
311
+ '<strong>'. $theme_data->Version . '</strong>',
312
+ $theme_requirement['update_anchor_start'],
313
+ $theme_requirement['update_anchor_end']
314
  );
315
 
316
  if( defined( 'AUXIN_DEBUG' ) && AUXIN_DEBUG ){
317
+ if( ! empty( $theme_requirement['file_exists'] ) ){
318
+ $this->admin_notices['theme'] .= sprintf(
319
+ __( '%s path while checking the availability of theme not found.', 'auxin-portfolio' ),
320
+ '<code>'. $theme_requirement['file_exists'] . '</code>'
321
+ );
322
+ } elseif( ! empty( $theme_requirement['is_callable'] ) ){
323
+ $this->admin_notices['theme'] .= sprintf(
324
+ __( '%s function callback while checking the availability of theme not found.', 'auxin-portfolio' ),
325
+ '<code>'. $theme_requirement['file_exists'] . '</code>'
326
+ );
327
+ }
328
  }
 
329
 
330
+ $this->requirements_passed = false;
331
+ continue;
332
  }
333
 
334
  }
335
 
336
+ unset( $this->admin_notices['theme'] );
337
+ $this->requirements_passed = true;
338
+ return;
339
  }
340
 
341
+ $this->requirements_passed = false;
342
+ return;
343
  }
344
 
345
  }
includes/classes/class-auxpfo-post-type-portfolio.php CHANGED
@@ -7,7 +7,7 @@
7
  * @license LICENSE.txt
8
  * @author
9
  * @link http://averta.net/phlox/
10
- * @copyright (c) 2010-2017
11
  */
12
 
13
  // no direct access allowed
@@ -41,10 +41,10 @@ class Auxpfo_Post_Type_Portfolio extends Auxin_Post_Type_Base {
41
  */
42
  public function register_post_type() {
43
 
44
- if( ! $single_slug = get_option( THEME_ID.'_'.$this->post_type.'_structure', '' ) )
45
  $single_slug = $this->post_type; // validate single slug
46
 
47
- if( ! $archive_slug = get_option( THEME_ID.'_'.$this->post_type.'_archive_structure', '' ) )
48
  $archive_slug = $this->post_type.'/all'; // validate archive slug
49
 
50
 
@@ -141,24 +141,24 @@ class Auxpfo_Post_Type_Portfolio extends Auxin_Post_Type_Base {
141
 
142
 
143
 
144
- // labels for Tag/Filter of this post type
145
  $tag_labels = array(
146
- 'name' => __( 'Portfolio Tags / Filters' , 'auxin-portfolio' ),
147
- 'singular_name' => __( 'Portfolio Tag/Filter' , 'auxin-portfolio' ),
148
- 'search_items' => __( 'Search in Portfolio Tags/filters' , 'auxin-portfolio' ),
149
- 'popular_items' => __( 'Popular Tags/filters' , 'auxin-portfolio' ),
150
- 'all_items' => __( 'All Portfolio Tags/filters' , 'auxin-portfolio' ),
151
  'parent_item' => __( 'Parent Portfolio Tag' , 'auxin-portfolio' ),
152
  'parent_item_colon' => __( 'Parent Portfolio Tag:' , 'auxin-portfolio' ),
153
- 'edit_item' => __( 'Edit Portfolio Tag/Filter' , 'auxin-portfolio' ),
154
- 'update_item' => __( 'Update Portfolio Tag/Filter' , 'auxin-portfolio' ),
155
- 'add_new_item' => __( 'Add new Portfolio Tag/Filter' , 'auxin-portfolio' ),
156
- 'new_item_name' => __( 'New Portfolio Tag/Filter' , 'auxin-portfolio' ),
157
-
158
- 'separate_items_with_commas' => __( 'Separate tags with commas' , 'auxin-portfolio' ),
159
- 'add_or_remove_items' => __( 'Add or remove Tag/Filter' , 'auxin-portfolio' ),
160
- 'choose_from_most_used' => __( 'Choose from the most used tags' , 'auxin-portfolio' ),
161
- 'menu_name' => _x( 'Tags ( Filters )', 'portfolio-tag admin menu name' , 'auxin-portfolio' )
162
  );
163
 
164
  $tax_tag_name = 'portfolio-tag';
@@ -167,7 +167,7 @@ class Auxpfo_Post_Type_Portfolio extends Auxin_Post_Type_Base {
167
  apply_filters( "auxin_taxonomy_post_types_for_{$tax_tag_name}" , array( $this->post_type ) ),
168
  apply_filters( "auxin_taxonomy_args_{$tax_tag_name}" , array(
169
  'hierarchical' => false,
170
- 'label' => __( 'Portfolio Tags/Filters', 'auxin-portfolio' ),
171
  'labels' => $tag_labels,
172
  'show_ui' => true,
173
  'update_count_callback' => '_update_post_term_count',
@@ -179,12 +179,57 @@ 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 slug', 'auxin-portfolio' ),
183
  'hierarchical' => false
184
  )
185
  ) )
186
  );
187
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
188
  }
189
 
190
 
7
  * @license LICENSE.txt
8
  * @author
9
  * @link http://averta.net/phlox/
10
+ * @copyright (c) 2010-2018
11
  */
12
 
13
  // no direct access allowed
41
  */
42
  public function register_post_type() {
43
 
44
+ if( ! $single_slug = get_theme_mod( $this->prefix.'permalink_'.$this->post_type.'_structure', '' ) )
45
  $single_slug = $this->post_type; // validate single slug
46
 
47
+ if( ! $archive_slug = get_theme_mod( $this->prefix.'permalink_'.$this->post_type.'_archive_structure', '' ) )
48
  $archive_slug = $this->post_type.'/all'; // validate archive slug
49
 
50
 
141
 
142
 
143
 
144
+ // labels for Tag of this post type
145
  $tag_labels = array(
146
+ 'name' => __( 'Portfolio Tags' , 'auxin-portfolio' ),
147
+ 'singular_name' => __( 'Portfolio Tag' , 'auxin-portfolio' ),
148
+ 'search_items' => __( 'Search in Portfolio Tags' , 'auxin-portfolio' ),
149
+ 'popular_items' => __( 'Popular Tags' , 'auxin-portfolio' ),
150
+ 'all_items' => __( 'All Portfolio Tags' , 'auxin-portfolio' ),
151
  'parent_item' => __( 'Parent Portfolio Tag' , 'auxin-portfolio' ),
152
  'parent_item_colon' => __( 'Parent Portfolio Tag:' , 'auxin-portfolio' ),
153
+ 'edit_item' => __( 'Edit Portfolio Tag' , 'auxin-portfolio' ),
154
+ 'update_item' => __( 'Update Portfolio Tag' , 'auxin-portfolio' ),
155
+ 'add_new_item' => __( 'Add new Portfolio Tag' , 'auxin-portfolio' ),
156
+ 'new_item_name' => __( 'New Portfolio Tag' , 'auxin-portfolio' ),
157
+
158
+ 'separate_items_with_commas' => __( 'Separate tags with commas' , 'auxin-portfolio' ),
159
+ 'add_or_remove_items' => __( 'Add or remove Tag' , 'auxin-portfolio' ),
160
+ 'choose_from_most_used' => __( 'Choose from the most used tags' , 'auxin-portfolio' ),
161
+ 'menu_name' => _x( 'Tags', 'portfolio-tag admin menu name' , 'auxin-portfolio' )
162
  );
163
 
164
  $tax_tag_name = 'portfolio-tag';
167
  apply_filters( "auxin_taxonomy_post_types_for_{$tax_tag_name}" , array( $this->post_type ) ),
168
  apply_filters( "auxin_taxonomy_args_{$tax_tag_name}" , array(
169
  'hierarchical' => false,
170
+ 'label' => __( 'Portfolio Tags', 'auxin-portfolio' ),
171
  'labels' => $tag_labels,
172
  'show_ui' => true,
173
  'update_count_callback' => '_update_post_term_count',
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
  ) )
186
  );
187
 
188
+
189
+
190
+
191
+
192
+ // labels for filter of this post type
193
+ $tag_labels = array(
194
+ 'name' => __( 'Portfolio Filters' , 'auxin-portfolio' ),
195
+ 'singular_name' => __( 'Portfolio Filter' , 'auxin-portfolio' ),
196
+ 'search_items' => __( 'Search in Portfolio Filters' , 'auxin-portfolio' ),
197
+ 'popular_items' => __( 'Popular Filters' , 'auxin-portfolio' ),
198
+ 'all_items' => __( 'All Portfolio Filters' , 'auxin-portfolio' ),
199
+ 'parent_item' => __( 'Parent Portfolio Filter' , 'auxin-portfolio' ),
200
+ 'parent_item_colon' => __( 'Parent Portfolio Filter:' , 'auxin-portfolio' ),
201
+ 'edit_item' => __( 'Edit Portfolio Filter' , 'auxin-portfolio' ),
202
+ 'update_item' => __( 'Update Portfolio Filter' , 'auxin-portfolio' ),
203
+ 'add_new_item' => __( 'Add new Portfolio Filter' , 'auxin-portfolio' ),
204
+ 'new_item_name' => __( 'New Portfolio Filter' , 'auxin-portfolio' ),
205
+
206
+ 'separate_items_with_commas' => __( 'Separate filters with commas' , 'auxin-portfolio' ),
207
+ 'add_or_remove_items' => __( 'Add or remove filter' , 'auxin-portfolio' ),
208
+ 'choose_from_most_used' => __( 'Choose from the most used filters', 'auxin-portfolio' ),
209
+ 'menu_name' => _x( 'Filters', 'portfolio-filter admin menu name' , 'auxin-portfolio' )
210
+ );
211
+
212
+ $tax_tag_name = 'portfolio-filter';
213
+
214
+ register_taxonomy( $tax_tag_name,
215
+ apply_filters( "auxin_taxonomy_post_types_for_{$tax_tag_name}" , array( $this->post_type ) ),
216
+ apply_filters( "auxin_taxonomy_args_{$tax_tag_name}" , array(
217
+ 'hierarchical' => false,
218
+ 'label' => __( 'Portfolio Filters', 'auxin-portfolio' ),
219
+ 'labels' => $tag_labels,
220
+ 'show_ui' => true,
221
+ 'update_count_callback' => '_update_post_term_count',
222
+ 'query_var' => true,
223
+ 'capabilities' => array(
224
+ 'manage_terms' => "manage_{$this->post_type}_terms",
225
+ 'edit_terms' => "edit_{$this->post_type}_terms",
226
+ 'delete_terms' => "delete_{$this->post_type}_terms",
227
+ 'assign_terms' => "assign_{$this->post_type}_terms",
228
+ ),
229
+ 'rewrite' => false
230
+ ) )
231
+ );
232
+
233
  }
234
 
235
 
includes/classes/class-auxpfo-template-loader.php CHANGED
@@ -7,7 +7,7 @@
7
  * @license LICENSE.txt
8
  * @author
9
  * @link http://averta.net/phlox/
10
- * @copyright (c) 2010-2017
11
  */
12
 
13
  // no direct access allowed
7
  * @license LICENSE.txt
8
  * @author
9
  * @link http://averta.net/phlox/
10
+ * @copyright (c) 2010-2018
11
  */
12
 
13
  // no direct access allowed
includes/define.php CHANGED
@@ -15,7 +15,7 @@ if( ! defined( 'THEME_NAME' ) ){
15
 
16
 
17
 
18
- define( 'AUXPFO_VERSION' , '1.2.2' );
19
 
20
  define( 'AUXPFO_SLUG' , 'auxin-portfolio' );
21
 
15
 
16
 
17
 
18
+ define( 'AUXPFO_VERSION' , '1.4.0' );
19
 
20
  define( 'AUXPFO_SLUG' , 'auxin-portfolio' );
21
 
includes/elements/recent-portfolios-tile-carousel.php ADDED
@@ -0,0 +1,667 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Recent Protfolio Tiles in Carousel Mode
4
+ *
5
+ *
6
+ * @package Auxin
7
+ * @license LICENSE.txt
8
+ * @author
9
+ * @link http://averta.net/phlox/
10
+ * @copyright (c) 2010-2018
11
+ */
12
+
13
+ function auxin_get_recent_portfolios_tiles_carousel_master_array( $master_array ) {
14
+
15
+ $master_array['aux_recent_portfolios_tile_carousel'] = array(
16
+ 'name' => __('Recent Portfolio on Tile Carousel', 'auxin-portfolio' ),
17
+ 'auxin_output_callback' => 'auxin_widget_recent_portfolios_tiles_carousel_callback',
18
+ 'base' => 'aux_recent_portfolios_tile_carousel',
19
+ 'description' => __('It adds recent portfolio items in tile carousel', 'auxin-portfolio' ),
20
+ 'class' => 'aux-widget-recent-portfolios aux-carousel',
21
+ 'show_settings_on_create' => true,
22
+ 'weight' => 1,
23
+ 'is_widget' => false,
24
+ 'is_shortcode' => true,
25
+ 'is_so' => true,
26
+ 'is_vc' => true,
27
+ 'category' => THEME_NAME,
28
+ 'group' => '',
29
+ 'admin_enqueue_js' => '',
30
+ 'admin_enqueue_css' => '',
31
+ 'front_enqueue_js' => '',
32
+ 'front_enqueue_css' => '',
33
+ 'icon' => 'auxin-element aux-pb-icons-grid auxin-grid',
34
+ 'custom_markup' => '',
35
+ 'js_view' => '',
36
+ 'html_template' => '',
37
+ 'deprecated' => '',
38
+ 'content_element' => '',
39
+ 'as_parent' => '',
40
+ 'as_child' => '',
41
+ 'params' => array(
42
+ array(
43
+ 'heading' => __('Title', 'auxin-portfolio' ),
44
+ 'description' => __('Recent items title, leave it empty if you don`t need title.', 'auxin-portfolio'),
45
+ 'param_name' => 'title',
46
+ 'type' => 'textfield',
47
+ 'value' => '',
48
+ 'holder' => 'textfield',
49
+ 'class' => 'title',
50
+ 'admin_label' => false,
51
+ 'dependency' => '',
52
+ 'weight' => '',
53
+ 'group' => '' ,
54
+ 'edit_field_class' => ''
55
+ ),
56
+ array(
57
+ 'heading' => __('Categories', 'auxin-portfolio'),
58
+ 'description' => __('Specifies a category that you want to show portfolio items from it.', 'auxin-portfolio' ),
59
+ 'param_name' => 'cat',
60
+ 'type' => 'aux_taxonomy',
61
+ 'taxonomy' => 'portfolio-cat',
62
+ 'def_value' => ' ',
63
+ 'holder' => '',
64
+ 'class' => 'cat',
65
+ 'value' => ' ', // should use the taxonomy name
66
+ 'admin_label' => false,
67
+ 'dependency' => '',
68
+ 'weight' => '',
69
+ 'group' => 'Query',
70
+ 'edit_field_class' => ''
71
+ ),
72
+ array(
73
+ 'heading' => __('Number of portfolios to show in per page', 'auxin-portfolio'),
74
+ 'description' => __('Leave it empty to show all items', 'auxin-portfolio'),
75
+ 'param_name' => 'num',
76
+ 'type' => 'textfield',
77
+ 'value' => '5',
78
+ 'holder' => '',
79
+ 'class' => 'num',
80
+ 'admin_label' => false,
81
+ 'dependency' => '',
82
+ 'weight' => '',
83
+ 'group' => 'Query',
84
+ 'edit_field_class' => ''
85
+ ),
86
+ array(
87
+ 'heading' => __('Portfolio tiles hover type','auxin-portfolio' ),
88
+ 'description' => '',
89
+ 'param_name' => 'item_style',
90
+ 'type' => 'aux_visual_select',
91
+ 'def_value' => 'overlay',
92
+ 'holder' => '',
93
+ 'admin_label' => false,
94
+ 'dependency' => array(
95
+ 'element' => 'layout',
96
+ 'value' => array( 'tiles' )
97
+ ),
98
+ 'weight' => '',
99
+ 'group' => 'Style',
100
+ 'edit_field_class' => '',
101
+ 'choices' => array(
102
+ 'overlay' => array(
103
+ 'label' => __('Overlay title style 1', 'auxin-portfolio'),
104
+ 'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/OverlayTitle1.webm webm'
105
+ ),
106
+ 'overlay-boxed' => array(
107
+ 'label' => __('Overlay title style 2', 'auxin-portfolio'),
108
+ 'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/OverlayTitle2.webm webm'
109
+ ),
110
+ 'overlay-lightbox' => array(
111
+ 'label' => __('Overlay title with lightbox style 1', 'auxin-portfolio'),
112
+ 'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/OverlayTitleLightbox1.webm webm'
113
+ ),
114
+ 'overlay-lightbox-boxed' => array(
115
+ 'label' => __('Overlay title with lightbox style 2', 'auxin-portfolio'),
116
+ 'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/OverlayTitleLightbox2.webm webm'
117
+ )
118
+ )
119
+ ),
120
+ array(
121
+ 'heading' => __('Number of Pages', 'auxin-portfolio'),
122
+ 'description' => '',
123
+ 'param_name' => 'page',
124
+ 'type' => 'textfield',
125
+ 'value' => '2',
126
+ 'holder' => '',
127
+ 'class' => 'page',
128
+ 'admin_label' => false,
129
+ 'dependency' => '',
130
+ 'weight' => '',
131
+ 'group' => 'Query',
132
+ 'edit_field_class' => ''
133
+ ),
134
+ array(
135
+ 'heading' => __('Exclude portfolios without media','auxin-portfolio' ),
136
+ 'description' => '',
137
+ 'param_name' => 'exclude_without_media',
138
+ 'type' => 'aux_switch',
139
+ 'value' => '1',
140
+ 'class' => '',
141
+ 'admin_label' => false,
142
+ 'dependency' => '',
143
+ 'weight' => '',
144
+ 'group' => 'Query',
145
+ 'edit_field_class' => ''
146
+ ),
147
+ array(
148
+ 'heading' => __('Order by', 'auxin-portfolio'),
149
+ 'description' => '',
150
+ 'param_name' => 'order_by',
151
+ 'type' => 'dropdown',
152
+ 'def_value' => 'date',
153
+ 'holder' => '',
154
+ 'class' => 'order_by',
155
+ 'value' => array (
156
+ 'date' => __('Date', 'auxin-portfolio'),
157
+ 'menu_order date' => __('Menu Order', 'auxin-portfolio'),
158
+ 'title' => __('Title', 'auxin-portfolio'),
159
+ 'ID' => __('ID', 'auxin-portfolio'),
160
+ 'rand' => __('Random', 'auxin-portfolio'),
161
+ 'comment_count' => __('Comments', 'auxin-portfolio'),
162
+ 'modified' => __('Date Modified', 'auxin-portfolio'),
163
+ 'author' => __('Author', 'auxin-portfolio'),
164
+ 'post__in' => __('Inserted Post IDs', 'auxin-portfolio')
165
+ ),
166
+ 'admin_label' => false,
167
+ 'dependency' => '',
168
+ 'weight' => '',
169
+ 'group' => 'Query',
170
+ 'edit_field_class' => ''
171
+ ),
172
+ array(
173
+ 'heading' => __('Order', 'auxin-portfolio'),
174
+ 'description' => '',
175
+ 'param_name' => 'order',
176
+ 'type' => 'dropdown',
177
+ 'def_value' => 'DESC',
178
+ 'holder' => '',
179
+ 'class' => 'order',
180
+ 'value' =>array (
181
+ 'DESC' => __('Descending', 'auxin-portfolio'),
182
+ 'ASC' => __('Ascending', 'auxin-portfolio'),
183
+ ),
184
+ 'admin_label' => false,
185
+ 'dependency' => '',
186
+ 'weight' => '',
187
+ 'group' => 'Query',
188
+ 'edit_field_class' => ''
189
+ ),
190
+ array(
191
+ 'heading' => __('Only portfolios','auxin-portfolio' ),
192
+ 'description' => __('If you intend to display ONLY specific portfolios, you should specify them here. You have to insert the post IDs that are separated by comma (eg. 53,34,87,25).', 'auxin-portfolio' ),
193
+ 'param_name' => 'only_posts__in',
194
+ 'type' => 'textfield',
195
+ 'value' => '',
196
+ 'holder' => '',
197
+ 'class' => '',
198
+ 'admin_label' => false,
199
+ 'dependency' => '',
200
+ 'weight' => '',
201
+ 'group' => 'Query',
202
+ 'edit_field_class' => ''
203
+ ),
204
+ array(
205
+ 'heading' => __('Include portfolios','auxin-portfolio' ),
206
+ 'description' => __('If you intend to include additional portfolios, you should specify them here. You have to insert the Post IDs that are separated by comma (eg. 53,34,87,25)', 'auxin-portfolio' ),
207
+ 'param_name' => 'include',
208
+ 'type' => 'textfield',
209
+ 'value' => '',
210
+ 'holder' => 'textfield',
211
+ 'class' => '',
212
+ 'admin_label' => false,
213
+ 'dependency' => '',
214
+ 'weight' => '',
215
+ 'group' => 'Query',
216
+ 'edit_field_class' => ''
217
+ ),
218
+ array(
219
+ 'heading' => __('Exclude posts','auxin-portfolio' ),
220
+ 'description' => __('If you intend to exclude specific posts from result, you should specify the posts here. You have to insert the Post IDs that are separated by comma (eg. 53,34,87,25)', 'auxin-portfolio' ),
221
+ 'param_name' => 'exclude',
222
+ 'type' => 'textfield',
223
+ 'value' => '',
224
+ 'holder' => '',
225
+ 'class' => '',
226
+ 'admin_label' => false,
227
+ 'dependency' => '',
228
+ 'weight' => '',
229
+ 'group' => 'Query',
230
+ 'edit_field_class' => ''
231
+ ),
232
+ array(
233
+ 'heading' => __('Start offset','auxin-portfolio' ),
234
+ 'description' => __('Number of post to displace or pass over.', 'auxin-portfolio' ),
235
+ 'param_name' => 'offset',
236
+ 'type' => 'textfield',
237
+ 'value' => '',
238
+ 'holder' => 'textfield',
239
+ 'class' => '',
240
+ 'admin_label' => false,
241
+ 'dependency' => '',
242
+ 'weight' => '',
243
+ 'group' => 'Query',
244
+ 'edit_field_class' => ''
245
+ ),
246
+ array(
247
+ 'heading' => __('Insert portfolio title','auxin-portfolio' ),
248
+ 'description' => '',
249
+ 'param_name' => 'show_title',
250
+ 'type' => 'aux_switch',
251
+ 'value' => '1',
252
+ 'class' => '',
253
+ 'admin_label' => false,
254
+ 'dependency' => '',
255
+ 'weight' => '',
256
+ 'group' => '',
257
+ 'edit_field_class' => ''
258
+ ),
259
+ array(
260
+ 'heading' => __('Insert portfolio meta','auxin-portfolio' ),
261
+ 'description' => '',
262
+ 'param_name' => 'show_info',
263
+ 'type' => 'aux_switch',
264
+ 'value' => '1',
265
+ 'class' => '',
266
+ 'admin_label' => false,
267
+ 'weight' => '',
268
+ 'group' => '',
269
+ 'edit_field_class' => ''
270
+ ),
271
+ array(
272
+ 'heading' => __('Post tile style','auxin-portfolio' ),
273
+ 'description' => '',
274
+ 'param_name' => 'tile_skin',
275
+ 'type' => 'dropdown',
276
+ 'def_value' => '',
277
+ 'holder' => '',
278
+ 'class' => 'tile_skin',
279
+ 'admin_label' => false,
280
+ 'dependency' => '',
281
+ 'weight' => '',
282
+ 'group' => 'Style',
283
+ 'edit_field_class' => '',
284
+ 'value' => array(
285
+ 'darken' => __('Dark', 'auxin-portfolio'),
286
+ 'lighten' => __('Light', 'auxin-portfolio'),
287
+ ),
288
+ ),
289
+ array(
290
+ 'heading' => __('Navigation control', 'auxin-portfolio'),
291
+ 'description' => '',
292
+ 'param_name' => 'carousel_navigation_control',
293
+ 'type' => 'dropdown',
294
+ 'def_value' => 'arrows',
295
+ 'holder' => '',
296
+ 'class' => 'num',
297
+ 'value' => array(
298
+ 'arrows' => __('Arrows', 'auxin-portfolio'),
299
+ 'bullets' => __('Bullets', 'auxin-portfolio'),
300
+ '' => __('None', 'auxin-portfolio'),
301
+ ),
302
+ 'dependency' => array(
303
+ 'element' => 'preview_mode',
304
+ 'value' => 'carousel'
305
+ ),
306
+ 'weight' => '',
307
+ 'admin_label' => false,
308
+ 'group' => 'Carousel',
309
+ 'edit_field_class' => ''
310
+ ),
311
+ array(
312
+ 'heading' => __('Button Navigation Style','auxin-portfolio' ),
313
+ 'description' => '',
314
+ 'param_name' => 'button_style',
315
+ 'type' => 'aux_visual_select',
316
+ 'def_value' => '',
317
+ 'holder' => '',
318
+ 'class' => 'button_style',
319
+ 'admin_label' => false,
320
+ 'dependency' => array(
321
+ 'element' => 'carousel_navigation_control',
322
+ 'value' => 'arrows'
323
+ ),
324
+ 'weight' => '',
325
+ 'group' => 'Style',
326
+ 'edit_field_class' => '',
327
+ 'choices' => array(
328
+ 'pattern-1' => array(
329
+ 'label' => __('Pattern 1', 'auxin-portfolio' ),
330
+ 'image' => AUXIN_URL . 'images/visual-select/button-normal.svg'
331
+ ),
332
+ 'pattern-2' => array(
333
+ 'label' => __('Pattern 2', 'auxin-portfolio' ),
334
+ 'image' => AUXIN_URL . 'images/visual-select/button-curved.svg'
335
+ ),
336
+ ),
337
+ ),
338
+ array(
339
+ 'heading' => __('Loop navigation','auxin-portfolio' ),
340
+ 'description' => '',
341
+ 'param_name' => 'carousel_loop',
342
+ 'type' => 'aux_switch',
343
+ 'value' => '1',
344
+ 'class' => '',
345
+ 'dependency' => array(
346
+ 'element' => 'preview_mode',
347
+ 'value' => 'carousel'
348
+ ),
349
+ 'weight' => '',
350
+ 'group' => 'Carousel',
351
+ 'edit_field_class' => ''
352
+ ),
353
+ array(
354
+ 'heading' => __('Autoplay carousel','auxin-portfolio' ),
355
+ 'description' => '',
356
+ 'param_name' => 'carousel_autoplay',
357
+ 'type' => 'aux_switch',
358
+ 'value' => '0',
359
+ 'class' => '',
360
+ 'admin_label' => false,
361
+ 'dependency' => array(
362
+ 'element' => 'preview_mode',
363
+ 'value' => 'carousel'
364
+ ),
365
+ 'weight' => '',
366
+ 'group' => 'Carousel',
367
+ 'edit_field_class' => ''
368
+ ),
369
+ array(
370
+ 'heading' => __('Autoplay delay','auxin-portfolio' ),
371
+ 'description' => __('Specifies the delay between auto-forwarding in seconds.', 'auxin-portfolio' ),
372
+ 'param_name' => 'carousel_autoplay_delay',
373
+ 'type' => 'textfield',
374
+ 'value' => '2',
375
+ 'holder' => '',
376
+ 'class' => 'excerpt_len',
377
+ 'admin_label' => false,
378
+ 'dependency' => array(
379
+ 'element' => 'preview_mode',
380
+ 'value' => 'carousel'
381
+ ),
382
+ 'weight' => '',
383
+ 'group' => 'Carousel',
384
+ 'edit_field_class' => ''
385
+ ),
386
+ array(
387
+ 'heading' => __('Extra class name','auxin-portfolio' ),
388
+ 'description' => __('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'auxin-portfolio' ),
389
+ 'param_name' => 'extra_classes',
390
+ 'type' => 'textfield',
391
+ 'value' => '',
392
+ 'def_value' => '',
393
+ 'holder' => '',
394
+ 'class' => 'extra_classes',
395
+ 'admin_label' => false,
396
+ 'dependency' => '',
397
+ 'weight' => '',
398
+ 'group' => '',
399
+ 'edit_field_class' => ''
400
+ )
401
+ )
402
+ );
403
+
404
+ return $master_array;
405
+ }
406
+
407
+ add_filter( 'auxin_master_array_shortcodes', 'auxin_get_recent_portfolios_tiles_carousel_master_array', 10, 1 );
408
+
409
+
410
+ /**
411
+ * Element without loop and column
412
+ * The front-end output of this element is returned by the following function
413
+ *
414
+ * @param array $atts The array containing the parsed values from shortcode, it should be same as defined params above.
415
+ * @param string $shortcode_content The shorcode content
416
+ * @return string The output of element markup
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
425
+ 'cat' => ' ',
426
+ 'num' => '5', // max generated entry
427
+ 'only_posts__in' => '', // display only these post IDs. array or string comma separated
428
+ 'include' => '', // include these post IDs in result too. array or string comma separated
429
+ 'exclude' => '', // exclude these post IDs from result. array or string comma separated
430
+ 'posts_per_page' => -1,
431
+ 'offset' => '',
432
+ 'item_style' => 'overlay',
433
+ 'paged' => '',
434
+ 'order_by' => 'date',
435
+ 'order' => 'DESC',
436
+ 'excerpt_len' => '160',
437
+ 'exclude_without_media' => true,
438
+ 'page' => '2',
439
+ 'exclude_quote_link' => true,
440
+ 'tile_skin' => 'darken',
441
+ 'button_style' => 'pattern-1',
442
+ 'display_title' => true,
443
+ 'show_info' => true,
444
+ 'extra_classes' => '',
445
+ 'extra_column_classes' => '',
446
+ 'custom_el_id' => '',
447
+ 'template_part_file' => 'theme-parts/entry/post-tile',
448
+ 'extra_template_path' => '',
449
+ 'universal_id' => '',
450
+ 'reset_query' => true,
451
+ 'carousel_autoplay' => false,
452
+ 'carousel_navigation_control' => 'arrows',
453
+ 'carousel_loop' => 1,
454
+ 'use_wp_query' => false, // true to use the global wp_query, false to use internal custom query
455
+ 'wp_query_args' => array(), // additional wp_query args
456
+ 'loadmore_type' => '', // 'next' (more button), 'scroll', 'next-prev'
457
+ 'loadmore_per_page' => '',
458
+ 'base_class' => 'aux-widget-recent-portfolios aux-carousel'
459
+ );
460
+
461
+ $result = auxin_get_widget_scafold( $atts, $default_atts, $shortcode_content );
462
+ extract( $result['parsed_atts'] );
463
+
464
+ ob_start();
465
+
466
+ global $wp_query;
467
+
468
+ if( ! $use_wp_query ){
469
+
470
+ // create wp_query to get latest items -----------
471
+ $args = array(
472
+ 'post_type' => 'portfolio',
473
+ 'orderby' => $order_by,
474
+ 'order' => $order,
475
+ 'offset' => $offset,
476
+ 'cat' => $cat,
477
+ 'post_status' => 'publish',
478
+ 'posts_per_page' => $num * $page,
479
+ 'ignore_sticky_posts' => 1,
480
+ 'include_posts__in' => $include, // include posts in this liat
481
+ 'posts__not_in' => $exclude, // exclude posts in this list
482
+ 'posts__in' => $only_posts__in, // only posts in this list
483
+
484
+ 'exclude_without_media' => $exclude_without_media,
485
+ 'exclude_post_formats_in' => $exclude_post_formats_in
486
+ );
487
+
488
+ // ---------------------------------------------------------------------
489
+
490
+ // add the additional query args if available
491
+ if( $wp_query_args ){
492
+ $args = wp_parse_args( $args, $wp_query_args );
493
+ }
494
+
495
+ // pass the args through the auxin query parser
496
+ $wp_query = new WP_Query( auxin_parse_query_args( $args ) );
497
+ }
498
+
499
+ // widget header ------------------------------
500
+ echo $result['widget_header'];
501
+ echo $result['widget_title'];
502
+
503
+ $phone_break_point = 767;
504
+ $tablet_break_point = 992;
505
+
506
+ $show_comments = true; // shows comments icon
507
+ $post_counter = 0;
508
+ $item_class = 'aux-iso-item aux-image-box';
509
+
510
+ if( ! empty( $loadmore_type ) ) {
511
+ $item_class .= ' aux-ajax-item';
512
+ }
513
+
514
+ // check item style and define related variables
515
+ switch ( $item_style ) {
516
+ case 'overlay':
517
+ $frame_effect_classes = 'aux-frame-'. esc_attr( $tile_skin ) .' aux-frame-zoom aux-keep-aspect';
518
+ $hover_classes = 'aux-hover-active';
519
+ $show_lightbox = false;
520
+ $tamplate_file = 'column-overlay';
521
+ break;
522
+ case 'overlay-boxed':
523
+ $frame_effect_classes = 'aux-frame-boxed-'. esc_attr( $tile_skin ) .' aux-keep-aspect';
524
+ $hover_classes = 'aux-hover-active';
525
+ $show_lightbox = false;
526
+ $tamplate_file = 'column-overlay';
527
+ break;
528
+ case 'overlay-lightbox':
529
+ $frame_effect_classes = 'aux-frame-'. esc_attr( $tile_skin ) .' aux-keep-aspect';
530
+ $hover_classes = 'aux-hover-active aux-hover-twoway';
531
+ $show_lightbox = true;
532
+ $tamplate_file = 'column-overlay';
533
+ break;
534
+ case 'overlay-lightbox-boxed':
535
+ $frame_effect_classes = 'aux-frame-boxed-'. esc_attr( $tile_skin ) .' aux-keep-aspect';
536
+ $hover_classes = 'aux-hover-active aux-hover-twoway';
537
+ $show_lightbox = true;
538
+ $tamplate_file = 'column-overlay';
539
+ break;
540
+ default:
541
+ $frame_effect_classes = '';
542
+ $hover_classes = '';
543
+ $show_lightbox = false;
544
+ $tamplate_file = 'portfolio-column';
545
+ }
546
+
547
+ $container_class = 'aux-portfolio-columns master-carousel aux-no-js aux-mc-before-init aux-tile-' . esc_attr( $tile_skin ) . ' ';
548
+ // genereate the master carousel attributes
549
+ $carousel_attrs = 'data-columns="1"';
550
+ $carousel_attrs .= ' data-autoplay="'. esc_attr( $carousel_autoplay ) .'"';
551
+ $carousel_attrs .= ' data-navigation="peritem"';
552
+ $carousel_attrs .= ' data-loop="' . esc_attr( $carousel_loop ) . '"';
553
+ $carousel_attrs .= ' data-wrap-controls="true"';
554
+ $carousel_attrs .= ' data-bullets="' . ('bullets' == $carousel_navigation_control ? 'true' : 'false') . '"';
555
+ $carousel_attrs .= ' data-bullet-class="aux-bullets aux-small aux-mask"';
556
+ $carousel_attrs .= ' data-arrows="' . ('arrows' == $carousel_navigation_control ? 'true' : 'false') . '"';
557
+ $carousel_attrs .= ' data-same-height="false"';
558
+ $column_media_width = auxin_get_content_column_width( 4, 0 );
559
+
560
+ $have_posts = $wp_query->have_posts();
561
+
562
+ if( $have_posts ){
563
+
564
+
565
+ echo ! $skip_wrappers ? sprintf( '<div data-element-id="%s" class="%s" %s>', esc_attr( $universal_id ), esc_attr( $container_class ), $carousel_attrs ) : '';
566
+
567
+ while ( $wp_query->have_posts() ) {
568
+ $item_pattern_info = auxin_get_tile_pattern( 'default', $post_counter, $column_media_width );
569
+
570
+ $post_counter++;
571
+
572
+ if ( ( $post_counter % $num ) == 1 ){
573
+ echo '<div class="aux-mc-item aux-tiles-layout">';
574
+ }
575
+
576
+
577
+ $wp_query->the_post();
578
+ $post = $wp_query->post;
579
+
580
+
581
+ $post_vars = auxin_get_post_format_media(
582
+ $post,
583
+ array(
584
+ 'request_from' => 'archive',
585
+ 'media_width' => $phone_break_point,
586
+ 'media_size' => 'large',
587
+ 'upscale_image' => true,
588
+ 'image_from_content' => ! $exclude_without_media,
589
+ 'ignore_formats' => array( '*' ),
590
+ 'image_sizes' => $item_pattern_info['image_sizes'],
591
+ 'srcset_sizes' => $item_pattern_info['srcset_sizes']
592
+ )
593
+ );
594
+ $item_classes = $item_pattern_info['classname'];
595
+
596
+ extract( $post_vars );
597
+
598
+ $post_classes = $item_class .' post '. $item_pattern_info['classname'];
599
+
600
+ $the_format = get_post_format( $post );?>
601
+
602
+ <div class="aux-iso-item <?php echo $item_classes ;?>">
603
+ <?php
604
+ include auxin_get_template_file( 'theme-parts/entry/portfolio', $tamplate_file, AUXPFO()->template_path() );?>
605
+
606
+ </div><?php
607
+
608
+ if ( ( $post_counter % $num ) == 0 ){
609
+ $post_counter = 0;
610
+ echo '</div>';
611
+ }
612
+
613
+ }
614
+ if ( $page != 1 && 'bullets' != $carousel_navigation_control ) {
615
+ ?>
616
+ <div class="aux-carousel-controls">
617
+ <?php if ( $button_style === 'pattern-1' ) { ?>
618
+ <div class="aux-next-arrow aux-arrow-nav aux-outline aux-hover-fill">
619
+ <span class="aux-svg-arrow aux-small-right"></span>
620
+ <span class="aux-hover-arrow aux-white aux-svg-arrow aux-small-right"></span>
621
+ </div>
622
+ <div class="aux-prev-arrow aux-arrow-nav aux-outline aux-hover-fill">
623
+ <span class="aux-svg-arrow aux-small-left"></span>
624
+ <span class="aux-hover-arrow aux-white aux-svg-arrow aux-small-left"></span>
625
+ </div>
626
+ <?php } else { ?>
627
+ <div class="aux-next-arrow aux-arrow-nav aux-hover-slide aux-round aux-outline aux-medium">
628
+ <span class="aux-overlay"></span>
629
+ <span class="aux-svg-arrow aux-medium-right"></span>
630
+ <span class="aux-hover-arrow aux-svg-arrow aux-medium-right aux-white"></span>
631
+ </div>
632
+ <div class="aux-prev-arrow aux-arrow-nav aux-hover-slide aux-round aux-outline aux-medium">
633
+ <span class="aux-overlay"></span>
634
+ <span class="aux-svg-arrow aux-medium-left"></span>
635
+ <span class="aux-hover-arrow aux-svg-arrow aux-medium-left aux-white"></span>
636
+ </div>
637
+ <?php } ?>
638
+ </div>
639
+
640
+ <?php
641
+ }
642
+
643
+ if( ! $skip_wrappers ) {
644
+ // End tag for aux-ajax-view wrapper & Execute load more functionality
645
+ echo '</div>' . auxin_get_load_more_controller( $loadmore_type );
646
+
647
+ } else {
648
+ // Get post counter in the query
649
+ echo '<span class="aux-post-count hidden">'.$wp_query->post_count.'</span>';
650
+ }
651
+ }
652
+
653
+ if( $reset_query ){
654
+ wp_reset_query();
655
+ }
656
+
657
+ // return false if no result found
658
+ if( ! $have_posts ){
659
+ ob_get_clean();
660
+ return false;
661
+ }
662
+
663
+ // widget footer ------------------------------
664
+ echo $result['widget_footer'];
665
+
666
+ return ob_get_clean();
667
+ }
includes/elements/recent-portfolios.php CHANGED
@@ -7,14 +7,14 @@
7
  * @license LICENSE.txt
8
  * @author
9
  * @link http://averta.net/phlox/
10
- * @copyright (c) 2010-2017
11
  */
12
 
13
  function auxin_get_recent_portfolios_master_array( $master_array ) {
14
 
15
 
16
  $master_array['aux_recent_portfolios_grid'] = array(
17
- 'name' => __('Recent Portfolio on Grid, Tile and Masonry', 'auxin-portfolio' ),
18
  'auxin_output_callback' => 'auxin_widget_recent_portfolios_grid_callback',
19
  'base' => 'aux_recent_portfolios_grid',
20
  'description' => __('It adds recent portfolio items in gird, tile or masonry style.', 'auxin-portfolio' ),
@@ -31,7 +31,7 @@ function auxin_get_recent_portfolios_master_array( $master_array ) {
31
  'admin_enqueue_css' => '',
32
  'front_enqueue_js' => '',
33
  'front_enqueue_css' => '',
34
- 'icon' => 'auxin-element auxin-grid',
35
  'custom_markup' => '',
36
  'js_view' => '',
37
  'html_template' => '',
@@ -256,7 +256,7 @@ function auxin_get_recent_portfolios_master_array( $master_array ) {
256
  'heading' => __('Portfolio hover type','auxin-portfolio' ),
257
  'description' => '',
258
  'param_name' => 'item_style',
259
- 'type' => 'dropdown',
260
  'def_value' => 'classic',
261
  'holder' => '',
262
  'admin_label' => false,
@@ -266,14 +266,36 @@ function auxin_get_recent_portfolios_master_array( $master_array ) {
266
  ),
267
  'weight' => '',
268
  'edit_field_class' => '',
269
- 'value' => array(
270
- 'classic' => __('Classic', 'auxin-portfolio' ),
271
- 'classic-lightbox' => __('Classic with lightbox style 1', 'auxin-portfolio' ),
272
- 'classic-lightbox-boxed' => __('Classic with lightbox style 2', 'auxin-portfolio' ),
273
- 'overlay' => __('Overlay title style 1', 'auxin-portfolio' ),
274
- 'overlay-boxed' => __('Overlay title style 2', 'auxin-portfolio' ),
275
- 'overlay-lightbox' => __('Overlay title with lightbox style 1', 'auxin-portfolio' ),
276
- 'overlay-lightbox-boxed' => __('Overlay title with lightbox style 2', 'auxin-portfolio' ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
277
  )
278
  ),
279
  array(
@@ -375,11 +397,12 @@ function auxin_get_recent_portfolios_master_array( $master_array ) {
375
  'description' => __('Filter by categories or tags', 'auxin-portfolio' ),
376
  'param_name' => 'filter_by',
377
  'type' => 'dropdown',
378
- 'def_value' => 'portfolio-cat',
379
  'holder' => 'dropdown',
380
  'value' =>array (
381
- 'portfolio-cat' => __('Categories', 'auxin-portfolio'),
382
- 'portfolio-tag' => __('Tags', 'auxin-portfolio')
 
383
  ),
384
  'dependency' => array(
385
  'element' => 'show_filters',
@@ -459,7 +482,60 @@ function auxin_get_recent_portfolios_master_array( $master_array ) {
459
  'aux-overlay aux-underline-anim' => array(
460
  'label' => __('Float underline' , 'auxin-portfolio'),
461
  'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/FilterUnderline.webm webm'
462
- ), ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
463
  ),
464
  array(
465
  'heading' => __('Display like button','auxin-portfolio' ),
@@ -479,7 +555,7 @@ function auxin_get_recent_portfolios_master_array( $master_array ) {
479
  'edit_field_class' => ''
480
  ),
481
  array(
482
- 'heading' => __('Deeplink','auxin-portfolio' ),
483
  'description' => __('Enables the deeplink feature, it updates URL based on page and filter status.', 'auxin-portfolio' ),
484
  'param_name' => 'deeplink',
485
  'type' => 'aux_switch',
@@ -669,9 +745,13 @@ function auxin_widget_recent_portfolios_grid_callback( $atts, $shortcode_content
669
  'deeplink' => 0,
670
  'deeplink_slug' => uniqid('portfolio-'),
671
  'show_filters' => 1,
672
- 'filter_by' => 'portfolio-cat',
673
  'filter_style' => 'aux-slideup',
674
  'filter_align' => 'aux-left',
 
 
 
 
675
  'item_style' => 'classic',
676
  'tiles_item_style' => 'overlay',
677
  'entry_background_color' => '',
@@ -686,6 +766,7 @@ function auxin_widget_recent_portfolios_grid_callback( $atts, $shortcode_content
686
  'tablet_cnum' => 'inherit',
687
  'phone_cnum' => '1',
688
  'layout' => 'grid',
 
689
  'tag' => '',
690
  'extra_classes' => '',
691
  'custom_el_id' => '',
@@ -834,6 +915,7 @@ function auxin_widget_recent_portfolios_grid_callback( $atts, $shortcode_content
834
  $items_classes .= ' aux-de-col' . $desktop_cnum;
835
  $items_classes .= ' aux-tb-col' . $tablet_cnum;
836
  $items_classes .= ' aux-mb-col' . $phone_cnum;
 
837
  $column_media_width = auxin_get_content_column_width( $desktop_cnum, 15 );
838
  $column_media_height = 'masonry' == $layout ? 0 : $column_media_width * $image_aspect_ratio;
839
  }
@@ -845,8 +927,10 @@ function auxin_widget_recent_portfolios_grid_callback( $atts, $shortcode_content
845
  // apply boxed style to items
846
  $is_boxed = in_array( $item_style, array( 'classic', 'classic-lightbox', 'classic-lightbox-boxed' ) ) && ( $entry_background_color || $entry_border_color );
847
 
848
- $isoxin_attrs = 'data-lazyload="true" data-space="'.$space.'" data-pagination="'. ( $paginate ? 'true' : 'false' ) . '" data-deeplink="'. ( $deeplink ? 'true' : 'false' ) . '"';
849
- $isoxin_attrs .= 'data-slug="' . $deeplink_slug . '" data-perpage="' . $perpage . '" data-layout="' . $isotop_layout . '"';
 
 
850
 
851
  $have_posts = $wp_query->have_posts();
852
 
@@ -858,35 +942,53 @@ function auxin_widget_recent_portfolios_grid_callback( $atts, $shortcode_content
858
  $terms = get_terms(
859
  array(
860
  'taxonomy' => $filter_by,
861
- 'orderby' => 'count',
 
 
 
 
 
 
862
  'hide_empty' => true
863
  )
864
  );
865
 
866
 
867
  if ( $terms ) {
868
- ?><div class="aux-filters <?php echo $filter_style . ' ' . $filter_align; ?> aux-togglable aux-isotope-filters" data-isotope="<?php echo $isotope_id; ?>"><div class="aux-select-overlay"></div><ul><?php
869
- echo '<li data-filter="all"><a href="#"><span data-select="'.__('all', 'auxin-portfolio').'">'.__('all', 'auxin-portfolio').'</span></a></li>';
 
 
870
  foreach ( $terms as $term ) {
871
  if( $filter_by === "portfolio-cat" ) {
872
 
873
- if( (! is_array($cat) ) && !( empty($cat) || $cat == " " ) ) {
874
- $cat = array($cat);
875
  }
876
 
877
- if ( ( empty($cat) || $cat == " " ) || in_array($term->term_id, $cat) ) {
878
- echo '<li data-filter="iso-filter-'.$term->name.'"><a href="#"><span data-select="'.$term->name.'">'.$term->name.'</span></a></li>';
879
  }
880
  } else {
881
- echo '<li data-filter="iso-filter-'.$term->name.'"><a href="#"><span data-select="'.$term->name.'">'.$term->name.'</span></a></li>';
882
  }
883
  }
884
- ?></ul></div><?php
 
 
 
 
 
 
 
 
 
 
885
  }
 
886
  }
887
-
888
- ?>
889
- <div id="<?php echo $isotope_id; ?>" class="<?php echo $items_classes?>" <?php echo $isoxin_attrs ?>>
890
  <div class="aux-items-loading">
891
  <div class="aux-loading-loop">
892
  <svg class="aux-circle" width="100%" height="100%" viewBox="0 0 42 42">
@@ -937,7 +1039,7 @@ function auxin_widget_recent_portfolios_grid_callback( $atts, $shortcode_content
937
  'media_width' => $phone_break_point,
938
  'media_size' => array( 'width' => $column_media_width, 'height' => $column_media_height ),
939
  'upscale_image' => true,
940
- 'preloadable_image' => true,
941
  'crop' => $crop,
942
  'add_image_hw' => true, // whether add width and height attr or not
943
  'image_sizes' => array(
@@ -966,7 +1068,7 @@ function auxin_widget_recent_portfolios_grid_callback( $atts, $shortcode_content
966
  if ( $show_filters ) {
967
  $filters = wp_get_post_terms( $post->ID, $filter_by );
968
  foreach ( $filters as $filter ) {
969
- $item_classes .= ' iso-filter-'. $filter->name;
970
  }
971
  }
972
 
@@ -1028,4 +1130,4 @@ function auxin_widget_recent_portfolios_grid_callback( $atts, $shortcode_content
1028
  echo $result['widget_footer'];
1029
 
1030
  return ob_get_clean();
1031
- }
7
  * @license LICENSE.txt
8
  * @author
9
  * @link http://averta.net/phlox/
10
+ * @copyright (c) 2010-2018
11
  */
12
 
13
  function auxin_get_recent_portfolios_master_array( $master_array ) {
14
 
15
 
16
  $master_array['aux_recent_portfolios_grid'] = array(
17
+ 'name' => __('Recent Portfolio Grid/Tile/Masonry', 'auxin-portfolio' ),
18
  'auxin_output_callback' => 'auxin_widget_recent_portfolios_grid_callback',
19
  'base' => 'aux_recent_portfolios_grid',
20
  'description' => __('It adds recent portfolio items in gird, tile or masonry style.', 'auxin-portfolio' ),
31
  'admin_enqueue_css' => '',
32
  'front_enqueue_js' => '',
33
  'front_enqueue_css' => '',
34
+ 'icon' => 'aux-element aux-pb-icons-grid',
35
  'custom_markup' => '',
36
  'js_view' => '',
37
  'html_template' => '',
256
  'heading' => __('Portfolio hover type','auxin-portfolio' ),
257
  'description' => '',
258
  'param_name' => 'item_style',
259
+ 'type' => 'aux_visual_select',
260
  'def_value' => 'classic',
261
  'holder' => '',
262
  'admin_label' => false,
266
  ),
267
  'weight' => '',
268
  'edit_field_class' => '',
269
+ 'choices' => array(
270
+ // default template
271
+ 'classic' => array(
272
+ 'label' => __('No animation' , 'auxin-portfolio'),
273
+ 'image' => AUXPFO_ADMIN_URL . '/assets/images/ClassicLightbox.png'
274
+ ),
275
+ 'classic-lightbox' => array(
276
+ 'label' => __('Classic with lightbox style 1' , 'auxin-portfolio'),
277
+ 'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/ClassicLightbox1.webm webm'
278
+ ),
279
+ 'classic-lightbox-boxed' => array(
280
+ 'label' => __('Classic with lightbox style 2' , 'auxin-portfolio'),
281
+ 'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/ClassicLightbox2.webm webm'
282
+ ),
283
+ 'overlay' => array(
284
+ 'label' => __('Overlay title style 1', 'auxin-portfolio'),
285
+ 'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/OverlayTitle1.webm webm'
286
+ ),
287
+ 'overlay-boxed' => array(
288
+ 'label' => __('Overlay title style 2', 'auxin-portfolio'),
289
+ 'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/OverlayTitle2.webm webm'
290
+ ),
291
+ 'overlay-lightbox' => array(
292
+ 'label' => __('Overlay title with lightbox style 1', 'auxin-portfolio'),
293
+ 'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/OverlayTitleLightbox1.webm webm'
294
+ ),
295
+ 'overlay-lightbox-boxed' => array(
296
+ 'label' => __('Overlay title with lightbox style 2', 'auxin-portfolio'),
297
+ 'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/OverlayTitleLightbox2.webm webm'
298
+ )
299
  )
300
  ),
301
  array(
397
  'description' => __('Filter by categories or tags', 'auxin-portfolio' ),
398
  'param_name' => 'filter_by',
399
  'type' => 'dropdown',
400
+ 'def_value' => 'portfolio-filter',
401
  'holder' => 'dropdown',
402
  'value' =>array (
403
+ 'portfolio-filter' => __('Filter', 'auxin-portfolio'),
404
+ 'portfolio-cat' => __('Category', 'auxin-portfolio'),
405
+ 'portfolio-tag' => __('Tag', 'auxin-portfolio')
406
  ),
407
  'dependency' => array(
408
  'element' => 'show_filters',
482
  'aux-overlay aux-underline-anim' => array(
483
  'label' => __('Float underline' , 'auxin-portfolio'),
484
  'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/FilterUnderline.webm webm'
485
+ ),
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(
493
+ 'heading' => __('Transition duration on reveal','auxin-portfolio' ),
494
+ 'description' => __('The transition duration while the element is going to be appeared (milliseconds).'),
495
+ 'param_name' => 'reveal_transition_duration',
496
+ 'type' => 'textfield',
497
+ 'value' => '600',
498
+ 'class' => '',
499
+ 'admin_label' => false,
500
+ 'weight' => '',
501
+ 'group' => __('Transitions', 'auxin-portfolio'),
502
+ 'edit_field_class' => ''
503
+ ),
504
+ array(
505
+ 'heading' => __('Delay between reveal','auxin-portfolio' ),
506
+ 'description' => __('The delay between each sequence of revealing transitions (milliseconds).'),
507
+ 'param_name' => 'reveal_between_delay',
508
+ 'type' => 'textfield',
509
+ 'value' => '60',
510
+ 'class' => '',
511
+ 'admin_label' => false,
512
+ 'weight' => '',
513
+ 'group' => __('Transitions', 'auxin-portfolio'),
514
+ 'edit_field_class' => ''
515
+ ),
516
+ array(
517
+ 'heading' => __('Transition duration on hide','auxin-portfolio' ),
518
+ 'description' => __('The transition duration while the element is going to be hidden (milliseconds).'),
519
+ 'param_name' => 'hide_transition_duration',
520
+ 'type' => 'textfield',
521
+ 'value' => '600',
522
+ 'class' => '',
523
+ 'admin_label' => false,
524
+ 'weight' => '',
525
+ 'group' => __('Transitions', 'auxin-portfolio'),
526
+ 'edit_field_class' => ''
527
+ ),
528
+ array(
529
+ 'heading' => __('Delay between hide','auxin-portfolio' ),
530
+ 'description' => __('The delay between each sequence of hiding transitions (milliseconds).'),
531
+ 'param_name' => 'hide_between_delay',
532
+ 'type' => 'textfield',
533
+ 'value' => '30',
534
+ 'class' => '',
535
+ 'admin_label' => false,
536
+ 'weight' => '',
537
+ 'group' => __('Transitions', 'auxin-portfolio'),
538
+ 'edit_field_class' => ''
539
  ),
540
  array(
541
  'heading' => __('Display like button','auxin-portfolio' ),
555
  'edit_field_class' => ''
556
  ),
557
  array(
558
+ 'heading' => __('Deeplink', 'auxin-portfolio' ),
559
  'description' => __('Enables the deeplink feature, it updates URL based on page and filter status.', 'auxin-portfolio' ),
560
  'param_name' => 'deeplink',
561
  'type' => 'aux_switch',
745
  'deeplink' => 0,
746
  'deeplink_slug' => uniqid('portfolio-'),
747
  'show_filters' => 1,
748
+ 'filter_by' => 'portfolio-filter',
749
  'filter_style' => 'aux-slideup',
750
  'filter_align' => 'aux-left',
751
+ 'reveal_transition_duration' => '600',
752
+ 'reveal_between_delay' => '60',
753
+ 'hide_transition_duration' => '600',
754
+ 'hide_between_delay' => '30',
755
  'item_style' => 'classic',
756
  'tiles_item_style' => 'overlay',
757
  'entry_background_color' => '',
766
  'tablet_cnum' => 'inherit',
767
  'phone_cnum' => '1',
768
  'layout' => 'grid',
769
+ 'tax_args' => '',
770
  'tag' => '',
771
  'extra_classes' => '',
772
  'custom_el_id' => '',
915
  $items_classes .= ' aux-de-col' . $desktop_cnum;
916
  $items_classes .= ' aux-tb-col' . $tablet_cnum;
917
  $items_classes .= ' aux-mb-col' . $phone_cnum;
918
+ $items_classes .= 'grid' === $layout ? ' aux-match-height' : '';
919
  $column_media_width = auxin_get_content_column_width( $desktop_cnum, 15 );
920
  $column_media_height = 'masonry' == $layout ? 0 : $column_media_width * $image_aspect_ratio;
921
  }
927
  // apply boxed style to items
928
  $is_boxed = in_array( $item_style, array( 'classic', 'classic-lightbox', 'classic-lightbox-boxed' ) ) && ( $entry_background_color || $entry_border_color );
929
 
930
+ $isoxin_attrs = 'data-lazyload="true" data-space="'.esc_attr( $space ).'" data-pagination="'. ( $paginate ? 'true' : 'false' ) . '" data-deeplink="'. ( $deeplink ? 'true' : 'false' ) . '"';
931
+ $isoxin_attrs .= ' data-slug="'. esc_attr( $deeplink_slug ).'" data-perpage="'.esc_attr( $perpage ).'" data-layout="'.esc_attr( $isotop_layout ).'"';
932
+ $isoxin_attrs .= ' data-reveal-transition-duration="'. esc_attr( $reveal_transition_duration ).'" data-reveal-between-delay="'.esc_attr( $reveal_between_delay ).'"';
933
+ $isoxin_attrs .= ' data-hide-transition-duration="'. esc_attr( $hide_transition_duration ).'" data-hide-between-delay="'.esc_attr( $hide_between_delay ).'"';
934
 
935
  $have_posts = $wp_query->have_posts();
936
 
942
  $terms = get_terms(
943
  array(
944
  'taxonomy' => $filter_by,
945
+ 'meta_query' => array(
946
+ 'relation' => 'OR',
947
+ array(
948
+ 'meta_key' => 'tax_position',
949
+ )
950
+ ),
951
+ 'orderby' => 'tax_position',
952
  'hide_empty' => true
953
  )
954
  );
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
+
962
  foreach ( $terms as $term ) {
963
  if( $filter_by === "portfolio-cat" ) {
964
 
965
+ if( (! is_array( $cat) ) && !( empty( $cat ) || $cat == " " ) ) {
966
+ $cat = array( $cat );
967
  }
968
 
969
+ if ( ( empty( $cat ) || $cat == " " ) || in_array( $term->term_id, $cat ) ) {
970
+ $list_output .= '<li data-filter="'.$term->slug.'"><a href="#"><span data-select="'.$term->name.'">'.$term->name.'</span></a></li>';
971
  }
972
  } else {
973
+ $list_output .= '<li data-filter="'.$term->slug.'"><a href="#"><span data-select="'.$term->name.'">'.$term->name.'</span></a></li>';
974
  }
975
  }
976
+
977
+ $output_classes = 'aux-isotope-filters aux-filters ' . $filter_style . ' ' . $filter_align . ' ';
978
+ $output_classes .= 'aux-dropdown-filter' != $filter_style ? 'aux-togglable ': '';
979
+
980
+ $filter_output = '<div class="' . esc_attr( $output_classes ) . '" data-isotope="' . esc_attr( $isotope_id ) . '">' ;
981
+ $filter_output .= 'aux-dropdown-filter' != $filter_style ? '<div class="aux-select-overlay"></div>': '';
982
+ $filter_output .= 'aux-dropdown-filter' === $filter_style ? '<span class="aux-filter-by"> ' . __('Category:', 'auxin-portfolio') . ' <span class="aux-filter-name"> ' . __('all', 'auxin-portfolio') . ' </span></span>': '';
983
+ $filter_output .= $list_output . '</ul>';
984
+ $filter_output .= '</div>';
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 ?>>
 
992
  <div class="aux-items-loading">
993
  <div class="aux-loading-loop">
994
  <svg class="aux-circle" width="100%" height="100%" viewBox="0 0 42 42">
1039
  'media_width' => $phone_break_point,
1040
  'media_size' => array( 'width' => $column_media_width, 'height' => $column_media_height ),
1041
  'upscale_image' => true,
1042
+ 'preloadable_image' => false,
1043
  'crop' => $crop,
1044
  'add_image_hw' => true, // whether add width and height attr or not
1045
  'image_sizes' => array(
1068
  if ( $show_filters ) {
1069
  $filters = wp_get_post_terms( $post->ID, $filter_by );
1070
  foreach ( $filters as $filter ) {
1071
+ $item_classes .= ' '. $filter->slug;
1072
  }
1073
  }
1074
 
1130
  echo $result['widget_footer'];
1131
 
1132
  return ob_get_clean();
1133
+ }
includes/general-functions.php CHANGED
@@ -6,7 +6,7 @@
6
  * @license LICENSE.txt
7
  * @author
8
  * @link http://averta.net/phlox/
9
- * @copyright (c) 2010-2017
10
  */
11
 
12
 
6
  * @license LICENSE.txt
7
  * @author
8
  * @link http://averta.net/phlox/
9
+ * @copyright (c) 2010-2018
10
  */
11
 
12
 
includes/general-hooks.php CHANGED
@@ -7,7 +7,7 @@
7
  * @license LICENSE.txt
8
  * @author
9
  * @link http://averta.net/phlox/
10
- * @copyright (c) 2010-2017
11
  */
12
 
13
 
@@ -20,7 +20,7 @@
20
  * @license LICENSE.txt
21
  * @author
22
  * @link http://averta.net/phlox/
23
- * @copyright (c) 2010-2017
24
  */
25
  function auxin_define_portfolio_theme_options( $fields_sections_list ){
26
 
@@ -44,10 +44,11 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
44
  // Sub section - Portfolio Single Page -------------------------------
45
 
46
  $sections[] = array(
47
- 'id' => 'portfolio-section-single',
48
- 'parent' => 'portfolio-section', // section parent's id
49
- 'title' => __( 'Single Portfolio', 'auxin-portfolio'),
50
- 'description' => __( 'Single Portfolio Setting', 'auxin-portfolio')
 
51
  );
52
 
53
 
@@ -93,7 +94,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
93
  ),
94
  'default' => 'right',
95
  'type' => 'radio-image',
96
- 'transport' => 'refresh'
 
 
 
 
 
 
 
97
  );
98
 
99
  $options[] = array(
@@ -127,7 +135,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
127
  'id' => 'portfolio_single_display_side_info_meta',
128
  'section' => 'portfolio-section-single',
129
  'dependency' => '',
130
- 'transport' => 'refresh',
 
 
 
 
 
 
 
131
  'default' => '1',
132
  'type' => 'switch'
133
  );
@@ -138,7 +153,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
138
  'id' => 'portfolio_single_display_category',
139
  'section' => 'portfolio-section-single',
140
  'dependency' => '',
141
- 'transport' => 'refresh',
 
 
 
 
 
 
 
142
  'default' => '0',
143
  'type' => 'switch'
144
  );
@@ -149,7 +171,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
149
  'id' => 'portfolio_single_display_tag',
150
  'section' => 'portfolio-section-single',
151
  'dependency' => '',
152
- 'transport' => 'refresh',
 
 
 
 
 
 
 
153
  'default' => '0',
154
  'type' => 'switch'
155
  );
@@ -166,7 +195,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
166
  'operator'=> ''
167
  )
168
  ),
169
- 'transport' => 'refresh',
 
 
 
 
 
 
 
170
  'default' => '0',
171
  'type' => 'switch'
172
  );
@@ -185,6 +221,72 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
185
  'type' => 'switch'
186
  );
187
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
188
  $options[] = array(
189
  'title' => __('Skin for Next & Previous Links', 'auxin-portfolio'),
190
  'description' => __('Specifies the skin for next and previous navigation block.', 'auxin-portfolio'),
@@ -230,12 +332,33 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
230
  'thumb-arrow-sticky' => array(
231
  'label' => __('Sticky Thumbnail with Arrow', 'auxin-portfolio'),
232
  'image' => AUXIN_URL . 'images/visual-select/post-navigation-6.svg'
 
 
 
 
233
  )
234
  ),
235
  'type' => 'radio-image',
236
  'default' => 'minimal'
237
  );
238
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
239
 
240
  // Sub section - Portfolio Single Page -------------------------------
241
 
@@ -243,7 +366,7 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
243
  'id' => 'portfolio-section-single-titlebar',
244
  'parent' => 'portfolio-section', // section parent's id
245
  'title' => __( 'Portfolio Title', 'auxin-portfolio' ),
246
- 'description' => __( 'Preview a portfolio page', 'auxin-portfolio' ),
247
  'preview_link' => auxin_get_last_post_permalink( array( 'post_type' => 'portfolio' ) )
248
  );
249
 
@@ -252,7 +375,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
252
  'description' => __( 'Enable it to show the title section.', 'auxin-portfolio' ),
253
  'id' => 'portfolio_title_bar_show',
254
  'section' => 'portfolio-section-single-titlebar',
255
- 'transport' => 'refresh',
 
 
 
 
 
 
 
256
  'type' => 'switch',
257
  'default' => '0'
258
  );
@@ -262,7 +392,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
262
  'description' => '',
263
  'id' => 'portfolio_title_bar_preset',
264
  'section' => 'portfolio-section-single-titlebar',
265
- 'transport' => 'refresh',
 
 
 
 
 
 
 
266
  'type' => 'radio-image',
267
  'default' => 'normal_title_1',
268
  'dependency' => array(
@@ -426,7 +563,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
426
  'description' => __( 'Enable it to customize preset layouts.', 'auxin-portfolio' ),
427
  'id' => 'portfolio_title_bar_enable_customize',
428
  'section' => 'portfolio-section-single-titlebar',
429
- 'transport' => 'refresh',
 
 
 
 
 
 
 
430
  'type' => 'switch',
431
  'default' => '0',
432
  'dependency' => array(
@@ -443,7 +587,6 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
443
  'description' => '',
444
  'id' => 'portfolio_title_bar_content_width_type',
445
  'section' => 'portfolio-section-single-titlebar',
446
- 'transport' => 'refresh',
447
  'type' => 'radio-image',
448
  'default' => 'boxed',
449
  'dependency' => array(
@@ -471,7 +614,9 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
471
  'label' => __( 'Full Width Content', 'auxin-portfolio' ),
472
  'css_class' => 'axiAdminIcon-content-full'
473
  )
474
- )
 
 
475
  );
476
 
477
  $options[] = array(
@@ -479,7 +624,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
479
  'description' => '',
480
  'id' => 'portfolio_title_bar_content_section_height',
481
  'section' => 'portfolio-section-single-titlebar',
482
- 'transport' => 'refresh',
 
 
 
 
 
 
 
483
  'type' => 'select',
484
  'default' => 'auto',
485
  'dependency' => array(
@@ -506,7 +658,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
506
  __( 'Note: Parallax feature in not available for "Bottom Overlap" vertical mode.', 'auxin-portfolio' ),
507
  'id' => 'portfolio_title_bar_vertical_align',
508
  'section' => 'portfolio-section-single-titlebar',
509
- 'transport' => 'refresh',
 
 
 
 
 
 
 
510
  'type' => 'select',
511
  'default' => '',
512
  'dependency' => array(
@@ -534,7 +693,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
534
  'description' => __( 'This option only applies if section height is "Full Height".', 'auxin-portfolio' ),
535
  'id' => 'portfolio_title_bar_scroll_arrow',
536
  'section' => 'portfolio-section-single-titlebar',
537
- 'transport' => 'refresh',
 
 
 
 
 
 
 
538
  'type' => 'radio-image',
539
  'default' => '',
540
  'dependency' => array(
@@ -571,12 +737,48 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
571
  )
572
  );
573
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
574
  $options[] = array(
575
  'title' => __( 'Border for Heading', 'auxin-portfolio' ),
576
  'description' => __( 'Enable it to display a border around the title and subtitle area.', 'auxin-portfolio' ),
577
  'id' => 'portfolio_title_bar_heading_bordered',
578
  'section' => 'portfolio-section-single-titlebar',
579
- 'transport' => 'refresh',
 
 
 
 
 
 
 
580
  'type' => 'switch',
581
  'default' => '0',
582
  'dependency' => array(
@@ -585,6 +787,11 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
585
  'value' => '1',
586
  'operator'=> '=='
587
  ),
 
 
 
 
 
588
  array(
589
  'id' => 'portfolio_title_bar_enable_customize',
590
  'value' => '1',
@@ -598,7 +805,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
598
  'description' => __( 'Enable it to wrap the title and subtitle in a box with background color.', 'auxin-portfolio' ),
599
  'id' => 'portfolio_title_bar_heading_boxed',
600
  'section' => 'portfolio-section-single-titlebar',
601
- 'transport' => 'refresh',
 
 
 
 
 
 
 
602
  'type' => 'switch',
603
  'default' => '0',
604
  'dependency' => array(
@@ -607,6 +821,11 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
607
  'value' => '1',
608
  'operator'=> '=='
609
  ),
 
 
 
 
 
610
  array(
611
  'id' => 'portfolio_title_bar_enable_customize',
612
  'value' => '1',
@@ -620,7 +839,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
620
  'description' => __( 'Specifies a custom background color for the box around the title and subtitle.', 'auxin-portfolio' ),
621
  'id' => 'portfolio_title_bar_heading_bg_color',
622
  'section' => 'portfolio-section-single-titlebar',
623
- 'transport' => 'refresh',
 
 
 
 
 
 
 
624
  'type' => 'color',
625
  'default' => '',
626
  'dependency' => array(
@@ -629,6 +855,11 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
629
  'value' => '1',
630
  'operator'=> '=='
631
  ),
 
 
 
 
 
632
  array(
633
  'id' => 'portfolio_title_bar_enable_customize',
634
  'value' => '1',
@@ -647,7 +878,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
647
  'description' => __( 'Enable it to display post meta information on title section.', 'auxin-portfolio' ),
648
  'id' => 'portfolio_title_bar_meta_enabled',
649
  'section' => 'portfolio-section-single-titlebar',
650
- 'transport' => 'refresh',
 
 
 
 
 
 
 
651
  'type' => 'switch',
652
  'default' => '0',
653
  'dependency' => array(
@@ -669,7 +907,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
669
  'description' => __( 'Enable it to display breadcrumb on title section.', 'auxin-portfolio' ),
670
  'id' => 'portfolio_title_bar_bread_enabled',
671
  'section' => 'portfolio-section-single-titlebar',
672
- 'transport' => 'refresh',
 
 
 
 
 
 
 
673
  'type' => 'switch',
674
  'default' => '1',
675
  'dependency' => array(
@@ -691,7 +936,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
691
  'description' => __( 'Enable it to display border around breadcrumb.', 'auxin-portfolio' ),
692
  'id' => 'portfolio_title_bar_bread_bordered',
693
  'section' => 'portfolio-section-single-titlebar',
694
- 'transport' => 'refresh',
 
 
 
 
 
 
 
695
  'type' => 'switch',
696
  'default' => '0',
697
  'dependency' => array(
@@ -718,7 +970,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
718
  'description' => __( 'Enable it to display separator between breadcrumb parts.', 'auxin-portfolio' ),
719
  'id' => 'portfolio_title_bar_bread_sep_style',
720
  'section' => 'portfolio-section-single-titlebar',
721
- 'transport' => 'refresh',
 
 
 
 
 
 
 
722
  'type' => 'radio-image',
723
  'default' => 'gt',
724
  'dependency' => array(
@@ -759,7 +1018,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
759
  'description' => '',
760
  'id' => 'portfolio_title_bar_text_align',
761
  'section' => 'portfolio-section-single-titlebar',
762
- 'transport' => 'refresh',
 
 
 
 
 
 
 
763
  'type' => 'radio-image',
764
  'default' => 'left',
765
  'dependency' => array(
@@ -795,7 +1061,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
795
  'description' => __( 'The color that overlay on the background. Please note that color should have transparency.','auxin-portfolio' ),
796
  'id' => 'portfolio_title_bar_overlay_color',
797
  'section' => 'portfolio-section-single-titlebar',
798
- 'transport' => 'refresh',
 
 
 
 
 
 
 
799
  'type' => 'color',
800
  'default' => '',
801
  'dependency' => array(
@@ -817,7 +1090,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
817
  'description' => '',
818
  'id' => 'portfolio_title_bar_overlay_pattern',
819
  'section' => 'portfolio-section-single-titlebar',
820
- 'transport' => 'refresh',
 
 
 
 
 
 
 
821
  'type' => 'radio-image',
822
  'default' => 'none',
823
  'dependency' => array(
@@ -885,7 +1165,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
885
  'description' => '',
886
  'id' => 'portfolio_title_bar_color_style',
887
  'section' => 'portfolio-section-single-titlebar',
888
- 'transport' => 'refresh',
 
 
 
 
 
 
 
889
  'type' => 'select',
890
  'default' => 'dark',
891
  'dependency' => array(
@@ -913,7 +1200,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
913
  'description' => __( 'Enable it to display custom background for title section.', 'auxin-portfolio' ),
914
  'id' => 'portfolio_title_bar_bg_show',
915
  'section' => 'portfolio-section-single-titlebar',
916
- 'transport' => 'refresh',
 
 
 
 
 
 
 
917
  'type' => 'switch',
918
  'default' => '0',
919
  'dependency' => array(
@@ -936,7 +1230,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
936
  __( 'Note: Parallax feature in not available for "Bottom Overlap" mode for "Vertical Position" option.', 'auxin-portfolio' ),
937
  'id' => 'portfolio_title_bar_bg_parallax',
938
  'section' => 'portfolio-section-single-titlebar',
939
- 'transport' => 'refresh',
 
 
 
 
 
 
 
940
  'type' => 'switch',
941
  'default' => '0',
942
  'dependency' => array(
@@ -963,7 +1264,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
963
  'description' => __( 'Specifies a background color for title bar.', 'auxin-portfolio' ),
964
  'id' => 'portfolio_title_bar_bg_color',
965
  'section' => 'portfolio-section-single-titlebar',
966
- 'transport' => 'refresh',
 
 
 
 
 
 
 
967
  'type' => 'color',
968
  'default' => '',
969
  'dependency' => array(
@@ -991,7 +1299,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
991
  'description' => __( 'Specifies the background size.', 'auxin-portfolio' ),
992
  'id' => 'portfolio_title_bar_bg_size',
993
  'section' => 'portfolio-section-single-titlebar',
994
- 'transport' => 'refresh',
 
 
 
 
 
 
 
995
  'type' => 'radio-image',
996
  'default' => '',
997
  'dependency' => array(
@@ -1033,7 +1348,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
1033
  'description' => __( 'Specifies a background image for title bar.', 'auxin-portfolio' ),
1034
  'id' => 'portfolio_title_bar_bg_image',
1035
  'section' => 'portfolio-section-single-titlebar',
1036
- 'transport' => 'refresh',
 
 
 
 
 
 
 
1037
  'type' => 'image',
1038
  'default' => '',
1039
  'dependency' => array(
@@ -1061,7 +1383,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
1061
  'description' => __( 'You can upload custom video for title background</br>Note: if you set custom image, default image backgrounds will be ignored.', 'auxin-portfolio' ),
1062
  'id' => 'portfolio_title_bar_bg_video_mp4',
1063
  'section' => 'portfolio-section-single-titlebar',
1064
- 'transport' => 'refresh',
 
 
 
 
 
 
 
1065
  'type' => 'video',
1066
  'default' => '',
1067
  'dependency' => array(
@@ -1089,7 +1418,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
1089
  'description' => __( 'You can upload custom video for title background</br>Note: if you set custom image, default image backgrounds will be ignored.', 'auxin-portfolio' ),
1090
  'id' => 'portfolio_title_bar_bg_video_ogg',
1091
  'section' => 'portfolio-section-single-titlebar',
1092
- 'transport' => 'refresh',
 
 
 
 
 
 
 
1093
  'type' => 'video',
1094
  'default' => '',
1095
  'dependency' => array(
@@ -1117,7 +1453,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
1117
  'description' => __( 'You can upload custom video for title background</br>Note: if you set custom image, default image backgrounds will be ignored.', 'auxin-portfolio' ),
1118
  'id' => 'portfolio_title_bar_bg_video_webm',
1119
  'section' => 'portfolio-section-single-titlebar',
1120
- 'transport' => 'refresh',
 
 
 
 
 
 
 
1121
  'type' => 'video',
1122
  'default' => '',
1123
  'dependency' => array(
@@ -1158,7 +1501,7 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
1158
  'section' => 'portfolio-section-single-related',
1159
  'dependency' => '',
1160
  'transport' => 'postMessage',
1161
- 'post_js' => '$(".single-portfolio .aux-widget-related-posts").toggle( to );',
1162
  'default' => '1',
1163
  'type' => 'switch'
1164
  );
@@ -1294,6 +1637,23 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
1294
  'type' => 'switch'
1295
  );
1296
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1297
 
1298
  $options[] = array(
1299
  'title' => __('Link the Button Under Related Items To', 'auxin-portfolio'),
@@ -1302,9 +1662,20 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
1302
  'section' => 'portfolio-section-single-related',
1303
  'transport' => 'refresh',
1304
  'choices' => array(
 
1305
  'archive' => __( 'Archive page', 'auxin-portfolio' ),
1306
  'custom' => __( 'Custom URL', 'auxin-portfolio' ),
1307
- 'none' => __( 'Hide it', 'auxin-portfolio' )
 
 
 
 
 
 
 
 
 
 
1308
  ),
1309
  'type' => 'select',
1310
  'default' => 'archive'
@@ -1320,6 +1691,15 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
1320
  'id' => 'portfolio_single_all_related_items_url_type',
1321
  'value' => array('custom'),
1322
  'operator' => ''
 
 
 
 
 
 
 
 
 
1323
  )
1324
  ),
1325
  'transport' => 'refresh',
@@ -1337,6 +1717,15 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
1337
  'id' => 'portfolio_single_all_related_items_url_type',
1338
  'value' => array('custom', 'archive'),
1339
  'operator' => ''
 
 
 
 
 
 
 
 
 
1340
  )
1341
  ),
1342
  'transport' => 'refresh',
@@ -1361,7 +1750,7 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
1361
  'parent' => 'portfolio-section', // section parent's id
1362
  'title' => __( 'Portfolio Page', 'auxin-portfolio'),
1363
  'description' => __( 'Preview Portfolio Page', 'auxin-portfolio'),
1364
- 'preview_link' => get_post_type_archive_link('portfolio')
1365
  );
1366
 
1367
 
@@ -1371,7 +1760,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
1371
  'id' => 'portfolio_index_template_type',
1372
  'section' => 'portfolio-section-archive',
1373
  'dependency' => array(),
1374
- 'transport' => 'refresh',
 
 
 
 
 
 
 
1375
  'choices' => array(
1376
  // default template
1377
  'grid-1' => array(
@@ -1414,7 +1810,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
1414
  '1.00' => __('Square 1:1' , 'auxin-portfolio'),
1415
  '1.33' => __('Vertical 3:4' , 'auxin-portfolio')
1416
  ),
1417
- 'transport' => 'refresh',
 
 
 
 
 
 
 
1418
  'default' => '0.56',
1419
  );
1420
 
@@ -1435,34 +1838,48 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
1435
  // default template
1436
  'classic' => array(
1437
  'label' => __('No animation' , 'auxin-portfolio'),
1438
- 'image' => AUXPFO_ADMIN_URL . '/assets/images/ClassicLightbox.png'
 
1439
  ),
1440
  'classic-lightbox' => array(
1441
  'label' => __('Classic with lightbox style 1' , 'auxin-portfolio'),
1442
- 'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/ClassicLightbox1.webm webm'
 
1443
  ),
1444
  'classic-lightbox-boxed' => array(
1445
  'label' => __('Classic with lightbox style 2' , 'auxin-portfolio'),
1446
- 'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/ClassicLightbox2.webm webm'
 
1447
  ),
1448
  'overlay' => array(
1449
  'label' => __('Overlay title style 1', 'auxin-portfolio'),
1450
- 'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/OverlayTitle1.webm webm'
 
1451
  ),
1452
  'overlay-boxed' => array(
1453
  'label' => __('Overlay title style 2', 'auxin-portfolio'),
1454
- 'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/OverlayTitle2.webm webm'
 
1455
  ),
1456
  'overlay-lightbox' => array(
1457
  'label' => __('Overlay title with lightbox style 1', 'auxin-portfolio'),
1458
- 'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/OverlayTitleLightbox1.webm webm'
 
1459
  ),
1460
  'overlay-lightbox-boxed' => array(
1461
  'label' => __('Overlay title with lightbox style 2', 'auxin-portfolio'),
1462
- 'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/OverlayTitleLightbox2.webm webm'
 
1463
  )
1464
  ),
1465
- 'transport' => 'refresh',
 
 
 
 
 
 
 
1466
  'default' => 'classic',
1467
  );
1468
 
@@ -1497,7 +1914,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
1497
  'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/OverlayTitleLightbox2.webm webm'
1498
  )
1499
  ),
1500
- 'transport' => 'refresh',
 
 
 
 
 
 
 
1501
  'default' => 'overlay',
1502
  );
1503
 
@@ -1513,7 +1937,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
1513
  'operator'=> '=='
1514
  )
1515
  ),
1516
- 'transport' => 'refresh',
 
 
 
 
 
 
 
1517
  'default' => '30',
1518
  'type' => 'text'
1519
  );
@@ -1537,7 +1968,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
1537
  '1' => '1', '2' => '2', '3' => '3',
1538
  '4' => '4', '5' => '5', '6' => '6'
1539
  ),
1540
- 'transport' => 'refresh',
 
 
 
 
 
 
 
1541
  'default' => '4',
1542
  );
1543
 
@@ -1559,7 +1997,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
1559
  '1' => '1', '2' => '2', '3' => '3',
1560
  '4' => '4', '5' => '5', '6' => '6'
1561
  ),
1562
- 'transport' => 'refresh',
 
 
 
 
 
 
 
1563
  'default' => 'inherit',
1564
  );
1565
 
@@ -1579,7 +2024,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
1579
  'choices' => array(
1580
  '1' => '1' , '2' => '2', '3' => '3'
1581
  ),
1582
- 'transport' => 'refresh',
 
 
 
 
 
 
 
1583
  'default' => '1',
1584
  );
1585
 
@@ -1596,12 +2048,42 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
1596
  'operator'=> '!='
1597
  )
1598
  ),
1599
- 'transport' => 'refresh',
 
 
 
 
 
 
 
1600
  'default' => '1',
1601
  'type' => 'switch'
1602
  );
1603
  }
1604
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1605
  $options[] = array(
1606
  'title' => __( 'Entry Box Background Color', 'auxin-portfolio' ),
1607
  'id' => 'portfolio_classic_entry_box_background_color',
@@ -1609,6 +2091,11 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
1609
  'section' => 'portfolio-section-archive',
1610
  'type' => 'color',
1611
  'dependency' => array(
 
 
 
 
 
1612
  array(
1613
  'id' => 'portfolio_archive_grid_item_type',
1614
  'value' => array( 'classic', 'classic-lightbox', 'classic-lightbox-boxed' ),
@@ -1624,10 +2111,10 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
1624
  if( ! $value ){
1625
  $value = esc_attr( auxin_get_option( 'portfolio_classic_entry_box_background_color' ) );
1626
  }
1627
- return empty( $value ) ? '' : ".aux-archive .aux-item-classic .entry-main { background-color: $value; }";
1628
  },
1629
  'transport' => 'postMessage',
1630
- 'default' => ''
1631
  );
1632
 
1633
  $options[] = array(
@@ -1638,9 +2125,9 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
1638
  'type' => 'color',
1639
  'dependency' => array(
1640
  array(
1641
- 'id' => 'portfolio_classic_entry_box_background_color',
1642
- 'value' => array(''),
1643
- 'operator'=> '!='
1644
  ),
1645
  array(
1646
  'id' => 'portfolio_archive_grid_item_type',
@@ -1657,19 +2144,42 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
1657
  if( ! $value ){
1658
  $value = esc_attr( auxin_get_option( 'portfolio_classic_entry_box_border_color' ) );
1659
  }
1660
- return empty( $value ) ? '' : ".aux-archive .aux-item-classic .entry-main { border-color: $value !important; }";
1661
  },
1662
  'transport' => 'postMessage',
1663
- 'default' => ''
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1664
  );
1665
 
1666
  $options[] = array(
1667
  'title' => __( 'Entry Box Background Color', 'auxin-portfolio' ),
1668
  'id' => 'portfolio_land_side_background_color',
1669
- 'description' => __( 'Specifies the background color for entry box..', 'auxin-portfolio' ),
1670
  'section' => 'portfolio-section-archive',
1671
  'type' => 'color',
1672
  'dependency' => array(
 
 
 
 
 
1673
  array(
1674
  'id' => 'portfolio_index_template_type',
1675
  'value' => array('land-1'),
@@ -1680,10 +2190,10 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
1680
  if( ! $value ){
1681
  $value = esc_attr( auxin_get_option( 'portfolio_land_side_background_color' ) );
1682
  }
1683
- return empty( $value ) ? '' : ".aux-archive .aux-item-land .aux-land-side { background-color: $value; }";
1684
  },
1685
  'transport' => 'postMessage',
1686
- 'default' => ''
1687
  );
1688
 
1689
  $options[] = array(
@@ -1694,9 +2204,9 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
1694
  'type' => 'color',
1695
  'dependency' => array(
1696
  array(
1697
- 'id' => 'portfolio_land_side_background_color',
1698
- 'value' => array(''),
1699
- 'operator'=> '!='
1700
  ),
1701
  array(
1702
  'id' => 'portfolio_index_template_type',
@@ -1708,10 +2218,10 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
1708
  if( ! $value ){
1709
  $value = esc_attr( auxin_get_option( 'portfolio_land_side_border_color' ) );
1710
  }
1711
- return empty( $value ) ? '' : ".aux-archive .aux-item-land .aux-land-side { border-color: $value !important; }";
1712
  },
1713
  'transport' => 'postMessage',
1714
- 'default' => ''
1715
  );
1716
 
1717
  $options[] = array(
@@ -1795,12 +2305,110 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
1795
  'id' => 'portfolio_archive_items_perpage',
1796
  'section' => 'portfolio-section-archive',
1797
  'dependency' => array(),
1798
- 'transport' => 'refresh',
 
 
 
 
 
 
 
1799
  'default' => '12',
1800
  'type' => 'text'
1801
  );
1802
 
1803
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1804
  // Sub section - Portfolio Taxonomy Page -------------------------------
1805
 
1806
  $sections[] = array(
@@ -1816,8 +2424,15 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
1816
  'id' => 'portfolio_taxonomy_template_type',
1817
  'section' => 'portfolio-section-taxonomy',
1818
  'dependency' => array(),
1819
- 'transport' => 'refresh',
1820
- 'choices' => array(
 
 
 
 
 
 
 
1821
  // default template
1822
  'grid-1' => array(
1823
  'label' => __('Grid' , 'auxin-portfolio'),
@@ -1859,7 +2474,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
1859
  '1.00' => __('Square 1:1' , 'auxin-portfolio'),
1860
  '1.33' => __('Vertical 3:4' , 'auxin-portfolio')
1861
  ),
1862
- 'transport' => 'refresh',
 
 
 
 
 
 
 
1863
  'default' => '0.56',
1864
  );
1865
 
@@ -1907,7 +2529,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
1907
  'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/OverlayTitleLightbox2.webm webm'
1908
  )
1909
  ),
1910
- 'transport' => 'refresh',
 
 
 
 
 
 
 
1911
  'default' => 'classic',
1912
  );
1913
 
@@ -1942,7 +2571,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
1942
  'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/OverlayTitleLightbox2.webm webm'
1943
  )
1944
  ),
1945
- 'transport' => 'refresh',
 
 
 
 
 
 
 
1946
  'default' => 'overlay',
1947
  );
1948
 
@@ -1958,7 +2594,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
1958
  'operator'=> '=='
1959
  )
1960
  ),
1961
- 'transport' => 'refresh',
 
 
 
 
 
 
 
1962
  'default' => '30',
1963
  'type' => 'text'
1964
  );
@@ -1980,7 +2623,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
1980
  '1' => '1', '2' => '2', '3' => '3',
1981
  '4' => '4', '5' => '5', '6' => '6'
1982
  ),
1983
- 'transport' => 'refresh',
 
 
 
 
 
 
 
1984
  'default' => '4',
1985
  );
1986
 
@@ -2002,7 +2652,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
2002
  '1' => '1', '2' => '2', '3' => '3',
2003
  '4' => '4', '5' => '5', '6' => '6'
2004
  ),
2005
- 'transport' => 'refresh',
 
 
 
 
 
 
 
2006
  'default' => 'inherit',
2007
  );
2008
 
@@ -2022,7 +2679,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
2022
  'choices' => array(
2023
  '1' => '1' , '2' => '2', '3' => '3'
2024
  ),
2025
- 'transport' => 'refresh',
 
 
 
 
 
 
 
2026
  'default' => '1',
2027
  );
2028
 
@@ -2040,125 +2704,19 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
2040
  ),
2041
 
2042
  ),
2043
- 'transport' => 'refresh',
 
 
 
 
 
 
 
2044
  'default' => '1',
2045
  'type' => 'switch'
2046
  );
2047
  }
2048
 
2049
- $options[] = array(
2050
- 'title' => __( 'Entry Box Background Color', 'auxin-portfolio' ),
2051
- 'id' => 'portfolio_taxonomy_classic_entry_box_background_color',
2052
- 'description' => __( 'Specifies the background color for entry box.', 'auxin-portfolio' ),
2053
- 'section' => 'portfolio-section-taxonomy',
2054
- 'type' => 'color',
2055
- 'dependency' => array(
2056
- array(
2057
- 'id' => 'portfolio_taxonomy_grid_item_type',
2058
- 'value' => array( 'classic', 'classic-lightbox', 'classic-lightbox-boxed' ),
2059
- 'operator'=> '=='
2060
- ),
2061
- array(
2062
- 'id' => 'portfolio_taxonomy_template_type',
2063
- 'value' => array('grid-1', 'masonry-1'),
2064
- 'operator'=> '=='
2065
- )
2066
- ),
2067
- // not compatible with new styles
2068
- // 'style_callback' => function( $value = null ){
2069
- // if( ! $value ){
2070
- // $value = esc_attr( auxin_get_option( 'portfolio_classic_entry_box_background_color' ) );
2071
- // }
2072
- // return empty( $value ) ? '' : ".aux-archive.aux-tax .aux-item-classic .entry-main { background-color:$value; padding:25px 30px 5px } .aux-archive .aux-item-classic .entry-media { margin-bottom: 0 }";
2073
- // },
2074
- // 'transport' => 'postMessage',
2075
- 'default' => ''
2076
- );
2077
-
2078
- $options[] = array(
2079
- 'title' => __( 'Entry Box Border Color', 'auxin-portfolio' ),
2080
- 'id' => 'portfolio_taxonomy_classic_entry_box_border_color',
2081
- 'description' => __( 'Specifies the border color for entry box.', 'auxin-portfolio' ),
2082
- 'section' => 'portfolio-section-taxonomy',
2083
- 'type' => 'color',
2084
- 'dependency' => array(
2085
- array(
2086
- 'id' => 'portfolio_taxonomy_classic_entry_box_background_color',
2087
- 'value' => array(''),
2088
- 'operator'=> '!='
2089
- ),
2090
- array(
2091
- 'id' => 'portfolio_taxonomy_grid_item_type',
2092
- 'value' => array( 'classic', 'classic-lightbox', 'classic-lightbox-boxed' ),
2093
- 'operator'=> '=='
2094
- ),
2095
- array(
2096
- 'id' => 'portfolio_taxonomy_template_type',
2097
- 'value' => array('grid-1', 'masonry-1'),
2098
- 'operator'=> '=='
2099
- )
2100
- ),
2101
- 'style_callback' => function( $value = null ){
2102
- if( ! $value ){
2103
- $value = esc_attr( auxin_get_option( 'portfolio_taxonomy_classic_entry_box_border_color' ) );
2104
- }
2105
- return empty( $value ) ? '' : ".aux-archive.aux-tax .aux-item-classic .entry-main { border-color: $value; border-top-width: 0 }";
2106
- },
2107
- 'transport' => 'postMessage',
2108
- 'default' => ''
2109
- );
2110
-
2111
- $options[] = array(
2112
- 'title' => __( 'Background Color For Land Layout', 'auxin-portfolio' ),
2113
- 'id' => 'portfolio_taxonomy_land_side_background_color',
2114
- 'description' => __( 'Specifies the background color for land layout.', 'auxin-portfolio' ),
2115
- 'section' => 'portfolio-section-taxonomy',
2116
- 'type' => 'color',
2117
- 'dependency' => array(
2118
- array(
2119
- 'id' => 'portfolio_taxonomy_template_type',
2120
- 'value' => array('land-1'),
2121
- 'operator'=> '=='
2122
- )
2123
- ),
2124
- 'style_callback' => function( $value = null ){
2125
- if( ! $value ){
2126
- $value = esc_attr( auxin_get_option( 'portfolio_taxonomy_land_side_background_color' ) );
2127
- }
2128
- return empty( $value ) ? '' : ".aux-archive.aux-tax .aux-item-land .aux-land-side { background-color:$value }";
2129
- },
2130
- 'transport' => 'postMessage',
2131
- 'default' => ''
2132
- );
2133
-
2134
- $options[] = array(
2135
- 'title' => __( 'Border Color For Land Layout', 'auxin-portfolio' ),
2136
- 'id' => 'portfolio_taxonomy_land_side_border_color',
2137
- 'description' => __( 'Specifies the border color for land layout.', 'auxin-portfolio' ),
2138
- 'section' => 'portfolio-section-taxonomy',
2139
- 'type' => 'color',
2140
- 'dependency' => array(
2141
- array(
2142
- 'id' => 'portfolio_taxonomy_land_side_background_color',
2143
- 'value' => array(''),
2144
- 'operator'=> '!='
2145
- ),
2146
- array(
2147
- 'id' => 'portfolio_taxonomy_template_type',
2148
- 'value' => array('land-1'),
2149
- 'operator'=> '=='
2150
- )
2151
- ),
2152
- 'style_callback' => function( $value = null ){
2153
- if( ! $value ){
2154
- $value = esc_attr( auxin_get_option( 'portfolio_taxonomy_land_side_border_color' ) );
2155
- }
2156
- return empty( $value ) ? '' : ".aux-archive.aux-tax .aux-item-land .aux-land-side { border-color: $value !important; }";
2157
- },
2158
- 'transport' => 'postMessage',
2159
- 'default' => ''
2160
- );
2161
-
2162
  $options[] = array(
2163
  'title' => __('Taxonomy Page Sidebar Position', 'auxin-portfolio'),
2164
  'description' => 'Specifies the position of sidebar on category & tag page.',
@@ -2463,14 +3021,27 @@ add_action( 'auxin_portfolio_single_after_content_primary', 'auxpfo_single_portf
2463
  * @return void
2464
  */
2465
  function auxpfo_single_portfolio_show_all_portfolios( $post ){
2466
- if( "custom" === auxin_get_option( "portfolio_single_all_related_items_url_type", "archive" ) ){
2467
- $portfolio_link = auxin_get_option( "portfolio_single_all_related_items_btn_url", "" );
 
 
 
 
 
 
 
 
 
 
 
2468
  } else {
2469
  $portfolio_link = get_post_type_archive_link( "portfolio" );
2470
  }
2471
- $portfolio_label = auxin_get_option( "portfolio_single_all_related_items_btn_label", "" );
2472
 
2473
- if( $portfolio_link && $portfolio_label ){
 
 
 
2474
  ?>
2475
  <div class="aux-container aux-related-container-more aux-fold">
2476
  <a href="<?php echo esc_url( $portfolio_link ); ?>" class="aux-button aux-cta-button aux-shamrock aux-exlarge aux-curve aux-related-btn-more" target="_blank">
@@ -2496,3 +3067,26 @@ function auxpfo_single_portfolio_no_sidebar( $layout, $post ){
2496
  return $layout;
2497
  }
2498
  add_filter( "auxin_get_page_sidebar_pos", "auxpfo_single_portfolio_no_sidebar", 10, 2 );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  * @license LICENSE.txt
8
  * @author
9
  * @link http://averta.net/phlox/
10
+ * @copyright (c) 2010-2018
11
  */
12
 
13
 
20
  * @license LICENSE.txt
21
  * @author
22
  * @link http://averta.net/phlox/
23
+ * @copyright (c) 2010-2018
24
  */
25
  function auxin_define_portfolio_theme_options( $fields_sections_list ){
26
 
44
  // Sub section - Portfolio Single Page -------------------------------
45
 
46
  $sections[] = array(
47
+ 'id' => 'portfolio-section-single',
48
+ 'parent' => 'portfolio-section', // section parent's id
49
+ 'title' => __( 'Single Portfolio', 'auxin-portfolio'),
50
+ 'description' => __( 'Preview a Single Portfolio Page', 'auxin-portfolio'),
51
+ 'preview_link' => auxin_get_last_post_permalink( array( 'post_type' => 'portfolio' ) )
52
  );
53
 
54
 
94
  ),
95
  'default' => 'right',
96
  'type' => 'radio-image',
97
+ 'transport' => 'postMessage',
98
+ 'partial' => array(
99
+ 'selector' => '.single-portfolio .aux-single .content',
100
+ 'container_inclusive' => false,
101
+ 'render_callback' => function(){
102
+ auxpfo_get_template_part( 'theme-parts/entry/single', 'portfolio');
103
+ }
104
+ )
105
  );
106
 
107
  $options[] = array(
135
  'id' => 'portfolio_single_display_side_info_meta',
136
  'section' => 'portfolio-section-single',
137
  'dependency' => '',
138
+ 'transport' => 'postMessage',
139
+ 'partial' => array(
140
+ 'selector' => '.single-portfolio .aux-single .content',
141
+ 'container_inclusive' => false,
142
+ 'render_callback' => function(){
143
+ auxpfo_get_template_part( 'theme-parts/entry/single', 'portfolio');
144
+ }
145
+ ),
146
  'default' => '1',
147
  'type' => 'switch'
148
  );
153
  'id' => 'portfolio_single_display_category',
154
  'section' => 'portfolio-section-single',
155
  'dependency' => '',
156
+ 'transport' => 'postMessage',
157
+ 'partial' => array(
158
+ 'selector' => '.single-portfolio .aux-single .content',
159
+ 'container_inclusive' => false,
160
+ 'render_callback' => function(){
161
+ auxpfo_get_template_part( 'theme-parts/entry/single', 'portfolio');
162
+ }
163
+ ),
164
  'default' => '0',
165
  'type' => 'switch'
166
  );
171
  'id' => 'portfolio_single_display_tag',
172
  'section' => 'portfolio-section-single',
173
  'dependency' => '',
174
+ 'transport' => 'postMessage',
175
+ 'partial' => array(
176
+ 'selector' => '.single-portfolio .aux-single .content',
177
+ 'container_inclusive' => false,
178
+ 'render_callback' => function(){
179
+ auxpfo_get_template_part( 'theme-parts/entry/single', 'portfolio');
180
+ }
181
+ ),
182
  'default' => '0',
183
  'type' => 'switch'
184
  );
195
  'operator'=> ''
196
  )
197
  ),
198
+ 'transport' => 'postMessage',
199
+ 'partial' => array(
200
+ 'selector' => '.single-portfolio .aux-single .content',
201
+ 'container_inclusive' => false,
202
+ 'render_callback' => function(){
203
+ auxpfo_get_template_part( 'theme-parts/entry/single', 'portfolio');
204
+ }
205
+ ),
206
  'default' => '0',
207
  'type' => 'switch'
208
  );
221
  'type' => 'switch'
222
  );
223
 
224
+ $options[] = array(
225
+ 'title' => __('Display share/action bar', 'auxin-portfolio'),
226
+ 'description' => __( 'Enable it to display the section for share and like button.'),
227
+ 'id' => 'show_portfolio_single_share_like_section',
228
+ 'section' => 'portfolio-section-single',
229
+ 'dependency' => '',
230
+ 'transport' => 'postMessage',
231
+ 'partial' => array(
232
+ 'selector' => '.single-portfolio .aux-single .content',
233
+ 'container_inclusive' => false,
234
+ 'render_callback' => function(){
235
+ auxpfo_get_template_part( 'theme-parts/entry/single', 'portfolio');
236
+ }
237
+ ),
238
+ 'default' => '1',
239
+ 'type' => 'switch'
240
+ );
241
+
242
+ $options[] = array(
243
+ 'title' => __('Display share button', 'auxin-portfolio'),
244
+ 'description' => __( 'Enable it to display the share button.'),
245
+ 'id' => 'show_portfolio_single_share',
246
+ 'section' => 'portfolio-section-single',
247
+ 'dependency' => '',
248
+ 'transport' => 'postMessage',
249
+ 'dependency' => array(
250
+ array(
251
+ 'id' => 'show_portfolio_single_share_like_section',
252
+ 'value' => '1'
253
+ )
254
+ ),
255
+ 'partial' => array(
256
+ 'selector' => '.single-portfolio .aux-single .content',
257
+ 'container_inclusive' => false,
258
+ 'render_callback' => function(){
259
+ auxpfo_get_template_part( 'theme-parts/entry/single', 'portfolio');
260
+ }
261
+ ),
262
+ 'default' => '1',
263
+ 'type' => 'switch'
264
+ );
265
+
266
+ $options[] = array(
267
+ 'title' => __('Display like button', 'auxin-portfolio'),
268
+ 'description' => __( 'Enable it to display the like button. Please note that you should have "ulike" plugin installed for this feature.'),
269
+ 'id' => 'show_portfolio_single_like',
270
+ 'section' => 'portfolio-section-single',
271
+ 'dependency' => '',
272
+ 'transport' => 'postMessage',
273
+ 'dependency' => array(
274
+ array(
275
+ 'id' => 'show_portfolio_single_share_like_section',
276
+ 'value' => '1'
277
+ )
278
+ ),
279
+ 'partial' => array(
280
+ 'selector' => '.single-portfolio .aux-single .content',
281
+ 'container_inclusive' => false,
282
+ 'render_callback' => function(){
283
+ auxpfo_get_template_part( 'theme-parts/entry/single', 'portfolio');
284
+ }
285
+ ),
286
+ 'default' => '1',
287
+ 'type' => 'switch'
288
+ );
289
+
290
  $options[] = array(
291
  'title' => __('Skin for Next & Previous Links', 'auxin-portfolio'),
292
  'description' => __('Specifies the skin for next and previous navigation block.', 'auxin-portfolio'),
332
  'thumb-arrow-sticky' => array(
333
  'label' => __('Sticky Thumbnail with Arrow', 'auxin-portfolio'),
334
  'image' => AUXIN_URL . 'images/visual-select/post-navigation-6.svg'
335
+ ),
336
+ 'modern' => array(
337
+ 'label' => __('Modern', 'auxin-portfolio'),
338
+ 'image' => AUXIN_URL . 'images/visual-select/post-navigation-2.svg'
339
  )
340
  ),
341
  'type' => 'radio-image',
342
  'default' => 'minimal'
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
 
363
  // Sub section - Portfolio Single Page -------------------------------
364
 
366
  'id' => 'portfolio-section-single-titlebar',
367
  'parent' => 'portfolio-section', // section parent's id
368
  'title' => __( 'Portfolio Title', 'auxin-portfolio' ),
369
+ 'description' => __( 'Preview a Single Portfolio Page', 'auxin-portfolio'),
370
  'preview_link' => auxin_get_last_post_permalink( array( 'post_type' => 'portfolio' ) )
371
  );
372
 
375
  'description' => __( 'Enable it to show the title section.', 'auxin-portfolio' ),
376
  'id' => 'portfolio_title_bar_show',
377
  'section' => 'portfolio-section-single-titlebar',
378
+ 'transport' => 'postMessage',
379
+ 'partial' => array(
380
+ 'selector' => '.single-portfolio .aux-customizer-page-title-container',
381
+ 'container_inclusive' => false,
382
+ 'render_callback' => function(){
383
+ auxin_the_main_title_section( array( 'has_helper_wrapper' => false ) );
384
+ }
385
+ ),
386
  'type' => 'switch',
387
  'default' => '0'
388
  );
392
  'description' => '',
393
  'id' => 'portfolio_title_bar_preset',
394
  'section' => 'portfolio-section-single-titlebar',
395
+ 'transport' => 'postMessage',
396
+ 'partial' => array(
397
+ 'selector' => '.single-portfolio .aux-customizer-page-title-container',
398
+ 'container_inclusive' => false,
399
+ 'render_callback' => function(){
400
+ auxin_the_main_title_section( array( 'has_helper_wrapper' => false ) );
401
+ }
402
+ ),
403
  'type' => 'radio-image',
404
  'default' => 'normal_title_1',
405
  'dependency' => array(
563
  'description' => __( 'Enable it to customize preset layouts.', 'auxin-portfolio' ),
564
  'id' => 'portfolio_title_bar_enable_customize',
565
  'section' => 'portfolio-section-single-titlebar',
566
+ 'transport' => 'postMessage',
567
+ 'partial' => array(
568
+ 'selector' => '.single-portfolio .aux-customizer-page-title-container',
569
+ 'container_inclusive' => false,
570
+ 'render_callback' => function(){
571
+ auxin_the_main_title_section( array( 'has_helper_wrapper' => false ) );
572
+ }
573
+ ),
574
  'type' => 'switch',
575
  'default' => '0',
576
  'dependency' => array(
587
  'description' => '',
588
  'id' => 'portfolio_title_bar_content_width_type',
589
  'section' => 'portfolio-section-single-titlebar',
 
590
  'type' => 'radio-image',
591
  'default' => 'boxed',
592
  'dependency' => array(
614
  'label' => __( 'Full Width Content', 'auxin-portfolio' ),
615
  'css_class' => 'axiAdminIcon-content-full'
616
  )
617
+ ),
618
+ 'transport' => 'postMessage',
619
+ 'post_js' => '$(".page-title-section .page-header").alterClass( "aux-*-container", "aux-"+ to +"-container" );'
620
  );
621
 
622
  $options[] = array(
624
  'description' => '',
625
  'id' => 'portfolio_title_bar_content_section_height',
626
  'section' => 'portfolio-section-single-titlebar',
627
+ 'transport' => 'postMessage',
628
+ 'partial' => array(
629
+ 'selector' => '.single-portfolio .aux-customizer-page-title-container',
630
+ 'container_inclusive' => false,
631
+ 'render_callback' => function(){
632
+ auxin_the_main_title_section( array( 'has_helper_wrapper' => false ) );
633
+ }
634
+ ),
635
  'type' => 'select',
636
  'default' => 'auto',
637
  'dependency' => array(
658
  __( 'Note: Parallax feature in not available for "Bottom Overlap" vertical mode.', 'auxin-portfolio' ),
659
  'id' => 'portfolio_title_bar_vertical_align',
660
  'section' => 'portfolio-section-single-titlebar',
661
+ 'transport' => 'postMessage',
662
+ 'partial' => array(
663
+ 'selector' => '.single-portfolio .aux-customizer-page-title-container',
664
+ 'container_inclusive' => false,
665
+ 'render_callback' => function(){
666
+ auxin_the_main_title_section( array( 'has_helper_wrapper' => false ) );
667
+ }
668
+ ),
669
  'type' => 'select',
670
  'default' => '',
671
  'dependency' => array(
693
  'description' => __( 'This option only applies if section height is "Full Height".', 'auxin-portfolio' ),
694
  'id' => 'portfolio_title_bar_scroll_arrow',
695
  'section' => 'portfolio-section-single-titlebar',
696
+ 'transport' => 'postMessage',
697
+ 'partial' => array(
698
+ 'selector' => '.single-portfolio .aux-customizer-page-title-container',
699
+ 'container_inclusive' => false,
700
+ 'render_callback' => function(){
701
+ auxin_the_main_title_section( array( 'has_helper_wrapper' => false ) );
702
+ }
703
+ ),
704
  'type' => 'radio-image',
705
  'default' => '',
706
  'dependency' => array(
737
  )
738
  );
739
 
740
+ $options[] = array(
741
+ 'title' => __( 'Display Titles', 'auxin-portfolio' ),
742
+ 'description' => __( 'Enable it to display title/subtitle in title section.', 'auxin-portfolio' ),
743
+ 'id' => 'portfolio_title_bar_title_show',
744
+ 'section' => 'portfolio-section-single-titlebar',
745
+ 'transport' => 'postMessage',
746
+ 'partial' => array(
747
+ 'selector' => '.single-portfolio .aux-customizer-page-title-container',
748
+ 'container_inclusive' => false,
749
+ 'render_callback' => function(){
750
+ auxin_the_main_title_section( array( 'has_helper_wrapper' => false ) );
751
+ }
752
+ ),
753
+ 'type' => 'switch',
754
+ 'default' => '1',
755
+ 'dependency' => array(
756
+ array(
757
+ 'id' => 'portfolio_title_bar_show',
758
+ 'value' => '1',
759
+ 'operator'=> '=='
760
+ ),
761
+ array(
762
+ 'id' => 'portfolio_title_bar_enable_customize',
763
+ 'value' => '1',
764
+ 'operator'=> '=='
765
+ )
766
+ ),
767
+ );
768
+
769
  $options[] = array(
770
  'title' => __( 'Border for Heading', 'auxin-portfolio' ),
771
  'description' => __( 'Enable it to display a border around the title and subtitle area.', 'auxin-portfolio' ),
772
  'id' => 'portfolio_title_bar_heading_bordered',
773
  'section' => 'portfolio-section-single-titlebar',
774
+ 'transport' => 'postMessage',
775
+ 'partial' => array(
776
+ 'selector' => '.single-portfolio .aux-customizer-page-title-container',
777
+ 'container_inclusive' => false,
778
+ 'render_callback' => function(){
779
+ auxin_the_main_title_section( array( 'has_helper_wrapper' => false ) );
780
+ }
781
+ ),
782
  'type' => 'switch',
783
  'default' => '0',
784
  'dependency' => array(
787
  'value' => '1',
788
  'operator'=> '=='
789
  ),
790
+ array(
791
+ 'id' => 'portfolio_title_bar_title_show',
792
+ 'value' => '1',
793
+ 'operator'=> '=='
794
+ ),
795
  array(
796
  'id' => 'portfolio_title_bar_enable_customize',
797
  'value' => '1',
805
  'description' => __( 'Enable it to wrap the title and subtitle in a box with background color.', 'auxin-portfolio' ),
806
  'id' => 'portfolio_title_bar_heading_boxed',
807
  'section' => 'portfolio-section-single-titlebar',
808
+ 'transport' => 'postMessage',
809
+ 'partial' => array(
810
+ 'selector' => '.single-portfolio .aux-customizer-page-title-container',
811
+ 'container_inclusive' => false,
812
+ 'render_callback' => function(){
813
+ auxin_the_main_title_section( array( 'has_helper_wrapper' => false ) );
814
+ }
815
+ ),
816
  'type' => 'switch',
817
  'default' => '0',
818
  'dependency' => array(
821
  'value' => '1',
822
  'operator'=> '=='
823
  ),
824
+ array(
825
+ 'id' => 'portfolio_title_bar_title_show',
826
+ 'value' => '1',
827
+ 'operator'=> '=='
828
+ ),
829
  array(
830
  'id' => 'portfolio_title_bar_enable_customize',
831
  'value' => '1',
839
  'description' => __( 'Specifies a custom background color for the box around the title and subtitle.', 'auxin-portfolio' ),
840
  'id' => 'portfolio_title_bar_heading_bg_color',
841
  'section' => 'portfolio-section-single-titlebar',
842
+ 'transport' => 'postMessage',
843
+ 'partial' => array(
844
+ 'selector' => '.single-portfolio .aux-customizer-page-title-container',
845
+ 'container_inclusive' => false,
846
+ 'render_callback' => function(){
847
+ auxin_the_main_title_section( array( 'has_helper_wrapper' => false ) );
848
+ }
849
+ ),
850
  'type' => 'color',
851
  'default' => '',
852
  'dependency' => array(
855
  'value' => '1',
856
  'operator'=> '=='
857
  ),
858
+ array(
859
+ 'id' => 'portfolio_title_bar_title_show',
860
+ 'value' => '1',
861
+ 'operator'=> '=='
862
+ ),
863
  array(
864
  'id' => 'portfolio_title_bar_enable_customize',
865
  'value' => '1',
878
  'description' => __( 'Enable it to display post meta information on title section.', 'auxin-portfolio' ),
879
  'id' => 'portfolio_title_bar_meta_enabled',
880
  'section' => 'portfolio-section-single-titlebar',
881
+ 'transport' => 'postMessage',
882
+ 'partial' => array(
883
+ 'selector' => '.single-portfolio .aux-customizer-page-title-container',
884
+ 'container_inclusive' => false,
885
+ 'render_callback' => function(){
886
+ auxin_the_main_title_section( array( 'has_helper_wrapper' => false ) );
887
+ }
888
+ ),
889
  'type' => 'switch',
890
  'default' => '0',
891
  'dependency' => array(
907
  'description' => __( 'Enable it to display breadcrumb on title section.', 'auxin-portfolio' ),
908
  'id' => 'portfolio_title_bar_bread_enabled',
909
  'section' => 'portfolio-section-single-titlebar',
910
+ 'transport' => 'postMessage',
911
+ 'partial' => array(
912
+ 'selector' => '.single-portfolio .aux-customizer-page-title-container',
913
+ 'container_inclusive' => false,
914
+ 'render_callback' => function(){
915
+ auxin_the_main_title_section( array( 'has_helper_wrapper' => false ) );
916
+ }
917
+ ),
918
  'type' => 'switch',
919
  'default' => '1',
920
  'dependency' => array(
936
  'description' => __( 'Enable it to display border around breadcrumb.', 'auxin-portfolio' ),
937
  'id' => 'portfolio_title_bar_bread_bordered',
938
  'section' => 'portfolio-section-single-titlebar',
939
+ 'transport' => 'postMessage',
940
+ 'partial' => array(
941
+ 'selector' => '.single-portfolio .aux-customizer-page-title-container',
942
+ 'container_inclusive' => false,
943
+ 'render_callback' => function(){
944
+ auxin_the_main_title_section( array( 'has_helper_wrapper' => false ) );
945
+ }
946
+ ),
947
  'type' => 'switch',
948
  'default' => '0',
949
  'dependency' => array(
970
  'description' => __( 'Enable it to display separator between breadcrumb parts.', 'auxin-portfolio' ),
971
  'id' => 'portfolio_title_bar_bread_sep_style',
972
  'section' => 'portfolio-section-single-titlebar',
973
+ 'transport' => 'postMessage',
974
+ 'partial' => array(
975
+ 'selector' => '.single-portfolio .aux-customizer-page-title-container',
976
+ 'container_inclusive' => false,
977
+ 'render_callback' => function(){
978
+ auxin_the_main_title_section( array( 'has_helper_wrapper' => false ) );
979
+ }
980
+ ),
981
  'type' => 'radio-image',
982
  'default' => 'gt',
983
  'dependency' => array(
1018
  'description' => '',
1019
  'id' => 'portfolio_title_bar_text_align',
1020
  'section' => 'portfolio-section-single-titlebar',
1021
+ 'transport' => 'postMessage',
1022
+ 'partial' => array(
1023
+ 'selector' => '.single-portfolio .aux-customizer-page-title-container',
1024
+ 'container_inclusive' => false,
1025
+ 'render_callback' => function(){
1026
+ auxin_the_main_title_section( array( 'has_helper_wrapper' => false ) );
1027
+ }
1028
+ ),
1029
  'type' => 'radio-image',
1030
  'default' => 'left',
1031
  'dependency' => array(
1061
  'description' => __( 'The color that overlay on the background. Please note that color should have transparency.','auxin-portfolio' ),
1062
  'id' => 'portfolio_title_bar_overlay_color',
1063
  'section' => 'portfolio-section-single-titlebar',
1064
+ 'transport' => 'postMessage',
1065
+ 'partial' => array(
1066
+ 'selector' => '.single-portfolio .aux-customizer-page-title-container',
1067
+ 'container_inclusive' => false,
1068
+ 'render_callback' => function(){
1069
+ auxin_the_main_title_section( array( 'has_helper_wrapper' => false ) );
1070
+ }
1071
+ ),
1072
  'type' => 'color',
1073
  'default' => '',
1074
  'dependency' => array(
1090
  'description' => '',
1091
  'id' => 'portfolio_title_bar_overlay_pattern',
1092
  'section' => 'portfolio-section-single-titlebar',
1093
+ 'transport' => 'postMessage',
1094
+ 'partial' => array(
1095
+ 'selector' => '.single-portfolio .aux-customizer-page-title-container',
1096
+ 'container_inclusive' => false,
1097
+ 'render_callback' => function(){
1098
+ auxin_the_main_title_section( array( 'has_helper_wrapper' => false ) );
1099
+ }
1100
+ ),
1101
  'type' => 'radio-image',
1102
  'default' => 'none',
1103
  'dependency' => array(
1165
  'description' => '',
1166
  'id' => 'portfolio_title_bar_color_style',
1167
  'section' => 'portfolio-section-single-titlebar',
1168
+ 'transport' => 'postMessage',
1169
+ 'partial' => array(
1170
+ 'selector' => '.single-portfolio .aux-customizer-page-title-container',
1171
+ 'container_inclusive' => false,
1172
+ 'render_callback' => function(){
1173
+ auxin_the_main_title_section( array( 'has_helper_wrapper' => false ) );
1174
+ }
1175
+ ),
1176
  'type' => 'select',
1177
  'default' => 'dark',
1178
  'dependency' => array(
1200
  'description' => __( 'Enable it to display custom background for title section.', 'auxin-portfolio' ),
1201
  'id' => 'portfolio_title_bar_bg_show',
1202
  'section' => 'portfolio-section-single-titlebar',
1203
+ 'transport' => 'postMessage',
1204
+ 'partial' => array(
1205
+ 'selector' => '.single-portfolio .aux-customizer-page-title-container',
1206
+ 'container_inclusive' => false,
1207
+ 'render_callback' => function(){
1208
+ auxin_the_main_title_section( array( 'has_helper_wrapper' => false ) );
1209
+ }
1210
+ ),
1211
  'type' => 'switch',
1212
  'default' => '0',
1213
  'dependency' => array(
1230
  __( 'Note: Parallax feature in not available for "Bottom Overlap" mode for "Vertical Position" option.', 'auxin-portfolio' ),
1231
  'id' => 'portfolio_title_bar_bg_parallax',
1232
  'section' => 'portfolio-section-single-titlebar',
1233
+ 'transport' => 'postMessage',
1234
+ 'partial' => array(
1235
+ 'selector' => '.single-portfolio .aux-customizer-page-title-container',
1236
+ 'container_inclusive' => false,
1237
+ 'render_callback' => function(){
1238
+ auxin_the_main_title_section( array( 'has_helper_wrapper' => false ) );
1239
+ }
1240
+ ),
1241
  'type' => 'switch',
1242
  'default' => '0',
1243
  'dependency' => array(
1264
  'description' => __( 'Specifies a background color for title bar.', 'auxin-portfolio' ),
1265
  'id' => 'portfolio_title_bar_bg_color',
1266
  'section' => 'portfolio-section-single-titlebar',
1267
+ 'transport' => 'postMessage',
1268
+ 'partial' => array(
1269
+ 'selector' => '.single-portfolio .aux-customizer-page-title-container',
1270
+ 'container_inclusive' => false,
1271
+ 'render_callback' => function(){
1272
+ auxin_the_main_title_section( array( 'has_helper_wrapper' => false ) );
1273
+ }
1274
+ ),
1275
  'type' => 'color',
1276
  'default' => '',
1277
  'dependency' => array(
1299
  'description' => __( 'Specifies the background size.', 'auxin-portfolio' ),
1300
  'id' => 'portfolio_title_bar_bg_size',
1301
  'section' => 'portfolio-section-single-titlebar',
1302
+ 'transport' => 'postMessage',
1303
+ 'partial' => array(
1304
+ 'selector' => '.single-portfolio .aux-customizer-page-title-container',
1305
+ 'container_inclusive' => false,
1306
+ 'render_callback' => function(){
1307
+ auxin_the_main_title_section( array( 'has_helper_wrapper' => false ) );
1308
+ }
1309
+ ),
1310
  'type' => 'radio-image',
1311
  'default' => '',
1312
  'dependency' => array(
1348
  'description' => __( 'Specifies a background image for title bar.', 'auxin-portfolio' ),
1349
  'id' => 'portfolio_title_bar_bg_image',
1350
  'section' => 'portfolio-section-single-titlebar',
1351
+ 'transport' => 'postMessage',
1352
+ 'partial' => array(
1353
+ 'selector' => '.single-portfolio .aux-customizer-page-title-container',
1354
+ 'container_inclusive' => false,
1355
+ 'render_callback' => function(){
1356
+ auxin_the_main_title_section( array( 'has_helper_wrapper' => false ) );
1357
+ }
1358
+ ),
1359
  'type' => 'image',
1360
  'default' => '',
1361
  'dependency' => array(
1383
  'description' => __( 'You can upload custom video for title background</br>Note: if you set custom image, default image backgrounds will be ignored.', 'auxin-portfolio' ),
1384
  'id' => 'portfolio_title_bar_bg_video_mp4',
1385
  'section' => 'portfolio-section-single-titlebar',
1386
+ 'transport' => 'postMessage',
1387
+ 'partial' => array(
1388
+ 'selector' => '.single-portfolio .aux-customizer-page-title-container',
1389
+ 'container_inclusive' => false,
1390
+ 'render_callback' => function(){
1391
+ auxin_the_main_title_section( array( 'has_helper_wrapper' => false ) );
1392
+ }
1393
+ ),
1394
  'type' => 'video',
1395
  'default' => '',
1396
  'dependency' => array(
1418
  'description' => __( 'You can upload custom video for title background</br>Note: if you set custom image, default image backgrounds will be ignored.', 'auxin-portfolio' ),
1419
  'id' => 'portfolio_title_bar_bg_video_ogg',
1420
  'section' => 'portfolio-section-single-titlebar',
1421
+ 'transport' => 'postMessage',
1422
+ 'partial' => array(
1423
+ 'selector' => '.single-portfolio .aux-customizer-page-title-container',
1424
+ 'container_inclusive' => false,
1425
+ 'render_callback' => function(){
1426
+ auxin_the_main_title_section( array( 'has_helper_wrapper' => false ) );
1427
+ }
1428
+ ),
1429
  'type' => 'video',
1430
  'default' => '',
1431
  'dependency' => array(
1453
  'description' => __( 'You can upload custom video for title background</br>Note: if you set custom image, default image backgrounds will be ignored.', 'auxin-portfolio' ),
1454
  'id' => 'portfolio_title_bar_bg_video_webm',
1455
  'section' => 'portfolio-section-single-titlebar',
1456
+ 'transport' => 'postMessage',
1457
+ 'partial' => array(
1458
+ 'selector' => '.single-portfolio .aux-customizer-page-title-container',
1459
+ 'container_inclusive' => false,
1460
+ 'render_callback' => function(){
1461
+ auxin_the_main_title_section( array( 'has_helper_wrapper' => false ) );
1462
+ }
1463
+ ),
1464
  'type' => 'video',
1465
  'default' => '',
1466
  'dependency' => array(
1501
  'section' => 'portfolio-section-single-related',
1502
  'dependency' => '',
1503
  'transport' => 'postMessage',
1504
+ 'post_js' => '$(".single-portfolio .aux-widget-related-posts, .single-portfolio .aux-related-btn-more").toggle( to );',
1505
  'default' => '1',
1506
  'type' => 'switch'
1507
  );
1637
  'type' => 'switch'
1638
  );
1639
 
1640
+ $options[] = array(
1641
+ 'title' => __('Display The Button Under Related Items', 'auxin-portfolio'),
1642
+ 'description' => __('You can specific to show the button under related items', 'auxin-portfolio'),
1643
+ 'id' => 'portfolio_single_all_related_items_btn_display',
1644
+ 'section' => 'portfolio-section-single-related',
1645
+ 'transport' => 'postMessage',
1646
+ 'post_js' => '$(".single-portfolio .aux-related-btn-more").toggle( to );',
1647
+ 'dependency' => array(
1648
+ array(
1649
+ 'id' => 'show_portfolio_related_posts',
1650
+ 'value' => array('1'),
1651
+ 'operator'=> ''
1652
+ )
1653
+ ),
1654
+ 'type' => 'switch',
1655
+ 'default' => '1'
1656
+ );
1657
 
1658
  $options[] = array(
1659
  'title' => __('Link the Button Under Related Items To', 'auxin-portfolio'),
1662
  'section' => 'portfolio-section-single-related',
1663
  'transport' => 'refresh',
1664
  'choices' => array(
1665
+ 'hide' => __( 'Hide it', 'auxin-portfolio' ),
1666
  'archive' => __( 'Archive page', 'auxin-portfolio' ),
1667
  'custom' => __( 'Custom URL', 'auxin-portfolio' ),
1668
+ ),
1669
+ 'dependency' => array(
1670
+ array(
1671
+ 'id' => 'portfolio_single_all_related_items_btn_display',
1672
+ 'value' => array('1'),
1673
+ ),
1674
+ array(
1675
+ 'id' => 'show_portfolio_related_posts',
1676
+ 'value' => array('1'),
1677
+ 'operator'=> ''
1678
+ )
1679
  ),
1680
  'type' => 'select',
1681
  'default' => 'archive'
1691
  'id' => 'portfolio_single_all_related_items_url_type',
1692
  'value' => array('custom'),
1693
  'operator' => ''
1694
+ ),
1695
+ array(
1696
+ 'id' => 'portfolio_single_all_related_items_btn_display',
1697
+ 'value' => array('1'),
1698
+ ),
1699
+ array(
1700
+ 'id' => 'show_portfolio_related_posts',
1701
+ 'value' => array('1'),
1702
+ 'operator'=> ''
1703
  )
1704
  ),
1705
  'transport' => 'refresh',
1717
  'id' => 'portfolio_single_all_related_items_url_type',
1718
  'value' => array('custom', 'archive'),
1719
  'operator' => ''
1720
+ ),
1721
+ array(
1722
+ 'id' => 'portfolio_single_all_related_items_btn_display',
1723
+ 'value' => array('1'),
1724
+ ),
1725
+ array(
1726
+ 'id' => 'show_portfolio_related_posts',
1727
+ 'value' => array('1'),
1728
+ 'operator'=> ''
1729
  )
1730
  ),
1731
  'transport' => 'refresh',
1750
  'parent' => 'portfolio-section', // section parent's id
1751
  'title' => __( 'Portfolio Page', 'auxin-portfolio'),
1752
  'description' => __( 'Preview Portfolio Page', 'auxin-portfolio'),
1753
+ 'preview_link' => auxin_get_post_type_archive_shortlink('portfolio')
1754
  );
1755
 
1756
 
1760
  'id' => 'portfolio_index_template_type',
1761
  'section' => 'portfolio-section-archive',
1762
  'dependency' => array(),
1763
+ 'transport' => 'postMessage',
1764
+ 'partial' => array(
1765
+ 'selector' => '.post-type-archive-portfolio .aux-archive .content',
1766
+ 'container_inclusive' => false,
1767
+ 'render_callback' => function(){
1768
+ auxpfo_get_template_part( 'theme-parts/loop', 'portfolio' );
1769
+ }
1770
+ ),
1771
  'choices' => array(
1772
  // default template
1773
  'grid-1' => array(
1810
  '1.00' => __('Square 1:1' , 'auxin-portfolio'),
1811
  '1.33' => __('Vertical 3:4' , 'auxin-portfolio')
1812
  ),
1813
+ 'transport' => 'postMessage',
1814
+ 'partial' => array(
1815
+ 'selector' => '.post-type-archive-portfolio .aux-archive .content',
1816
+ 'container_inclusive' => false,
1817
+ 'render_callback' => function(){
1818
+ auxpfo_get_template_part( 'theme-parts/loop', 'portfolio' );
1819
+ }
1820
+ ),
1821
  'default' => '0.56',
1822
  );
1823
 
1838
  // default template
1839
  'classic' => array(
1840
  'label' => __('No animation' , 'auxin-portfolio'),
1841
+ 'image' => AUXPFO_ADMIN_URL . '/assets/images/ClassicLightbox.png',
1842
+ 'css_class' => 'aux-small-height'
1843
  ),
1844
  'classic-lightbox' => array(
1845
  'label' => __('Classic with lightbox style 1' , 'auxin-portfolio'),
1846
+ 'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/ClassicLightbox1.webm webm',
1847
+ 'css_class' => 'aux-small-height'
1848
  ),
1849
  'classic-lightbox-boxed' => array(
1850
  'label' => __('Classic with lightbox style 2' , 'auxin-portfolio'),
1851
+ 'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/ClassicLightbox2.webm webm',
1852
+ 'css_class' => 'aux-small-height'
1853
  ),
1854
  'overlay' => array(
1855
  'label' => __('Overlay title style 1', 'auxin-portfolio'),
1856
+ 'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/OverlayTitle1.webm webm',
1857
+ 'css_class' => 'aux-small-height'
1858
  ),
1859
  'overlay-boxed' => array(
1860
  'label' => __('Overlay title style 2', 'auxin-portfolio'),
1861
+ 'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/OverlayTitle2.webm webm',
1862
+ 'css_class' => 'aux-small-height'
1863
  ),
1864
  'overlay-lightbox' => array(
1865
  'label' => __('Overlay title with lightbox style 1', 'auxin-portfolio'),
1866
+ 'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/OverlayTitleLightbox1.webm webm',
1867
+ 'css_class' => 'aux-small-height'
1868
  ),
1869
  'overlay-lightbox-boxed' => array(
1870
  'label' => __('Overlay title with lightbox style 2', 'auxin-portfolio'),
1871
+ 'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/OverlayTitleLightbox2.webm webm',
1872
+ 'css_class' => 'aux-small-height'
1873
  )
1874
  ),
1875
+ 'transport' => 'postMessage',
1876
+ 'partial' => array(
1877
+ 'selector' => '.post-type-archive-portfolio .aux-archive .content',
1878
+ 'container_inclusive' => false,
1879
+ 'render_callback' => function(){
1880
+ auxpfo_get_template_part( 'theme-parts/loop', 'portfolio' );
1881
+ }
1882
+ ),
1883
  'default' => 'classic',
1884
  );
1885
 
1914
  'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/OverlayTitleLightbox2.webm webm'
1915
  )
1916
  ),
1917
+ 'transport' => 'postMessage',
1918
+ 'partial' => array(
1919
+ 'selector' => '.post-type-archive-portfolio .aux-archive .content',
1920
+ 'container_inclusive' => false,
1921
+ 'render_callback' => function(){
1922
+ auxpfo_get_template_part( 'theme-parts/loop', 'portfolio' );
1923
+ }
1924
+ ),
1925
  'default' => 'overlay',
1926
  );
1927
 
1937
  'operator'=> '=='
1938
  )
1939
  ),
1940
+ 'transport' => 'postMessage',
1941
+ 'partial' => array(
1942
+ 'selector' => '.post-type-archive-portfolio .aux-archive .content',
1943
+ 'container_inclusive' => false,
1944
+ 'render_callback' => function(){
1945
+ auxpfo_get_template_part( 'theme-parts/loop', 'portfolio' );
1946
+ }
1947
+ ),
1948
  'default' => '30',
1949
  'type' => 'text'
1950
  );
1968
  '1' => '1', '2' => '2', '3' => '3',
1969
  '4' => '4', '5' => '5', '6' => '6'
1970
  ),
1971
+ 'transport' => 'postMessage',
1972
+ 'partial' => array(
1973
+ 'selector' => '.post-type-archive-portfolio .aux-archive .content',
1974
+ 'container_inclusive' => false,
1975
+ 'render_callback' => function(){
1976
+ auxpfo_get_template_part( 'theme-parts/loop', 'portfolio' );
1977
+ }
1978
+ ),
1979
  'default' => '4',
1980
  );
1981
 
1997
  '1' => '1', '2' => '2', '3' => '3',
1998
  '4' => '4', '5' => '5', '6' => '6'
1999
  ),
2000
+ 'transport' => 'postMessage',
2001
+ 'partial' => array(
2002
+ 'selector' => '.post-type-archive-portfolio .aux-archive .content',
2003
+ 'container_inclusive' => false,
2004
+ 'render_callback' => function(){
2005
+ auxpfo_get_template_part( 'theme-parts/loop', 'portfolio' );
2006
+ }
2007
+ ),
2008
  'default' => 'inherit',
2009
  );
2010
 
2024
  'choices' => array(
2025
  '1' => '1' , '2' => '2', '3' => '3'
2026
  ),
2027
+ 'transport' => 'postMessage',
2028
+ 'partial' => array(
2029
+ 'selector' => '.post-type-archive-portfolio .aux-archive .content',
2030
+ 'container_inclusive' => false,
2031
+ 'render_callback' => function(){
2032
+ auxpfo_get_template_part( 'theme-parts/loop', 'portfolio' );
2033
+ }
2034
+ ),
2035
  'default' => '1',
2036
  );
2037
 
2048
  'operator'=> '!='
2049
  )
2050
  ),
2051
+ 'transport' => 'postMessage',
2052
+ 'partial' => array(
2053
+ 'selector' => '.post-type-archive-portfolio .aux-archive .content',
2054
+ 'container_inclusive' => false,
2055
+ 'render_callback' => function(){
2056
+ auxpfo_get_template_part( 'theme-parts/loop', 'portfolio' );
2057
+ }
2058
+ ),
2059
  'default' => '1',
2060
  'type' => 'switch'
2061
  );
2062
  }
2063
 
2064
+ $options[] = array(
2065
+ 'title' => __('Enable Entry Box Coloring', 'auxin-portfolio'),
2066
+ 'description' => __( 'Specifies the border/background color for entry box.', 'auxin-portfolio' ),
2067
+ 'id' => 'show_portfolio_entry_box_colors',
2068
+ 'section' => 'portfolio-section-archive',
2069
+ 'dependency' => array(
2070
+ array(
2071
+ 'id' => 'portfolio_archive_grid_item_type',
2072
+ 'value' => array( 'classic', 'classic-lightbox', 'classic-lightbox-boxed' ),
2073
+ 'operator'=> '=='
2074
+ ),
2075
+ array(
2076
+ 'id' => 'portfolio_index_template_type',
2077
+ 'value' => array('grid-1', 'masonry-1'),
2078
+ 'operator'=> '=='
2079
+ )
2080
+ ),
2081
+ 'transport' => 'postMessage',
2082
+ 'default' => '0',
2083
+ 'post_js' => '$(".aux-widget-recent-portfolios .type-portfolio").toggleClass( "aux-entry-boxed", 1 == to );',
2084
+ 'type' => 'switch'
2085
+ );
2086
+
2087
  $options[] = array(
2088
  'title' => __( 'Entry Box Background Color', 'auxin-portfolio' ),
2089
  'id' => 'portfolio_classic_entry_box_background_color',
2091
  'section' => 'portfolio-section-archive',
2092
  'type' => 'color',
2093
  'dependency' => array(
2094
+ array(
2095
+ 'id' => 'show_portfolio_entry_box_colors',
2096
+ 'value' => 1,
2097
+ 'operator'=> '=='
2098
+ ),
2099
  array(
2100
  'id' => 'portfolio_archive_grid_item_type',
2101
  'value' => array( 'classic', 'classic-lightbox', 'classic-lightbox-boxed' ),
2111
  if( ! $value ){
2112
  $value = esc_attr( auxin_get_option( 'portfolio_classic_entry_box_background_color' ) );
2113
  }
2114
+ return empty( $value ) ? '' : ".post-type-archive-portfolio .aux-entry-boxed .entry-main { background-color: $value; }";
2115
  },
2116
  'transport' => 'postMessage',
2117
+ 'default' => '#FFFFFF'
2118
  );
2119
 
2120
  $options[] = array(
2125
  'type' => 'color',
2126
  'dependency' => array(
2127
  array(
2128
+ 'id' => 'show_portfolio_entry_box_colors',
2129
+ 'value' => 1,
2130
+ 'operator'=> '=='
2131
  ),
2132
  array(
2133
  'id' => 'portfolio_archive_grid_item_type',
2144
  if( ! $value ){
2145
  $value = esc_attr( auxin_get_option( 'portfolio_classic_entry_box_border_color' ) );
2146
  }
2147
+ return empty( $value ) ? '' : ".post-type-archive-portfolio .aux-entry-boxed .entry-main { border-color: $value !important; }";
2148
  },
2149
  'transport' => 'postMessage',
2150
+ 'default' => '#EAEAEA'
2151
+ );
2152
+
2153
+ $options[] = array(
2154
+ 'title' => __('Enable Entry Box Coloring', 'auxin-portfolio'),
2155
+ 'description' => __( 'Specifies the border/background color for entry box.', 'auxin-portfolio' ),
2156
+ 'id' => 'show_portfolio_land_side_entry_box_colors',
2157
+ 'section' => 'portfolio-section-archive',
2158
+ 'dependency' => array(
2159
+ array(
2160
+ 'id' => 'portfolio_index_template_type',
2161
+ 'value' => array('land-1'),
2162
+ 'operator'=> '=='
2163
+ )
2164
+ ),
2165
+ 'transport' => 'postMessage',
2166
+ 'default' => '0',
2167
+ 'post_js' => '$(".aux-portfolio-land").toggleClass( "aux-item-land", 1 == to );',
2168
+ 'type' => 'switch'
2169
  );
2170
 
2171
  $options[] = array(
2172
  'title' => __( 'Entry Box Background Color', 'auxin-portfolio' ),
2173
  'id' => 'portfolio_land_side_background_color',
2174
+ 'description' => __( 'Specifies the background color for entry box.', 'auxin-portfolio' ),
2175
  'section' => 'portfolio-section-archive',
2176
  'type' => 'color',
2177
  'dependency' => array(
2178
+ array(
2179
+ 'id' => 'show_portfolio_land_side_entry_box_colors',
2180
+ 'value' => 1,
2181
+ 'operator'=> '=='
2182
+ ),
2183
  array(
2184
  'id' => 'portfolio_index_template_type',
2185
  'value' => array('land-1'),
2190
  if( ! $value ){
2191
  $value = esc_attr( auxin_get_option( 'portfolio_land_side_background_color' ) );
2192
  }
2193
+ return empty( $value ) ? '' : ".post-type-archive-portfolio .aux-item-land .aux-land-side { background-color: $value; }";
2194
  },
2195
  'transport' => 'postMessage',
2196
+ 'default' => '#FFFFFF'
2197
  );
2198
 
2199
  $options[] = array(
2204
  'type' => 'color',
2205
  'dependency' => array(
2206
  array(
2207
+ 'id' => 'show_portfolio_land_side_entry_box_colors',
2208
+ 'value' => 1,
2209
+ 'operator'=> '=='
2210
  ),
2211
  array(
2212
  'id' => 'portfolio_index_template_type',
2218
  if( ! $value ){
2219
  $value = esc_attr( auxin_get_option( 'portfolio_land_side_border_color' ) );
2220
  }
2221
+ return empty( $value ) ? '' : ".post-type-archive-portfolio .aux-item-land .aux-land-side { border-color: $value !important; }";
2222
  },
2223
  'transport' => 'postMessage',
2224
+ 'default' => '#EAEAEA'
2225
  );
2226
 
2227
  $options[] = array(
2305
  'id' => 'portfolio_archive_items_perpage',
2306
  'section' => 'portfolio-section-archive',
2307
  'dependency' => array(),
2308
+ 'transport' => 'postMessage',
2309
+ 'partial' => array(
2310
+ 'selector' => '.post-type-archive-portfolio .aux-archive .content',
2311
+ 'container_inclusive' => false,
2312
+ 'render_callback' => function(){
2313
+ auxpfo_get_template_part( 'theme-parts/loop', 'portfolio' );
2314
+ }
2315
+ ),
2316
  'default' => '12',
2317
  'type' => 'text'
2318
  );
2319
 
2320
 
2321
+ $options[] = array(
2322
+ 'title' => __('Display Title Bar?', 'auxin-portfolio'),
2323
+ 'description' => __('Specifies whether to display the title bar at top of portfolio archive page or not.', 'auxin-portfolio'),
2324
+ 'id' => 'portfolio_archive_titlebar_enabled',
2325
+ 'section' => 'portfolio-section-archive',
2326
+ 'dependency' => array(),
2327
+ 'partial' => array(
2328
+ 'selector' => 'body.archive .aux-customizer-page-title-container',
2329
+ 'container_inclusive' => false,
2330
+ 'render_callback' => function(){
2331
+ auxin_the_main_title_section( array( 'has_helper_wrapper' => false ) );
2332
+ }
2333
+ ),
2334
+ 'transport' => 'postMessage',
2335
+ 'default' => '1',
2336
+ 'type' => 'switch'
2337
+ );
2338
+
2339
+
2340
+ $options[] = array(
2341
+ 'title' => __('Display Breadcrumb?', 'auxin-portfolio'),
2342
+ 'description' => __('Specifies whether to display the breadcrumb in title bar of portfolio archive page or not.', 'auxin-portfolio'),
2343
+ 'id' => 'portfolio_archive_titlebar_breadcrumb_enabled',
2344
+ 'section' => 'portfolio-section-archive',
2345
+ 'dependency' => array(
2346
+ array(
2347
+ 'id' => 'portfolio_archive_titlebar_enabled',
2348
+ 'value' => 'no-sidebar',
2349
+ 'operator'=> '!='
2350
+ )
2351
+ ),
2352
+ 'partial' => array(
2353
+ 'selector' => 'body.archive .aux-customizer-page-title-container',
2354
+ 'container_inclusive' => false,
2355
+ 'render_callback' => function(){
2356
+ auxin_the_main_title_section( array( 'has_helper_wrapper' => false ) );
2357
+ }
2358
+ ),
2359
+ 'transport' => 'postMessage',
2360
+ 'default' => '1',
2361
+ 'type' => 'switch'
2362
+ );
2363
+
2364
+ $options[] = array(
2365
+ 'title' => __('Display Title?', 'auxin-portfolio'),
2366
+ 'description' => __('Specifies whether to display the title in title bar of portfolio archive page or not.', 'auxin-portfolio'),
2367
+ 'id' => 'portfolio_archive_titlebar_title_enabled',
2368
+ 'section' => 'portfolio-section-archive',
2369
+ 'dependency' => array(
2370
+ array(
2371
+ 'id' => 'portfolio_archive_titlebar_enabled',
2372
+ 'value' => 'no-sidebar',
2373
+ 'operator'=> '!='
2374
+ )
2375
+ ),
2376
+ 'partial' => array(
2377
+ 'selector' => 'body.archive .aux-customizer-page-title-container',
2378
+ 'container_inclusive' => false,
2379
+ 'render_callback' => function(){
2380
+ auxin_the_main_title_section( array( 'has_helper_wrapper' => false ) );
2381
+ }
2382
+ ),
2383
+ 'transport' => 'postMessage',
2384
+ 'default' => '1',
2385
+ 'type' => 'switch'
2386
+ );
2387
+
2388
+ $options[] = array(
2389
+ 'title' => __('Custom Title', 'auxin-portfolio'),
2390
+ 'description' => '',
2391
+ 'id' => 'portfolio_archive_titlebar_title_context',
2392
+ 'section' => 'portfolio-section-archive',
2393
+ 'dependency' => array(
2394
+ array(
2395
+ 'id' => 'portfolio_archive_titlebar_enabled',
2396
+ 'value' => 'no-sidebar',
2397
+ 'operator'=> '!='
2398
+ )
2399
+ ),
2400
+ 'partial' => array(
2401
+ 'selector' => 'body.archive .aux-customizer-page-title-container',
2402
+ 'container_inclusive' => false,
2403
+ 'render_callback' => function(){
2404
+ auxin_the_main_title_section( array( 'has_helper_wrapper' => false ) );
2405
+ }
2406
+ ),
2407
+ 'transport' => 'postMessage',
2408
+ 'default' => '',
2409
+ 'type' => 'text'
2410
+ );
2411
+
2412
  // Sub section - Portfolio Taxonomy Page -------------------------------
2413
 
2414
  $sections[] = array(
2424
  'id' => 'portfolio_taxonomy_template_type',
2425
  'section' => 'portfolio-section-taxonomy',
2426
  'dependency' => array(),
2427
+ 'transport' => 'postMessage',
2428
+ 'partial' => array(
2429
+ 'selector' => '.aux-archive.aux-tax .content',
2430
+ 'container_inclusive' => false,
2431
+ 'render_callback' => function(){
2432
+ auxpfo_get_template_part( 'theme-parts/tax', 'portfolio' );
2433
+ }
2434
+ ),
2435
+ 'choices' => array(
2436
  // default template
2437
  'grid-1' => array(
2438
  'label' => __('Grid' , 'auxin-portfolio'),
2474
  '1.00' => __('Square 1:1' , 'auxin-portfolio'),
2475
  '1.33' => __('Vertical 3:4' , 'auxin-portfolio')
2476
  ),
2477
+ 'transport' => 'postMessage',
2478
+ 'partial' => array(
2479
+ 'selector' => '.aux-archive.aux-tax .content',
2480
+ 'container_inclusive' => false,
2481
+ 'render_callback' => function(){
2482
+ auxpfo_get_template_part( 'theme-parts/tax', 'portfolio' );
2483
+ }
2484
+ ),
2485
  'default' => '0.56',
2486
  );
2487
 
2529
  'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/OverlayTitleLightbox2.webm webm'
2530
  )
2531
  ),
2532
+ 'transport' => 'postMessage',
2533
+ 'partial' => array(
2534
+ 'selector' => '.aux-archive.aux-tax .content',
2535
+ 'container_inclusive' => false,
2536
+ 'render_callback' => function(){
2537
+ auxpfo_get_template_part( 'theme-parts/tax', 'portfolio' );
2538
+ }
2539
+ ),
2540
  'default' => 'classic',
2541
  );
2542
 
2571
  'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/OverlayTitleLightbox2.webm webm'
2572
  )
2573
  ),
2574
+ 'transport' => 'postMessage',
2575
+ 'partial' => array(
2576
+ 'selector' => '.aux-archive.aux-tax .content',
2577
+ 'container_inclusive' => false,
2578
+ 'render_callback' => function(){
2579
+ auxpfo_get_template_part( 'theme-parts/tax', 'portfolio' );
2580
+ }
2581
+ ),
2582
  'default' => 'overlay',
2583
  );
2584
 
2594
  'operator'=> '=='
2595
  )
2596
  ),
2597
+ 'transport' => 'postMessage',
2598
+ 'partial' => array(
2599
+ 'selector' => '.aux-archive.aux-tax .content',
2600
+ 'container_inclusive' => false,
2601
+ 'render_callback' => function(){
2602
+ auxpfo_get_template_part( 'theme-parts/tax', 'portfolio' );
2603
+ }
2604
+ ),
2605
  'default' => '30',
2606
  'type' => 'text'
2607
  );
2623
  '1' => '1', '2' => '2', '3' => '3',
2624
  '4' => '4', '5' => '5', '6' => '6'
2625
  ),
2626
+ 'transport' => 'postMessage',
2627
+ 'partial' => array(
2628
+ 'selector' => '.aux-archive.aux-tax .content',
2629
+ 'container_inclusive' => false,
2630
+ 'render_callback' => function(){
2631
+ auxpfo_get_template_part( 'theme-parts/tax', 'portfolio' );
2632
+ }
2633
+ ),
2634
  'default' => '4',
2635
  );
2636
 
2652
  '1' => '1', '2' => '2', '3' => '3',
2653
  '4' => '4', '5' => '5', '6' => '6'
2654
  ),
2655
+ 'transport' => 'postMessage',
2656
+ 'partial' => array(
2657
+ 'selector' => '.aux-archive.aux-tax .content',
2658
+ 'container_inclusive' => false,
2659
+ 'render_callback' => function(){
2660
+ auxpfo_get_template_part( 'theme-parts/tax', 'portfolio' );
2661
+ }
2662
+ ),
2663
  'default' => 'inherit',
2664
  );
2665
 
2679
  'choices' => array(
2680
  '1' => '1' , '2' => '2', '3' => '3'
2681
  ),
2682
+ 'transport' => 'postMessage',
2683
+ 'partial' => array(
2684
+ 'selector' => '.aux-archive.aux-tax .content',
2685
+ 'container_inclusive' => false,
2686
+ 'render_callback' => function(){
2687
+ auxpfo_get_template_part( 'theme-parts/tax', 'portfolio' );
2688
+ }
2689
+ ),
2690
  'default' => '1',
2691
  );
2692
 
2704
  ),
2705
 
2706
  ),
2707
+ 'transport' => 'postMessage',
2708
+ 'partial' => array(
2709
+ 'selector' => '.aux-archive.aux-tax .content',
2710
+ 'container_inclusive' => false,
2711
+ 'render_callback' => function(){
2712
+ auxpfo_get_template_part( 'theme-parts/tax', 'portfolio' );
2713
+ }
2714
+ ),
2715
  'default' => '1',
2716
  'type' => 'switch'
2717
  );
2718
  }
2719
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2720
  $options[] = array(
2721
  'title' => __('Taxonomy Page Sidebar Position', 'auxin-portfolio'),
2722
  'description' => 'Specifies the position of sidebar on category & tag page.',
3021
  * @return void
3022
  */
3023
  function auxpfo_single_portfolio_show_all_portfolios( $post ){
3024
+
3025
+ $btn_display = auxin_get_post_meta( $post->ID, '_related_posts_all_items_btn_display', 'default' ) ;
3026
+ $btn_display = 'default' === $btn_display ? auxin_get_option( "portfolio_single_all_related_items_btn_display", "1" ) : $btn_display ;
3027
+
3028
+ $btn_url_type = auxin_get_post_meta( $post->ID, '_related_posts_all_items_url_type', 'default' ) ;
3029
+ $btn_url_type = 'default' === $btn_url_type ? auxin_get_option( "portfolio_single_all_related_items_url_type", 'hide' ) : $btn_url_type ;
3030
+
3031
+
3032
+ if( "custom" === $btn_url_type ){
3033
+
3034
+ $portfolio_link = auxin_get_post_meta( $post->ID, '_related_posts_all_items_url_type_custom', '' ) ;
3035
+ $portfolio_link = empty( $portfolio_link ) ? auxin_get_option( "portfolio_single_all_related_items_btn_url", "" ) : $portfolio_link ;
3036
+
3037
  } else {
3038
  $portfolio_link = get_post_type_archive_link( "portfolio" );
3039
  }
 
3040
 
3041
+ $portfolio_label = auxin_get_post_meta( $post->ID, '_related_posts_all_items_btn_label', '' ) ;
3042
+ $portfolio_label = empty( $portfolio_label ) ? auxin_get_option( "portfolio_single_all_related_items_btn_label", "" ) : $portfolio_label ;
3043
+
3044
+ if( ! empty( $portfolio_label ) && auxin_is_true( $btn_display ) ){
3045
  ?>
3046
  <div class="aux-container aux-related-container-more aux-fold">
3047
  <a href="<?php echo esc_url( $portfolio_link ); ?>" class="aux-button aux-cta-button aux-shamrock aux-exlarge aux-curve aux-related-btn-more" target="_blank">
3067
  return $layout;
3068
  }
3069
  add_filter( "auxin_get_page_sidebar_pos", "auxpfo_single_portfolio_no_sidebar", 10, 2 );
3070
+
3071
+ /**
3072
+ * Exclude the posts without media in portfolio archive page query
3073
+ *
3074
+ * @return Void
3075
+ */
3076
+ function auxpfo_exclude_posts_without_media( $query ){
3077
+
3078
+ if ( ! is_admin() && $query->is_main_query() && is_post_type_archive( 'portfolio' ) && ! in_array( auxin_get_option( 'portfolio_index_template_type', 'grid-1'), array( 'land-1' ) ) ) {
3079
+
3080
+ $meta_query = array(
3081
+ array(
3082
+ 'key' => '_thumbnail_id',
3083
+ 'value' => '',
3084
+ 'compare' => '!='
3085
+ ),
3086
+ );
3087
+
3088
+ $query->set( 'meta_query', $meta_query );
3089
+ }
3090
+
3091
+ }
3092
+ add_action('pre_get_posts','auxpfo_exclude_posts_without_media');
includes/index.php CHANGED
@@ -12,4 +12,4 @@ include_once( 'classes/class-auxpfo-template-loader.php' );
12
 
13
  // load elements
14
  include_once( 'elements/recent-portfolios.php' );
15
-
12
 
13
  // load elements
14
  include_once( 'elements/recent-portfolios.php' );
15
+ include_once( 'elements/recent-portfolios-tile-carousel.php' );
languages/auxin-portfolio-fa_IR.po ADDED
@@ -0,0 +1,1908 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Phlox Portfolio\n"
4
+ "POT-Creation-Date: 2017-12-20 13:36+0330\n"
5
+ "PO-Revision-Date: 2017-12-20 13:38+0330\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: \n"
8
+ "Language: fa\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.4\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "X-Poedit-WPHeader: auxin-portfolio.php\n"
15
+ "Plural-Forms: nplurals=1; plural=0;\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+ "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
18
+ "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
19
+ "_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
20
+ "X-Poedit-SearchPath-0: .\n"
21
+ "X-Poedit-SearchPathExcluded-0: *.js\n"
22
+
23
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:17
24
+ msgid "Portfolio Information"
25
+ msgstr ""
26
+
27
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:29
28
+ msgid "Featured Image (Secondary)"
29
+ msgstr ""
30
+
31
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:30
32
+ msgid "Specifies the secondary cover image for this portfolio."
33
+ msgstr ""
34
+
35
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:36
36
+ msgid "Hide featured image."
37
+ msgstr ""
38
+
39
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:37
40
+ msgid ""
41
+ "Enable this option to remove the featured image from single page of this "
42
+ "portfolio. Useful when you intent to display images that vary from the "
43
+ "featured image."
44
+ msgstr ""
45
+
46
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:44
47
+ msgid "Overview"
48
+ msgstr ""
49
+
50
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:45
51
+ msgid "Specifies a short description about the project."
52
+ msgstr ""
53
+
54
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:52
55
+ msgid "Overview Title"
56
+ msgstr ""
57
+
58
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:53
59
+ msgid "Specifies an optional title for project overview."
60
+ msgstr ""
61
+
62
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:60
63
+ #: includes/general-hooks.php:108
64
+ msgid "Overview Alignment"
65
+ msgstr ""
66
+
67
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:61
68
+ #: includes/general-hooks.php:109
69
+ msgid ""
70
+ "Specifies alignment for the project overview and corresponding information."
71
+ msgstr ""
72
+
73
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:67
74
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:90
75
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:231
76
+ #: includes/general-hooks.php:117 includes/general-hooks.php:313
77
+ msgid "Default"
78
+ msgstr ""
79
+
80
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:71
81
+ #: includes/elements/recent-portfolios.php:400 includes/general-hooks.php:121
82
+ #: includes/general-hooks.php:816
83
+ msgid "Left"
84
+ msgstr ""
85
+
86
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:75
87
+ #: includes/elements/recent-portfolios.php:404 includes/general-hooks.php:125
88
+ #: includes/general-hooks.php:820
89
+ msgid "Center"
90
+ msgstr ""
91
+
92
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:82
93
+ msgid "Info Layout"
94
+ msgstr ""
95
+
96
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:83
97
+ msgid ""
98
+ "Specifies the alignment of metadata column. (Default: \"right\" for LTR "
99
+ "websites and \"left\" for RTL ones)"
100
+ msgstr ""
101
+
102
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:94
103
+ #: includes/general-hooks.php:63
104
+ msgid "Info on Right"
105
+ msgstr ""
106
+
107
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:98
108
+ #: includes/general-hooks.php:67
109
+ msgid "Info on Left"
110
+ msgstr ""
111
+
112
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:102
113
+ #: includes/general-hooks.php:71
114
+ msgid "Info on Top"
115
+ msgstr ""
116
+
117
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:106
118
+ #: includes/general-hooks.php:75
119
+ msgid "Info on Top - Direction reverse"
120
+ msgstr ""
121
+
122
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:110
123
+ #: includes/general-hooks.php:79
124
+ msgid "Info on Top - Metadata Below"
125
+ msgstr ""
126
+
127
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:114
128
+ #: includes/general-hooks.php:83
129
+ msgid "Info on Bottom"
130
+ msgstr ""
131
+
132
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:118
133
+ #: includes/general-hooks.php:87
134
+ msgid "Info on Bottom - Direction reverse"
135
+ msgstr ""
136
+
137
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:122
138
+ #: includes/general-hooks.php:91
139
+ msgid "Info on Bottom - Metadata Below"
140
+ msgstr ""
141
+
142
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:129
143
+ #: includes/general-hooks.php:187
144
+ msgid "Sticky Side Area"
145
+ msgstr ""
146
+
147
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:130
148
+ msgid "Enable it to stick the side area on page while scrolling."
149
+ msgstr ""
150
+
151
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:135
152
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:212
153
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:278
154
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:291
155
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:311
156
+ #: admin/includes/metaboxes/metabox-fields-portfolio-related.php:29
157
+ #: admin/includes/metaboxes/metabox-fields-portfolio-related.php:64
158
+ #: admin/includes/metaboxes/metabox-fields-portfolio-related.php:84
159
+ #: admin/includes/metaboxes/metabox-fields-portfolio-related.php:105
160
+ #: admin/includes/metaboxes/metabox-fields-portfolio-related.php:125
161
+ #: admin/includes/metaboxes/metabox-fields-portfolio-related.php:145
162
+ #: admin/includes/metaboxes/metabox-fields-portfolio-related.php:165
163
+ msgid "Theme Default"
164
+ msgstr ""
165
+
166
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:136
167
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:213
168
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:279
169
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:292
170
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:312
171
+ #: admin/includes/metaboxes/metabox-fields-portfolio-related.php:30
172
+ #: admin/includes/metaboxes/metabox-fields-portfolio-related.php:106
173
+ #: admin/includes/metaboxes/metabox-fields-portfolio-related.php:126
174
+ #: admin/includes/metaboxes/metabox-fields-portfolio-related.php:146
175
+ #: admin/includes/metaboxes/metabox-fields-portfolio-related.php:166
176
+ msgid "Yes"
177
+ msgstr "بله"
178
+
179
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:137
180
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:214
181
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:280
182
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:293
183
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:313
184
+ #: admin/includes/metaboxes/metabox-fields-portfolio-related.php:31
185
+ #: admin/includes/metaboxes/metabox-fields-portfolio-related.php:107
186
+ #: admin/includes/metaboxes/metabox-fields-portfolio-related.php:127
187
+ #: admin/includes/metaboxes/metabox-fields-portfolio-related.php:147
188
+ #: admin/includes/metaboxes/metabox-fields-portfolio-related.php:167
189
+ msgid "No"
190
+ msgstr "خیر"
191
+
192
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:148
193
+ msgid "Info Box Background Color"
194
+ msgstr ""
195
+
196
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:149
197
+ msgid "Specifies the color of info box."
198
+ msgstr ""
199
+
200
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:161
201
+ msgid "Info Box Font Color"
202
+ msgstr ""
203
+
204
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:162
205
+ msgid "Specifies the color of font at info box."
206
+ msgstr ""
207
+
208
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:173
209
+ #: includes/elements/recent-portfolios-tile-carousel.php:273
210
+ #: includes/general-hooks.php:941
211
+ msgid "Dark"
212
+ msgstr "تیره"
213
+
214
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:174
215
+ #: includes/elements/recent-portfolios-tile-carousel.php:274
216
+ #: includes/general-hooks.php:942
217
+ msgid "Light"
218
+ msgstr ""
219
+
220
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:205
221
+ #: includes/general-hooks.php:213
222
+ msgid "Display Next & Previous portfolios"
223
+ msgstr ""
224
+
225
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:206
226
+ #: includes/general-hooks.php:214
227
+ msgid ""
228
+ "Enable it to display links to next and previous portfolios on single "
229
+ "portfolio page."
230
+ msgstr ""
231
+
232
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:219
233
+ #: includes/general-hooks.php:225
234
+ msgid "Skin for Next & Previous Links"
235
+ msgstr ""
236
+
237
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:220
238
+ #: includes/general-hooks.php:226
239
+ msgid "Specifies the skin for next and previous navigation block."
240
+ msgstr ""
241
+
242
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:235
243
+ #: includes/general-hooks.php:243
244
+ msgid "Classic Project Navigation"
245
+ msgstr ""
246
+
247
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:239
248
+ #: includes/general-hooks.php:247
249
+ msgid "Classic Project Navigation Without Title"
250
+ msgstr ""
251
+
252
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:243
253
+ #: includes/general-hooks.php:239
254
+ msgid "Minimal (default)"
255
+ msgstr ""
256
+
257
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:247
258
+ #: includes/general-hooks.php:251
259
+ msgid "Thumbnail with Arrow"
260
+ msgstr ""
261
+
262
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:251
263
+ #: includes/general-hooks.php:255
264
+ msgid "Thumbnail without Arrow"
265
+ msgstr ""
266
+
267
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:255
268
+ #: includes/general-hooks.php:259
269
+ msgid "Navigation with Light Background"
270
+ msgstr ""
271
+
272
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:259
273
+ #: includes/general-hooks.php:263
274
+ msgid "Navigation with Dark Background"
275
+ msgstr ""
276
+
277
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:263
278
+ #: includes/general-hooks.php:267
279
+ msgid "Sticky Thumbnail with Arrow"
280
+ msgstr ""
281
+
282
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:272
283
+ #: includes/general-hooks.php:133
284
+ msgid "Display Portfolio Meta Info"
285
+ msgstr ""
286
+
287
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:273
288
+ msgid "Enable this option to display extra inormation about this portfolio."
289
+ msgstr ""
290
+
291
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:285
292
+ #: includes/general-hooks.php:151
293
+ msgid "Display Single Portfolio Categories"
294
+ msgstr ""
295
+
296
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:286
297
+ msgid "Specifies whether to display catetory section or not."
298
+ msgstr ""
299
+
300
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:305
301
+ #: includes/general-hooks.php:169
302
+ msgid "Display Single Portfolio Tags"
303
+ msgstr ""
304
+
305
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:306
306
+ msgid "Specifies whether to display tag section or not."
307
+ msgstr ""
308
+
309
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:325
310
+ msgid "URL for Launch Button"
311
+ msgstr ""
312
+
313
+ #: admin/includes/metaboxes/metabox-fields-portfolio-metadata.php:326
314
+ msgid ""
315
+ "Specifies an URL for action button in order to lunch the project's webpage. "
316
+ "Leave it empty if you don`t need Lunch Project Button."
317
+ msgstr ""
318
+
319
+ #: admin/includes/metaboxes/metabox-fields-portfolio-related.php:17
320
+ msgid "Related Portfolio"
321
+ msgstr ""
322
+
323
+ #: admin/includes/metaboxes/metabox-fields-portfolio-related.php:22
324
+ #: includes/general-hooks.php:1192
325
+ msgid "Display Related Portfolios"
326
+ msgstr ""
327
+
328
+ #: admin/includes/metaboxes/metabox-fields-portfolio-related.php:23
329
+ msgid ""
330
+ "Enable it to display related porfolios section on single portfolio page."
331
+ msgstr ""
332
+
333
+ #: admin/includes/metaboxes/metabox-fields-portfolio-related.php:36
334
+ #: includes/general-hooks.php:1204
335
+ msgid "Label of Related Section"
336
+ msgstr ""
337
+
338
+ #: admin/includes/metaboxes/metabox-fields-portfolio-related.php:37
339
+ #: includes/general-hooks.php:1205
340
+ msgid "Specifies the label of related items section."
341
+ msgstr ""
342
+
343
+ #: admin/includes/metaboxes/metabox-fields-portfolio-related.php:51
344
+ #: includes/general-hooks.php:1222
345
+ msgid "Related Items Type"
346
+ msgstr ""
347
+
348
+ #: admin/includes/metaboxes/metabox-fields-portfolio-related.php:52
349
+ #: includes/general-hooks.php:1223
350
+ msgid "Specifies the appearance type for related portfolio element."
351
+ msgstr ""
352
+
353
+ #: admin/includes/metaboxes/metabox-fields-portfolio-related.php:65
354
+ #: includes/elements/recent-portfolios.php:214 includes/general-hooks.php:1422
355
+ #: includes/general-hooks.php:1988
356
+ msgid "Grid"
357
+ msgstr ""
358
+
359
+ #: admin/includes/metaboxes/metabox-fields-portfolio-related.php:66
360
+ msgid "Carousel"
361
+ msgstr ""
362
+
363
+ #: admin/includes/metaboxes/metabox-fields-portfolio-related.php:71
364
+ #: includes/general-hooks.php:1243 includes/general-hooks.php:1596
365
+ #: includes/general-hooks.php:2160
366
+ msgid "Number of Columns"
367
+ msgstr ""
368
+
369
+ #: admin/includes/metaboxes/metabox-fields-portfolio-related.php:92
370
+ #: includes/general-hooks.php:1263
371
+ msgid "Align Center"
372
+ msgstr ""
373
+
374
+ #: admin/includes/metaboxes/metabox-fields-portfolio-related.php:93
375
+ #: includes/general-hooks.php:1264
376
+ msgid "Enable it to make related portfolios section text center."
377
+ msgstr ""
378
+
379
+ #: admin/includes/metaboxes/metabox-fields-portfolio-related.php:112
380
+ #: includes/general-hooks.php:1281
381
+ msgid "Full Width Related Section"
382
+ msgstr ""
383
+
384
+ #: admin/includes/metaboxes/metabox-fields-portfolio-related.php:113
385
+ #: includes/general-hooks.php:1282
386
+ msgid "Enable it to make related portfolios section full width."
387
+ msgstr ""
388
+
389
+ #: admin/includes/metaboxes/metabox-fields-portfolio-related.php:132
390
+ #: includes/general-hooks.php:1299
391
+ msgid "Snap Related Items"
392
+ msgstr ""
393
+
394
+ #: admin/includes/metaboxes/metabox-fields-portfolio-related.php:133
395
+ #: includes/general-hooks.php:1300
396
+ msgid "Enable it to remove space between related portfolio items."
397
+ msgstr ""
398
+
399
+ #: admin/includes/metaboxes/metabox-fields-portfolio-related.php:152
400
+ #: includes/general-hooks.php:1317
401
+ msgid "Display Portfolio Categories"
402
+ msgstr ""
403
+
404
+ #: admin/includes/metaboxes/metabox-fields-portfolio-related.php:153
405
+ #: includes/general-hooks.php:1318
406
+ msgid ""
407
+ "Enable it to display the categories of each portfolio item in related "
408
+ "portfolios section."
409
+ msgstr ""
410
+
411
+ #: auxin-portfolio.php:51
412
+ msgid "Phlox Core Elements"
413
+ msgstr ""
414
+
415
+ #: auxin-portfolio.php:62
416
+ msgid "Phlox Pro"
417
+ msgstr ""
418
+
419
+ #: auxin-portfolio.php:69
420
+ msgid "Phlox"
421
+ msgstr ""
422
+
423
+ #. Plugin Name of the plugin/theme
424
+ #: auxin-portfolio.php:79
425
+ msgid "Phlox Portfolio"
426
+ msgstr ""
427
+
428
+ #: includes/classes/class-auxin-plugin-requirements.php:74
429
+ #, php-format
430
+ msgid "%s plugin has been disabled automatically due to following reason:"
431
+ msgstr ""
432
+
433
+ #: includes/classes/class-auxin-plugin-requirements.php:94
434
+ msgid "Note for admin"
435
+ msgstr ""
436
+
437
+ #: includes/classes/class-auxin-plugin-requirements.php:220
438
+ #, php-format
439
+ msgid ""
440
+ "%s plugin is required in order to use this plugin. Please install and "
441
+ "activate the plugin."
442
+ msgstr ""
443
+
444
+ #: includes/classes/class-auxin-plugin-requirements.php:240
445
+ #, php-format
446
+ msgid ""
447
+ "The plugin requires %s plugin version %s or higher (current version is %s). "
448
+ "Please update it to the latest version."
449
+ msgstr ""
450
+
451
+ #: includes/classes/class-auxin-plugin-requirements.php:302
452
+ #, php-format
453
+ msgid ""
454
+ "The plugin requires %s theme version %s or higher in order to function "
455
+ "property. Your current theme version is %s, please %s update to latest "
456
+ "version %s."
457
+ msgstr ""
458
+
459
+ #: includes/classes/class-auxin-plugin-requirements.php:313
460
+ #, php-format
461
+ msgid "%s path while checking the availability of theme not found."
462
+ msgstr ""
463
+
464
+ #: includes/classes/class-auxin-plugin-requirements.php:318
465
+ #, php-format
466
+ msgid ""
467
+ "%s function callback while checking the availability of theme not found."
468
+ msgstr ""
469
+
470
+ #: includes/classes/class-auxin-plugin-requirements.php:355
471
+ #, php-format
472
+ msgid ""
473
+ "PHP version %s or above is required for this plugin while your the current "
474
+ "PHP version is %s."
475
+ msgstr ""
476
+
477
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:52
478
+ msgctxt "auxin-portfolio"
479
+ msgid "Portfolios"
480
+ msgstr ""
481
+
482
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:53
483
+ #: includes/general-hooks.php:39
484
+ msgid "Portfolio"
485
+ msgstr ""
486
+
487
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:54
488
+ msgctxt "Admin menu name"
489
+ msgid "Portfolios"
490
+ msgstr ""
491
+
492
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:55
493
+ msgid "Add New"
494
+ msgstr ""
495
+
496
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:56
497
+ msgid "All Portfolios"
498
+ msgstr ""
499
+
500
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:57
501
+ msgid "Add New Portfolio"
502
+ msgstr ""
503
+
504
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:58
505
+ msgid "Edit Portfolio"
506
+ msgstr ""
507
+
508
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:59
509
+ msgid "New Portfolio"
510
+ msgstr ""
511
+
512
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:60
513
+ msgid "View Portfolio"
514
+ msgstr ""
515
+
516
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:61
517
+ msgid "Search Portfolios"
518
+ msgstr ""
519
+
520
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:62
521
+ msgid "Parent Portfolio"
522
+ msgstr ""
523
+
524
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:63
525
+ msgid "No Portfolios found"
526
+ msgstr ""
527
+
528
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:64
529
+ msgid "No Portfolios found in Trash"
530
+ msgstr ""
531
+
532
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:69
533
+ msgid "Here you can add new portfolio to your website."
534
+ msgstr ""
535
+
536
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:103
537
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:122
538
+ msgid "Portfolio Categories"
539
+ msgstr ""
540
+
541
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:104
542
+ msgid "Portfolio Category"
543
+ msgstr ""
544
+
545
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:105
546
+ msgid "All Portfolio Categories"
547
+ msgstr ""
548
+
549
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:106
550
+ msgid "Parent Portfolio Category"
551
+ msgstr ""
552
+
553
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:107
554
+ msgid "Parent Portfolio Category:"
555
+ msgstr ""
556
+
557
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:108
558
+ msgid "Edit Portfolio Category"
559
+ msgstr ""
560
+
561
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:109
562
+ msgid "Update Portfolio Category"
563
+ msgstr ""
564
+
565
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:110
566
+ msgid "Add New Portfolio Category"
567
+ msgstr ""
568
+
569
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:111
570
+ msgid "New Portfolio Category"
571
+ msgstr ""
572
+
573
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:112
574
+ msgid "Search in Portfolio Categories"
575
+ msgstr ""
576
+
577
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:113
578
+ msgctxt "portfolio-cat admin menu name"
579
+ msgid "Categories"
580
+ msgstr ""
581
+
582
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:134
583
+ msgctxt "taxonomy slug"
584
+ msgid "portfolio-cat"
585
+ msgstr ""
586
+
587
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:146
588
+ msgid "Portfolio Tags / Filters"
589
+ msgstr ""
590
+
591
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:147
592
+ msgid "Portfolio Tag/Filter"
593
+ msgstr ""
594
+
595
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:148
596
+ msgid "Search in Portfolio Tags/filters"
597
+ msgstr ""
598
+
599
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:149
600
+ msgid "Popular Tags/filters"
601
+ msgstr ""
602
+
603
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:150
604
+ msgid "All Portfolio Tags/filters"
605
+ msgstr ""
606
+
607
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:151
608
+ msgid "Parent Portfolio Tag"
609
+ msgstr ""
610
+
611
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:152
612
+ msgid "Parent Portfolio Tag:"
613
+ msgstr ""
614
+
615
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:153
616
+ msgid "Edit Portfolio Tag/Filter"
617
+ msgstr ""
618
+
619
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:154
620
+ msgid "Update Portfolio Tag/Filter"
621
+ msgstr ""
622
+
623
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:155
624
+ msgid "Add new Portfolio Tag/Filter"
625
+ msgstr ""
626
+
627
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:156
628
+ msgid "New Portfolio Tag/Filter"
629
+ msgstr ""
630
+
631
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:158
632
+ msgid "Separate tags with commas"
633
+ msgstr ""
634
+
635
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:159
636
+ msgid "Add or remove Tag/Filter"
637
+ msgstr ""
638
+
639
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:160
640
+ msgid "Choose from the most used tags"
641
+ msgstr ""
642
+
643
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:161
644
+ msgctxt "portfolio-tag admin menu name"
645
+ msgid "Tags ( Filters )"
646
+ msgstr ""
647
+
648
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:170
649
+ msgid "Portfolio Tags/Filters"
650
+ msgstr ""
651
+
652
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:182
653
+ msgctxt "taxonomy slug"
654
+ msgid "portfolio-tag"
655
+ msgstr ""
656
+
657
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:202
658
+ msgctxt "Image column at portfolio edit columns"
659
+ msgid "Image"
660
+ msgstr ""
661
+
662
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:203
663
+ msgctxt "Title column at portfolio edit columns"
664
+ msgid "Title"
665
+ msgstr ""
666
+
667
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:204
668
+ msgctxt "Type column at portfolio edit columns"
669
+ msgid "Category / Type"
670
+ msgstr ""
671
+
672
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:205
673
+ msgctxt "Tag/Filter column at portfolio edit columns"
674
+ msgid "Tag / Filter"
675
+ msgstr ""
676
+
677
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:206
678
+ msgctxt "Date column at portfolio edit columns"
679
+ msgid "Release Date"
680
+ msgstr ""
681
+
682
+ #: includes/classes/class-auxpfo-post-type-portfolio.php:247
683
+ msgid ""
684
+ "This is an image that is chosen as the representative/cover image for your "
685
+ "project."
686
+ msgstr ""
687
+
688
+ #: includes/elements/recent-portfolios-tile-carousel.php:16
689
+ msgid "Recent Portfolio on Tile Carousel"
690
+ msgstr ""
691
+
692
+ #: includes/elements/recent-portfolios-tile-carousel.php:19
693
+ msgid "It adds recent portfolio items in tile carousel"
694
+ msgstr ""
695
+
696
+ #: includes/elements/recent-portfolios-tile-carousel.php:43
697
+ #: includes/elements/recent-portfolios-tile-carousel.php:146
698
+ #: includes/elements/recent-portfolios.php:44
699
+ #: includes/elements/recent-portfolios.php:111
700
+ msgid "Title"
701
+ msgstr ""
702
+
703
+ #: includes/elements/recent-portfolios-tile-carousel.php:44
704
+ #: includes/elements/recent-portfolios.php:45
705
+ msgid "Recent items title, leave it empty if you don`t need title."
706
+ msgstr ""
707
+
708
+ #: includes/elements/recent-portfolios-tile-carousel.php:57
709
+ #: includes/elements/recent-portfolios.php:58
710
+ #: includes/elements/recent-portfolios.php:381
711
+ msgid "Categories"
712
+ msgstr ""
713
+
714
+ #: includes/elements/recent-portfolios-tile-carousel.php:58
715
+ #: includes/elements/recent-portfolios.php:59
716
+ msgid "Specifies a category that you want to show portfolio items from it."
717
+ msgstr ""
718
+
719
+ #: includes/elements/recent-portfolios-tile-carousel.php:73
720
+ msgid "Number of portfolios to show in per page"
721
+ msgstr ""
722
+
723
+ #: includes/elements/recent-portfolios-tile-carousel.php:74
724
+ #: includes/elements/recent-portfolios.php:75
725
+ msgid "Leave it empty to show all items"
726
+ msgstr ""
727
+
728
+ #: includes/elements/recent-portfolios-tile-carousel.php:87
729
+ #: includes/elements/recent-portfolios.php:316
730
+ msgid "Portfolio tiles hover type"
731
+ msgstr ""
732
+
733
+ #: includes/elements/recent-portfolios-tile-carousel.php:102
734
+ #: includes/elements/recent-portfolios.php:273
735
+ #: includes/elements/recent-portfolios.php:330 includes/general-hooks.php:1500
736
+ #: includes/general-hooks.php:1542 includes/general-hooks.php:2066
737
+ #: includes/general-hooks.php:2108
738
+ msgid "Overlay title style 1"
739
+ msgstr ""
740
+
741
+ #: includes/elements/recent-portfolios-tile-carousel.php:103
742
+ #: includes/elements/recent-portfolios.php:274
743
+ #: includes/elements/recent-portfolios.php:331 includes/general-hooks.php:1504
744
+ #: includes/general-hooks.php:1546 includes/general-hooks.php:2070
745
+ #: includes/general-hooks.php:2112
746
+ msgid "Overlay title style 2"
747
+ msgstr ""
748
+
749
+ #: includes/elements/recent-portfolios-tile-carousel.php:104
750
+ #: includes/elements/recent-portfolios.php:275
751
+ #: includes/elements/recent-portfolios.php:332 includes/general-hooks.php:1508
752
+ #: includes/general-hooks.php:1550 includes/general-hooks.php:2074
753
+ #: includes/general-hooks.php:2116
754
+ msgid "Overlay title with lightbox style 1"
755
+ msgstr ""
756
+
757
+ #: includes/elements/recent-portfolios-tile-carousel.php:105
758
+ #: includes/elements/recent-portfolios.php:276
759
+ #: includes/elements/recent-portfolios.php:333 includes/general-hooks.php:1512
760
+ #: includes/general-hooks.php:1554 includes/general-hooks.php:2078
761
+ #: includes/general-hooks.php:2120
762
+ msgid "Overlay title with lightbox style 2"
763
+ msgstr ""
764
+
765
+ #: includes/elements/recent-portfolios-tile-carousel.php:109
766
+ msgid "Number of Pages"
767
+ msgstr ""
768
+
769
+ #: includes/elements/recent-portfolios-tile-carousel.php:123
770
+ #: includes/elements/recent-portfolios.php:88
771
+ msgid "Exclude portfolios without media"
772
+ msgstr ""
773
+
774
+ #: includes/elements/recent-portfolios-tile-carousel.php:136
775
+ #: includes/elements/recent-portfolios.php:101
776
+ msgid "Order by"
777
+ msgstr ""
778
+
779
+ #: includes/elements/recent-portfolios-tile-carousel.php:144
780
+ #: includes/elements/recent-portfolios.php:109
781
+ msgid "Date"
782
+ msgstr ""
783
+
784
+ #: includes/elements/recent-portfolios-tile-carousel.php:145
785
+ #: includes/elements/recent-portfolios.php:110
786
+ msgid "Menu Order"
787
+ msgstr ""
788
+
789
+ #: includes/elements/recent-portfolios-tile-carousel.php:147
790
+ #: includes/elements/recent-portfolios.php:112
791
+ msgid "ID"
792
+ msgstr ""
793
+
794
+ #: includes/elements/recent-portfolios-tile-carousel.php:148
795
+ #: includes/elements/recent-portfolios.php:113
796
+ msgid "Random"
797
+ msgstr ""
798
+
799
+ #: includes/elements/recent-portfolios-tile-carousel.php:149
800
+ #: includes/elements/recent-portfolios.php:114
801
+ msgid "Comments"
802
+ msgstr ""
803
+
804
+ #: includes/elements/recent-portfolios-tile-carousel.php:150
805
+ #: includes/elements/recent-portfolios.php:115
806
+ msgid "Date Modified"
807
+ msgstr ""
808
+
809
+ #: includes/elements/recent-portfolios-tile-carousel.php:151
810
+ #: includes/elements/recent-portfolios.php:116 includes/general-hooks.php:2374
811
+ msgid "Author"
812
+ msgstr ""
813
+
814
+ #: includes/elements/recent-portfolios-tile-carousel.php:152
815
+ #: includes/elements/recent-portfolios.php:117
816
+ msgid "Inserted Post IDs"
817
+ msgstr ""
818
+
819
+ #: includes/elements/recent-portfolios-tile-carousel.php:161
820
+ #: includes/elements/recent-portfolios.php:126
821
+ msgid "Order"
822
+ msgstr ""
823
+
824
+ #: includes/elements/recent-portfolios-tile-carousel.php:169
825
+ #: includes/elements/recent-portfolios.php:134
826
+ msgid "Descending"
827
+ msgstr ""
828
+
829
+ #: includes/elements/recent-portfolios-tile-carousel.php:170
830
+ #: includes/elements/recent-portfolios.php:135
831
+ msgid "Ascending"
832
+ msgstr ""
833
+
834
+ #: includes/elements/recent-portfolios-tile-carousel.php:179
835
+ #: includes/elements/recent-portfolios.php:144
836
+ msgid "Only portfolios"
837
+ msgstr ""
838
+
839
+ #: includes/elements/recent-portfolios-tile-carousel.php:180
840
+ #: includes/elements/recent-portfolios.php:145
841
+ msgid ""
842
+ "If you intend to display ONLY specific portfolios, you should specify them "
843
+ "here. You have to insert the post IDs that are separated by comma (eg. "
844
+ "53,34,87,25)."
845
+ msgstr ""
846
+
847
+ #: includes/elements/recent-portfolios-tile-carousel.php:193
848
+ #: includes/elements/recent-portfolios.php:158
849
+ msgid "Include portfolios"
850
+ msgstr ""
851
+
852
+ #: includes/elements/recent-portfolios-tile-carousel.php:194
853
+ #: includes/elements/recent-portfolios.php:159
854
+ msgid ""
855
+ "If you intend to include additional portfolios, you should specify them "
856
+ "here. You have to insert the Post IDs that are separated by comma (eg. "
857
+ "53,34,87,25)"
858
+ msgstr ""
859
+
860
+ #: includes/elements/recent-portfolios-tile-carousel.php:207
861
+ #: includes/elements/recent-portfolios.php:172
862
+ msgid "Exclude posts"
863
+ msgstr ""
864
+
865
+ #: includes/elements/recent-portfolios-tile-carousel.php:208
866
+ #: includes/elements/recent-portfolios.php:173
867
+ msgid ""
868
+ "If you intend to exclude specific posts from result, you should specify the "
869
+ "posts here. You have to insert the Post IDs that are separated by comma (eg. "
870
+ "53,34,87,25)"
871
+ msgstr ""
872
+
873
+ #: includes/elements/recent-portfolios-tile-carousel.php:221
874
+ #: includes/elements/recent-portfolios.php:186
875
+ msgid "Start offset"
876
+ msgstr ""
877
+
878
+ #: includes/elements/recent-portfolios-tile-carousel.php:222
879
+ #: includes/elements/recent-portfolios.php:187
880
+ msgid "Number of post to displace or pass over."
881
+ msgstr ""
882
+
883
+ #: includes/elements/recent-portfolios-tile-carousel.php:235
884
+ #: includes/elements/recent-portfolios.php:337
885
+ msgid "Insert portfolio title"
886
+ msgstr ""
887
+
888
+ #: includes/elements/recent-portfolios-tile-carousel.php:248
889
+ #: includes/elements/recent-portfolios.php:350
890
+ msgid "Insert portfolio meta"
891
+ msgstr ""
892
+
893
+ #: includes/elements/recent-portfolios-tile-carousel.php:260
894
+ msgid "Post tile style"
895
+ msgstr ""
896
+
897
+ #: includes/elements/recent-portfolios-tile-carousel.php:278
898
+ msgid "Navigation control"
899
+ msgstr ""
900
+
901
+ #: includes/elements/recent-portfolios-tile-carousel.php:286
902
+ msgid "Arrows"
903
+ msgstr ""
904
+
905
+ #: includes/elements/recent-portfolios-tile-carousel.php:287
906
+ msgid "Bullets"
907
+ msgstr ""
908
+
909
+ #: includes/elements/recent-portfolios-tile-carousel.php:288
910
+ #: includes/general-hooks.php:601 includes/general-hooks.php:874
911
+ msgid "None"
912
+ msgstr ""
913
+
914
+ #: includes/elements/recent-portfolios-tile-carousel.php:300
915
+ msgid "Button Navigation Style"
916
+ msgstr ""
917
+
918
+ #: includes/elements/recent-portfolios-tile-carousel.php:314
919
+ msgid "Square"
920
+ msgstr ""
921
+
922
+ #: includes/elements/recent-portfolios-tile-carousel.php:318
923
+ msgid "Circle"
924
+ msgstr ""
925
+
926
+ #: includes/elements/recent-portfolios-tile-carousel.php:324
927
+ msgid "Loop navigation"
928
+ msgstr ""
929
+
930
+ #: includes/elements/recent-portfolios-tile-carousel.php:339
931
+ msgid "Autoplay carousel"
932
+ msgstr ""
933
+
934
+ #: includes/elements/recent-portfolios-tile-carousel.php:355
935
+ msgid "Autoplay delay"
936
+ msgstr ""
937
+
938
+ #: includes/elements/recent-portfolios-tile-carousel.php:356
939
+ msgid "Specifies the delay between auto-forwarding in seconds."
940
+ msgstr ""
941
+
942
+ #: includes/elements/recent-portfolios-tile-carousel.php:372
943
+ #: includes/elements/recent-portfolios.php:619
944
+ msgid "Extra class name"
945
+ msgstr ""
946
+
947
+ #: includes/elements/recent-portfolios-tile-carousel.php:373
948
+ #: includes/elements/recent-portfolios.php:620
949
+ msgid ""
950
+ "If you wish to style particular content element differently, then use this "
951
+ "field to add a class name and then refer to it in your css file."
952
+ msgstr ""
953
+
954
+ #: includes/elements/recent-portfolios.php:17
955
+ msgid "Recent Portfolio on Grid, Tile and Masonry"
956
+ msgstr ""
957
+
958
+ #: includes/elements/recent-portfolios.php:20
959
+ msgid "It adds recent portfolio items in gird, tile or masonry style."
960
+ msgstr ""
961
+
962
+ #: includes/elements/recent-portfolios.php:74
963
+ msgid "Number of items to show"
964
+ msgstr ""
965
+
966
+ #: includes/elements/recent-portfolios.php:200
967
+ msgid "Layout"
968
+ msgstr ""
969
+
970
+ #: includes/elements/recent-portfolios.php:201
971
+ msgid "Different layout types of appearing items."
972
+ msgstr ""
973
+
974
+ #: includes/elements/recent-portfolios.php:218 includes/general-hooks.php:1426
975
+ #: includes/general-hooks.php:1992
976
+ msgid "Masonry"
977
+ msgstr ""
978
+
979
+ #: includes/elements/recent-portfolios.php:222 includes/general-hooks.php:1430
980
+ #: includes/general-hooks.php:1996
981
+ msgid "Tiles"
982
+ msgstr ""
983
+
984
+ #: includes/elements/recent-portfolios.php:233
985
+ msgid "Image aspect ratio"
986
+ msgstr ""
987
+
988
+ #: includes/elements/recent-portfolios.php:241 includes/general-hooks.php:1456
989
+ #: includes/general-hooks.php:2022
990
+ msgid "Horizontal 4:3"
991
+ msgstr ""
992
+
993
+ #: includes/elements/recent-portfolios.php:242 includes/general-hooks.php:1457
994
+ #: includes/general-hooks.php:2023
995
+ msgid "Horizontal 16:9"
996
+ msgstr ""
997
+
998
+ #: includes/elements/recent-portfolios.php:243 includes/general-hooks.php:1458
999
+ #: includes/general-hooks.php:2024
1000
+ msgid "Square 1:1"
1001
+ msgstr ""
1002
+
1003
+ #: includes/elements/recent-portfolios.php:244 includes/general-hooks.php:1459
1004
+ #: includes/general-hooks.php:2025
1005
+ msgid "Vertical 3:4"
1006
+ msgstr ""
1007
+
1008
+ #: includes/elements/recent-portfolios.php:256
1009
+ msgid "Portfolio hover type"
1010
+ msgstr ""
1011
+
1012
+ #: includes/elements/recent-portfolios.php:270
1013
+ msgid "Classic"
1014
+ msgstr ""
1015
+
1016
+ #: includes/elements/recent-portfolios.php:271 includes/general-hooks.php:1492
1017
+ #: includes/general-hooks.php:2058
1018
+ msgid "Classic with lightbox style 1"
1019
+ msgstr ""
1020
+
1021
+ #: includes/elements/recent-portfolios.php:272 includes/general-hooks.php:1496
1022
+ #: includes/general-hooks.php:2062
1023
+ msgid "Classic with lightbox style 2"
1024
+ msgstr ""
1025
+
1026
+ #: includes/elements/recent-portfolios.php:280 includes/general-hooks.php:1729
1027
+ #: includes/general-hooks.php:1813
1028
+ msgid "Entry Box Background Color"
1029
+ msgstr ""
1030
+
1031
+ #: includes/elements/recent-portfolios.php:298 includes/general-hooks.php:1762
1032
+ #: includes/general-hooks.php:1841
1033
+ msgid "Entry Box Border Color"
1034
+ msgstr ""
1035
+
1036
+ #: includes/elements/recent-portfolios.php:362
1037
+ msgid "Show filters"
1038
+ msgstr ""
1039
+
1040
+ #: includes/elements/recent-portfolios.php:374
1041
+ msgid "Filter by"
1042
+ msgstr ""
1043
+
1044
+ #: includes/elements/recent-portfolios.php:375
1045
+ msgid "Filter by categories or tags"
1046
+ msgstr ""
1047
+
1048
+ #: includes/elements/recent-portfolios.php:382
1049
+ msgid "Tags"
1050
+ msgstr ""
1051
+
1052
+ #: includes/elements/recent-portfolios.php:393
1053
+ msgid "Filter Control Alignment"
1054
+ msgstr ""
1055
+
1056
+ #: includes/elements/recent-portfolios.php:408 includes/general-hooks.php:824
1057
+ msgid "Right"
1058
+ msgstr ""
1059
+
1060
+ #: includes/elements/recent-portfolios.php:421
1061
+ msgid "Filter button style"
1062
+ msgstr ""
1063
+
1064
+ #: includes/elements/recent-portfolios.php:422
1065
+ msgid "Style of filter buttons."
1066
+ msgstr ""
1067
+
1068
+ #: includes/elements/recent-portfolios.php:436
1069
+ msgid "Slide up"
1070
+ msgstr ""
1071
+
1072
+ #: includes/elements/recent-portfolios.php:440
1073
+ msgid "Fill"
1074
+ msgstr ""
1075
+
1076
+ #: includes/elements/recent-portfolios.php:444
1077
+ msgid "Cube"
1078
+ msgstr ""
1079
+
1080
+ #: includes/elements/recent-portfolios.php:448
1081
+ msgid "Underline"
1082
+ msgstr ""
1083
+
1084
+ #: includes/elements/recent-portfolios.php:452
1085
+ msgid "Float frame"
1086
+ msgstr ""
1087
+
1088
+ #: includes/elements/recent-portfolios.php:456
1089
+ msgid "Borderd"
1090
+ msgstr ""
1091
+
1092
+ #: includes/elements/recent-portfolios.php:460
1093
+ msgid "Float underline"
1094
+ msgstr ""
1095
+
1096
+ #: includes/elements/recent-portfolios.php:465
1097
+ msgid "Display like button"
1098
+ msgstr ""
1099
+
1100
+ #: includes/elements/recent-portfolios.php:466
1101
+ #, php-format
1102
+ msgid ""
1103
+ "Enable it to display %s like button%s on gride template blog. Please note WP "
1104
+ "Ulike plugin needs to be activaited to use this option."
1105
+ msgstr ""
1106
+
1107
+ #: includes/elements/recent-portfolios.php:482
1108
+ msgid "Deeplink"
1109
+ msgstr ""
1110
+
1111
+ #: includes/elements/recent-portfolios.php:483
1112
+ msgid ""
1113
+ "Enables the deeplink feature, it updates URL based on page and filter status."
1114
+ msgstr ""
1115
+
1116
+ #: includes/elements/recent-portfolios.php:494
1117
+ msgid "Deeplink slug"
1118
+ msgstr ""
1119
+
1120
+ #: includes/elements/recent-portfolios.php:495
1121
+ msgid "Specifies the deeplink slug value in address bar."
1122
+ msgstr ""
1123
+
1124
+ #: includes/elements/recent-portfolios.php:511
1125
+ msgid "Paginate"
1126
+ msgstr ""
1127
+
1128
+ #: includes/elements/recent-portfolios.php:512
1129
+ msgid "Paginates the portfolio items"
1130
+ msgstr ""
1131
+
1132
+ #: includes/elements/recent-portfolios.php:523
1133
+ msgid "Items number perpage"
1134
+ msgstr ""
1135
+
1136
+ #: includes/elements/recent-portfolios.php:539 includes/general-hooks.php:1570
1137
+ #: includes/general-hooks.php:2136
1138
+ msgid "Space"
1139
+ msgstr ""
1140
+
1141
+ #: includes/elements/recent-portfolios.php:540 includes/general-hooks.php:1571
1142
+ #: includes/general-hooks.php:2137
1143
+ msgid "Specifies space between items in pixels."
1144
+ msgstr ""
1145
+
1146
+ #: includes/elements/recent-portfolios.php:556
1147
+ msgid "Number of columns"
1148
+ msgstr ""
1149
+
1150
+ #: includes/elements/recent-portfolios.php:577
1151
+ msgid "Number of columns in tablet size"
1152
+ msgstr ""
1153
+
1154
+ #: includes/elements/recent-portfolios.php:599
1155
+ msgid "Number of columns in phone size"
1156
+ msgstr ""
1157
+
1158
+ #: includes/elements/recent-portfolios.php:870
1159
+ msgid "all"
1160
+ msgstr "همه"
1161
+
1162
+ #: includes/general-hooks.php:40
1163
+ msgid "Portfolio Setting"
1164
+ msgstr ""
1165
+
1166
+ #: includes/general-hooks.php:49
1167
+ msgid "Single Portfolio"
1168
+ msgstr ""
1169
+
1170
+ #: includes/general-hooks.php:50 includes/general-hooks.php:282
1171
+ msgid "Preview a Single Portfolio Page"
1172
+ msgstr ""
1173
+
1174
+ #: includes/general-hooks.php:56
1175
+ msgid "Single Portfolio Template"
1176
+ msgstr ""
1177
+
1178
+ #: includes/general-hooks.php:57
1179
+ msgid "Specifies single portfolio template."
1180
+ msgstr ""
1181
+
1182
+ #: includes/general-hooks.php:134
1183
+ msgid ""
1184
+ "Enable this option to display extra inormation on portfolio single page."
1185
+ msgstr ""
1186
+
1187
+ #: includes/general-hooks.php:152
1188
+ msgid "Enable it to display category section in single portfolio."
1189
+ msgstr ""
1190
+
1191
+ #: includes/general-hooks.php:170
1192
+ msgid "Enable it to display Tag section in single portfolio."
1193
+ msgstr ""
1194
+
1195
+ #: includes/general-hooks.php:188
1196
+ msgid "Enable it to stick the side area on page while scrolling.."
1197
+ msgstr ""
1198
+
1199
+ #: includes/general-hooks.php:281
1200
+ msgid "Portfolio Title"
1201
+ msgstr ""
1202
+
1203
+ #: includes/general-hooks.php:287
1204
+ msgid "Display Title Bar Section"
1205
+ msgstr ""
1206
+
1207
+ #: includes/general-hooks.php:288
1208
+ msgid "Enable it to show the title section."
1209
+ msgstr ""
1210
+
1211
+ #: includes/general-hooks.php:297
1212
+ msgid "Layout presets"
1213
+ msgstr ""
1214
+
1215
+ #: includes/general-hooks.php:332
1216
+ msgid "Title bar with light overlay which is aligned center"
1217
+ msgstr ""
1218
+
1219
+ #: includes/general-hooks.php:350
1220
+ msgid "Fullscreen title bar with light overlay on background"
1221
+ msgstr ""
1222
+
1223
+ #: includes/general-hooks.php:368
1224
+ msgid "Fullscreen title bar with dark overlay on background"
1225
+ msgstr ""
1226
+
1227
+ #: includes/general-hooks.php:386
1228
+ msgid "Fullscreen title bar with border around the title"
1229
+ msgstr ""
1230
+
1231
+ #: includes/general-hooks.php:404
1232
+ msgid "Fullscreen title bar with dark box around the title"
1233
+ msgstr ""
1234
+
1235
+ #: includes/general-hooks.php:422
1236
+ msgid "Title aligned left with dark overlay on background"
1237
+ msgstr ""
1238
+
1239
+ #: includes/general-hooks.php:440
1240
+ msgid "Tile overlaps the title area section and is aligned center"
1241
+ msgstr ""
1242
+
1243
+ #: includes/general-hooks.php:461
1244
+ msgid "Enable advanced setting"
1245
+ msgstr ""
1246
+
1247
+ #: includes/general-hooks.php:462
1248
+ msgid "Enable it to customize preset layouts."
1249
+ msgstr ""
1250
+
1251
+ #: includes/general-hooks.php:478
1252
+ msgid "Content Width"
1253
+ msgstr ""
1254
+
1255
+ #: includes/general-hooks.php:498
1256
+ msgid "Boxed"
1257
+ msgstr ""
1258
+
1259
+ #: includes/general-hooks.php:502
1260
+ msgid "Full Width Content with Space on Sides"
1261
+ msgstr ""
1262
+
1263
+ #: includes/general-hooks.php:506
1264
+ msgid "Full Width Content"
1265
+ msgstr ""
1266
+
1267
+ #: includes/general-hooks.php:515
1268
+ msgid "Title Section Height"
1269
+ msgstr ""
1270
+
1271
+ #: includes/general-hooks.php:535
1272
+ msgid "Auto Height"
1273
+ msgstr ""
1274
+
1275
+ #: includes/general-hooks.php:536
1276
+ msgid "Full Height"
1277
+ msgstr ""
1278
+
1279
+ #: includes/general-hooks.php:541
1280
+ msgid "Vertical Position"
1281
+ msgstr ""
1282
+
1283
+ #: includes/general-hooks.php:542
1284
+ msgid "Specifies vertical alignment of title and subtitle."
1285
+ msgstr ""
1286
+
1287
+ #: includes/general-hooks.php:543
1288
+ msgid ""
1289
+ "Note: Parallax feature in not available for \"Bottom Overlap\" vertical mode."
1290
+ msgstr ""
1291
+
1292
+ #: includes/general-hooks.php:562
1293
+ msgid "Top"
1294
+ msgstr ""
1295
+
1296
+ #: includes/general-hooks.php:563
1297
+ msgid "Middle"
1298
+ msgstr ""
1299
+
1300
+ #: includes/general-hooks.php:564
1301
+ msgid "Bottom"
1302
+ msgstr ""
1303
+
1304
+ #: includes/general-hooks.php:565
1305
+ msgid "Bottom Overlap"
1306
+ msgstr ""
1307
+
1308
+ #: includes/general-hooks.php:570
1309
+ msgid "Scroll Down Arrow"
1310
+ msgstr ""
1311
+
1312
+ #: includes/general-hooks.php:571
1313
+ msgid "This option only applies if section height is \"Full Height\"."
1314
+ msgstr ""
1315
+
1316
+ #: includes/general-hooks.php:605
1317
+ msgid "Round"
1318
+ msgstr ""
1319
+
1320
+ #: includes/general-hooks.php:612
1321
+ msgid "Border for Heading"
1322
+ msgstr ""
1323
+
1324
+ #: includes/general-hooks.php:613
1325
+ msgid "Enable it to display a border around the title and subtitle area."
1326
+ msgstr ""
1327
+
1328
+ #: includes/general-hooks.php:634
1329
+ msgid "Boxed Title"
1330
+ msgstr ""
1331
+
1332
+ #: includes/general-hooks.php:635
1333
+ msgid ""
1334
+ "Enable it to wrap the title and subtitle in a box with background color."
1335
+ msgstr ""
1336
+
1337
+ #: includes/general-hooks.php:656
1338
+ msgid "Title Box Custom Color"
1339
+ msgstr ""
1340
+
1341
+ #: includes/general-hooks.php:657
1342
+ msgid ""
1343
+ "Specifies a custom background color for the box around the title and "
1344
+ "subtitle."
1345
+ msgstr ""
1346
+
1347
+ #: includes/general-hooks.php:683
1348
+ msgid "Display Post Meta"
1349
+ msgstr ""
1350
+
1351
+ #: includes/general-hooks.php:684
1352
+ msgid "Enable it to display post meta information on title section."
1353
+ msgstr ""
1354
+
1355
+ #: includes/general-hooks.php:705
1356
+ msgid "Display Breadcrumb"
1357
+ msgstr ""
1358
+
1359
+ #: includes/general-hooks.php:706
1360
+ msgid "Enable it to display breadcrumb on title section."
1361
+ msgstr ""
1362
+
1363
+ #: includes/general-hooks.php:727
1364
+ msgid "Border for Breadcrumb"
1365
+ msgstr ""
1366
+
1367
+ #: includes/general-hooks.php:728
1368
+ msgid "Enable it to display border around breadcrumb."
1369
+ msgstr ""
1370
+
1371
+ #: includes/general-hooks.php:754
1372
+ msgid "Breadcrumb Separator"
1373
+ msgstr ""
1374
+
1375
+ #: includes/general-hooks.php:755
1376
+ msgid "Enable it to display separator between breadcrumb parts."
1377
+ msgstr ""
1378
+
1379
+ #: includes/general-hooks.php:780
1380
+ msgid "Greater Than (>)"
1381
+ msgstr ""
1382
+
1383
+ #: includes/general-hooks.php:784
1384
+ msgid "Slash"
1385
+ msgstr ""
1386
+
1387
+ #: includes/general-hooks.php:788
1388
+ msgid "Arrow"
1389
+ msgstr ""
1390
+
1391
+ #: includes/general-hooks.php:795
1392
+ msgid "Text Align"
1393
+ msgstr ""
1394
+
1395
+ #: includes/general-hooks.php:831
1396
+ msgid "Overlay Color"
1397
+ msgstr ""
1398
+
1399
+ #: includes/general-hooks.php:832
1400
+ msgid ""
1401
+ "The color that overlay on the background. Please note that color should have "
1402
+ "transparency."
1403
+ msgstr ""
1404
+
1405
+ #: includes/general-hooks.php:853
1406
+ msgid "Overlay Pattern"
1407
+ msgstr ""
1408
+
1409
+ #: includes/general-hooks.php:878
1410
+ msgid "Hash"
1411
+ msgstr ""
1412
+
1413
+ #: includes/general-hooks.php:885
1414
+ msgid "Overlay Pattern Opacity"
1415
+ msgstr ""
1416
+
1417
+ #: includes/general-hooks.php:921
1418
+ msgid "Color Mode"
1419
+ msgstr ""
1420
+
1421
+ #: includes/general-hooks.php:949
1422
+ msgid "Enable Title Background"
1423
+ msgstr ""
1424
+
1425
+ #: includes/general-hooks.php:950
1426
+ msgid "Enable it to display custom background for title section."
1427
+ msgstr ""
1428
+
1429
+ #: includes/general-hooks.php:971
1430
+ msgid "Enable Parallax Effect"
1431
+ msgstr ""
1432
+
1433
+ #: includes/general-hooks.php:972
1434
+ msgid "Enable it to have parallax background effect on this section."
1435
+ msgstr ""
1436
+
1437
+ #: includes/general-hooks.php:973
1438
+ msgid ""
1439
+ "Note: Parallax feature in not available for \"Bottom Overlap\" mode for "
1440
+ "\"Vertical Position\" option."
1441
+ msgstr ""
1442
+
1443
+ #: includes/general-hooks.php:999
1444
+ msgid "Background Color"
1445
+ msgstr "رنگ پس زمینه"
1446
+
1447
+ #: includes/general-hooks.php:1000
1448
+ msgid "Specifies a background color for title bar."
1449
+ msgstr ""
1450
+
1451
+ #: includes/general-hooks.php:1027
1452
+ msgid "Background Size"
1453
+ msgstr ""
1454
+
1455
+ #: includes/general-hooks.php:1028
1456
+ msgid "Specifies the background size."
1457
+ msgstr ""
1458
+
1459
+ #: includes/general-hooks.php:1053
1460
+ msgid "Auto"
1461
+ msgstr ""
1462
+
1463
+ #: includes/general-hooks.php:1057
1464
+ msgid "Contain"
1465
+ msgstr ""
1466
+
1467
+ #: includes/general-hooks.php:1061
1468
+ msgid "Cover"
1469
+ msgstr ""
1470
+
1471
+ #: includes/general-hooks.php:1069
1472
+ msgid "Background Image"
1473
+ msgstr ""
1474
+
1475
+ #: includes/general-hooks.php:1070
1476
+ msgid "Specifies a background image for title bar."
1477
+ msgstr ""
1478
+
1479
+ #: includes/general-hooks.php:1097
1480
+ msgid "Background Video MP4"
1481
+ msgstr ""
1482
+
1483
+ #: includes/general-hooks.php:1098 includes/general-hooks.php:1126
1484
+ #: includes/general-hooks.php:1154
1485
+ msgid ""
1486
+ "You can upload custom video for title background</br>Note: if you set custom "
1487
+ "image, default image backgrounds will be ignored."
1488
+ msgstr ""
1489
+
1490
+ #: includes/general-hooks.php:1125
1491
+ msgid "Background Video Ogg"
1492
+ msgstr ""
1493
+
1494
+ #: includes/general-hooks.php:1153
1495
+ msgid "Background Video WebM"
1496
+ msgstr ""
1497
+
1498
+ #: includes/general-hooks.php:1186
1499
+ msgid "Related Portfolios"
1500
+ msgstr ""
1501
+
1502
+ #: includes/general-hooks.php:1187
1503
+ msgid "Setting for Related Portfolios Section in Single Page"
1504
+ msgstr ""
1505
+
1506
+ #: includes/general-hooks.php:1193
1507
+ msgid ""
1508
+ "Enable it to display related portfolios section on single portfolio page."
1509
+ msgstr ""
1510
+
1511
+ #: includes/general-hooks.php:1217
1512
+ msgid "Related Projects/Works"
1513
+ msgstr ""
1514
+
1515
+ #: includes/general-hooks.php:1336
1516
+ msgid "Link the Button Under Related Items To"
1517
+ msgstr ""
1518
+
1519
+ #: includes/general-hooks.php:1337
1520
+ msgid ""
1521
+ "Whether to display a button bellow related items section in order to direct "
1522
+ "visitors to portfolio archive page or not. You can link the button to the "
1523
+ "portfolio archive page or a custom page, or hide the button."
1524
+ msgstr ""
1525
+
1526
+ #: includes/general-hooks.php:1342
1527
+ msgid "Archive page"
1528
+ msgstr ""
1529
+
1530
+ #: includes/general-hooks.php:1343
1531
+ msgid "Custom URL"
1532
+ msgstr ""
1533
+
1534
+ #: includes/general-hooks.php:1344
1535
+ msgid "Hide it"
1536
+ msgstr ""
1537
+
1538
+ #: includes/general-hooks.php:1351
1539
+ msgid "Custom Link for Related Items Button"
1540
+ msgstr ""
1541
+
1542
+ #: includes/general-hooks.php:1352
1543
+ msgid "A custom link for the button under related items section."
1544
+ msgstr ""
1545
+
1546
+ #: includes/general-hooks.php:1368
1547
+ msgid "Custom label for Related Items Button"
1548
+ msgstr ""
1549
+
1550
+ #: includes/general-hooks.php:1369
1551
+ msgid "A custom label for the button under related items section."
1552
+ msgstr ""
1553
+
1554
+ #: includes/general-hooks.php:1381
1555
+ msgid "Browse All Projects"
1556
+ msgstr ""
1557
+
1558
+ #: includes/general-hooks.php:1399
1559
+ msgid "Portfolio Page"
1560
+ msgstr ""
1561
+
1562
+ #: includes/general-hooks.php:1400
1563
+ msgid "Preview Portfolio Page"
1564
+ msgstr ""
1565
+
1566
+ #: includes/general-hooks.php:1406
1567
+ msgid "Portfolio Template"
1568
+ msgstr ""
1569
+
1570
+ #: includes/general-hooks.php:1407
1571
+ msgid "Choose your portfolio template."
1572
+ msgstr ""
1573
+
1574
+ #: includes/general-hooks.php:1434 includes/general-hooks.php:2000
1575
+ msgid "Land"
1576
+ msgstr ""
1577
+
1578
+ #: includes/general-hooks.php:1443 includes/general-hooks.php:2009
1579
+ msgid "Image Aspect Ratio"
1580
+ msgstr ""
1581
+
1582
+ #: includes/general-hooks.php:1473 includes/general-hooks.php:2039
1583
+ msgid "Portfolio Hover Type"
1584
+ msgstr ""
1585
+
1586
+ #: includes/general-hooks.php:1474 includes/general-hooks.php:1529
1587
+ #: includes/general-hooks.php:2040 includes/general-hooks.php:2095
1588
+ msgid "Hover over images to see the animation."
1589
+ msgstr ""
1590
+
1591
+ #: includes/general-hooks.php:1488 includes/general-hooks.php:2054
1592
+ msgid "No animation"
1593
+ msgstr ""
1594
+
1595
+ #: includes/general-hooks.php:1528 includes/general-hooks.php:2094
1596
+ msgid "Tile Portfolio Item Type"
1597
+ msgstr ""
1598
+
1599
+ #: includes/general-hooks.php:1624 includes/general-hooks.php:2188
1600
+ msgid "Number of Columns in Tablet"
1601
+ msgstr ""
1602
+
1603
+ #: includes/general-hooks.php:1653 includes/general-hooks.php:2217
1604
+ msgid "Number of Columns in Mobile"
1605
+ msgstr ""
1606
+
1607
+ #: includes/general-hooks.php:1681 includes/general-hooks.php:2245
1608
+ msgid "Display Like Button"
1609
+ msgstr ""
1610
+
1611
+ #: includes/general-hooks.php:1682 includes/general-hooks.php:2246
1612
+ #, php-format
1613
+ msgid ""
1614
+ "Enable it to display %s like button%s on portfolio portfolios. Please note "
1615
+ "WP Ulike plugin needs to be activaited to use this option."
1616
+ msgstr ""
1617
+
1618
+ #: includes/general-hooks.php:1706 includes/general-hooks.php:1795
1619
+ msgid "Enable Entry Box Coloring"
1620
+ msgstr ""
1621
+
1622
+ #: includes/general-hooks.php:1707 includes/general-hooks.php:1796
1623
+ msgid "Specifies the border/background color for entry box."
1624
+ msgstr ""
1625
+
1626
+ #: includes/general-hooks.php:1731 includes/general-hooks.php:1815
1627
+ msgid "Specifies the background color for entry box."
1628
+ msgstr ""
1629
+
1630
+ #: includes/general-hooks.php:1764 includes/general-hooks.php:1843
1631
+ msgid "Specifies the border color for entry box."
1632
+ msgstr ""
1633
+
1634
+ #: includes/general-hooks.php:1869
1635
+ msgid "Portfolio Sidebar Position"
1636
+ msgstr ""
1637
+
1638
+ #: includes/general-hooks.php:1870
1639
+ msgid "Specifies the position of sidebar on portfolio page."
1640
+ msgstr ""
1641
+
1642
+ #: includes/general-hooks.php:1876 includes/general-hooks.php:2279
1643
+ msgid "No Sidebar"
1644
+ msgstr ""
1645
+
1646
+ #: includes/general-hooks.php:1880 includes/general-hooks.php:2283
1647
+ msgid "Right Sidebar"
1648
+ msgstr ""
1649
+
1650
+ #: includes/general-hooks.php:1884 includes/general-hooks.php:2287
1651
+ msgid "Left Sidebar"
1652
+ msgstr ""
1653
+
1654
+ #: includes/general-hooks.php:1888 includes/general-hooks.php:2291
1655
+ msgid "Left Left Sidebar"
1656
+ msgstr ""
1657
+
1658
+ #: includes/general-hooks.php:1892 includes/general-hooks.php:2295
1659
+ msgid "Right Right Sidebar"
1660
+ msgstr ""
1661
+
1662
+ #: includes/general-hooks.php:1896 includes/general-hooks.php:2299
1663
+ msgid "Left Right Sidebar"
1664
+ msgstr ""
1665
+
1666
+ #: includes/general-hooks.php:1900 includes/general-hooks.php:2303
1667
+ msgid "Right Left Sidebar"
1668
+ msgstr ""
1669
+
1670
+ #: includes/general-hooks.php:1912
1671
+ msgid "Portfolio Sidebar Style"
1672
+ msgstr ""
1673
+
1674
+ #: includes/general-hooks.php:1913
1675
+ msgid "Specifies the style of sidebar on portfolio page."
1676
+ msgstr ""
1677
+
1678
+ #: includes/general-hooks.php:1927 includes/general-hooks.php:2326
1679
+ msgid "Simple"
1680
+ msgstr ""
1681
+
1682
+ #: includes/general-hooks.php:1931 includes/general-hooks.php:2330
1683
+ msgid "Bordered Sidebar"
1684
+ msgstr ""
1685
+
1686
+ #: includes/general-hooks.php:1935 includes/general-hooks.php:2334
1687
+ msgid "Overlap Background"
1688
+ msgstr ""
1689
+
1690
+ #: includes/general-hooks.php:1944
1691
+ msgid "Number of Portfolios Per Page"
1692
+ msgstr ""
1693
+
1694
+ #: includes/general-hooks.php:1945
1695
+ msgid "Specifies the number of portfolios items to show on each page."
1696
+ msgstr ""
1697
+
1698
+ #: includes/general-hooks.php:1967
1699
+ msgid "Portfolio Category & tag"
1700
+ msgstr ""
1701
+
1702
+ #: includes/general-hooks.php:1968
1703
+ msgid "Portfolio Category & tag page Setting"
1704
+ msgstr ""
1705
+
1706
+ #: includes/general-hooks.php:1972
1707
+ msgid "Taxonomy Page Template"
1708
+ msgstr ""
1709
+
1710
+ #: includes/general-hooks.php:2271
1711
+ msgid "Taxonomy Page Sidebar Position"
1712
+ msgstr ""
1713
+
1714
+ #: includes/general-hooks.php:2312
1715
+ msgid "Sidebar Style"
1716
+ msgstr ""
1717
+
1718
+ #: includes/general-hooks.php:2313
1719
+ msgid "Specifies the style of sidebar on category & tag page."
1720
+ msgstr ""
1721
+
1722
+ #: includes/general-hooks.php:2347
1723
+ msgid "Portfolio MetaData"
1724
+ msgstr ""
1725
+
1726
+ #: includes/general-hooks.php:2348
1727
+ msgid "Portfolio MetaData Setting"
1728
+ msgstr ""
1729
+
1730
+ #: includes/general-hooks.php:2352
1731
+ msgid "Label for Launch Project Button"
1732
+ msgstr ""
1733
+
1734
+ #: includes/general-hooks.php:2353
1735
+ msgid "Specify a label for launch project button."
1736
+ msgstr ""
1737
+
1738
+ #: includes/general-hooks.php:2360
1739
+ msgid "Launch Project"
1740
+ msgstr ""
1741
+
1742
+ #: includes/general-hooks.php:2364
1743
+ msgid "Portfolio MetaDatas"
1744
+ msgstr ""
1745
+
1746
+ #: includes/general-hooks.php:2365
1747
+ msgid ""
1748
+ "Specify the number of fields and the label of each one for portfolio "
1749
+ "metadatas"
1750
+ msgstr ""
1751
+
1752
+ #: includes/general-hooks.php:2371
1753
+ msgid "Project URL"
1754
+ msgstr ""
1755
+
1756
+ #: includes/general-hooks.php:2372
1757
+ msgid "Client"
1758
+ msgstr ""
1759
+
1760
+ #: includes/general-hooks.php:2373
1761
+ msgid "Release Date"
1762
+ msgstr ""
1763
+
1764
+ #: includes/general-hooks.php:2375
1765
+ msgid "Custom Field 1"
1766
+ msgstr ""
1767
+
1768
+ #: includes/general-hooks.php:2376
1769
+ msgid "Custom Field 2"
1770
+ msgstr ""
1771
+
1772
+ #: includes/general-hooks.php:2377
1773
+ msgid "Custom Field 3"
1774
+ msgstr ""
1775
+
1776
+ #: includes/general-hooks.php:2378
1777
+ msgid "Custom Field 4"
1778
+ msgstr ""
1779
+
1780
+ #: includes/general-hooks.php:2379
1781
+ msgid "Custom Field 5"
1782
+ msgstr ""
1783
+
1784
+ #: includes/general-hooks.php:2380
1785
+ msgid "Custom Field 6"
1786
+ msgstr ""
1787
+
1788
+ #: includes/general-hooks.php:2381
1789
+ msgid "Custom Field 7"
1790
+ msgstr ""
1791
+
1792
+ #: includes/general-hooks.php:2382
1793
+ msgid "Custom Field 8"
1794
+ msgstr ""
1795
+
1796
+ #: includes/general-hooks.php:2383
1797
+ msgid "Custom Field 9"
1798
+ msgstr ""
1799
+
1800
+ #: includes/general-hooks.php:2384
1801
+ msgid "Custom Field 10"
1802
+ msgstr ""
1803
+
1804
+ #: includes/general-hooks.php:2385
1805
+ msgid "Custom Field 11"
1806
+ msgstr ""
1807
+
1808
+ #: includes/general-hooks.php:2386
1809
+ msgid "Custom Field 12"
1810
+ msgstr ""
1811
+
1812
+ #: includes/general-hooks.php:2426
1813
+ msgid "Portfolio Options"
1814
+ msgstr ""
1815
+
1816
+ #: includes/general-hooks.php:2447
1817
+ msgid "Like"
1818
+ msgstr ""
1819
+
1820
+ #: includes/general-hooks.php:2460
1821
+ msgid "Unlike"
1822
+ msgstr ""
1823
+
1824
+ #: includes/general-hooks.php:2487
1825
+ msgid "Share"
1826
+ msgstr ""
1827
+
1828
+ #: includes/general-hooks.php:2526 public/includes/templates-post.php:19
1829
+ msgid "Related Projects"
1830
+ msgstr ""
1831
+
1832
+ #: public/includes/templates-post.php:12
1833
+ msgid "Please activate \"Auxin Elements\" plugin."
1834
+ msgstr ""
1835
+
1836
+ #: public/templates/theme-parts/entry/portfolio-column-overlay.php:52
1837
+ #: public/templates/theme-parts/entry/portfolio-column.php:62
1838
+ #: public/templates/theme-parts/entry/portfolio-land.php:86
1839
+ #: public/templates/theme-parts/entry/portfolio.php:42
1840
+ #: public/templates/theme-parts/entry/single-portfolio.php:118
1841
+ #: public/templates/theme-parts/entry/single-portfolio.php:126
1842
+ msgid "View all posts in "
1843
+ msgstr ""
1844
+
1845
+ #: public/templates/theme-parts/entry/portfolio-column.php:68
1846
+ #: public/templates/theme-parts/entry/portfolio-column.php:70
1847
+ #: public/templates/theme-parts/entry/portfolio-land.php:92
1848
+ #: public/templates/theme-parts/entry/portfolio-land.php:94
1849
+ #: public/templates/theme-parts/entry/portfolio.php:47
1850
+ msgid "Edit"
1851
+ msgstr ""
1852
+
1853
+ #: public/templates/theme-parts/entry/single-portfolio.php:116
1854
+ msgid "Categories:"
1855
+ msgstr ""
1856
+
1857
+ #: public/templates/theme-parts/entry/single-portfolio.php:124
1858
+ msgid "Tags:"
1859
+ msgstr ""
1860
+
1861
+ #: public/templates/theme-parts/entry/single-portfolio.php:163
1862
+ msgid "Pages:"
1863
+ msgstr ""
1864
+
1865
+ #: public/templates/theme-parts/entry/single-portfolio.php:177
1866
+ msgid "Previous Portfolio"
1867
+ msgstr ""
1868
+
1869
+ #: public/templates/theme-parts/entry/single-portfolio.php:178
1870
+ msgid "Next Portfolio"
1871
+ msgstr ""
1872
+
1873
+ #: public/templates/theme-parts/entry/single-portfolio.php:185
1874
+ msgid "Prev"
1875
+ msgstr ""
1876
+
1877
+ #: public/templates/theme-parts/entry/single-portfolio.php:186
1878
+ msgid "Next "
1879
+ msgstr ""
1880
+
1881
+ #: public/templates/theme-parts/entry/single-portfolio.php:188
1882
+ msgid "Previous Project"
1883
+ msgstr ""
1884
+
1885
+ #: public/templates/theme-parts/entry/single-portfolio.php:189
1886
+ msgid "Next Project"
1887
+ msgstr ""
1888
+
1889
+ #: public/templates/theme-parts/loop-portfolio.php:58
1890
+ #: public/templates/theme-parts/tax-portfolio.php:62
1891
+ msgid "To enable this feature, please install \"Auxin Portfolio\" plugin."
1892
+ msgstr ""
1893
+
1894
+ #. Plugin URI of the plugin/theme
1895
+ msgid "http://averta.net/phlox/"
1896
+ msgstr ""
1897
+
1898
+ #. Description of the plugin/theme
1899
+ msgid "Showcase your projects beautifully in Phlox theme"
1900
+ msgstr ""
1901
+
1902
+ #. Author of the plugin/theme
1903
+ msgid "averta"
1904
+ msgstr ""
1905
+
1906
+ #. Author URI of the plugin/theme
1907
+ msgid "http://averta.net"
1908
+ msgstr ""
public/class-auxpfo.php CHANGED
@@ -2,7 +2,12 @@
2
  /**
3
  * Auxin Portfolio.
4
  *
5
- * @echo HEADER
 
 
 
 
 
6
  */
7
 
8
  if ( ! class_exists( 'AUXPFO' ) ) :
2
  /**
3
  * Auxin Portfolio.
4
  *
5
+ *
6
+ * @package Auxin
7
+ * @license LICENSE.txt
8
+ * @author
9
+ * @link http://averta.net/phlox/
10
+ * @copyright (c) 2010-2018
11
  */
12
 
13
  if ( ! class_exists( 'AUXPFO' ) ) :
public/includes/class-auxpfo-frontend-assets.php CHANGED
@@ -7,7 +7,7 @@
7
  * @license LICENSE.txt
8
  * @author
9
  * @link http://averta.net/phlox/
10
- * @copyright (c) 2010-2017
11
  */
12
 
13
  /**
7
  * @license LICENSE.txt
8
  * @author
9
  * @link http://averta.net/phlox/
10
+ * @copyright (c) 2010-2018
11
  */
12
 
13
  /**
public/includes/templates-post.php CHANGED
@@ -37,7 +37,7 @@ function auxpfo_get_portfolio_related_posts( $args = array() ){
37
  'ignore_media' => false, // whether to ignore media for this
38
  'exclude' => '',
39
  'include' => '',
40
- 'order_by' => 'menu_order date',
41
  'order' => 'desc',
42
  'exclude_without_media' => 0,
43
  'exclude_custom_post_formats' => 0,
37
  'ignore_media' => false, // whether to ignore media for this
38
  'exclude' => '',
39
  'include' => '',
40
+ 'order_by' => 'rand',
41
  'order' => 'desc',
42
  'exclude_without_media' => 0,
43
  'exclude_custom_post_formats' => 0,
public/templates/archive-portfolio.php CHANGED
@@ -7,7 +7,7 @@
7
  * @license LICENSE.txt
8
  * @author
9
  * @link http://averta.net/phlox/
10
- * @copyright (c) 2010-2017
11
  */
12
  get_header();?>
13
 
7
  * @license LICENSE.txt
8
  * @author
9
  * @link http://averta.net/phlox/
10
+ * @copyright (c) 2010-2018
11
  */
12
  get_header();?>
13
 
public/templates/single-portfolio.php CHANGED
@@ -7,7 +7,7 @@
7
  * @license LICENSE.txt
8
  * @author
9
  * @link http://averta.net/phlox/
10
- * @copyright (c) 2010-2017
11
  */
12
  global $post;
13
  $is_pass_protected = post_password_required();
7
  * @license LICENSE.txt
8
  * @author
9
  * @link http://averta.net/phlox/
10
+ * @copyright (c) 2010-2018
11
  */
12
  global $post;
13
  $is_pass_protected = post_password_required();
public/templates/taxonomy-portfolio-cat.php CHANGED
@@ -8,7 +8,7 @@
8
  * @license LICENSE.txt
9
  * @author
10
  * @link http://averta.net/phlox/
11
- * @copyright (c) 2010-2017
12
  */
13
  get_header();?>
14
 
8
  * @license LICENSE.txt
9
  * @author
10
  * @link http://averta.net/phlox/
11
+ * @copyright (c) 2010-2018
12
  */
13
  get_header();?>
14
 
public/templates/taxonomy-portfolio-tag.php CHANGED
@@ -8,6 +8,6 @@
8
  * @license LICENSE.txt
9
  * @author
10
  * @link http://averta.net/phlox/
11
- * @copyright (c) 2010-2017
12
  */
13
  include 'taxonomy-portfolio-cat.php';
8
  * @license LICENSE.txt
9
  * @author
10
  * @link http://averta.net/phlox/
11
+ * @copyright (c) 2010-2018
12
  */
13
  include 'taxonomy-portfolio-cat.php';
public/templates/theme-parts/entry/portfolio-column-overlay.php CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  <article <?php post_class( 'aux-item-overlay' . ' ' . $hover_classes . ' ' . $item_inner_classes ); ?> >
2
  <div class="entry-media <?php echo $frame_effect_classes . ' ' . $item_inner_classes ?>">
3
  <?php echo $the_media; ?>
@@ -8,19 +12,19 @@
8
  <div class="aux-portfolio-overlay-buttons">
9
  <div class="aux-hover-circle-plus aux-delay-2x">
10
  <a href="<?php echo auxin_get_the_attachment_url( $post->ID, 'full' )?>" <?php echo $lightbox_attrs; ?> class="aux-lightbox-btn " >
11
- <div class="aux-arrow-nav aux-round aux-hover-slide aux-outline aux-semi-small aux-white">
12
  <span class="aux-overlay"></span>
13
- <span class="aux-svg-arrow aux-medium-plus aux-white"></span>
14
- <span class="aux-hover-arrow aux-svg-arrow aux-medium-plus"></span>
15
  </div>
16
  </a>
17
  </div>
18
  <div class="aux-arrow-post-link aux-hover-circle-link">
19
  <a href="<?php echo !empty( $the_link ) ? $the_link : get_permalink(); ?>">
20
- <div class="aux-arrow-nav aux-round aux-hover-slide aux-outline aux-semi-small aux-white">
21
  <span class="aux-overlay"></span>
22
- <span class="aux-svg-arrow aux-medium-right aux-white"></span>
23
- <span class="aux-hover-arrow aux-svg-arrow aux-medium-right"></span>
24
  </div>
25
  </a>
26
  </div>
1
+ <?php
2
+ $tile_skin_scheme = ! isset( $tile_skin ) || 'darken' === $tile_skin ? 'aux-white' : 'aux-black';
3
+ $tile_skin_hover = ! isset( $tile_skin ) || 'darken' === $tile_skin ? 'aux-black' : 'aux-white';
4
+ ?>
5
  <article <?php post_class( 'aux-item-overlay' . ' ' . $hover_classes . ' ' . $item_inner_classes ); ?> >
6
  <div class="entry-media <?php echo $frame_effect_classes . ' ' . $item_inner_classes ?>">
7
  <?php echo $the_media; ?>
12
  <div class="aux-portfolio-overlay-buttons">
13
  <div class="aux-hover-circle-plus aux-delay-2x">
14
  <a href="<?php echo auxin_get_the_attachment_url( $post->ID, 'full' )?>" <?php echo $lightbox_attrs; ?> class="aux-lightbox-btn " >
15
+ <div class="aux-arrow-nav aux-round aux-hover-slide aux-outline aux-semi-small <?php echo esc_attr( $tile_skin_scheme );?>">
16
  <span class="aux-overlay"></span>
17
+ <span class="aux-svg-arrow aux-medium-plus <?php echo esc_attr( $tile_skin_scheme );?>"></span>
18
+ <span class="aux-hover-arrow aux-svg-arrow aux-medium-plus <?php echo esc_attr( $tile_skin_hover );?>"></span>
19
  </div>
20
  </a>
21
  </div>
22
  <div class="aux-arrow-post-link aux-hover-circle-link">
23
  <a href="<?php echo !empty( $the_link ) ? $the_link : get_permalink(); ?>">
24
+ <div class="aux-arrow-nav aux-round aux-hover-slide aux-outline aux-semi-small <?php echo esc_attr( $tile_skin_scheme );?>">
25
  <span class="aux-overlay"></span>
26
+ <span class="aux-svg-arrow aux-medium-right <?php echo esc_attr( $tile_skin_scheme );?>"></span>
27
+ <span class="aux-hover-arrow aux-svg-arrow aux-medium-right <?php echo esc_attr( $tile_skin_hover );?>"></span>
28
  </div>
29
  </a>
30
  </div>
public/templates/theme-parts/entry/portfolio-column.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  // Add class name for custom styles
3
- $classic_item_class_name = auxin_get_option( 'portfolio_classic_entry_box_background_color' ) ? 'aux-item-classic' : '';
4
  ?>
5
 
6
  <article <?php post_class( $classic_item_class_name ); ?> >
1
  <?php
2
  // Add class name for custom styles
3
+ $classic_item_class_name = auxin_get_option( 'show_portfolio_entry_box_colors' ) ? 'aux-entry-boxed' : '';
4
  ?>
5
 
6
  <article <?php post_class( $classic_item_class_name ); ?> >
public/templates/theme-parts/entry/portfolio-land.php CHANGED
@@ -26,7 +26,7 @@
26
  extract( $post_vars );
27
 
28
  // Add class name for custom styles
29
- $land_item_class_name = auxin_get_option( 'portfolio_land_side_background_color' ) || auxin_get_option( 'portfolio_taxonomy_land_side_background_color' ) ? ' aux-item-land' : '';
30
 
31
  ?>
32
  <article <?php post_class( 'aux-single-portfolio-wrapper aux-portfolio-land' . $land_item_class_name ); ?> >
26
  extract( $post_vars );
27
 
28
  // Add class name for custom styles
29
+ $land_item_class_name = auxin_get_option( 'show_portfolio_land_side_entry_box_colors' ) ? ' aux-item-land' : '';
30
 
31
  ?>
32
  <article <?php post_class( 'aux-single-portfolio-wrapper aux-portfolio-land' . $land_item_class_name ); ?> >
public/templates/theme-parts/entry/portfolio.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  // Add class name for custom styles
3
- $classic_item_class_name = auxin_get_option( 'portfolio_classic_entry_box_background_color' ) ? 'aux-item-classic' : '';
4
  ?>
5
 
6
  <article <?php post_class( $classic_item_class_name ); ?> >
1
  <?php
2
  // Add class name for custom styles
3
+ $classic_item_class_name = auxin_get_option( 'show_portfolio_entry_box_colors' ) ? 'aux-entry-boxed' : '';
4
  ?>
5
 
6
  <article <?php post_class( $classic_item_class_name ); ?> >
public/templates/theme-parts/entry/single-portfolio.php CHANGED
@@ -173,9 +173,12 @@
173
  if( 'default' == $next_prev_skin = auxin_get_post_meta( $post->ID, '_next_prev_nav_skin', 'default' ) ){
174
  $next_prev_skin = auxin_get_option( 'portfolio_single_next_prev_nav_skin', false );
175
  }
 
 
 
176
  $args = array(
177
- 'prev_text' => __( 'Previous Portfolio', 'auxin-portfolio' ),
178
- 'next_text' => __( 'Next Portfolio' , 'auxin-portfolio' ),
179
  'taxonomy' => 'portfolio-cat',
180
  'skin' => $next_prev_skin, // minimal, thumb-no-arrow, thumb-arrow, boxed-image
181
  'echo' => false
@@ -184,15 +187,12 @@
184
  if ( 'classic' == $next_prev_skin ) {
185
  $args['prev_text'] = __( 'Prev', 'auxin-portfolio' ) ;
186
  $args['next_text'] = __( 'Next ', 'auxin-portfolio' ) ;
187
- } elseif ( 'classic-title' == $next_prev_skin ){
188
- $args['prev_text'] = __( 'Previous Project', 'auxin-portfolio' ) ;
189
- $args['next_text'] = __( 'Next Project', 'auxin-portfolio' ) ;
190
  }
191
 
192
  $next_prev_navigation = auxin_single_page_navigation( $args );
193
  }
194
 
195
- if( $sticky_sidebar ) {
196
  echo $next_prev_navigation;
197
  } else {
198
  global $post_next_prev_navigation;
173
  if( 'default' == $next_prev_skin = auxin_get_post_meta( $post->ID, '_next_prev_nav_skin', 'default' ) ){
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
187
  if ( 'classic' == $next_prev_skin ) {
188
  $args['prev_text'] = __( 'Prev', 'auxin-portfolio' ) ;
189
  $args['next_text'] = __( 'Next ', 'auxin-portfolio' ) ;
 
 
 
190
  }
191
 
192
  $next_prev_navigation = auxin_single_page_navigation( $args );
193
  }
194
 
195
+ if( $sticky_sidebar || $info_layout_bg ) {
196
  echo $next_prev_navigation;
197
  } else {
198
  global $post_next_prev_navigation;
public/templates/theme-parts/loop-portfolio.php CHANGED
@@ -18,6 +18,7 @@ if( in_array( $template_type, array('grid', 'masonry', 'tiles') ) ){
18
  'paged' => '',
19
  'order_by' => 'menu_order date',
20
  'order' => 'desc',
 
21
  'display_like' => auxin_get_option( 'show_portfolio_archive_like_button' ),
22
  'deeplink' => false,
23
  'item_style' => auxin_get_option( 'portfolio_archive_grid_item_type' ),
18
  'paged' => '',
19
  'order_by' => 'menu_order date',
20
  'order' => 'desc',
21
+ 'num' => auxin_get_option( 'portfolio_archive_items_perpage' ),
22
  'display_like' => auxin_get_option( 'show_portfolio_archive_like_button' ),
23
  'deeplink' => false,
24
  'item_style' => auxin_get_option( 'portfolio_archive_grid_item_type' ),
uninstall.php CHANGED
@@ -7,7 +7,7 @@
7
  * @license LICENSE.txt
8
  * @author
9
  * @link http://averta.net/phlox/
10
- * @copyright (c) 2010-2017
11
  */
12
 
13
  // If uninstall not called from WordPress, then exit
7
  * @license LICENSE.txt
8
  * @author
9
  * @link http://averta.net/phlox/
10
+ * @copyright (c) 2010-2018
11
  */
12
 
13
  // If uninstall not called from WordPress, then exit