Version Description
Download this release
Release Info
Developer | averta |
Plugin | Premium Portfolio Features for Phlox theme |
Version | 1.0.1 |
Comparing to | |
See all releases |
Code changes from version 0.9.7 to 1.0.1
- README.txt +9 -4
- admin/assets/images/ClassicLightbox.png +0 -0
- admin/assets/images/preview/ClassicLightbox1.webm +0 -0
- admin/assets/images/preview/ClassicLightbox2.webm +0 -0
- admin/assets/images/preview/FilterBordered.mp4 +0 -0
- admin/assets/images/preview/FilterCube.webm +0 -0
- admin/assets/images/preview/FilterFill.webm +0 -0
- admin/assets/images/preview/FilterFloatFrame.webm +0 -0
- admin/assets/images/preview/FilterSlideUp2.webm +0 -0
- admin/assets/images/preview/FilterUnderline.mp4 +0 -0
- admin/assets/images/preview/FilterUnderline.webm +0 -0
- admin/assets/images/preview/OverlayTitle1.webm +0 -0
- admin/assets/images/preview/OverlayTitle2.webm +0 -0
- admin/assets/images/preview/OverlayTitleLightbox1.webm +0 -0
- admin/assets/images/preview/OverlayTitleLightbox2.webm +0 -0
- admin/includes/metaboxes/metabox-fields-portfolio-metadata.php +31 -0
- admin/includes/metaboxes/metabox-fields-portfolio-related.php +4 -4
- auxin-portfolio.php +3 -7
- includes/classes/class-auxin-plugin-requirements.php +25 -8
- includes/define.php +1 -1
- includes/elements/recent-portfolios.php +87 -13
- includes/general-functions.php +1 -65
- includes/general-hooks.php +324 -26
- public/class-auxpfo.php +13 -0
- public/includes/class-auxpfo-frontend-assets.php +4 -1
- public/templates/single-portfolio.php +22 -4
- public/templates/theme-parts/entry/portfolio-column.php +7 -2
- public/templates/theme-parts/entry/portfolio-land.php +6 -2
- public/templates/theme-parts/entry/portfolio.php +12 -2
- public/templates/theme-parts/entry/single-portfolio.php +69 -32
- public/templates/theme-parts/loop-portfolio.php +2 -3
- public/templates/theme-parts/tax-portfolio.php +3 -1
- wpml-config.xml +25 -0
README.txt
CHANGED
@@ -4,9 +4,10 @@ Donate link: http://averta.net/
|
|
4 |
License: GPLv3
|
5 |
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 at least: 4.6
|
8 |
-
Tested up to: 4.
|
9 |
-
Stable tag: 0.
|
10 |
License: GPLv3
|
11 |
License URI: http://www.gnu.org/licenses/gpl.html
|
12 |
|
@@ -120,6 +121,10 @@ Bugs can be reported in our [support forums](http://wordpress.org/tags/auxin-por
|
|
120 |
|
121 |
== Changelog ==
|
122 |
|
|
|
|
|
|
|
|
|
123 |
= Version 0.9.7 / (21.06.2017) =
|
124 |
- [Improvement]: Applying some changes based on latest changes in auxin framework
|
125 |
|
@@ -134,5 +139,5 @@ Bugs can be reported in our [support forums](http://wordpress.org/tags/auxin-por
|
|
134 |
|
135 |
== Upgrade Notice ==
|
136 |
|
137 |
-
= 0.
|
138 |
-
- [Improvement]:
|
4 |
License: GPLv3
|
5 |
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.8.2
|
10 |
+
Stable tag: 1.0.1
|
11 |
License: GPLv3
|
12 |
License URI: http://www.gnu.org/licenses/gpl.html
|
13 |
|
121 |
|
122 |
== Changelog ==
|
123 |
|
124 |
+
= Version 1.0.1 / (19.11.2017) =
|
125 |
+
- [Improvement]: New options and templates for portfolio single page added
|
126 |
+
- [Improvement]: Applying some changes based on latest changes in auxin framework
|
127 |
+
|
128 |
= Version 0.9.7 / (21.06.2017) =
|
129 |
- [Improvement]: Applying some changes based on latest changes in auxin framework
|
130 |
|
139 |
|
140 |
== Upgrade Notice ==
|
141 |
|
142 |
+
= 1.0.1 =
|
143 |
+
- [Improvement]: New options and templates for portfolio single page added
|
admin/assets/images/ClassicLightbox.png
ADDED
Binary file
|
admin/assets/images/preview/ClassicLightbox1.webm
ADDED
Binary file
|
admin/assets/images/preview/ClassicLightbox2.webm
ADDED
Binary file
|
admin/assets/images/preview/FilterBordered.mp4
ADDED
Binary file
|
admin/assets/images/preview/FilterCube.webm
ADDED
Binary file
|
admin/assets/images/preview/FilterFill.webm
ADDED
Binary file
|
admin/assets/images/preview/FilterFloatFrame.webm
ADDED
Binary file
|
admin/assets/images/preview/FilterSlideUp2.webm
ADDED
Binary file
|
admin/assets/images/preview/FilterUnderline.mp4
ADDED
Binary file
|
admin/assets/images/preview/FilterUnderline.webm
ADDED
Binary file
|
admin/assets/images/preview/OverlayTitle1.webm
ADDED
Binary file
|
admin/assets/images/preview/OverlayTitle2.webm
ADDED
Binary file
|
admin/assets/images/preview/OverlayTitleLightbox1.webm
ADDED
Binary file
|
admin/assets/images/preview/OverlayTitleLightbox2.webm
ADDED
Binary file
|
admin/includes/metaboxes/metabox-fields-portfolio-metadata.php
CHANGED
@@ -79,6 +79,37 @@ function auxpfo_metabox_fields_portfolio_metadata(){
|
|
79 |
)
|
80 |
),
|
81 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
// @TODO: we should add this in future
|
83 |
// array(
|
84 |
// 'title' => __('Content Style', 'auxin-portfolio'),
|
79 |
)
|
80 |
),
|
81 |
|
82 |
+
array(
|
83 |
+
'title' => __('Info Box Background Color', 'auxin-portfolio'),
|
84 |
+
'description' => __('Specifies the color of info box.', 'auxin-portfolio'),
|
85 |
+
'id' => '_side_info_color',
|
86 |
+
'type' => 'color',
|
87 |
+
'dependency' => array(
|
88 |
+
array(
|
89 |
+
'id' => '_side_info_pos',
|
90 |
+
'value' => array( 'right', 'left' )
|
91 |
+
)
|
92 |
+
),
|
93 |
+
'default' => 'transparent',
|
94 |
+
),
|
95 |
+
|
96 |
+
array(
|
97 |
+
'title' => __('Info Box Font Color', 'auxin-portfolio'),
|
98 |
+
'description' => __('Specifies the color of font at info box.', 'auxin-portfolio'),
|
99 |
+
'id' => '_side_info_font_color',
|
100 |
+
'type' => 'select',
|
101 |
+
'default' => 'dark',
|
102 |
+
'dependency' => array(
|
103 |
+
array(
|
104 |
+
'id' => '_side_info_pos',
|
105 |
+
'value' => array( 'right', 'left' )
|
106 |
+
)
|
107 |
+
),
|
108 |
+
'choices' => array(
|
109 |
+
'dark' => __( 'Dark', 'auxin-portfolio' ),
|
110 |
+
'light' => __( 'Light', 'auxin-portfolio' )
|
111 |
+
)
|
112 |
+
),
|
113 |
// @TODO: we should add this in future
|
114 |
// array(
|
115 |
// 'title' => __('Content Style', 'auxin-portfolio'),
|
admin/includes/metaboxes/metabox-fields-portfolio-related.php
CHANGED
@@ -13,9 +13,9 @@
|
|
13 |
function auxpfo_metabox_fields_portfolio_related_metadata(){
|
14 |
|
15 |
$model = new Auxin_Metabox_Model();
|
16 |
-
$model->id = 'portfolio-
|
17 |
$model->title = __('Related Portfolio', 'auxin-portfolio');
|
18 |
-
$model->css_class = 'aux-portfolio-
|
19 |
$model->fields = array(
|
20 |
|
21 |
array(
|
@@ -82,9 +82,9 @@ function auxpfo_metabox_fields_portfolio_related_metadata(){
|
|
82 |
'default' => 'default',
|
83 |
'choices' => array(
|
84 |
'default' => __('Theme Default', 'auxin-portfolio'),
|
85 |
-
'1' => '1',
|
86 |
'2' => '2',
|
87 |
-
'3' => '3'
|
|
|
88 |
)
|
89 |
),
|
90 |
|
13 |
function auxpfo_metabox_fields_portfolio_related_metadata(){
|
14 |
|
15 |
$model = new Auxin_Metabox_Model();
|
16 |
+
$model->id = 'portfolio-related';
|
17 |
$model->title = __('Related Portfolio', 'auxin-portfolio');
|
18 |
+
$model->css_class = 'aux-portfolio-related-tab';
|
19 |
$model->fields = array(
|
20 |
|
21 |
array(
|
82 |
'default' => 'default',
|
83 |
'choices' => array(
|
84 |
'default' => __('Theme Default', 'auxin-portfolio'),
|
|
|
85 |
'2' => '2',
|
86 |
+
'3' => '3',
|
87 |
+
'4' => '4'
|
88 |
)
|
89 |
),
|
90 |
|
auxin-portfolio.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
* Plugin Name: Phlox Portfolio
|
13 |
* Plugin URI: http://averta.net/phlox/
|
14 |
* Description: Showcase your projects beautifully in Phlox theme
|
15 |
-
* Version: 0.
|
16 |
* Author: averta
|
17 |
* Author URI: http://averta.net
|
18 |
* License: GPL2
|
@@ -51,7 +51,7 @@ if( is_admin() || false === get_transient( 'auxpfo_plugin_requirements_check' )
|
|
51 |
'name' => __('Phlox Core Elements', 'auxin-portfolio'), // The plugin name.
|
52 |
'basename' => 'auxin-elements/auxin-elements.php', // The plugin basename (typically the folder name and main php file)
|
53 |
'required' => true, // If true, the user will be notified with a notice to install the plugin.
|
54 |
-
'version' => '1.
|
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 |
)
|
@@ -60,16 +60,12 @@ if( is_admin() || false === get_transient( 'auxpfo_plugin_requirements_check' )
|
|
60 |
'themes' => array(
|
61 |
array(
|
62 |
'name' => __('Phlox', 'auxin-portfolio'), // The theme name.
|
63 |
-
'version' => '1.
|
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 |
|
69 |
-
'php' => array(
|
70 |
-
'version' => '5.3.0' // The minimum PHP version for this plugin, otherwise, throw a notice
|
71 |
-
),
|
72 |
-
|
73 |
'config' => array(
|
74 |
'plugin_name' => __('Phlox Portfolio', 'auxin-portfolio'), // Current plugin name.
|
75 |
'plugin_basename' => plugin_basename( __FILE__ ),
|
12 |
* Plugin Name: Phlox Portfolio
|
13 |
* Plugin URI: http://averta.net/phlox/
|
14 |
* Description: Showcase your projects beautifully in Phlox theme
|
15 |
+
* Version: 1.0.1
|
16 |
* Author: averta
|
17 |
* Author URI: http://averta.net
|
18 |
* License: GPL2
|
51 |
'name' => __('Phlox Core Elements', 'auxin-portfolio'), // The plugin name.
|
52 |
'basename' => 'auxin-elements/auxin-elements.php', // The plugin basename (typically the folder name and main php file)
|
53 |
'required' => true, // If true, the user will be notified with a notice to install the plugin.
|
54 |
+
'version' => '1.6.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 |
)
|
60 |
'themes' => array(
|
61 |
array(
|
62 |
'name' => __('Phlox', 'auxin-portfolio'), // The theme name.
|
63 |
+
'version' => '1.8.0', // 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 |
|
|
|
|
|
|
|
|
|
69 |
'config' => array(
|
70 |
'plugin_name' => __('Phlox Portfolio', 'auxin-portfolio'), // Current plugin name.
|
71 |
'plugin_basename' => plugin_basename( __FILE__ ),
|
includes/classes/class-auxin-plugin-requirements.php
CHANGED
@@ -71,13 +71,13 @@ if( ! class_exists( 'Auxin_Plugin_Requirements' ) ){
|
|
71 |
if( $this->admin_notices && $notices = implode( '</li><li>', $this->admin_notices ) ) {
|
72 |
$the_notice .= '<p>' . $pop_notice;
|
73 |
$the_notice .= sprintf(
|
74 |
-
__( '%s plugin has been disabled automatically due to following reason:', 'auxin-
|
75 |
'<strong>'. $this->requirements['config']['plugin_name'] . '</strong>'
|
76 |
);
|
77 |
$the_notice .= '<ul><li>'. $notices . '</li></ul></p>';
|
78 |
}
|
79 |
|
80 |
-
if( $this->requirements['config']['debug'] ){
|
81 |
$active_plugins = get_option( 'active_plugins' );
|
82 |
$the_notice .= "<pre>"; $the_notice .= print_r( $active_plugins, true ); $the_notice .= "</pre>";
|
83 |
}
|
@@ -91,7 +91,7 @@ if( ! class_exists( 'Auxin_Plugin_Requirements' ) ){
|
|
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-
|
95 |
echo '<div class="aux-front-error aux-front-notice aux-fold">';
|
96 |
echo $this->get_notices( $pop_notice );
|
97 |
echo '</div>';
|
@@ -134,6 +134,9 @@ if( ! class_exists( 'Auxin_Plugin_Requirements' ) ){
|
|
134 |
*/
|
135 |
function update_plugins_dependencies(){
|
136 |
|
|
|
|
|
|
|
137 |
if( empty( $this->requirements['plugins'] ) ){
|
138 |
return;
|
139 |
}
|
@@ -214,7 +217,7 @@ if( ! class_exists( 'Auxin_Plugin_Requirements' ) ){
|
|
214 |
){
|
215 |
|
216 |
$this->admin_notices[] = sprintf(
|
217 |
-
__( '%s plugin is required in order to use this plugin. Please install and activate the plugin.', 'auxin-
|
218 |
'<strong>'. $plugin_requirement['name'] . '</strong>'
|
219 |
);
|
220 |
|
@@ -234,7 +237,7 @@ if( ! class_exists( 'Auxin_Plugin_Requirements' ) ){
|
|
234 |
if ( version_compare( $current_plugin_version, $plugin_requirement['version'], '<' ) ) {
|
235 |
|
236 |
$this->admin_notices[] = sprintf(
|
237 |
-
__( 'The plugin requires %s plugin version %s or higher (current version is %s). Please update it to the latest version.', 'auxin-
|
238 |
'<strong>'. $plugin_requirement['name'] . '</strong>',
|
239 |
'<strong>'. $plugin_requirement['version'] . '</strong>',
|
240 |
'<strong>'. $current_plugin_version . '</strong>'
|
@@ -275,7 +278,7 @@ if( ! class_exists( 'Auxin_Plugin_Requirements' ) ){
|
|
275 |
){
|
276 |
|
277 |
$this->admin_notices[] = sprintf(
|
278 |
-
__( '%s theme is required in order to use this plugin. Please install and activate the theme.', 'auxin-
|
279 |
'<strong>'. $theme_requirement['name'] . '</strong>'
|
280 |
);
|
281 |
|
@@ -290,12 +293,26 @@ if( ! class_exists( 'Auxin_Plugin_Requirements' ) ){
|
|
290 |
if ( version_compare( $theme_data->Version, $theme_requirement['version'], '<' ) ) {
|
291 |
|
292 |
$this->admin_notices[] = sprintf(
|
293 |
-
__( '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-
|
294 |
'<strong>'. $theme_requirement['name'] . '</strong>',
|
295 |
'<strong>'. $theme_requirement['version'] . '</strong>',
|
296 |
'<strong>'. $theme_data->Version . '</strong>'
|
297 |
);
|
298 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
299 |
$this->requirements_passed = false;
|
300 |
return;
|
301 |
}
|
@@ -322,7 +339,7 @@ if( ! class_exists( 'Auxin_Plugin_Requirements' ) ){
|
|
322 |
if ( version_compare( PHP_VERSION, $this->requirements['php']['version'], '<' ) ) {
|
323 |
|
324 |
$this->admin_notices[] = sprintf(
|
325 |
-
__( 'PHP version %s or above is required for this plugin while your the current PHP version is %s.', 'auxin-
|
326 |
'<strong>'. $this->requirements['php']['version'] . '</strong>',
|
327 |
'<strong>'. PHP_VERSION . '</strong>'
|
328 |
);
|
71 |
if( $this->admin_notices && $notices = implode( '</li><li>', $this->admin_notices ) ) {
|
72 |
$the_notice .= '<p>' . $pop_notice;
|
73 |
$the_notice .= sprintf(
|
74 |
+
__( '%s plugin has been disabled automatically due to following reason:', 'auxin-portfolio' ),
|
75 |
'<strong>'. $this->requirements['config']['plugin_name'] . '</strong>'
|
76 |
);
|
77 |
$the_notice .= '<ul><li>'. $notices . '</li></ul></p>';
|
78 |
}
|
79 |
|
80 |
+
if( $this->requirements['config']['debug'] || ( defined( 'AUXIN_DEBUG' ) && AUXIN_DEBUG ) ){
|
81 |
$active_plugins = get_option( 'active_plugins' );
|
82 |
$the_notice .= "<pre>"; $the_notice .= print_r( $active_plugins, true ); $the_notice .= "</pre>";
|
83 |
}
|
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">';
|
96 |
echo $this->get_notices( $pop_notice );
|
97 |
echo '</div>';
|
134 |
*/
|
135 |
function update_plugins_dependencies(){
|
136 |
|
137 |
+
// Flush the rewrite rules on plugin activation
|
138 |
+
flush_rewrite_rules();
|
139 |
+
|
140 |
if( empty( $this->requirements['plugins'] ) ){
|
141 |
return;
|
142 |
}
|
217 |
){
|
218 |
|
219 |
$this->admin_notices[] = sprintf(
|
220 |
+
__( '%s plugin is required in order to use this plugin. Please install and activate the plugin.', 'auxin-portfolio' ),
|
221 |
'<strong>'. $plugin_requirement['name'] . '</strong>'
|
222 |
);
|
223 |
|
237 |
if ( version_compare( $current_plugin_version, $plugin_requirement['version'], '<' ) ) {
|
238 |
|
239 |
$this->admin_notices[] = sprintf(
|
240 |
+
__( 'The plugin requires %s plugin version %s or higher (current version is %s). Please update it to the latest version.', 'auxin-portfolio' ),
|
241 |
'<strong>'. $plugin_requirement['name'] . '</strong>',
|
242 |
'<strong>'. $plugin_requirement['version'] . '</strong>',
|
243 |
'<strong>'. $current_plugin_version . '</strong>'
|
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 |
|
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 |
}
|
339 |
if ( version_compare( PHP_VERSION, $this->requirements['php']['version'], '<' ) ) {
|
340 |
|
341 |
$this->admin_notices[] = sprintf(
|
342 |
+
__( 'PHP version %s or above is required for this plugin while your the current PHP version is %s.', 'auxin-portfolio' ),
|
343 |
'<strong>'. $this->requirements['php']['version'] . '</strong>',
|
344 |
'<strong>'. PHP_VERSION . '</strong>'
|
345 |
);
|
includes/define.php
CHANGED
@@ -15,7 +15,7 @@ if( ! defined( 'THEME_NAME' ) ){
|
|
15 |
|
16 |
|
17 |
|
18 |
-
define( 'AUXPFO_VERSION' , '0.
|
19 |
|
20 |
define( 'AUXPFO_SLUG' , 'auxin-portfolio' );
|
21 |
|
15 |
|
16 |
|
17 |
|
18 |
+
define( 'AUXPFO_VERSION' , '1.0.1' );
|
19 |
|
20 |
define( 'AUXPFO_SLUG' , 'auxin-portfolio' );
|
21 |
|
includes/elements/recent-portfolios.php
CHANGED
@@ -14,7 +14,7 @@ function auxin_get_recent_portfolios_master_array( $master_array ) {
|
|
14 |
|
15 |
|
16 |
$master_array['aux_recent_portfolios_grid'] = array(
|
17 |
-
'name' => __('
|
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' ),
|
@@ -228,7 +228,7 @@ function auxin_get_recent_portfolios_master_array( $master_array ) {
|
|
228 |
'weight' => '',
|
229 |
'group' => '',
|
230 |
'edit_field_class' => ''
|
231 |
-
),
|
232 |
array(
|
233 |
'heading' => __('Image aspect ratio', 'auxin-portfolio'),
|
234 |
'description' => '',
|
@@ -276,6 +276,42 @@ function auxin_get_recent_portfolios_master_array( $master_array ) {
|
|
276 |
'overlay-lightbox-boxed' => __('Overlay title with lightbox style 2', 'auxin-portfolio' ),
|
277 |
)
|
278 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
279 |
array(
|
280 |
'heading' => __('Portfolio tiles hover type','auxin-portfolio' ),
|
281 |
'description' => '',
|
@@ -385,7 +421,7 @@ function auxin_get_recent_portfolios_master_array( $master_array ) {
|
|
385 |
'heading' => __('Filter button style', 'auxin-portfolio'),
|
386 |
'description' => __('Style of filter buttons.', 'auxin-portfolio' ),
|
387 |
'param_name' => 'filter_style',
|
388 |
-
'type' => '
|
389 |
'def_value' => 'aux-slideup',
|
390 |
'holder' => '',
|
391 |
'dependency' => array(
|
@@ -395,15 +431,35 @@ function auxin_get_recent_portfolios_master_array( $master_array ) {
|
|
395 |
'weight' => '',
|
396 |
'group' => 'Filter',
|
397 |
'edit_field_class' => '',
|
398 |
-
'
|
399 |
-
'aux-slideup'
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
'aux-
|
404 |
-
|
405 |
-
|
406 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
407 |
),
|
408 |
array(
|
409 |
'heading' => __('Display like button','auxin-portfolio' ),
|
@@ -618,6 +674,8 @@ function auxin_widget_recent_portfolios_grid_callback( $atts, $shortcode_content
|
|
618 |
'filter_align' => 'aux-left',
|
619 |
'item_style' => 'classic',
|
620 |
'tiles_item_style' => 'overlay',
|
|
|
|
|
621 |
'paginate' => 1,
|
622 |
'perpage' => 10,
|
623 |
'show_title' => 1,
|
@@ -928,7 +986,23 @@ function auxin_widget_recent_portfolios_grid_callback( $atts, $shortcode_content
|
|
928 |
?>
|
929 |
</div>
|
930 |
<?php
|
931 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
932 |
|
933 |
if( $reset_query ){
|
934 |
wp_reset_query();
|
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' ),
|
228 |
'weight' => '',
|
229 |
'group' => '',
|
230 |
'edit_field_class' => ''
|
231 |
+
),
|
232 |
array(
|
233 |
'heading' => __('Image aspect ratio', 'auxin-portfolio'),
|
234 |
'description' => '',
|
276 |
'overlay-lightbox-boxed' => __('Overlay title with lightbox style 2', 'auxin-portfolio' ),
|
277 |
)
|
278 |
),
|
279 |
+
array(
|
280 |
+
'heading' => __('Entry Box Background Color', 'auxin-portfolio'),
|
281 |
+
'description' => '',
|
282 |
+
'param_name' => 'entry_background_color',
|
283 |
+
'type' => 'colorpicker',
|
284 |
+
'def_value' => '',
|
285 |
+
'value' => '',
|
286 |
+
'holder' => '',
|
287 |
+
'class' => 'entry_background_color',
|
288 |
+
'admin_label' => true,
|
289 |
+
'dependency' => array(
|
290 |
+
'element' => 'layout',
|
291 |
+
'value' => array( 'grid', 'masonry' )
|
292 |
+
),
|
293 |
+
'weight' => '',
|
294 |
+
'group' => '',
|
295 |
+
'edit_field_class' => ''
|
296 |
+
),
|
297 |
+
array(
|
298 |
+
'heading' => __('Entry Box Border Color', 'auxin-portfolio'),
|
299 |
+
'description' => '',
|
300 |
+
'param_name' => 'entry_border_color',
|
301 |
+
'type' => 'colorpicker',
|
302 |
+
'def_value' => '',
|
303 |
+
'value' => '',
|
304 |
+
'holder' => '',
|
305 |
+
'class' => 'entry_border_color',
|
306 |
+
'admin_label' => true,
|
307 |
+
'dependency' => array(
|
308 |
+
'element' => 'layout',
|
309 |
+
'value' => array( 'grid', 'masonry' )
|
310 |
+
),
|
311 |
+
'weight' => '',
|
312 |
+
'group' => '',
|
313 |
+
'edit_field_class' => ''
|
314 |
+
),
|
315 |
array(
|
316 |
'heading' => __('Portfolio tiles hover type','auxin-portfolio' ),
|
317 |
'description' => '',
|
421 |
'heading' => __('Filter button style', 'auxin-portfolio'),
|
422 |
'description' => __('Style of filter buttons.', 'auxin-portfolio' ),
|
423 |
'param_name' => 'filter_style',
|
424 |
+
'type' => 'aux_visual_select',
|
425 |
'def_value' => 'aux-slideup',
|
426 |
'holder' => '',
|
427 |
'dependency' => array(
|
431 |
'weight' => '',
|
432 |
'group' => 'Filter',
|
433 |
'edit_field_class' => '',
|
434 |
+
'choices' => array(
|
435 |
+
'aux-slideup' => array(
|
436 |
+
'label' => __('Slide up' , 'auxin-portfolio'),
|
437 |
+
'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/FilterSlideUp2.webm webm'
|
438 |
+
),
|
439 |
+
'aux-fill' => array(
|
440 |
+
'label' => __('Fill' , 'auxin-portfolio'),
|
441 |
+
'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/FilterFill.webm webm'
|
442 |
+
),
|
443 |
+
'aux-cube' => array(
|
444 |
+
'label' => __('Cube' , 'auxin-portfolio'),
|
445 |
+
'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/FilterCube.webm webm'
|
446 |
+
),
|
447 |
+
'aux-underline' => array(
|
448 |
+
'label' => __('Underline' , 'auxin-portfolio'),
|
449 |
+
'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/FilterUnderline.mp4 mp4'
|
450 |
+
),
|
451 |
+
'aux-overlay' => array(
|
452 |
+
'label' => __('Float frame' , 'auxin-portfolio'),
|
453 |
+
'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/FilterFloatFrame.webm webm'
|
454 |
+
),
|
455 |
+
'aux-bordered' => array(
|
456 |
+
'label' => __('Borderd' , 'auxin-portfolio'),
|
457 |
+
'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/FilterBordered.mp4 mp4'
|
458 |
+
),
|
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' ),
|
674 |
'filter_align' => 'aux-left',
|
675 |
'item_style' => 'classic',
|
676 |
'tiles_item_style' => 'overlay',
|
677 |
+
'entry_background_color' => '',
|
678 |
+
'entry_border_color' => '',
|
679 |
'paginate' => 1,
|
680 |
'perpage' => 10,
|
681 |
'show_title' => 1,
|
986 |
?>
|
987 |
</div>
|
988 |
<?php
|
989 |
+
|
990 |
+
if( in_array( $item_style, array( 'classic', 'classic-lightbox', 'classic-lightbox-boxed' ) ) && ( $entry_background_color || $entry_border_color ) ) {
|
991 |
+
// Set background color style
|
992 |
+
$entry_background_color = $entry_background_color ? "background-color: $entry_background_color;" : '';
|
993 |
+
// Set border color style
|
994 |
+
$entry_border_color = $entry_border_color ? "border: 1px solid $entry_border_color; border-top-width: 0;" : '';
|
995 |
+
echo sprintf(
|
996 |
+
'<style>
|
997 |
+
.page .aux-widget-recent-portfolios .entry-main { %s %s padding:25px 30px 5px}
|
998 |
+
.page .aux-widget-recent-portfolios .entry-media { margin-bottom: 0 }
|
999 |
+
</style>',
|
1000 |
+
$entry_background_color,
|
1001 |
+
$entry_border_color
|
1002 |
+
);
|
1003 |
+
}
|
1004 |
+
|
1005 |
+
} // End if have_posts
|
1006 |
|
1007 |
if( $reset_query ){
|
1008 |
wp_reset_query();
|
includes/general-functions.php
CHANGED
@@ -35,69 +35,6 @@ if( ! function_exists( 'auxin_is_plugin_active' ) ){
|
|
35 |
}
|
36 |
|
37 |
|
38 |
-
/**
|
39 |
-
* Generates and returns markup for like button base on features of wp_unlike plugin
|
40 |
-
*
|
41 |
-
* @param array $args The list of setting for this element
|
42 |
-
* @return string The markup for like button
|
43 |
-
*/
|
44 |
-
if( ! function_exists( 'aunin_wp_ulike_plugin_btn' ) ){
|
45 |
-
|
46 |
-
function aunin_wp_ulike_plugin_btn( $args ){
|
47 |
-
|
48 |
-
if( ! function_exists('wp_ulike') ){
|
49 |
-
return;
|
50 |
-
}
|
51 |
-
|
52 |
-
global $post,$wp_ulike_class,$wp_user_IP;
|
53 |
-
|
54 |
-
$get_like = get_post_meta( $post->ID, '_liked', true );
|
55 |
-
|
56 |
-
$defaults = array(
|
57 |
-
'post_id' => $post->ID,
|
58 |
-
'get_like' => empty( $get_like ) ? 0 : $get_like,
|
59 |
-
'user_id' => $wp_ulike_class->get_reutrn_id(),
|
60 |
-
'theme_class' => wp_ulike_get_setting('wp_ulike_posts', 'theme')
|
61 |
-
);
|
62 |
-
|
63 |
-
$parsed_args = wp_parse_args( $args, $defaults );
|
64 |
-
extract( $parsed_args );
|
65 |
-
|
66 |
-
|
67 |
-
$only_registered_users = wp_ulike_get_setting( 'wp_ulike_posts', 'only_registered_users');
|
68 |
-
|
69 |
-
if( 1 != $only_registered_users || ( 1 == $only_registered_users && is_user_logged_in() ) ){
|
70 |
-
|
71 |
-
$data = array(
|
72 |
-
"id" => $post_id, //Post ID
|
73 |
-
"user_id" => $user_id, //User ID (if the user is guest, we save ip as user_id with "ip2long" function)
|
74 |
-
"user_ip" => $wp_user_IP, //User IP
|
75 |
-
"get_like" => $get_like, //Number Of Likes
|
76 |
-
"method" => 'likeThis', //JavaScript method
|
77 |
-
"setting" => 'wp_ulike_posts', //Setting Key
|
78 |
-
"type" => 'post', //Function type (post/process)
|
79 |
-
"table" => 'ulike', //posts table
|
80 |
-
"column" => 'post_id', //ulike table column name
|
81 |
-
"key" => '_liked', //meta key
|
82 |
-
"cookie" => 'liked-' //Cookie Name
|
83 |
-
);
|
84 |
-
|
85 |
-
// call wp_get_ulike function from class-ulike calss
|
86 |
-
$counter = $wp_ulike_class->wp_get_ulike( $data );
|
87 |
-
|
88 |
-
$wp_ulike = '<div id="wp-ulike-'.$post_id.'" class="wpulike '.$theme_class.'">';
|
89 |
-
$wp_ulike .= '<div class="counter">'.$counter.'</div>';
|
90 |
-
$wp_ulike .= '</div>';
|
91 |
-
$wp_ulike .= $wp_ulike_class->get_liked_users( $post_id,'ulike','post_id','wp_ulike_posts' );
|
92 |
-
|
93 |
-
return $wp_ulike;
|
94 |
-
}
|
95 |
-
|
96 |
-
}
|
97 |
-
|
98 |
-
}
|
99 |
-
|
100 |
-
|
101 |
|
102 |
|
103 |
if ( ! function_exists('auxpfo_get_portfolio_config') ) {
|
@@ -174,9 +111,8 @@ if ( ! function_exists('auxpfo_get_portfolio_config') ) {
|
|
174 |
$sticky_sidebar = auxin_get_option( 'portfolio_single_stcky_sidebar', false );
|
175 |
}
|
176 |
// sticky sidebar
|
177 |
-
$args['sticky_sidebar'] = ($sticky_sidebar
|
178 |
}
|
179 |
-
|
180 |
// specify the side position
|
181 |
$args['post_class'] .= 'aux-side-' . $side_pos;
|
182 |
$args['side_pos'] = $side_pos;
|
35 |
}
|
36 |
|
37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
|
39 |
|
40 |
if ( ! function_exists('auxpfo_get_portfolio_config') ) {
|
111 |
$sticky_sidebar = auxin_get_option( 'portfolio_single_stcky_sidebar', false );
|
112 |
}
|
113 |
// sticky sidebar
|
114 |
+
$args['sticky_sidebar'] = auxin_is_true( $sticky_sidebar );
|
115 |
}
|
|
|
116 |
// specify the side position
|
117 |
$args['post_class'] .= 'aux-side-' . $side_pos;
|
118 |
$args['side_pos'] = $side_pos;
|
includes/general-hooks.php
CHANGED
@@ -52,8 +52,8 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
|
|
52 |
|
53 |
|
54 |
$options[] = array(
|
55 |
-
'title' => __('Single Portfolio
|
56 |
-
'description' => __('Specifies
|
57 |
'id' => 'portfolio_single_side_pos',
|
58 |
'section' => 'portfolio-section-single',
|
59 |
'dependency' => array(),
|
@@ -238,6 +238,14 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
|
|
238 |
'thumb-arrow-sticky' => array(
|
239 |
'label' => __('Sticky Thumbnail with Arrow', 'auxin-portfolio'),
|
240 |
'image' => AUXIN_URL . 'images/visual-select/post-navigation-6.svg'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
241 |
)
|
242 |
),
|
243 |
'type' => 'radio-image',
|
@@ -343,7 +351,7 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
|
|
343 |
'transport' => 'refresh',
|
344 |
'type' => 'select',
|
345 |
'choices' => array(
|
346 |
-
'
|
347 |
),
|
348 |
'default' => '3'
|
349 |
);
|
@@ -434,10 +442,11 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
|
|
434 |
// Sub section - portfolio Archive Page -------------------------------
|
435 |
|
436 |
$sections[] = array(
|
437 |
-
'id'
|
438 |
-
'parent'
|
439 |
-
'title'
|
440 |
-
'description'
|
|
|
441 |
);
|
442 |
|
443 |
|
@@ -506,7 +515,7 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
|
|
506 |
'operator'=> '=='
|
507 |
)
|
508 |
),
|
509 |
-
'type' => '
|
510 |
'choices' => array(
|
511 |
'classic' => __('Classic', 'auxin-portfolio' ),
|
512 |
'classic-lightbox' => __('Classic with lightbox style 1', 'auxin-portfolio' ),
|
@@ -516,6 +525,37 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
|
|
516 |
'overlay-lightbox' => __('Overlay title with lightbox style 1', 'auxin-portfolio' ),
|
517 |
'overlay-lightbox-boxed' => __('Overlay title with lightbox style 2', 'auxin-portfolio' ),
|
518 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
519 |
'transport' => 'refresh',
|
520 |
'default' => 'classic',
|
521 |
);
|
@@ -625,7 +665,7 @@ function auxin_define_portfolio_theme_options( $fields_sections_list ){
|
|
625 |
'default' => '1',
|
626 |
);
|
627 |
|
628 |
-
if ( auxin_is_plugin_active( 'wp-ulike/wp-ulike.php')){
|
629 |
$options[] = array(
|
630 |
'title' => __('Display Like Button', 'auxin-portfolio'),
|
631 |
'description' => sprintf(__('Enable it to display %s like button%s on portfolio portfolios. Please note WP Ulike plugin needs to be activaited to use this option.', 'auxin-portfolio'), '<strong>', '</strong>'),
|
@@ -636,14 +676,126 @@ if ( auxin_is_plugin_active( 'wp-ulike/wp-ulike.php')){
|
|
636 |
'id' => 'portfolio_index_template_type',
|
637 |
'value' => array('tiles-1'),
|
638 |
'operator'=> '!='
|
639 |
-
|
640 |
-
|
641 |
'transport' => 'refresh',
|
642 |
'default' => '1',
|
643 |
'type' => 'switch'
|
644 |
);
|
645 |
}
|
646 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
647 |
$options[] = array(
|
648 |
'title' => __('Portfolio Sidebar Position', 'auxin-portfolio'),
|
649 |
'description' => __('Specifies the position of sidebar on portfolio page.', 'auxin-portfolio'),
|
@@ -949,6 +1101,118 @@ if ( auxin_is_plugin_active( 'wp-ulike/wp-ulike.php')){
|
|
949 |
);
|
950 |
}
|
951 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
952 |
$options[] = array(
|
953 |
'title' => __('Taxonomy Page Sidebar Position', 'auxin-portfolio'),
|
954 |
'description' => 'Specifies the position of sidebar on category & tag page.',
|
@@ -1155,26 +1419,60 @@ function auxpfo_init_portfolio_post_type_and_metafields(){
|
|
1155 |
add_action( 'init', 'auxpfo_init_portfolio_post_type_and_metafields' );
|
1156 |
|
1157 |
|
1158 |
-
|
1159 |
-
|
1160 |
/**
|
1161 |
-
*
|
1162 |
*
|
1163 |
-
* @param array $classes List of body css classes
|
1164 |
-
* @return array The modified list of body css classes
|
1165 |
*/
|
1166 |
-
|
1167 |
-
|
1168 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1169 |
}
|
1170 |
-
add_filter( 'body_class', 'auxpfo_body_class' );
|
1171 |
-
*/
|
1172 |
|
1173 |
|
1174 |
-
/*-----------------------------------------------------------------------------------*/
|
1175 |
-
/* Add SiteOrigin class prefix and custom field classes path
|
1176 |
-
/*-----------------------------------------------------------------------------------*/
|
1177 |
|
1178 |
-
// if ( auxin_is_plugin_active( 'so-widgets-bundle/so-widgets-bundle.php') ) {
|
1179 |
|
1180 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
|
53 |
|
54 |
$options[] = array(
|
55 |
+
'title' => __('Single Portfolio Layout', 'auxin-portfolio'),
|
56 |
+
'description' => __('Specifies Layout style on single portfolio.', 'auxin-portfolio'),
|
57 |
'id' => 'portfolio_single_side_pos',
|
58 |
'section' => 'portfolio-section-single',
|
59 |
'dependency' => array(),
|
238 |
'thumb-arrow-sticky' => array(
|
239 |
'label' => __('Sticky Thumbnail with Arrow', 'auxin-portfolio'),
|
240 |
'image' => AUXIN_URL . 'images/visual-select/post-navigation-6.svg'
|
241 |
+
),
|
242 |
+
'classic-title' => array(
|
243 |
+
'label' => __('Classic Project Navigation', 'auxin-portfolio'),
|
244 |
+
'image' => AUXIN_URL . 'images/visual-select/post-navigation-6.svg'
|
245 |
+
),
|
246 |
+
'classic' => array(
|
247 |
+
'label' => __('Classic Project Navigation Without Title', 'auxin-portfolio'),
|
248 |
+
'image' => AUXIN_URL . 'images/visual-select/post-navigation-6.svg'
|
249 |
)
|
250 |
),
|
251 |
'type' => 'radio-image',
|
351 |
'transport' => 'refresh',
|
352 |
'type' => 'select',
|
353 |
'choices' => array(
|
354 |
+
'2' => '2', '3' => '3', '4' => '4',
|
355 |
),
|
356 |
'default' => '3'
|
357 |
);
|
442 |
// Sub section - portfolio Archive Page -------------------------------
|
443 |
|
444 |
$sections[] = array(
|
445 |
+
'id' => 'portfolio-section-archive',
|
446 |
+
'parent' => 'portfolio-section', // section parent's id
|
447 |
+
'title' => __( 'Portfolio Page', 'auxin-portfolio'),
|
448 |
+
'description' => __( 'Preview Portfolio Page', 'auxin-portfolio'),
|
449 |
+
'preview_link' => get_post_type_archive_link('portfolio')
|
450 |
);
|
451 |
|
452 |
|
515 |
'operator'=> '=='
|
516 |
)
|
517 |
),
|
518 |
+
'type' => 'radio-image',
|
519 |
'choices' => array(
|
520 |
'classic' => __('Classic', 'auxin-portfolio' ),
|
521 |
'classic-lightbox' => __('Classic with lightbox style 1', 'auxin-portfolio' ),
|
525 |
'overlay-lightbox' => __('Overlay title with lightbox style 1', 'auxin-portfolio' ),
|
526 |
'overlay-lightbox-boxed' => __('Overlay title with lightbox style 2', 'auxin-portfolio' ),
|
527 |
),
|
528 |
+
'choices' => array(
|
529 |
+
// default template
|
530 |
+
'classic' => array(
|
531 |
+
'label' => __('Classic' , 'auxin-portfolio'),
|
532 |
+
'image' => AUXPFO_ADMIN_URL . '/assets/images/ClassicLightbox.png'
|
533 |
+
),
|
534 |
+
'classic-lightbox' => array(
|
535 |
+
'label' => __('Classic with lightbox style 1' , 'auxin-portfolio'),
|
536 |
+
'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/ClassicLightbox1.webm webm'
|
537 |
+
),
|
538 |
+
'classic-lightbox-boxed' => array(
|
539 |
+
'label' => __('Classic with lightbox style 2' , 'auxin-portfolio'),
|
540 |
+
'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/ClassicLightbox2.webm webm'
|
541 |
+
),
|
542 |
+
'overlay' => array(
|
543 |
+
'label' => __('Overlay title style 1', 'auxin-portfolio'),
|
544 |
+
'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/OverlayTitle1.webm webm'
|
545 |
+
),
|
546 |
+
'overlay-boxed' => array(
|
547 |
+
'label' => __('Overlay title style 2', 'auxin-portfolio'),
|
548 |
+
'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/OverlayTitle2.webm webm'
|
549 |
+
),
|
550 |
+
'overlay-lightbox' => array(
|
551 |
+
'label' => __('Overlay title with lightbox style 1', 'auxin-portfolio'),
|
552 |
+
'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/OverlayTitleLightbox1.webm webm'
|
553 |
+
),
|
554 |
+
'overlay-lightbox-boxed' => array(
|
555 |
+
'label' => __('Overlay title with lightbox style 2', 'auxin-portfolio'),
|
556 |
+
'video_src' => AUXPFO_ADMIN_URL . '/assets/images/preview/OverlayTitleLightbox2.webm webm'
|
557 |
+
)
|
558 |
+
),
|
559 |
'transport' => 'refresh',
|
560 |
'default' => 'classic',
|
561 |
);
|
665 |
'default' => '1',
|
666 |
);
|
667 |
|
668 |
+
if ( auxin_is_plugin_active( 'wp-ulike/wp-ulike.php')){
|
669 |
$options[] = array(
|
670 |
'title' => __('Display Like Button', 'auxin-portfolio'),
|
671 |
'description' => sprintf(__('Enable it to display %s like button%s on portfolio portfolios. Please note WP Ulike plugin needs to be activaited to use this option.', 'auxin-portfolio'), '<strong>', '</strong>'),
|
676 |
'id' => 'portfolio_index_template_type',
|
677 |
'value' => array('tiles-1'),
|
678 |
'operator'=> '!='
|
679 |
+
)
|
680 |
+
),
|
681 |
'transport' => 'refresh',
|
682 |
'default' => '1',
|
683 |
'type' => 'switch'
|
684 |
);
|
685 |
}
|
686 |
|
687 |
+
$options[] = array(
|
688 |
+
'title' => __( 'Entry Box Background Color', 'auxin-portfolio' ),
|
689 |
+
'id' => 'portfolio_classic_entry_box_background_color',
|
690 |
+
'description' => __( 'Specifies the background color for entry box.', 'auxin-portfolio' ),
|
691 |
+
'section' => 'portfolio-section-archive',
|
692 |
+
'type' => 'color',
|
693 |
+
'dependency' => array(
|
694 |
+
array(
|
695 |
+
'id' => 'portfolio_archive_grid_item_type',
|
696 |
+
'value' => array( 'classic', 'classic-lightbox', 'classic-lightbox-boxed' ),
|
697 |
+
'operator'=> '=='
|
698 |
+
),
|
699 |
+
array(
|
700 |
+
'id' => 'portfolio_index_template_type',
|
701 |
+
'value' => array('grid-1', 'masonry-1'),
|
702 |
+
'operator'=> '=='
|
703 |
+
)
|
704 |
+
),
|
705 |
+
'style_callback' => function( $value = null ){
|
706 |
+
if( ! $value ){
|
707 |
+
$value = esc_attr( auxin_get_option( 'portfolio_classic_entry_box_background_color' ) );
|
708 |
+
}
|
709 |
+
return empty( $value ) ? '' : ".aux-archive .aux-item-classic .entry-main { background-color: $value; }";
|
710 |
+
},
|
711 |
+
'transport' => 'postMessage',
|
712 |
+
'default' => ''
|
713 |
+
);
|
714 |
+
|
715 |
+
$options[] = array(
|
716 |
+
'title' => __( 'Entry Box Border Color', 'auxin-portfolio' ),
|
717 |
+
'id' => 'portfolio_classic_entry_box_border_color',
|
718 |
+
'description' => __( 'Specifies the border color for entry box.', 'auxin-portfolio' ),
|
719 |
+
'section' => 'portfolio-section-archive',
|
720 |
+
'type' => 'color',
|
721 |
+
'dependency' => array(
|
722 |
+
array(
|
723 |
+
'id' => 'portfolio_classic_entry_box_background_color',
|
724 |
+
'value' => array(''),
|
725 |
+
'operator'=> '!='
|
726 |
+
),
|
727 |
+
array(
|
728 |
+
'id' => 'portfolio_archive_grid_item_type',
|
729 |
+
'value' => array( 'classic', 'classic-lightbox', 'classic-lightbox-boxed' ),
|
730 |
+
'operator'=> '=='
|
731 |
+
),
|
732 |
+
array(
|
733 |
+
'id' => 'portfolio_index_template_type',
|
734 |
+
'value' => array('grid-1', 'masonry-1'),
|
735 |
+
'operator'=> '=='
|
736 |
+
)
|
737 |
+
),
|
738 |
+
'style_callback' => function( $value = null ){
|
739 |
+
if( ! $value ){
|
740 |
+
$value = esc_attr( auxin_get_option( 'portfolio_classic_entry_box_border_color' ) );
|
741 |
+
}
|
742 |
+
return empty( $value ) ? '' : ".aux-archive .aux-item-classic .entry-main { border-color: $value !important; }";
|
743 |
+
},
|
744 |
+
'transport' => 'postMessage',
|
745 |
+
'default' => ''
|
746 |
+
);
|
747 |
+
|
748 |
+
$options[] = array(
|
749 |
+
'title' => __( 'Background Color For Land Layout', 'auxin-portfolio' ),
|
750 |
+
'id' => 'portfolio_land_side_background_color',
|
751 |
+
'description' => __( 'Specifies the background color for land layout.', 'auxin-portfolio' ),
|
752 |
+
'section' => 'portfolio-section-archive',
|
753 |
+
'type' => 'color',
|
754 |
+
'dependency' => array(
|
755 |
+
array(
|
756 |
+
'id' => 'portfolio_index_template_type',
|
757 |
+
'value' => array('land-1'),
|
758 |
+
'operator'=> '=='
|
759 |
+
)
|
760 |
+
),
|
761 |
+
'style_callback' => function( $value = null ){
|
762 |
+
if( ! $value ){
|
763 |
+
$value = esc_attr( auxin_get_option( 'portfolio_land_side_background_color' ) );
|
764 |
+
}
|
765 |
+
return empty( $value ) ? '' : ".aux-archive .aux-item-land .aux-land-side { background-color: $value; }";
|
766 |
+
},
|
767 |
+
'transport' => 'postMessage',
|
768 |
+
'default' => ''
|
769 |
+
);
|
770 |
+
|
771 |
+
$options[] = array(
|
772 |
+
'title' => __( 'Border Color For Land Layout', 'auxin-portfolio' ),
|
773 |
+
'id' => 'portfolio_land_side_border_color',
|
774 |
+
'description' => __( 'Specifies the border color for land layout.', 'auxin-portfolio' ),
|
775 |
+
'section' => 'portfolio-section-archive',
|
776 |
+
'type' => 'color',
|
777 |
+
'dependency' => array(
|
778 |
+
array(
|
779 |
+
'id' => 'portfolio_land_side_background_color',
|
780 |
+
'value' => array(''),
|
781 |
+
'operator'=> '!='
|
782 |
+
),
|
783 |
+
array(
|
784 |
+
'id' => 'portfolio_index_template_type',
|
785 |
+
'value' => array('land-1'),
|
786 |
+
'operator'=> '=='
|
787 |
+
)
|
788 |
+
),
|
789 |
+
'style_callback' => function( $value = null ){
|
790 |
+
if( ! $value ){
|
791 |
+
$value = esc_attr( auxin_get_option( 'portfolio_land_side_border_color' ) );
|
792 |
+
}
|
793 |
+
return empty( $value ) ? '' : ".aux-archive .aux-item-land .aux-land-side { border-color: $value !important; }";
|
794 |
+
},
|
795 |
+
'transport' => 'postMessage',
|
796 |
+
'default' => ''
|
797 |
+
);
|
798 |
+
|
799 |
$options[] = array(
|
800 |
'title' => __('Portfolio Sidebar Position', 'auxin-portfolio'),
|
801 |
'description' => __('Specifies the position of sidebar on portfolio page.', 'auxin-portfolio'),
|
1101 |
);
|
1102 |
}
|
1103 |
|
1104 |
+
$options[] = array(
|
1105 |
+
'title' => __( 'Entry Box Background Color', 'auxin-portfolio' ),
|
1106 |
+
'id' => 'portfolio_taxonomy_classic_entry_box_background_color',
|
1107 |
+
'description' => __( 'Specifies the background color for entry box.', 'auxin-portfolio' ),
|
1108 |
+
'section' => 'portfolio-section-taxonomy',
|
1109 |
+
'type' => 'color',
|
1110 |
+
'dependency' => array(
|
1111 |
+
array(
|
1112 |
+
'id' => 'portfolio_taxonomy_grid_item_type',
|
1113 |
+
'value' => array( 'classic', 'classic-lightbox', 'classic-lightbox-boxed' ),
|
1114 |
+
'operator'=> '=='
|
1115 |
+
),
|
1116 |
+
array(
|
1117 |
+
'id' => 'portfolio_taxonomy_template_type',
|
1118 |
+
'value' => array('grid-1', 'masonry-1'),
|
1119 |
+
'operator'=> '=='
|
1120 |
+
)
|
1121 |
+
),
|
1122 |
+
'style_callback' => function( $value = null ){
|
1123 |
+
if( ! $value ){
|
1124 |
+
$value = esc_attr( auxin_get_option( 'portfolio_classic_entry_box_background_color' ) );
|
1125 |
+
}
|
1126 |
+
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 }";
|
1127 |
+
},
|
1128 |
+
'transport' => 'postMessage',
|
1129 |
+
'default' => ''
|
1130 |
+
);
|
1131 |
+
|
1132 |
+
$options[] = array(
|
1133 |
+
'title' => __( 'Entry Box Border Color', 'auxin-portfolio' ),
|
1134 |
+
'id' => 'portfolio_taxonomy_classic_entry_box_border_color',
|
1135 |
+
'description' => __( 'Specifies the border color for entry box.', 'auxin-portfolio' ),
|
1136 |
+
'section' => 'portfolio-section-taxonomy',
|
1137 |
+
'type' => 'color',
|
1138 |
+
'dependency' => array(
|
1139 |
+
array(
|
1140 |
+
'id' => 'portfolio_taxonomy_classic_entry_box_background_color',
|
1141 |
+
'value' => array(''),
|
1142 |
+
'operator'=> '!='
|
1143 |
+
),
|
1144 |
+
array(
|
1145 |
+
'id' => 'portfolio_taxonomy_grid_item_type',
|
1146 |
+
'value' => array( 'classic', 'classic-lightbox', 'classic-lightbox-boxed' ),
|
1147 |
+
'operator'=> '=='
|
1148 |
+
),
|
1149 |
+
array(
|
1150 |
+
'id' => 'portfolio_taxonomy_template_type',
|
1151 |
+
'value' => array('grid-1', 'masonry-1'),
|
1152 |
+
'operator'=> '=='
|
1153 |
+
)
|
1154 |
+
),
|
1155 |
+
'style_callback' => function( $value = null ){
|
1156 |
+
if( ! $value ){
|
1157 |
+
$value = esc_attr( auxin_get_option( 'portfolio_taxonomy_classic_entry_box_border_color' ) );
|
1158 |
+
}
|
1159 |
+
return empty( $value ) ? '' : ".aux-archive.aux-tax .aux-item-classic .entry-main { border-color: $value; border-top-width: 0 }";
|
1160 |
+
},
|
1161 |
+
'transport' => 'postMessage',
|
1162 |
+
'default' => ''
|
1163 |
+
);
|
1164 |
+
|
1165 |
+
$options[] = array(
|
1166 |
+
'title' => __( 'Background Color For Land Layout', 'auxin-portfolio' ),
|
1167 |
+
'id' => 'portfolio_taxonomy_land_side_background_color',
|
1168 |
+
'description' => __( 'Specifies the background color for land layout.', 'auxin-portfolio' ),
|
1169 |
+
'section' => 'portfolio-section-taxonomy',
|
1170 |
+
'type' => 'color',
|
1171 |
+
'dependency' => array(
|
1172 |
+
array(
|
1173 |
+
'id' => 'portfolio_taxonomy_template_type',
|
1174 |
+
'value' => array('land-1'),
|
1175 |
+
'operator'=> '=='
|
1176 |
+
)
|
1177 |
+
),
|
1178 |
+
'style_callback' => function( $value = null ){
|
1179 |
+
if( ! $value ){
|
1180 |
+
$value = esc_attr( auxin_get_option( 'portfolio_taxonomy_land_side_background_color' ) );
|
1181 |
+
}
|
1182 |
+
return empty( $value ) ? '' : ".aux-archive.aux-tax .aux-item-land .aux-land-side { background-color:$value }";
|
1183 |
+
},
|
1184 |
+
'transport' => 'postMessage',
|
1185 |
+
'default' => ''
|
1186 |
+
);
|
1187 |
+
|
1188 |
+
$options[] = array(
|
1189 |
+
'title' => __( 'Border Color For Land Layout', 'auxin-portfolio' ),
|
1190 |
+
'id' => 'portfolio_taxonomy_land_side_border_color',
|
1191 |
+
'description' => __( 'Specifies the border color for land layout.', 'auxin-portfolio' ),
|
1192 |
+
'section' => 'portfolio-section-taxonomy',
|
1193 |
+
'type' => 'color',
|
1194 |
+
'dependency' => array(
|
1195 |
+
array(
|
1196 |
+
'id' => 'portfolio_taxonomy_land_side_background_color',
|
1197 |
+
'value' => array(''),
|
1198 |
+
'operator'=> '!='
|
1199 |
+
),
|
1200 |
+
array(
|
1201 |
+
'id' => 'portfolio_taxonomy_template_type',
|
1202 |
+
'value' => array('land-1'),
|
1203 |
+
'operator'=> '=='
|
1204 |
+
)
|
1205 |
+
),
|
1206 |
+
'style_callback' => function( $value = null ){
|
1207 |
+
if( ! $value ){
|
1208 |
+
$value = esc_attr( auxin_get_option( 'portfolio_taxonomy_land_side_border_color' ) );
|
1209 |
+
}
|
1210 |
+
return empty( $value ) ? '' : ".aux-archive.aux-tax .aux-item-land .aux-land-side { border-color: $value !important; }";
|
1211 |
+
},
|
1212 |
+
'transport' => 'postMessage',
|
1213 |
+
'default' => ''
|
1214 |
+
);
|
1215 |
+
|
1216 |
$options[] = array(
|
1217 |
'title' => __('Taxonomy Page Sidebar Position', 'auxin-portfolio'),
|
1218 |
'description' => 'Specifies the position of sidebar on category & tag page.',
|
1419 |
add_action( 'init', 'auxpfo_init_portfolio_post_type_and_metafields' );
|
1420 |
|
1421 |
|
|
|
|
|
1422 |
/**
|
1423 |
+
* WP ULike Customization
|
1424 |
*
|
|
|
|
|
1425 |
*/
|
1426 |
+
|
1427 |
+
if ( auxin_is_plugin_active( 'wp-ulike/wp-ulike.php' ) ) {
|
1428 |
+
|
1429 |
+
function auxpfo_respond_for_liked_data( $value, $id ) {
|
1430 |
+
|
1431 |
+
if( get_post_type( $id ) === 'portfolio' ){
|
1432 |
+
return __( 'Like', 'auxin-portfolio' ) . ' (' . $value . ')' ;
|
1433 |
+
} else {
|
1434 |
+
return $value;
|
1435 |
+
}
|
1436 |
+
|
1437 |
+
}
|
1438 |
+
add_filter( 'wp_ulike_respond_for_liked_data' , 'auxpfo_respond_for_liked_data', 10 , 2 );
|
1439 |
+
add_filter( 'wp_ulike_respond_for_not_liked_data' , 'auxpfo_respond_for_liked_data', 10 , 2 );
|
1440 |
+
|
1441 |
+
|
1442 |
+
function auxpfo_respond_for_unliked_data( $value, $id ) {
|
1443 |
+
|
1444 |
+
if( get_post_type( $id ) === 'portfolio' ){
|
1445 |
+
return __( 'Unlike', 'auxin-portfolio' ) . ' (' . $value . ')' ;
|
1446 |
+
} else {
|
1447 |
+
return $value;
|
1448 |
+
}
|
1449 |
+
|
1450 |
+
}
|
1451 |
+
add_filter( 'wp_ulike_respond_for_unliked_data' , 'auxpfo_respond_for_unliked_data', 10 , 2 );
|
1452 |
+
|
1453 |
}
|
|
|
|
|
1454 |
|
1455 |
|
|
|
|
|
|
|
1456 |
|
|
|
1457 |
|
1458 |
+
function auxpfo_add_single_portfolio_actions( $show_like_btn, $show_share_btn ){
|
1459 |
+
|
1460 |
+
if( function_exists( 'wp_ulike' ) && $show_like_btn ){
|
1461 |
+
wp_ulike( 'get', array( 'style' => 'wpulike-heart' ) );
|
1462 |
+
}
|
1463 |
+
if( $show_share_btn ) {
|
1464 |
+
?>
|
1465 |
+
<div class="aux-single-portfolio-share">
|
1466 |
+
<div class="aux-tooltip-socials aux-tooltip-dark aux-socials aux-icon-left aux-medium">
|
1467 |
+
<span class="aux-icon auxicon-share"></span>
|
1468 |
+
<span class="aux-text"><?php _e( 'Share', 'auxin-portfolio' ); ?></span>
|
1469 |
+
</div>
|
1470 |
+
</div>
|
1471 |
+
<?php
|
1472 |
+
}
|
1473 |
+
|
1474 |
+
}
|
1475 |
+
|
1476 |
+
add_action( 'auxin_portfolio_single_portfolio_actions', 'auxpfo_add_single_portfolio_actions', 10, 2 );
|
1477 |
+
|
1478 |
+
|
public/class-auxpfo.php
CHANGED
@@ -242,6 +242,8 @@ class AUXPFO {
|
|
242 |
* @since 1.0.0
|
243 |
*/
|
244 |
private static function single_activate() {
|
|
|
|
|
245 |
do_action( 'auxpfo_activated', get_current_blog_id() );
|
246 |
}
|
247 |
|
@@ -302,6 +304,17 @@ class AUXPFO {
|
|
302 |
return apply_filters( 'auxin_portfolio_template_path', AUXPFO_PUB_DIR . '/templates/' );
|
303 |
}
|
304 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
305 |
|
306 |
/**
|
307 |
* Load the plugin text domain for translation.
|
242 |
* @since 1.0.0
|
243 |
*/
|
244 |
private static function single_activate() {
|
245 |
+
add_action( 'after_setup_theme', array( 'AUXPFO', 'flush' ) );
|
246 |
+
|
247 |
do_action( 'auxpfo_activated', get_current_blog_id() );
|
248 |
}
|
249 |
|
304 |
return apply_filters( 'auxin_portfolio_template_path', AUXPFO_PUB_DIR . '/templates/' );
|
305 |
}
|
306 |
|
307 |
+
/**
|
308 |
+
* Flush and perform some tasks on theme setup
|
309 |
+
*
|
310 |
+
* @since 1.0.0
|
311 |
+
*/
|
312 |
+
public static function flush() {
|
313 |
+
// try to regenerate the asset files on plugin activation
|
314 |
+
auxin_add_custom_js();
|
315 |
+
auxin_add_custom_css();
|
316 |
+
}
|
317 |
+
|
318 |
|
319 |
/**
|
320 |
* Load the plugin text domain for translation.
|
public/includes/class-auxpfo-frontend-assets.php
CHANGED
@@ -20,7 +20,7 @@ class AUXPFO_Frontend_Assets {
|
|
20 |
* Construct
|
21 |
*/
|
22 |
public function __construct() {
|
23 |
-
|
24 |
}
|
25 |
|
26 |
/**
|
@@ -29,6 +29,9 @@ class AUXPFO_Frontend_Assets {
|
|
29 |
* @return void
|
30 |
*/
|
31 |
public function load_styles() {
|
|
|
|
|
|
|
32 |
//wp_enqueue_style( AUXPFO_SLUG .'-main', AUXPFO_PUB_URL . '/assets/css/main.css', array(), AUXPFO_VERSION );
|
33 |
}
|
34 |
|
20 |
* Construct
|
21 |
*/
|
22 |
public function __construct() {
|
23 |
+
add_action( 'wp_enqueue_scripts', array( $this, 'load_styles' ) );
|
24 |
}
|
25 |
|
26 |
/**
|
29 |
* @return void
|
30 |
*/
|
31 |
public function load_styles() {
|
32 |
+
if( current_theme_supports( 'auxin-portfolio' ) ){
|
33 |
+
wp_enqueue_style( 'auxin-portfolio' , get_template_directory_uri() . '/css/portfolio.css', array('auxin-main'), AUXPFO_VERSION );
|
34 |
+
}
|
35 |
//wp_enqueue_style( AUXPFO_SLUG .'-main', AUXPFO_PUB_URL . '/assets/css/main.css', array(), AUXPFO_VERSION );
|
36 |
}
|
37 |
|
public/templates/single-portfolio.php
CHANGED
@@ -44,18 +44,34 @@ get_header(); ?>
|
|
44 |
if( 'default' == $display_next_pre = auxin_get_post_meta( $post->ID, '_show_next_prev_nav', 'default' ) ){
|
45 |
$display_next_pre = auxin_get_option( 'show_portfolio_single_next_prev_nav', false );
|
46 |
}
|
47 |
-
$display_next_pre = auxin_is_true( $display_next_pre )? true: false;
|
48 |
|
|
|
|
|
49 |
if( $display_next_pre ) {
|
50 |
if( 'default' == $next_prev_skin = auxin_get_post_meta( $post->ID, '_next_prev_nav_skin', 'default' ) ){
|
51 |
$next_prev_skin = auxin_get_option( 'portfolio_single_next_prev_nav_skin', false );
|
52 |
}
|
53 |
-
|
54 |
'prev_text' => __( 'Previous Portfolio', 'auxin-portfolio' ),
|
55 |
'next_text' => __( 'Next Portfolio' , 'auxin-portfolio' ),
|
56 |
'taxonomy' => 'portfolio-cat',
|
57 |
'skin' => $next_prev_skin // minimal, thumb-no-arrow, thumb-arrow, boxed-image
|
58 |
-
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
}
|
60 |
?>
|
61 |
|
@@ -72,7 +88,9 @@ get_header(); ?>
|
|
72 |
if( 'default' == $display_related = auxin_get_post_meta( $post->ID, '_display_related', 'default' ) ) {
|
73 |
$display_related = auxin_get_option( 'show_portfolio_related_posts', true );
|
74 |
}
|
75 |
-
|
|
|
|
|
76 |
if( $display_related ) {
|
77 |
|
78 |
// get title_label option
|
44 |
if( 'default' == $display_next_pre = auxin_get_post_meta( $post->ID, '_show_next_prev_nav', 'default' ) ){
|
45 |
$display_next_pre = auxin_get_option( 'show_portfolio_single_next_prev_nav', false );
|
46 |
}
|
|
|
47 |
|
48 |
+
$display_next_pre = auxin_is_true( $display_next_pre ) ;
|
49 |
+
|
50 |
if( $display_next_pre ) {
|
51 |
if( 'default' == $next_prev_skin = auxin_get_post_meta( $post->ID, '_next_prev_nav_skin', 'default' ) ){
|
52 |
$next_prev_skin = auxin_get_option( 'portfolio_single_next_prev_nav_skin', false );
|
53 |
}
|
54 |
+
$args = array(
|
55 |
'prev_text' => __( 'Previous Portfolio', 'auxin-portfolio' ),
|
56 |
'next_text' => __( 'Next Portfolio' , 'auxin-portfolio' ),
|
57 |
'taxonomy' => 'portfolio-cat',
|
58 |
'skin' => $next_prev_skin // minimal, thumb-no-arrow, thumb-arrow, boxed-image
|
59 |
+
);
|
60 |
+
|
61 |
+
if ( 'classic' == $next_prev_skin ) {
|
62 |
+
|
63 |
+
$args['prev_text'] = __( 'Prev', 'auxin-portfolio' ) ;
|
64 |
+
$args['next_text'] = __( 'Next ', 'auxin-portfolio' ) ;
|
65 |
+
|
66 |
+
} elseif ( 'classic-title' == $next_prev_skin ){
|
67 |
+
|
68 |
+
$args['prev_text'] = __( 'Previous Project', 'auxin-portfolio' ) ;
|
69 |
+
$args['next_text'] = __( 'Next Project', 'auxin-portfolio' ) ;
|
70 |
+
|
71 |
+
}
|
72 |
+
|
73 |
+
auxin_single_page_navigation( $args );
|
74 |
+
|
75 |
}
|
76 |
?>
|
77 |
|
88 |
if( 'default' == $display_related = auxin_get_post_meta( $post->ID, '_display_related', 'default' ) ) {
|
89 |
$display_related = auxin_get_option( 'show_portfolio_related_posts', true );
|
90 |
}
|
91 |
+
|
92 |
+
$display_related = auxin_is_true( $display_related ) ;
|
93 |
+
|
94 |
if( $display_related ) {
|
95 |
|
96 |
// get title_label option
|
public/templates/theme-parts/entry/portfolio-column.php
CHANGED
@@ -1,4 +1,9 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
|
|
2 |
<div class="<?php echo $hover_classes ?>">
|
3 |
<div class="entry-media <?php echo $frame_effect_classes ?>">
|
4 |
<?php echo $the_media; ?>
|
@@ -44,7 +49,7 @@
|
|
44 |
<?php } ?>
|
45 |
<?php
|
46 |
if( $display_like && function_exists('wp_ulike') ){
|
47 |
-
wp_ulike('get');
|
48 |
}
|
49 |
?>
|
50 |
<?php if( $show_info ) { ?>
|
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 ); ?> >
|
7 |
<div class="<?php echo $hover_classes ?>">
|
8 |
<div class="entry-media <?php echo $frame_effect_classes ?>">
|
9 |
<?php echo $the_media; ?>
|
49 |
<?php } ?>
|
50 |
<?php
|
51 |
if( $display_like && function_exists('wp_ulike') ){
|
52 |
+
wp_ulike( 'get', array( 'style' => 'wpulike-heart' ) );
|
53 |
}
|
54 |
?>
|
55 |
<?php if( $show_info ) { ?>
|
public/templates/theme-parts/entry/portfolio-land.php
CHANGED
@@ -24,8 +24,12 @@
|
|
24 |
)
|
25 |
) );
|
26 |
extract( $post_vars );
|
|
|
|
|
|
|
|
|
27 |
?>
|
28 |
-
<article <?php post_class( 'aux-single-portfolio-wrapper aux-portfolio-land' ); ?> >
|
29 |
<?php if ( $has_attach ) { ?>
|
30 |
<div class="entry-media">
|
31 |
<?php echo $the_media; ?>
|
@@ -95,7 +99,7 @@
|
|
95 |
if( function_exists('wp_ulike') && auxin_get_option( 'show_portfolio_archive_like_button' ) ) { ?>
|
96 |
<div class="comments-iconic">
|
97 |
<?php
|
98 |
-
wp_ulike('get');
|
99 |
?>
|
100 |
</div>
|
101 |
<?php } ?>
|
24 |
)
|
25 |
) );
|
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 ); ?> >
|
33 |
<?php if ( $has_attach ) { ?>
|
34 |
<div class="entry-media">
|
35 |
<?php echo $the_media; ?>
|
99 |
if( function_exists('wp_ulike') && auxin_get_option( 'show_portfolio_archive_like_button' ) ) { ?>
|
100 |
<div class="comments-iconic">
|
101 |
<?php
|
102 |
+
wp_ulike( 'get', array( 'style' => 'wpulike-heart' ) );
|
103 |
?>
|
104 |
</div>
|
105 |
<?php } ?>
|
public/templates/theme-parts/entry/portfolio.php
CHANGED
@@ -1,5 +1,9 @@
|
|
|
|
|
|
|
|
|
|
1 |
|
2 |
-
<article <?php post_class(
|
3 |
<?php if ( $has_attach ) : ?>
|
4 |
<div class="entry-media">
|
5 |
|
@@ -22,7 +26,13 @@
|
|
22 |
<?php
|
23 |
} ?>
|
24 |
</header>
|
25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
<div class="entry-info">
|
27 |
<span class="entry-tax">
|
28 |
<?php // the_category(' '); we can use this template tag, but customizable way is needed! ?>
|
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 ); ?> >
|
7 |
<?php if ( $has_attach ) : ?>
|
8 |
<div class="entry-media">
|
9 |
|
26 |
<?php
|
27 |
} ?>
|
28 |
</header>
|
29 |
+
<?php
|
30 |
+
if( $display_like && function_exists('wp_ulike') ){
|
31 |
+
echo '<div class="comments-iconic">';
|
32 |
+
wp_ulike( 'get', array( 'style' => 'wpulike-heart' ) );
|
33 |
+
echo '</div>';
|
34 |
+
}
|
35 |
+
?>
|
36 |
<div class="entry-info">
|
37 |
<span class="entry-tax">
|
38 |
<?php // the_category(' '); we can use this template tag, but customizable way is needed! ?>
|
public/templates/theme-parts/entry/single-portfolio.php
CHANGED
@@ -6,7 +6,6 @@
|
|
6 |
?>
|
7 |
|
8 |
<article id="post-<?php the_ID(); ?>" <?php post_class( $post_class ); ?> role="article" >
|
9 |
-
|
10 |
<?php
|
11 |
$entry_main = '<div class="entry-main">';
|
12 |
if( $has_attach ) {
|
@@ -24,48 +23,49 @@
|
|
24 |
?>
|
25 |
<!-- end of entry main -->
|
26 |
|
27 |
-
<?php if( $show_side ) {
|
28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
|
30 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
// 45 is the space between site header and the side area
|
32 |
-
$sticky_header_height = ( auxin_get_option('site_header_top_sticky') ? auxin_get_option('site_header_container_scaled_height') : 0 ) + 45;
|
33 |
?>
|
34 |
-
<div class="entry-side aux-sticky-position" data-use-transform="true" data-sticky-margin="<?php echo $sticky_header_height; ?>" data-boundaries="true">
|
35 |
<?php } else { ?>
|
36 |
-
<div class="entry-side">
|
37 |
<?php } ?>
|
38 |
<div class="entry-overview-container">
|
39 |
<?php
|
40 |
-
// get overview context
|
41 |
$_overview = auxin_get_post_meta( $post->ID, '_overview', '' );
|
42 |
|
43 |
if( $_overview || $show_actions ) {
|
44 |
if( $_overview ){
|
45 |
-
|
46 |
-
|
47 |
-
if( $show_actions ) { ?>
|
48 |
-
<div class="entry-actions">
|
49 |
-
<?php
|
50 |
-
if( function_exists( 'wp_ulike' ) && $show_like_btn ){
|
51 |
-
echo aunin_wp_ulike_plugin_btn( array( 'theme_class' => 'wpulike-heart' ) );
|
52 |
}
|
53 |
-
if( $
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
<span class="aux-text"><?php _e( 'Share', 'auxin-portfolio' ); ?></span>
|
58 |
-
</div>
|
59 |
-
</div>
|
60 |
-
<?php
|
61 |
}
|
62 |
-
|
63 |
-
|
64 |
-
<?php }
|
65 |
-
} ?>
|
66 |
</div>
|
67 |
-
|
68 |
-
<?php
|
69 |
|
70 |
if( $display_cat ) {
|
71 |
// get portfolio categories
|
@@ -143,7 +143,7 @@
|
|
143 |
<?php }
|
144 |
} // End of displaying condition
|
145 |
?>
|
146 |
-
|
147 |
</div>
|
148 |
<!-- end - Portfolio info -->
|
149 |
<?php }
|
@@ -157,9 +157,46 @@
|
|
157 |
echo '<div class="clear"></div>';
|
158 |
|
159 |
// create pagination for page content
|
160 |
-
wp_link_pages( array( 'before' => '<div class="page-links"><span>' . __( 'Pages:',
|
161 |
|
162 |
?>
|
|
|
|
|
|
|
|
|
|
|
163 |
|
164 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
165 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
?>
|
7 |
|
8 |
<article id="post-<?php the_ID(); ?>" <?php post_class( $post_class ); ?> role="article" >
|
|
|
9 |
<?php
|
10 |
$entry_main = '<div class="entry-main">';
|
11 |
if( $has_attach ) {
|
23 |
?>
|
24 |
<!-- end of entry main -->
|
25 |
|
26 |
+
<?php if( $show_side ) {
|
27 |
+
|
28 |
+
$info_layout_bg = auxin_get_post_meta( $post->ID, '_side_info_color' );
|
29 |
+
$info_layout_font_color = auxin_get_post_meta( $post->ID, '_side_info_font_color' );
|
30 |
+
|
31 |
+
if ( !empty( $info_layout_bg ) ){
|
32 |
+
|
33 |
+
$layout_bg = ' background-color: ' . $info_layout_bg . ';';
|
34 |
+
$layout_mg = ' aux-layout-margin' ;
|
35 |
+
echo '<div class="layout-bg" style=" ' . esc_attr ( $layout_bg ) . ' "></div>';
|
36 |
|
37 |
+
}
|
38 |
+
|
39 |
+
$info_layout_font_color = 'light' == $info_layout_font_color ? ' aux-text-color-light' : 'aux-text-color-dark' ;
|
40 |
+
$header_class = isset ( $layout_mg ) ? esc_attr ( $info_layout_font_color ) . esc_attr ( $layout_mg ) : esc_attr ( $info_layout_font_color );
|
41 |
+
$header_styles = isset ( $layout_bg ) ? 'style="'. esc_attr( $layout_bg ) . '"' : '' ;
|
42 |
+
|
43 |
+
if( $sticky_sidebar ) {
|
44 |
// 45 is the space between site header and the side area
|
45 |
+
$sticky_header_height = ( auxin_get_option('site_header_top_sticky') ? auxin_get_option('site_header_container_scaled_height') : 0 ) + 45 ;
|
46 |
?>
|
47 |
+
<div class="entry-side aux-sticky-position <?php echo esc_attr( $header_class );?>" <?php echo $header_styles ;?> data-use-transform="true" data-sticky-margin="<?php echo $sticky_header_height; ?>" data-boundaries="true">
|
48 |
<?php } else { ?>
|
49 |
+
<div class="entry-side <?php echo esc_attr( $header_class );?>" <?php echo $header_styles ;?> >
|
50 |
<?php } ?>
|
51 |
<div class="entry-overview-container">
|
52 |
<?php
|
|
|
53 |
$_overview = auxin_get_post_meta( $post->ID, '_overview', '' );
|
54 |
|
55 |
if( $_overview || $show_actions ) {
|
56 |
if( $_overview ){
|
57 |
+
|
58 |
+
echo '<div class="entry-side-overview">'. do_shortcode( $_overview ). '</div>';
|
|
|
|
|
|
|
|
|
|
|
59 |
}
|
60 |
+
if( $show_actions ) {
|
61 |
+
echo '<div class="entry-actions">';
|
62 |
+
do_action('auxin_portfolio_single_portfolio_actions', $show_like_btn, $show_share_btn );
|
63 |
+
echo '</div>';
|
|
|
|
|
|
|
|
|
64 |
}
|
65 |
+
}
|
66 |
+
?>
|
|
|
|
|
67 |
</div>
|
68 |
+
<?php
|
|
|
69 |
|
70 |
if( $display_cat ) {
|
71 |
// get portfolio categories
|
143 |
<?php }
|
144 |
} // End of displaying condition
|
145 |
?>
|
146 |
+
|
147 |
</div>
|
148 |
<!-- end - Portfolio info -->
|
149 |
<?php }
|
157 |
echo '<div class="clear"></div>';
|
158 |
|
159 |
// create pagination for page content
|
160 |
+
wp_link_pages( array( 'before' => '<div class="page-links"><span>' . __( 'Pages:', 'auxin-portfolio') .'</span>', 'after' => '</div>' ) );
|
161 |
|
162 |
?>
|
163 |
+
<?php
|
164 |
+
// get next/prev portfolio button
|
165 |
+
if( 'default' == $display_next_pre = auxin_get_post_meta( $post->ID, '_show_next_prev_nav', 'default' ) ){
|
166 |
+
$display_next_pre = auxin_get_option( 'show_portfolio_single_next_prev_nav', false );
|
167 |
+
}
|
168 |
|
169 |
+
$display_next_pre = auxin_is_true( $display_next_pre ) ;
|
170 |
+
|
171 |
+
if( $display_next_pre && ( !empty( $info_layout_bg ) ) ) {
|
172 |
+
|
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 |
+
$args = array(
|
178 |
+
'prev_text' => __( 'Previous Portfolio', 'auxin-portfolio' ),
|
179 |
+
'next_text' => __( 'Next Portfolio' , 'auxin-portfolio' ),
|
180 |
+
'taxonomy' => 'portfolio-cat',
|
181 |
+
'skin' => $next_prev_skin // minimal, thumb-no-arrow, thumb-arrow, boxed-image
|
182 |
+
);
|
183 |
+
|
184 |
+
if ( 'classic' == $next_prev_skin ) {
|
185 |
+
|
186 |
+
$args['prev_text'] = __( 'Prev', 'auxin-portfolio' ) ;
|
187 |
+
$args['next_text'] = __( 'Next ', 'auxin-portfolio' ) ;
|
188 |
+
|
189 |
+
} elseif ( 'classic-title' == $next_prev_skin ){
|
190 |
|
191 |
+
$args['prev_text'] = __( 'Previous Project', 'auxin-portfolio' ) ;
|
192 |
+
$args['next_text'] = __( 'Next Project', 'auxin-portfolio' ) ;
|
193 |
+
|
194 |
+
}
|
195 |
+
|
196 |
+
auxin_single_page_navigation( $args );
|
197 |
+
|
198 |
+
}
|
199 |
+
|
200 |
+
?>
|
201 |
+
|
202 |
+
</article> <!-- end article -->
|
public/templates/theme-parts/loop-portfolio.php
CHANGED
@@ -62,8 +62,8 @@ if( in_array( $template_type, array('grid', 'masonry', 'tiles') ) ){
|
|
62 |
} else {
|
63 |
global $query_string;
|
64 |
|
65 |
-
$
|
66 |
-
|
67 |
// query the posts
|
68 |
query_posts( $query_string . $q_args );
|
69 |
// does this query has result?
|
@@ -79,7 +79,6 @@ if( true === $result ){
|
|
79 |
include 'entry/portfolio-land.php';
|
80 |
|
81 |
endwhile; // end of the loop.
|
82 |
-
|
83 |
// if it is a shortcode base portfolio page
|
84 |
} elseif( ! empty( $result ) ){
|
85 |
echo $result;
|
62 |
} else {
|
63 |
global $query_string;
|
64 |
|
65 |
+
$pere_page = auxin_get_option( 'portfolio_archive_items_perpage', 12 );
|
66 |
+
$q_args = '&paged='. $paged. '&posts_per_page='. $pere_page;
|
67 |
// query the posts
|
68 |
query_posts( $query_string . $q_args );
|
69 |
// does this query has result?
|
79 |
include 'entry/portfolio-land.php';
|
80 |
|
81 |
endwhile; // end of the loop.
|
|
|
82 |
// if it is a shortcode base portfolio page
|
83 |
} elseif( ! empty( $result ) ){
|
84 |
echo $result;
|
public/templates/theme-parts/tax-portfolio.php
CHANGED
@@ -5,9 +5,11 @@
|
|
5 |
$paged = max( 1, get_query_var('paged'), get_query_var('page') );
|
6 |
// get portfolio template type id
|
7 |
$portfolio_taxonomy_template = auxin_get_option( 'portfolio_taxonomy_template_type', 'grid-1' );
|
|
|
8 |
// @TODO: we should use portfolio_archive_items_perpage for portfolio per page in both portfolio archive and taxonomy
|
9 |
// get template type
|
10 |
$template_type = strstr( $portfolio_taxonomy_template, '-', true );
|
|
|
11 |
// posts perpage
|
12 |
$per_page = get_option( 'posts_per_page' );
|
13 |
|
@@ -33,7 +35,7 @@ if( in_array( $template_type, array('grid', 'masonry', 'tiles') ) ){
|
|
33 |
'desktop_cnum' => auxin_get_option( 'portfolio_taxonomy_column_number' ),
|
34 |
'tablet_cnum' => auxin_get_option( 'portfolio_taxonomy_column_number_tablet' ),
|
35 |
'phone_cnum' => auxin_get_option( 'portfolio_taxonomy_column_number_mobile' ),
|
36 |
-
'layout' =>
|
37 |
'tag' => '',
|
38 |
'extra_classes' => '',
|
39 |
'custom_el_id' => '',
|
5 |
$paged = max( 1, get_query_var('paged'), get_query_var('page') );
|
6 |
// get portfolio template type id
|
7 |
$portfolio_taxonomy_template = auxin_get_option( 'portfolio_taxonomy_template_type', 'grid-1' );
|
8 |
+
|
9 |
// @TODO: we should use portfolio_archive_items_perpage for portfolio per page in both portfolio archive and taxonomy
|
10 |
// get template type
|
11 |
$template_type = strstr( $portfolio_taxonomy_template, '-', true );
|
12 |
+
|
13 |
// posts perpage
|
14 |
$per_page = get_option( 'posts_per_page' );
|
15 |
|
35 |
'desktop_cnum' => auxin_get_option( 'portfolio_taxonomy_column_number' ),
|
36 |
'tablet_cnum' => auxin_get_option( 'portfolio_taxonomy_column_number_tablet' ),
|
37 |
'phone_cnum' => auxin_get_option( 'portfolio_taxonomy_column_number_mobile' ),
|
38 |
+
'layout' => $template_type,
|
39 |
'tag' => '',
|
40 |
'extra_classes' => '',
|
41 |
'custom_el_id' => '',
|
wpml-config.xml
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<wpml-config>
|
2 |
+
<custom-types>
|
3 |
+
<custom-type translate="1">portfolio</custom-type>
|
4 |
+
</custom-types>
|
5 |
+
<taxonomies>
|
6 |
+
<taxonomy translate="1">portfolio-cat</taxonomy>
|
7 |
+
<taxonomy translate="1">portfolio-tag</taxonomy>
|
8 |
+
</taxonomies>
|
9 |
+
<custom-fields>
|
10 |
+
<custom-field action="translate">_overview</custom-field>
|
11 |
+
<custom-field action="copy">_lunch_button_url</custom-field>
|
12 |
+
<custom-field action="copy">_auxin_meta_url</custom-field>
|
13 |
+
<custom-field action="translate">_auxin_meta_client</custom-field>
|
14 |
+
<custom-field action="translate">_auxin_meta_release_date</custom-field>
|
15 |
+
</custom-fields>
|
16 |
+
<admin-texts>
|
17 |
+
<key name="phlox_theme_options">
|
18 |
+
<key name="portfolio_related_posts_label"/>
|
19 |
+
<key name="portfolio_archive_items_perpage"/>
|
20 |
+
<key name="portfolio_taxonomy_sidebar_position"/>
|
21 |
+
<key name="portfolio_metadata_launch_label"/>
|
22 |
+
<key name="portfolio_metadata_list_1"/>
|
23 |
+
</key>
|
24 |
+
</admin-texts>
|
25 |
+
</wpml-config>
|