Version Description
Download this release
Release Info
Developer | averta |
Plugin | Shortcodes and extra features for Phlox theme |
Version | 2.4.16 |
Comparing to | |
See all releases |
Code changes from version 2.4.14 to 2.4.16
- README.txt +5 -2
- admin/assets/js/plugins.js +1 -1
- admin/includes/metaboxes/metabox-fields-general-advanced.php +1 -1
- admin/includes/metaboxes/metabox-fields-general-footer.php +1 -1
- admin/includes/metaboxes/metabox-fields-general-header.php +1 -1
- admin/includes/metaboxes/metabox-fields-general-top-header.php +1 -1
- admin/includes/metaboxes/metabox-fields-page-template.php +1 -1
- admin/includes/metaboxes/metabox-fields-post-audio.php +1 -1
- admin/includes/metaboxes/metabox-fields-post-gallery.php +1 -1
- admin/includes/metaboxes/metabox-fields-post-quote.php +1 -1
- admin/includes/metaboxes/metabox-fields-post-video.php +1 -1
- auxin-elements.php +2 -2
- includes/classes/class-auxels-admin-assets.php +1 -1
- includes/classes/class-auxels-archive-menu-links.php +1 -1
- includes/classes/class-auxin-admin-dashboard.php +1 -1
- includes/classes/class-auxin-demo-importer.php +1 -1
- includes/classes/class-auxin-import.php +1 -1
- includes/classes/class-auxin-install.php +1 -1
- includes/classes/class-auxin-master-nav-menu-admin.php +1 -1
- includes/classes/class-auxin-page-template.php +1 -1
- includes/classes/class-auxin-permalink.php +1 -1
- includes/classes/class-auxin-post-type-base.php +1 -1
- includes/classes/class-auxin-siteorigin-widget.php +1 -1
- includes/classes/class-auxin-walker-nav-menu-back.php +1 -1
- includes/classes/class-auxin-widget-indie.php +1 -1
- includes/classes/class-auxin-widget-shortcode-map.php +1 -1
- includes/classes/class-auxin-widget.php +1 -1
- includes/define.php +1 -1
- includes/elementor/class-auxin-elementor-core-elements.php +21 -1
- includes/elementor/modules/documents/header.php +1 -1
- includes/elementor/modules/settings/base/manager.php +95 -0
- includes/elementor/modules/settings/general/manager.php +72 -0
- includes/elementor/modules/settings/page/manager.php +35 -0
- includes/elementor/widgets/testimonial.php +225 -55
- includes/elementor/widgets/theme-elements/logo.php +664 -0
- includes/elementor/widgets/theme-elements/menu.php +371 -131
- includes/elements/about-widget.php +1 -1
- includes/elements/accordion-widget.php +1 -1
- includes/elements/accordion.php +1 -1
- includes/elements/attachment-url.php +1 -1
- includes/elements/audio.php +1 -1
- includes/elements/before-after.php +1 -1
- includes/elements/button.php +1 -1
- includes/elements/code.php +1 -1
- includes/elements/contact-box.php +1 -1
- includes/elements/contact-form.php +1 -1
- includes/elements/custom-list.php +1 -1
- includes/elements/divider.php +1 -1
- includes/elements/dropcap.php +1 -1
- includes/elements/facebook.php +1 -1
- includes/elements/flickr.php +1 -1
- includes/elements/gallery.php +1 -1
- includes/elements/general-element-fields.php +1 -1
- includes/elements/gmap.php +1 -1
- includes/elements/highlight.php +1 -1
- includes/elements/image.php +1 -1
- includes/elements/instagram-feed.php +1 -1
- includes/elements/latest-posts-slider.php +1 -1
- includes/elements/popular-posts-widget.php +1 -1
- includes/elements/quote.php +1 -1
- includes/elements/recent-posts-grid-carousel.php +1 -1
- includes/elements/recent-posts-land-style.php +1 -1
- includes/elements/recent-posts-masonry.php +1 -1
- includes/elements/recent-posts-tiles-carousel.php +1 -1
- includes/elements/recent-posts-tiles.php +1 -1
- includes/elements/recent-posts-timeline.php +1 -1
- includes/elements/recent-posts-widget.php +1 -1
- includes/elements/recent-products.php +1 -1
- includes/elements/sample-element.php +1 -1
- includes/elements/search.php +1 -1
- includes/elements/socials-list.php +1 -1
- includes/elements/staff.php +1 -1
- includes/elements/tab-widget.php +1 -1
- includes/elements/tabs.php +1 -1
- includes/elements/testimonial.php +1 -1
- includes/elements/text.php +1 -1
- includes/elements/touch-slider.php +1 -1
- includes/elements/video.php +1 -1
- includes/general-functions.php +9 -4
- includes/general-hooks.php +1 -1
- public/assets/js/plugins.js +1 -1
- public/includes/class-auxels-frontend-assets.php +1 -1
- public/templates/vcomposer/auxin_shortcode_mapper.php +1 -1
- uninstall.php +1 -1
README.txt
CHANGED
@@ -7,7 +7,7 @@ Tags: phlox, gallery, elementor, siteorigin, auxin, averta, auxin-elements, fram
|
|
7 |
Requires PHP: 5.4
|
8 |
Requires at least: 4.6
|
9 |
Tested up to: 5.3.0
|
10 |
-
Stable tag: 2.4.
|
11 |
License: GPLv3
|
12 |
License URI: http://www.gnu.org/licenses/gpl.html
|
13 |
|
@@ -155,6 +155,9 @@ Bugs can be reported in our [support forums](http://support.averta.net/en/item/p
|
|
155 |
|
156 |
== Changelog ==
|
157 |
|
|
|
|
|
|
|
158 |
= Version 2.4.12 / 01.11.2019) =
|
159 |
- [Improvement]: Some improvements for button element applied.
|
160 |
|
@@ -418,4 +421,4 @@ Bugs can be reported in our [support forums](http://support.averta.net/en/item/p
|
|
418 |
|
419 |
== Upgrade Notice ==
|
420 |
|
421 |
-
= 2.4.
|
7 |
Requires PHP: 5.4
|
8 |
Requires at least: 4.6
|
9 |
Tested up to: 5.3.0
|
10 |
+
Stable tag: 2.4.16
|
11 |
License: GPLv3
|
12 |
License URI: http://www.gnu.org/licenses/gpl.html
|
13 |
|
155 |
|
156 |
== Changelog ==
|
157 |
|
158 |
+
= Version 2.4.16 / 15.01.2020) =
|
159 |
+
- [Improvement]: Some improvements for testimonial element applied.
|
160 |
+
|
161 |
= Version 2.4.12 / 01.11.2019) =
|
162 |
- [Improvement]: Some improvements for button element applied.
|
163 |
|
421 |
|
422 |
== Upgrade Notice ==
|
423 |
|
424 |
+
= 2.4.16 =
|
admin/assets/js/plugins.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! Phlox Core Plugin - v2.4.
|
2 |
* All required javascript plugins for admin
|
3 |
* http://phlox.pro/
|
4 |
* Place any jQuery/helper plugins in here, instead of separate, slower script files!
|
1 |
+
/*! Phlox Core Plugin - v2.4.16 (2020-01-15)
|
2 |
* All required javascript plugins for admin
|
3 |
* http://phlox.pro/
|
4 |
* Place any jQuery/helper plugins in here, instead of separate, slower script files!
|
admin/includes/metaboxes/metabox-fields-general-advanced.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
// no direct access allowed
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
// no direct access allowed
|
admin/includes/metaboxes/metabox-fields-general-footer.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
// no direct access allowed
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
// no direct access allowed
|
admin/includes/metaboxes/metabox-fields-general-header.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
// no direct access allowed
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
// no direct access allowed
|
admin/includes/metaboxes/metabox-fields-general-top-header.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
// no direct access allowed
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
// no direct access allowed
|
admin/includes/metaboxes/metabox-fields-page-template.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
function auxin_metabox_fields_page_template(){
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
function auxin_metabox_fields_page_template(){
|
admin/includes/metaboxes/metabox-fields-post-audio.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
// no direct access allowed
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
// no direct access allowed
|
admin/includes/metaboxes/metabox-fields-post-gallery.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
// no direct access allowed
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
// no direct access allowed
|
admin/includes/metaboxes/metabox-fields-post-quote.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
// no direct access allowed
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
// no direct access allowed
|
admin/includes/metaboxes/metabox-fields-post-video.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
// no direct access allowed
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
// no direct access allowed
|
auxin-elements.php
CHANGED
@@ -7,12 +7,12 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*
|
12 |
* Plugin Name: Phlox Core Elements
|
13 |
* Plugin URI: https://wordpress.org/plugins/auxin-elements/
|
14 |
* Description: Exclusive and comprehensive plugin that extends the functionality of Phlox theme by adding new Elements, widgets and options.
|
15 |
-
* Version: 2.4.
|
16 |
* Author: averta
|
17 |
* Author URI: http://averta.net
|
18 |
* Text Domain: auxin-elements
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*
|
12 |
* Plugin Name: Phlox Core Elements
|
13 |
* Plugin URI: https://wordpress.org/plugins/auxin-elements/
|
14 |
* Description: Exclusive and comprehensive plugin that extends the functionality of Phlox theme by adding new Elements, widgets and options.
|
15 |
+
* Version: 2.4.16
|
16 |
* Author: averta
|
17 |
* Author URI: http://averta.net
|
18 |
* Text Domain: auxin-elements
|
includes/classes/class-auxels-admin-assets.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
// no direct access allowed
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
// no direct access allowed
|
includes/classes/class-auxels-archive-menu-links.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
class Auxels_Archive_Menu_Links{
|
13 |
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
class Auxels_Archive_Menu_Links{
|
13 |
|
includes/classes/class-auxin-admin-dashboard.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
// no direct access allowed
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
// no direct access allowed
|
includes/classes/class-auxin-demo-importer.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
// no direct access allowed
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
// no direct access allowed
|
includes/classes/class-auxin-import.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
// no direct access allowed
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
// no direct access allowed
|
includes/classes/class-auxin-install.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
// no direct access allowed
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
// no direct access allowed
|
includes/classes/class-auxin-master-nav-menu-admin.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
class Auxin_Master_Nav_Menu_Admin {
|
13 |
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
class Auxin_Master_Nav_Menu_Admin {
|
13 |
|
includes/classes/class-auxin-page-template.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
class Auxin_Page_Template {
|
13 |
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
class Auxin_Page_Template {
|
13 |
|
includes/classes/class-auxin-permalink.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
// no direct access allowed
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
// no direct access allowed
|
includes/classes/class-auxin-post-type-base.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
// no direct access allowed
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
// no direct access allowed
|
includes/classes/class-auxin-siteorigin-widget.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
// no direct access allowed
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
// no direct access allowed
|
includes/classes/class-auxin-walker-nav-menu-back.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
class Auxin_Walker_Nav_Menu_Back extends Walker_Nav_Menu {
|
13 |
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
class Auxin_Walker_Nav_Menu_Back extends Walker_Nav_Menu {
|
13 |
|
includes/classes/class-auxin-widget-indie.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
// no direct access allowed
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
// no direct access allowed
|
includes/classes/class-auxin-widget-shortcode-map.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* @license LICENSE.txt
|
9 |
* @author averta
|
10 |
* @link http://phlox.pro/
|
11 |
-
* @copyright (c) 2010-
|
12 |
*/
|
13 |
|
14 |
// no direct access allowed
|
8 |
* @license LICENSE.txt
|
9 |
* @author averta
|
10 |
* @link http://phlox.pro/
|
11 |
+
* @copyright (c) 2010-2020 averta
|
12 |
*/
|
13 |
|
14 |
// no direct access allowed
|
includes/classes/class-auxin-widget.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
// no direct access allowed
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
// no direct access allowed
|
includes/define.php
CHANGED
@@ -12,7 +12,7 @@ if( ! defined( 'THEME_NAME' ) ){
|
|
12 |
}
|
13 |
|
14 |
|
15 |
-
define( 'AUXELS_VERSION' , '2.4.
|
16 |
|
17 |
define( 'AUXELS_SLUG' , 'auxin-elements' );
|
18 |
|
12 |
}
|
13 |
|
14 |
|
15 |
+
define( 'AUXELS_VERSION' , '2.4.16' );
|
16 |
|
17 |
define( 'AUXELS_SLUG' , 'auxin-elements' );
|
18 |
|
includes/elementor/class-auxin-elementor-core-elements.php
CHANGED
@@ -12,7 +12,7 @@ namespace Auxin\Plugin\CoreElements\Elementor;
|
|
12 |
* @license LICENSE.txt
|
13 |
* @author averta
|
14 |
* @link http://phlox.pro/
|
15 |
-
* @copyright (c) 2010-
|
16 |
*/
|
17 |
|
18 |
if ( ! defined( 'ABSPATH' ) ) {
|
@@ -342,6 +342,10 @@ final class Elements {
|
|
342 |
'215' => array(
|
343 |
'file' => $this->dir_path . '/widgets/theme-elements/menu.php',
|
344 |
'class' => 'Elements\Theme_Elements\MenuBox'
|
|
|
|
|
|
|
|
|
345 |
)
|
346 |
|
347 |
);
|
@@ -429,6 +433,22 @@ final class Elements {
|
|
429 |
)
|
430 |
);
|
431 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
432 |
foreach ( $modules as $module ) {
|
433 |
if( ! empty( $module['file'] ) && ! empty( $module['class'] ) ){
|
434 |
include_once( $module['file'] );
|
12 |
* @license LICENSE.txt
|
13 |
* @author averta
|
14 |
* @link http://phlox.pro/
|
15 |
+
* @copyright (c) 2010-2020 averta
|
16 |
*/
|
17 |
|
18 |
if ( ! defined( 'ABSPATH' ) ) {
|
342 |
'215' => array(
|
343 |
'file' => $this->dir_path . '/widgets/theme-elements/menu.php',
|
344 |
'class' => 'Elements\Theme_Elements\MenuBox'
|
345 |
+
),
|
346 |
+
'220' => array(
|
347 |
+
'file' => $this->dir_path . '/widgets/theme-elements/logo.php',
|
348 |
+
'class' => 'Elements\Theme_Elements\Logo'
|
349 |
)
|
350 |
|
351 |
);
|
433 |
)
|
434 |
);
|
435 |
|
436 |
+
if( is_admin() ){
|
437 |
+
$modules[] = [
|
438 |
+
'file' => $this->dir_path . '/modules/settings/base/manager.php',
|
439 |
+
'class' => 'Settings\Base\Manager',
|
440 |
+
'instance' => false
|
441 |
+
];
|
442 |
+
$modules[] = [
|
443 |
+
'file' => $this->dir_path . '/modules/settings/general/manager.php',
|
444 |
+
'class' => 'Settings\General\Manager'
|
445 |
+
];
|
446 |
+
$modules[] = [
|
447 |
+
'file' => $this->dir_path . '/modules/settings/page/manager.php',
|
448 |
+
'class' => 'Settings\Page\Manager'
|
449 |
+
];
|
450 |
+
}
|
451 |
+
|
452 |
foreach ( $modules as $module ) {
|
453 |
if( ! empty( $module['file'] ) && ! empty( $module['class'] ) ){
|
454 |
include_once( $module['file'] );
|
includes/elementor/modules/documents/header.php
CHANGED
@@ -42,7 +42,7 @@ class Header extends Library_Document {
|
|
42 |
// Move to top as active.
|
43 |
$categories = [
|
44 |
'auxin-theme-elements' => [
|
45 |
-
'title' => __( 'Site', 'auxin-elements' ),
|
46 |
'active' => true,
|
47 |
],
|
48 |
];
|
42 |
// Move to top as active.
|
43 |
$categories = [
|
44 |
'auxin-theme-elements' => [
|
45 |
+
'title' => __( 'Site Header', 'auxin-elements' ),
|
46 |
'active' => true,
|
47 |
],
|
48 |
];
|
includes/elementor/modules/settings/base/manager.php
ADDED
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Auxin\Plugin\CoreElements\Elementor\Settings\Base;
|
3 |
+
|
4 |
+
use Elementor\Core\Base\Document;
|
5 |
+
use Elementor\Widget_Base;
|
6 |
+
use Elementor\Controls_Manager;
|
7 |
+
use Elementor\Group_Control_Image_Size;
|
8 |
+
use Elementor\Group_Control_Typography;
|
9 |
+
use Elementor\Scheme_Color;
|
10 |
+
use Elementor\Scheme_Typography;
|
11 |
+
use Elementor\Control_Media;
|
12 |
+
use Elementor\Group_Control_Border;
|
13 |
+
use Elementor\Group_Control_Box_Shadow;
|
14 |
+
use Elementor\Group_Control_Background;
|
15 |
+
|
16 |
+
|
17 |
+
abstract class Manager {
|
18 |
+
|
19 |
+
function __construct(){
|
20 |
+
$this->register_hooks();
|
21 |
+
}
|
22 |
+
|
23 |
+
protected function register_hooks(){
|
24 |
+
add_action( 'elementor/documents/register_controls', [ $this, 'register_controls' ] );
|
25 |
+
add_action( 'elementor/document/after_save', [ $this, 'on_save_settings' ], 10, 2 );
|
26 |
+
}
|
27 |
+
|
28 |
+
/**
|
29 |
+
* Register Document Controls
|
30 |
+
*
|
31 |
+
* Add New Controls to Elementor Page Options
|
32 |
+
* @param $document
|
33 |
+
*/
|
34 |
+
abstract public function register_controls ( $document );
|
35 |
+
|
36 |
+
/**
|
37 |
+
* Stores the changed controllers
|
38 |
+
*
|
39 |
+
* @param array $settings list of settings for changes controllers
|
40 |
+
* @param Document $document Elementor base Document class
|
41 |
+
* @param array|null $data All document info passed for saving
|
42 |
+
* @return mixed
|
43 |
+
*/
|
44 |
+
abstract protected function save_settings( array $settings, $document, $data = null );
|
45 |
+
|
46 |
+
/**
|
47 |
+
* Parsing custom control settings
|
48 |
+
*
|
49 |
+
* @param $document
|
50 |
+
* @param $data
|
51 |
+
*/
|
52 |
+
public function on_save_settings( $document, $data ){
|
53 |
+
if( empty( $data['settings'] ) ){
|
54 |
+
return;
|
55 |
+
}
|
56 |
+
$settings_to_save = $this->get_settings_to_save( $data['settings'] );
|
57 |
+
$this->save_settings( $settings_to_save, $document, $data );
|
58 |
+
}
|
59 |
+
|
60 |
+
/**
|
61 |
+
* Default special page settings in Elementor document
|
62 |
+
*
|
63 |
+
* @return array
|
64 |
+
*/
|
65 |
+
protected function get_special_settings_names(){
|
66 |
+
return [
|
67 |
+
'id',
|
68 |
+
'post_title',
|
69 |
+
'post_status',
|
70 |
+
'template',
|
71 |
+
'post_excerpt',
|
72 |
+
'post_featured_image',
|
73 |
+
];
|
74 |
+
}
|
75 |
+
|
76 |
+
/**
|
77 |
+
* Get custom control settings which are changed
|
78 |
+
*
|
79 |
+
* @param array $settings
|
80 |
+
* @return array
|
81 |
+
*/
|
82 |
+
private function get_settings_to_save( array $settings ){
|
83 |
+
$special_settings = $this->get_special_settings_names();
|
84 |
+
|
85 |
+
$settings_to_save = $settings;
|
86 |
+
|
87 |
+
foreach ( $special_settings as $special_setting ) {
|
88 |
+
if ( isset( $settings_to_save[ $special_setting ] ) ) {
|
89 |
+
unset( $settings_to_save[ $special_setting ] );
|
90 |
+
}
|
91 |
+
}
|
92 |
+
|
93 |
+
return $settings_to_save;
|
94 |
+
}
|
95 |
+
}
|
includes/elementor/modules/settings/general/manager.php
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Auxin\Plugin\CoreElements\Elementor\Settings\General;
|
3 |
+
|
4 |
+
use Elementor\Controls_Manager;
|
5 |
+
use Elementor\Core\Base\Document;
|
6 |
+
use Elementor\Plugin;
|
7 |
+
use Elementor\Widget_Base;
|
8 |
+
use Elementor\Group_Control_Image_Size;
|
9 |
+
use Elementor\Group_Control_Typography;
|
10 |
+
use Elementor\Scheme_Color;
|
11 |
+
use Elementor\Scheme_Typography;
|
12 |
+
use Elementor\Control_Media;
|
13 |
+
use Elementor\Group_Control_Border;
|
14 |
+
use Elementor\Group_Control_Box_Shadow;
|
15 |
+
use Elementor\Group_Control_Background;
|
16 |
+
use Auxin\Plugin\CoreElements\Elementor\Settings\Base\Manager as baseManager;
|
17 |
+
|
18 |
+
|
19 |
+
class Manager extends baseManager
|
20 |
+
{
|
21 |
+
|
22 |
+
/**
|
23 |
+
* Register Document Controls
|
24 |
+
*
|
25 |
+
* Add New Controls to Elementor Page Options
|
26 |
+
* @param $document
|
27 |
+
*/
|
28 |
+
public function register_controls ( $document ) {
|
29 |
+
|
30 |
+
$document->start_controls_section(
|
31 |
+
'page_logo_section', [
|
32 |
+
'label' => __('Logo', 'auxin-elements' ),
|
33 |
+
'tab' => Controls_Manager::TAB_SETTINGS,
|
34 |
+
]
|
35 |
+
);
|
36 |
+
|
37 |
+
$document->add_control(
|
38 |
+
'aux_custom_logo', [
|
39 |
+
'label' => __('Page Logo', 'auxin-elements' ),
|
40 |
+
'type' => Controls_Manager::MEDIA,
|
41 |
+
'show_label' => false,
|
42 |
+
]
|
43 |
+
);
|
44 |
+
|
45 |
+
$document->add_control(
|
46 |
+
'page_secondary_logo_max_height', [
|
47 |
+
'label' => __( 'Footer Brand Height', 'auxin-elements' ),
|
48 |
+
'type' => Controls_Manager::SLIDER,
|
49 |
+
'size_units' => array('px'),
|
50 |
+
'default' => [
|
51 |
+
'size' => $document->get_main_meta( 'page_secondary_logo_max_height' ), // get default value,
|
52 |
+
],
|
53 |
+
'range' => [
|
54 |
+
'px' => [
|
55 |
+
'min' => 0,
|
56 |
+
'max' => 500,
|
57 |
+
'step' => 1
|
58 |
+
]
|
59 |
+
]
|
60 |
+
]
|
61 |
+
);
|
62 |
+
|
63 |
+
$document->end_controls_section();
|
64 |
+
}
|
65 |
+
|
66 |
+
protected function save_settings( array $settings, $document, $data = null ){
|
67 |
+
// TODO save the control values as page meta fields by looping through $settings array
|
68 |
+
// $document->update_main_meta( $meta_key, $value );
|
69 |
+
|
70 |
+
error_log( print_r( $settings, true ) );
|
71 |
+
}
|
72 |
+
}
|
includes/elementor/modules/settings/page/manager.php
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Auxin\Plugin\CoreElements\Elementor\Settings\Page;
|
3 |
+
|
4 |
+
use Elementor\Controls_Manager;
|
5 |
+
use Elementor\Core\Base\Document;
|
6 |
+
use Elementor\Plugin;
|
7 |
+
use Elementor\Widget_Base;
|
8 |
+
use Elementor\Group_Control_Image_Size;
|
9 |
+
use Elementor\Group_Control_Typography;
|
10 |
+
use Elementor\Scheme_Color;
|
11 |
+
use Elementor\Scheme_Typography;
|
12 |
+
use Elementor\Control_Media;
|
13 |
+
use Elementor\Group_Control_Border;
|
14 |
+
use Elementor\Group_Control_Box_Shadow;
|
15 |
+
use Elementor\Group_Control_Background;
|
16 |
+
use Auxin\Plugin\CoreElements\Elementor\Settings\Base\Manager as baseManager;
|
17 |
+
|
18 |
+
|
19 |
+
class Manager extends baseManager
|
20 |
+
{
|
21 |
+
/**
|
22 |
+
* Register Document Controls
|
23 |
+
*
|
24 |
+
* Add New Controls to Elementor Page Options
|
25 |
+
* @param $document
|
26 |
+
*/
|
27 |
+
public function register_controls ( $document ) {
|
28 |
+
// TODO Add controls here
|
29 |
+
}
|
30 |
+
|
31 |
+
protected function save_settings( array $settings, $document, $data = null ){
|
32 |
+
// TODO save the control values as page meta fields by looping through $settings array
|
33 |
+
// $document->update_main_meta( $meta_key, $value );
|
34 |
+
}
|
35 |
+
}
|
includes/elementor/widgets/testimonial.php
CHANGED
@@ -376,6 +376,18 @@ class Testimonial extends Widget_Base {
|
|
376 |
)
|
377 |
);
|
378 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
379 |
$this->end_controls_tab();
|
380 |
|
381 |
$this->start_controls_tab(
|
@@ -394,7 +406,8 @@ class Testimonial extends Widget_Base {
|
|
394 |
'label' => __( 'Color', 'auxin-elements' ),
|
395 |
'type' => Controls_Manager::COLOR,
|
396 |
'selectors' => array(
|
397 |
-
'{{WRAPPER}} .col-title
|
|
|
398 |
),
|
399 |
'condition' => array(
|
400 |
'title!' => '',
|
@@ -402,22 +415,22 @@ class Testimonial extends Widget_Base {
|
|
402 |
)
|
403 |
);
|
404 |
|
405 |
-
$this->end_controls_tab();
|
406 |
-
|
407 |
-
$this->end_controls_tabs();
|
408 |
-
|
409 |
$this->add_group_control(
|
410 |
Group_Control_Typography::get_type(),
|
411 |
array(
|
412 |
-
'name' => '
|
413 |
'scheme' => Scheme_Typography::TYPOGRAPHY_1,
|
414 |
-
'selector' => '{{WRAPPER}} .col-title, {{WRAPPER}} .col-title a',
|
415 |
'condition' => array(
|
416 |
'title!' => ''
|
417 |
)
|
418 |
)
|
419 |
);
|
420 |
|
|
|
|
|
|
|
|
|
421 |
$this->add_responsive_control(
|
422 |
'title_margin',
|
423 |
array(
|
@@ -451,6 +464,18 @@ class Testimonial extends Widget_Base {
|
|
451 |
)
|
452 |
);
|
453 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
454 |
$this->add_control(
|
455 |
'subtitle_color',
|
456 |
array(
|
@@ -477,6 +502,50 @@ class Testimonial extends Widget_Base {
|
|
477 |
)
|
478 |
);
|
479 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
480 |
$this->add_responsive_control(
|
481 |
'subtitle_margin_bottom',
|
482 |
array(
|
@@ -499,11 +568,11 @@ class Testimonial extends Widget_Base {
|
|
499 |
$this->end_controls_section();
|
500 |
|
501 |
/*-----------------------------------------------------------------------------------*/
|
502 |
-
/*
|
503 |
/*-----------------------------------------------------------------------------------*/
|
504 |
|
505 |
$this->start_controls_section(
|
506 |
-
'
|
507 |
array(
|
508 |
'label' => __( 'Review', 'auxin-elements' ),
|
509 |
'tab' => Controls_Manager::TAB_STYLE,
|
@@ -513,6 +582,18 @@ class Testimonial extends Widget_Base {
|
|
513 |
)
|
514 |
);
|
515 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
516 |
$this->add_control(
|
517 |
'content_color',
|
518 |
array(
|
@@ -539,6 +620,48 @@ class Testimonial extends Widget_Base {
|
|
539 |
)
|
540 |
);
|
541 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
542 |
$this->add_responsive_control(
|
543 |
'content_margin',
|
544 |
array(
|
@@ -548,16 +671,8 @@ class Testimonial extends Widget_Base {
|
|
548 |
'allowed_dimensions' => 'vertical',
|
549 |
'selectors' => array(
|
550 |
'{{WRAPPER}} .aux-testimonial-content .entry-content' => 'margin-top:{{TOP}}{{UNIT}}; margin-bottom:{{BOTTOM}}{{UNIT}};'
|
551 |
-
)
|
552 |
-
|
553 |
-
);
|
554 |
-
|
555 |
-
$this->add_group_control(
|
556 |
-
Group_Control_Border::get_type(),
|
557 |
-
array(
|
558 |
-
'name' => 'content_border',
|
559 |
-
'selector' => '{{WRAPPER}} .aux-testimonial-content',
|
560 |
-
'separator' => 'none'
|
561 |
)
|
562 |
);
|
563 |
|
@@ -585,6 +700,15 @@ class Testimonial extends Widget_Base {
|
|
585 |
)
|
586 |
);
|
587 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
588 |
$this->end_controls_section();
|
589 |
|
590 |
/*-----------------------------------------------------------------------------------*/
|
@@ -700,15 +824,6 @@ class Testimonial extends Widget_Base {
|
|
700 |
)
|
701 |
);
|
702 |
|
703 |
-
$this->add_group_control(
|
704 |
-
Group_Control_Border::get_type(),
|
705 |
-
array(
|
706 |
-
'name' => 'box_border',
|
707 |
-
'selector' => '{{WRAPPER}} .aux-widget-testimonial',
|
708 |
-
'separator' => 'before'
|
709 |
-
)
|
710 |
-
);
|
711 |
-
|
712 |
$this->add_responsive_control(
|
713 |
'box_border_radius',
|
714 |
array(
|
@@ -717,27 +832,19 @@ class Testimonial extends Widget_Base {
|
|
717 |
'size_units' => array( 'px' ),
|
718 |
'selectors' => array(
|
719 |
'{{WRAPPER}} .aux-widget-testimonial' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
720 |
-
)
|
721 |
-
'separator' => 'before'
|
722 |
-
)
|
723 |
-
);
|
724 |
-
|
725 |
-
$this->add_group_control(
|
726 |
-
Group_Control_Background::get_type(),
|
727 |
-
array(
|
728 |
-
'name' => 'box_backgound',
|
729 |
-
'label' => __( 'Background', 'auxin-elements' ),
|
730 |
-
'selector' => '{{WRAPPER}} .aux-widget-testimonial',
|
731 |
-
'separator' => 'before'
|
732 |
)
|
733 |
);
|
734 |
|
735 |
-
$this->
|
736 |
-
|
737 |
array(
|
738 |
-
'
|
739 |
-
'
|
740 |
-
'
|
|
|
|
|
|
|
741 |
)
|
742 |
);
|
743 |
|
@@ -767,23 +874,86 @@ class Testimonial extends Widget_Base {
|
|
767 |
'selectors' => array(
|
768 |
'{{WRAPPER}} .aux-widget-testimonial' => 'max-width:{{SIZE}}{{UNIT}}; margin-left:auto; margin-right:auto;'
|
769 |
),
|
770 |
-
'separator' => '
|
771 |
)
|
772 |
);
|
773 |
|
774 |
-
$this->
|
775 |
-
|
|
|
|
|
776 |
array(
|
777 |
-
'label'
|
778 |
-
|
779 |
-
|
780 |
-
|
781 |
-
|
782 |
-
|
783 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
784 |
)
|
785 |
);
|
786 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
787 |
$this->end_controls_section();
|
788 |
}
|
789 |
|
376 |
)
|
377 |
);
|
378 |
|
379 |
+
$this->add_group_control(
|
380 |
+
Group_Control_Typography::get_type(),
|
381 |
+
array(
|
382 |
+
'name' => 'title_typography',
|
383 |
+
'scheme' => Scheme_Typography::TYPOGRAPHY_1,
|
384 |
+
'selector' => '{{WRAPPER}} .col-title, {{WRAPPER}} .col-title a',
|
385 |
+
'condition' => array(
|
386 |
+
'title!' => ''
|
387 |
+
)
|
388 |
+
)
|
389 |
+
);
|
390 |
+
|
391 |
$this->end_controls_tab();
|
392 |
|
393 |
$this->start_controls_tab(
|
406 |
'label' => __( 'Color', 'auxin-elements' ),
|
407 |
'type' => Controls_Manager::COLOR,
|
408 |
'selectors' => array(
|
409 |
+
'{{WRAPPER}} .aux-widget-testimonial:hover .col-title' => 'color: {{VALUE}} !important;',
|
410 |
+
'{{WRAPPER}} .aux-widget-testimonial:hover .col-title a' => 'color: {{VALUE}} !important;',
|
411 |
),
|
412 |
'condition' => array(
|
413 |
'title!' => '',
|
415 |
)
|
416 |
);
|
417 |
|
|
|
|
|
|
|
|
|
418 |
$this->add_group_control(
|
419 |
Group_Control_Typography::get_type(),
|
420 |
array(
|
421 |
+
'name' => 'title_hover_typography',
|
422 |
'scheme' => Scheme_Typography::TYPOGRAPHY_1,
|
423 |
+
'selector' => '{{WRAPPER}} .aux-widget-testimonial:hover .col-title, {{WRAPPER}} .aux-widget-testimonial:hover .col-title a',
|
424 |
'condition' => array(
|
425 |
'title!' => ''
|
426 |
)
|
427 |
)
|
428 |
);
|
429 |
|
430 |
+
$this->end_controls_tab();
|
431 |
+
|
432 |
+
$this->end_controls_tabs();
|
433 |
+
|
434 |
$this->add_responsive_control(
|
435 |
'title_margin',
|
436 |
array(
|
464 |
)
|
465 |
);
|
466 |
|
467 |
+
$this->start_controls_tabs( 'subtitle_styles_tabs' );
|
468 |
+
|
469 |
+
$this->start_controls_tab(
|
470 |
+
'subtitle_color_normal',
|
471 |
+
array(
|
472 |
+
'label' => __( 'Normal' , 'auxin-elements' ),
|
473 |
+
'condition' => array(
|
474 |
+
'title!' => '',
|
475 |
+
),
|
476 |
+
)
|
477 |
+
);
|
478 |
+
|
479 |
$this->add_control(
|
480 |
'subtitle_color',
|
481 |
array(
|
502 |
)
|
503 |
);
|
504 |
|
505 |
+
$this->end_controls_tab();
|
506 |
+
|
507 |
+
$this->start_controls_tab(
|
508 |
+
'subtitle_color_hover',
|
509 |
+
array(
|
510 |
+
'label' => __( 'Hover' , 'auxin-elements' ),
|
511 |
+
'condition' => array(
|
512 |
+
'title!' => '',
|
513 |
+
),
|
514 |
+
)
|
515 |
+
);
|
516 |
+
|
517 |
+
$this->add_control(
|
518 |
+
'subtitle_hover_color',
|
519 |
+
array(
|
520 |
+
'label' => __( 'Color', 'auxin-elements' ),
|
521 |
+
'type' => Controls_Manager::COLOR,
|
522 |
+
'selectors' => array(
|
523 |
+
'{{WRAPPER}} .aux-widget-testimonial:hover .col-subtitle' => 'color: {{VALUE}} !important;',
|
524 |
+
),
|
525 |
+
'condition' => array(
|
526 |
+
'subtitle!' => '',
|
527 |
+
),
|
528 |
+
)
|
529 |
+
);
|
530 |
+
|
531 |
+
$this->add_group_control(
|
532 |
+
Group_Control_Typography::get_type(),
|
533 |
+
array(
|
534 |
+
'name' => 'subtitle_hover_typography',
|
535 |
+
'scheme' => Scheme_Typography::TYPOGRAPHY_1,
|
536 |
+
'selector' => '{{WRAPPER}} .aux-widget-testimonial:hover .col-subtitle',
|
537 |
+
'condition' => array(
|
538 |
+
'subtitle!' => ''
|
539 |
+
)
|
540 |
+
)
|
541 |
+
);
|
542 |
+
|
543 |
+
|
544 |
+
|
545 |
+
$this->end_controls_tab();
|
546 |
+
|
547 |
+
$this->end_controls_tabs();
|
548 |
+
|
549 |
$this->add_responsive_control(
|
550 |
'subtitle_margin_bottom',
|
551 |
array(
|
568 |
$this->end_controls_section();
|
569 |
|
570 |
/*-----------------------------------------------------------------------------------*/
|
571 |
+
/* Review style section
|
572 |
/*-----------------------------------------------------------------------------------*/
|
573 |
|
574 |
$this->start_controls_section(
|
575 |
+
'review_style_section',
|
576 |
array(
|
577 |
'label' => __( 'Review', 'auxin-elements' ),
|
578 |
'tab' => Controls_Manager::TAB_STYLE,
|
582 |
)
|
583 |
);
|
584 |
|
585 |
+
$this->start_controls_tabs( 'review_style_tabs' );
|
586 |
+
|
587 |
+
$this->start_controls_tab(
|
588 |
+
'review_style_normal',
|
589 |
+
array(
|
590 |
+
'label' => __( 'Normal' , 'auxin-elements' ),
|
591 |
+
'condition' => array(
|
592 |
+
'content!' => '',
|
593 |
+
)
|
594 |
+
)
|
595 |
+
);
|
596 |
+
|
597 |
$this->add_control(
|
598 |
'content_color',
|
599 |
array(
|
620 |
)
|
621 |
);
|
622 |
|
623 |
+
$this->end_controls_tab();
|
624 |
+
|
625 |
+
$this->start_controls_tab(
|
626 |
+
'review_style_hover',
|
627 |
+
array(
|
628 |
+
'label' => __( 'Hover' , 'auxin-elements' ),
|
629 |
+
'condition' => array(
|
630 |
+
'content!' => '',
|
631 |
+
)
|
632 |
+
)
|
633 |
+
);
|
634 |
+
|
635 |
+
$this->add_control(
|
636 |
+
'content_color_hover',
|
637 |
+
array(
|
638 |
+
'label' => __( 'Color', 'auxin-elements' ),
|
639 |
+
'type' => Controls_Manager::COLOR,
|
640 |
+
'selectors' => array(
|
641 |
+
'{{WRAPPER}} .aux-widget-testimonial:hover .aux-testimonial-content' => 'color: {{VALUE}} !important;'
|
642 |
+
),
|
643 |
+
'condition' => array(
|
644 |
+
'content!' => ''
|
645 |
+
)
|
646 |
+
)
|
647 |
+
);
|
648 |
+
|
649 |
+
$this->add_group_control(
|
650 |
+
Group_Control_Typography::get_type(),
|
651 |
+
array(
|
652 |
+
'name' => 'content_typography_hover',
|
653 |
+
'scheme' => Scheme_Typography::TYPOGRAPHY_1,
|
654 |
+
'selector' => '{{WRAPPER}} .aux-widget-testimonial:hover .aux-testimonial-content',
|
655 |
+
'condition' => array(
|
656 |
+
'content!' => ''
|
657 |
+
)
|
658 |
+
)
|
659 |
+
);
|
660 |
+
|
661 |
+
$this->end_controls_tab();
|
662 |
+
|
663 |
+
$this->end_controls_tabs();
|
664 |
+
|
665 |
$this->add_responsive_control(
|
666 |
'content_margin',
|
667 |
array(
|
671 |
'allowed_dimensions' => 'vertical',
|
672 |
'selectors' => array(
|
673 |
'{{WRAPPER}} .aux-testimonial-content .entry-content' => 'margin-top:{{TOP}}{{UNIT}}; margin-bottom:{{BOTTOM}}{{UNIT}};'
|
674 |
+
),
|
675 |
+
'separator' => 'before'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
676 |
)
|
677 |
);
|
678 |
|
700 |
)
|
701 |
);
|
702 |
|
703 |
+
$this->add_group_control(
|
704 |
+
Group_Control_Border::get_type(),
|
705 |
+
array(
|
706 |
+
'name' => 'content_border',
|
707 |
+
'selector' => '{{WRAPPER}} .aux-testimonial-content',
|
708 |
+
'separator' => 'both'
|
709 |
+
)
|
710 |
+
);
|
711 |
+
|
712 |
$this->end_controls_section();
|
713 |
|
714 |
/*-----------------------------------------------------------------------------------*/
|
824 |
)
|
825 |
);
|
826 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
827 |
$this->add_responsive_control(
|
828 |
'box_border_radius',
|
829 |
array(
|
832 |
'size_units' => array( 'px' ),
|
833 |
'selectors' => array(
|
834 |
'{{WRAPPER}} .aux-widget-testimonial' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
835 |
+
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
836 |
)
|
837 |
);
|
838 |
|
839 |
+
$this->add_responsive_control(
|
840 |
+
'box_padding',
|
841 |
array(
|
842 |
+
'label' => __( 'Padding', 'auxin-elements' ),
|
843 |
+
'type' => Controls_Manager::DIMENSIONS,
|
844 |
+
'size_units' => array( 'px', '%' ),
|
845 |
+
'selectors' => array(
|
846 |
+
'{{WRAPPER}} .aux-widget-testimonial' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
847 |
+
)
|
848 |
)
|
849 |
);
|
850 |
|
874 |
'selectors' => array(
|
875 |
'{{WRAPPER}} .aux-widget-testimonial' => 'max-width:{{SIZE}}{{UNIT}}; margin-left:auto; margin-right:auto;'
|
876 |
),
|
877 |
+
'separator' => 'after'
|
878 |
)
|
879 |
);
|
880 |
|
881 |
+
$this->start_controls_tabs( 'box_tabs' );
|
882 |
+
|
883 |
+
$this->start_controls_tab(
|
884 |
+
'box_normal',
|
885 |
array(
|
886 |
+
'label' => __( 'Normal' , 'auxin-elements' )
|
887 |
+
)
|
888 |
+
);
|
889 |
+
|
890 |
+
$this->add_group_control(
|
891 |
+
Group_Control_Background::get_type(),
|
892 |
+
array(
|
893 |
+
'name' => 'box_backgound',
|
894 |
+
'label' => __( 'Background', 'auxin-elements' ),
|
895 |
+
'selector' => '{{WRAPPER}} .aux-widget-testimonial'
|
896 |
+
)
|
897 |
+
);
|
898 |
+
|
899 |
+
$this->add_group_control(
|
900 |
+
Group_Control_Box_Shadow::get_type(),
|
901 |
+
array(
|
902 |
+
'name' => 'box_shadow',
|
903 |
+
'selector' => '{{WRAPPER}} .aux-widget-testimonial',
|
904 |
+
'separator' => 'both'
|
905 |
+
)
|
906 |
+
);
|
907 |
+
|
908 |
+
$this->add_group_control(
|
909 |
+
Group_Control_Border::get_type(),
|
910 |
+
array(
|
911 |
+
'name' => 'box_border',
|
912 |
+
'selector' => '{{WRAPPER}} .aux-widget-testimonial',
|
913 |
+
'separator' => 'none'
|
914 |
+
)
|
915 |
+
);
|
916 |
+
|
917 |
+
$this->end_controls_tab();
|
918 |
+
|
919 |
+
$this->start_controls_tab(
|
920 |
+
'box_hover',
|
921 |
+
array(
|
922 |
+
'label' => __( 'Hover' , 'auxin-elements' )
|
923 |
+
)
|
924 |
+
);
|
925 |
+
|
926 |
+
$this->add_group_control(
|
927 |
+
Group_Control_Background::get_type(),
|
928 |
+
array(
|
929 |
+
'name' => 'box_backgound_hover',
|
930 |
+
'label' => __( 'Background', 'auxin-elements' ),
|
931 |
+
'selector' => '{{WRAPPER}} .aux-widget-testimonial:hover'
|
932 |
+
)
|
933 |
+
);
|
934 |
+
|
935 |
+
$this->add_group_control(
|
936 |
+
Group_Control_Box_Shadow::get_type(),
|
937 |
+
array(
|
938 |
+
'name' => 'box_shadow_hover',
|
939 |
+
'selector' => '{{WRAPPER}} .aux-widget-testimonial:hover',
|
940 |
+
'separator' => 'both'
|
941 |
)
|
942 |
);
|
943 |
|
944 |
+
$this->add_group_control(
|
945 |
+
Group_Control_Border::get_type(),
|
946 |
+
array(
|
947 |
+
'name' => 'box_border_hover',
|
948 |
+
'selector' => '{{WRAPPER}} .aux-widget-testimonial:hover',
|
949 |
+
'separator' => 'none'
|
950 |
+
)
|
951 |
+
);
|
952 |
+
|
953 |
+
$this->end_controls_tab();
|
954 |
+
|
955 |
+
$this->end_controls_tabs();
|
956 |
+
|
957 |
$this->end_controls_section();
|
958 |
}
|
959 |
|
includes/elementor/widgets/theme-elements/logo.php
ADDED
@@ -0,0 +1,664 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Auxin\Plugin\CoreElements\Elementor\Elements\Theme_Elements;
|
3 |
+
|
4 |
+
use Elementor\Plugin;
|
5 |
+
use Elementor\Widget_Base;
|
6 |
+
use Elementor\Controls_Manager;
|
7 |
+
use Elementor\Group_Control_Image_Size;
|
8 |
+
use Elementor\Group_Control_Typography;
|
9 |
+
use Elementor\Scheme_Color;
|
10 |
+
use Elementor\Scheme_Typography;
|
11 |
+
use Elementor\Utils;
|
12 |
+
use Elementor\Control_Media;
|
13 |
+
use Elementor\Group_Control_Border;
|
14 |
+
use Elementor\Group_Control_Background;
|
15 |
+
use Elementor\Group_Control_Box_Shadow;
|
16 |
+
use Elementor\Group_Control_Text_Shadow;
|
17 |
+
use Elementor\Group_Control_Css_Filter;
|
18 |
+
|
19 |
+
|
20 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
21 |
+
exit; // Exit if accessed directly.
|
22 |
+
}
|
23 |
+
|
24 |
+
/**
|
25 |
+
* Elementor 'Logo' widget.
|
26 |
+
*
|
27 |
+
* Elementor widget that displays an 'Logo'.
|
28 |
+
*
|
29 |
+
* @since 1.0.0
|
30 |
+
*/
|
31 |
+
class Logo extends Widget_Base {
|
32 |
+
|
33 |
+
/**
|
34 |
+
* Get widget name.
|
35 |
+
*
|
36 |
+
* Retrieve 'Logo' widget name.
|
37 |
+
*
|
38 |
+
* @since 1.0.0
|
39 |
+
* @access public
|
40 |
+
*
|
41 |
+
* @return string Widget name.
|
42 |
+
*/
|
43 |
+
public function get_name() {
|
44 |
+
return 'aux_logo';
|
45 |
+
}
|
46 |
+
|
47 |
+
/**
|
48 |
+
* Get widget title.
|
49 |
+
*
|
50 |
+
* Retrieve 'Logo' widget title.
|
51 |
+
*
|
52 |
+
* @since 1.0.0
|
53 |
+
* @access public
|
54 |
+
*
|
55 |
+
* @return string Widget title.
|
56 |
+
*/
|
57 |
+
public function get_title() {
|
58 |
+
return __('Logo', 'auxin-elements' );
|
59 |
+
}
|
60 |
+
|
61 |
+
/**
|
62 |
+
* Get widget icon.
|
63 |
+
*
|
64 |
+
* Retrieve 'Logo' widget icon.
|
65 |
+
*
|
66 |
+
* @since 1.0.0
|
67 |
+
* @access public
|
68 |
+
*
|
69 |
+
* @return string Widget icon.
|
70 |
+
*/
|
71 |
+
public function get_icon() {
|
72 |
+
return 'eicon-date auxin-badge';
|
73 |
+
}
|
74 |
+
|
75 |
+
/**
|
76 |
+
* Get widget categories.
|
77 |
+
*
|
78 |
+
* Retrieve 'Logo' widget icon.
|
79 |
+
*
|
80 |
+
* @since 1.0.0
|
81 |
+
* @access public
|
82 |
+
*
|
83 |
+
* @return string Widget icon.
|
84 |
+
*/
|
85 |
+
public function get_categories() {
|
86 |
+
return array( 'auxin-core', 'auxin-theme-elements' );
|
87 |
+
}
|
88 |
+
|
89 |
+
/**
|
90 |
+
* Register 'Logo' widget controls.
|
91 |
+
*
|
92 |
+
* Adds different input fields to allow the user to change and customize the widget settings.
|
93 |
+
*
|
94 |
+
* @since 1.0.0
|
95 |
+
* @access protected
|
96 |
+
*/
|
97 |
+
protected function _register_controls() {
|
98 |
+
|
99 |
+
/*-----------------------------------------------------------------------------------*/
|
100 |
+
/* button_section
|
101 |
+
/*-----------------------------------------------------------------------------------*/
|
102 |
+
|
103 |
+
$this->start_controls_section(
|
104 |
+
'general',
|
105 |
+
array(
|
106 |
+
'label' => __('General', 'auxin-elements' ),
|
107 |
+
)
|
108 |
+
);
|
109 |
+
|
110 |
+
$custom_logo_id = get_theme_mod( 'custom_logo' );
|
111 |
+
|
112 |
+
|
113 |
+
if ( empty( $custom_logo_id ) ) {
|
114 |
+
$this->add_control(
|
115 |
+
'custom_logo_page',
|
116 |
+
array(
|
117 |
+
'type' => Controls_Manager::RAW_HTML,
|
118 |
+
'raw' => sprintf( __( '<strong>There are no logo in your site.</strong><br>Go to the <a href="%s" target="_blank">Customizer</a> to add one.', 'auxin-elements' ), admin_url( 'customize.php' ) ),
|
119 |
+
'separator' => 'after',
|
120 |
+
'content_classes' => 'elementor-panel-alert elementor-panel-alert-info',
|
121 |
+
)
|
122 |
+
);
|
123 |
+
} else {
|
124 |
+
$this->add_control(
|
125 |
+
'custom_logo_page',
|
126 |
+
array(
|
127 |
+
'type' => Controls_Manager::RAW_HTML,
|
128 |
+
'raw' => sprintf( __( '<strong>Your site logo is set it from customizer</strong><br>Go to the <a href="%s" target="_blank">Customizer</a> to change it.', 'auxin-elements' ), admin_url( 'customize.php' ) ),
|
129 |
+
'separator' => 'after',
|
130 |
+
'content_classes' => 'elementor-panel-alert elementor-panel-alert-info',
|
131 |
+
)
|
132 |
+
);
|
133 |
+
}
|
134 |
+
|
135 |
+
$this->add_group_control(
|
136 |
+
Group_Control_Image_Size::get_type(),
|
137 |
+
array(
|
138 |
+
'name' => 'image', // Usage: `{name}_size` and `{name}_custom_dimension`, in this case `image_size` and `image_custom_dimension`.
|
139 |
+
'default' => 'full',
|
140 |
+
'separator' => 'none',
|
141 |
+
)
|
142 |
+
);
|
143 |
+
|
144 |
+
$this->add_responsive_control(
|
145 |
+
'align',
|
146 |
+
array(
|
147 |
+
'label' => __( 'Alignment', 'auxin-elements' ),
|
148 |
+
'type' => Controls_Manager::CHOOSE,
|
149 |
+
'options' => array(
|
150 |
+
'left' => array(
|
151 |
+
'title' => __( 'Left', 'auxin-elements' ),
|
152 |
+
'icon' => 'eicon-text-align-left',
|
153 |
+
),
|
154 |
+
'center' => array(
|
155 |
+
'title' => __( 'Center', 'auxin-elements' ),
|
156 |
+
'icon' => 'eicon-text-align-center',
|
157 |
+
),
|
158 |
+
'right' => array(
|
159 |
+
'title' => __( 'Right', 'auxin-elements' ),
|
160 |
+
'icon' => 'eicon-text-align-right',
|
161 |
+
),
|
162 |
+
),
|
163 |
+
'selectors' => array(
|
164 |
+
'{{WRAPPER}}' => 'text-align: {{VALUE}};',
|
165 |
+
),
|
166 |
+
)
|
167 |
+
);
|
168 |
+
|
169 |
+
$this->add_control(
|
170 |
+
'link_to',
|
171 |
+
array(
|
172 |
+
'label' => __( 'Link', 'auxin-elements' ),
|
173 |
+
'type' => Controls_Manager::SELECT,
|
174 |
+
'default' => 'home',
|
175 |
+
'options' => array(
|
176 |
+
'home' => __( 'Home Page', 'auxin-elements' ),
|
177 |
+
'file' => __( 'Media File', 'auxin-elements' ),
|
178 |
+
'custom' => __( 'Custom URL', 'auxin-elements' ),
|
179 |
+
),
|
180 |
+
)
|
181 |
+
);
|
182 |
+
|
183 |
+
$this->add_control(
|
184 |
+
'link',
|
185 |
+
array(
|
186 |
+
'label' => __( 'Link', 'auxin-elements' ),
|
187 |
+
'type' => Controls_Manager::URL,
|
188 |
+
'placeholder' => __( 'https://your-link.com', 'auxin-elements' ),
|
189 |
+
'condition' => array(
|
190 |
+
'link_to' => 'custom',
|
191 |
+
),
|
192 |
+
'show_label' => false,
|
193 |
+
)
|
194 |
+
);
|
195 |
+
|
196 |
+
$this->end_controls_section();
|
197 |
+
|
198 |
+
$this->start_controls_section(
|
199 |
+
'section_style_image',
|
200 |
+
array(
|
201 |
+
'label' => __( 'Image', 'auxin-elements' ),
|
202 |
+
'tab' => Controls_Manager::TAB_STYLE,
|
203 |
+
)
|
204 |
+
);
|
205 |
+
|
206 |
+
$this->add_responsive_control(
|
207 |
+
'width',
|
208 |
+
array(
|
209 |
+
'label' => __( 'Width', 'auxin-elements' ),
|
210 |
+
'type' => Controls_Manager::SLIDER,
|
211 |
+
'default' => array(
|
212 |
+
'unit' => '%',
|
213 |
+
),
|
214 |
+
'tablet_default' => array(
|
215 |
+
'unit' => '%',
|
216 |
+
),
|
217 |
+
'mobile_default' => array(
|
218 |
+
'unit' => '%',
|
219 |
+
),
|
220 |
+
'size_units' => array( '%', 'px', 'vw' ),
|
221 |
+
'range' => array(
|
222 |
+
'%' => array(
|
223 |
+
'min' => 1,
|
224 |
+
'max' => 100,
|
225 |
+
),
|
226 |
+
'px' => array(
|
227 |
+
'min' => 1,
|
228 |
+
'max' => 1000,
|
229 |
+
),
|
230 |
+
'vw' => array(
|
231 |
+
'min' => 1,
|
232 |
+
'max' => 100,
|
233 |
+
),
|
234 |
+
),
|
235 |
+
'selectors' => array(
|
236 |
+
'{{WRAPPER}} .aux-has-logo img' => 'width: {{SIZE}}{{UNIT}};',
|
237 |
+
),
|
238 |
+
)
|
239 |
+
);
|
240 |
+
|
241 |
+
$this->add_responsive_control(
|
242 |
+
'space',
|
243 |
+
array(
|
244 |
+
'label' => __( 'Max Width', 'auxin-elements' ) . ' (%)',
|
245 |
+
'type' => Controls_Manager::SLIDER,
|
246 |
+
'default' => array(
|
247 |
+
'unit' => '%',
|
248 |
+
),
|
249 |
+
'tablet_default' => array(
|
250 |
+
'unit' => '%',
|
251 |
+
),
|
252 |
+
'mobile_default' => array(
|
253 |
+
'unit' => '%',
|
254 |
+
),
|
255 |
+
'size_units' => array( '%' ),
|
256 |
+
'range' => array(
|
257 |
+
'%' => array(
|
258 |
+
'min' => 1,
|
259 |
+
'max' => 100,
|
260 |
+
),
|
261 |
+
),
|
262 |
+
'selectors' => array(
|
263 |
+
'{{WRAPPER}} .aux-has-logo img' => 'max-width: {{SIZE}}{{UNIT}};',
|
264 |
+
),
|
265 |
+
)
|
266 |
+
);
|
267 |
+
|
268 |
+
$this->add_control(
|
269 |
+
'separator_panel_style',
|
270 |
+
array(
|
271 |
+
'type' => Controls_Manager::DIVIDER,
|
272 |
+
'style' => 'thick',
|
273 |
+
)
|
274 |
+
);
|
275 |
+
|
276 |
+
$this->start_controls_tabs( 'image_effects' );
|
277 |
+
|
278 |
+
$this->start_controls_tab( 'normal',
|
279 |
+
array(
|
280 |
+
'label' => __( 'Normal', 'auxin-elements' ),
|
281 |
+
)
|
282 |
+
);
|
283 |
+
|
284 |
+
$this->add_control(
|
285 |
+
'opacity',
|
286 |
+
array(
|
287 |
+
'label' => __( 'Opacity', 'auxin-elements' ),
|
288 |
+
'type' => Controls_Manager::SLIDER,
|
289 |
+
'range' => array(
|
290 |
+
'px' => array(
|
291 |
+
'max' => 1,
|
292 |
+
'min' => 0.10,
|
293 |
+
'step' => 0.01,
|
294 |
+
),
|
295 |
+
),
|
296 |
+
'selectors' => array(
|
297 |
+
'{{WRAPPER}} .aux-has-logo img' => 'opacity: {{SIZE}};',
|
298 |
+
),
|
299 |
+
)
|
300 |
+
);
|
301 |
+
|
302 |
+
$this->add_group_control(
|
303 |
+
Group_Control_Css_Filter::get_type(),
|
304 |
+
array(
|
305 |
+
'name' => 'css_filters',
|
306 |
+
'selector' => '{{WRAPPER}} .aux-has-logo img',
|
307 |
+
)
|
308 |
+
);
|
309 |
+
|
310 |
+
$this->end_controls_tab();
|
311 |
+
|
312 |
+
$this->start_controls_tab( 'hover',
|
313 |
+
array(
|
314 |
+
'label' => __( 'Hover', 'auxin-elements' ),
|
315 |
+
)
|
316 |
+
);
|
317 |
+
|
318 |
+
$this->add_control(
|
319 |
+
'opacity_hover',
|
320 |
+
array(
|
321 |
+
'label' => __( 'Opacity', 'auxin-elements' ),
|
322 |
+
'type' => Controls_Manager::SLIDER,
|
323 |
+
'range' => array(
|
324 |
+
'px' => array(
|
325 |
+
'max' => 1,
|
326 |
+
'min' => 0.10,
|
327 |
+
'step' => 0.01,
|
328 |
+
),
|
329 |
+
),
|
330 |
+
'selectors' => array(
|
331 |
+
'{{WRAPPER}} .aux-has-logo:hover img' => 'opacity: {{SIZE}};',
|
332 |
+
),
|
333 |
+
)
|
334 |
+
);
|
335 |
+
|
336 |
+
$this->add_group_control(
|
337 |
+
Group_Control_Css_Filter::get_type(),
|
338 |
+
array(
|
339 |
+
'name' => 'css_filters_hover',
|
340 |
+
'selector' => '{{WRAPPER}} .aux-has-logo:hover img',
|
341 |
+
)
|
342 |
+
);
|
343 |
+
|
344 |
+
$this->add_control(
|
345 |
+
'background_hover_transition',
|
346 |
+
array(
|
347 |
+
'label' => __( 'Transition Duration', 'auxin-elements' ),
|
348 |
+
'type' => Controls_Manager::SLIDER,
|
349 |
+
'range' => array(
|
350 |
+
'px' => array(
|
351 |
+
'max' => 3,
|
352 |
+
'step' => 0.1,
|
353 |
+
),
|
354 |
+
),
|
355 |
+
'selectors' => array(
|
356 |
+
'{{WRAPPER}} .aux-has-logo img' => 'transition-duration: {{SIZE}}s',
|
357 |
+
),
|
358 |
+
)
|
359 |
+
);
|
360 |
+
|
361 |
+
$this->end_controls_tab();
|
362 |
+
|
363 |
+
$this->end_controls_tabs();
|
364 |
+
|
365 |
+
$this->add_group_control(
|
366 |
+
Group_Control_Border::get_type(),
|
367 |
+
array(
|
368 |
+
'name' => 'image_border',
|
369 |
+
'selector' => '{{WRAPPER}} .aux-has-logo img',
|
370 |
+
'separator' => 'before',
|
371 |
+
)
|
372 |
+
);
|
373 |
+
|
374 |
+
$this->add_responsive_control(
|
375 |
+
'image_border_radius',
|
376 |
+
array(
|
377 |
+
'label' => __( 'Border Radius', 'auxin-elements' ),
|
378 |
+
'type' => Controls_Manager::DIMENSIONS,
|
379 |
+
'size_units' => array( 'px', '%' ),
|
380 |
+
'selectors' => array(
|
381 |
+
'{{WRAPPER}} .aux-has-logo img' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
382 |
+
),
|
383 |
+
)
|
384 |
+
);
|
385 |
+
|
386 |
+
$this->add_group_control(
|
387 |
+
Group_Control_Box_Shadow::get_type(),
|
388 |
+
array(
|
389 |
+
'name' => 'image_box_shadow',
|
390 |
+
'exclude' => array(
|
391 |
+
'box_shadow_position',
|
392 |
+
),
|
393 |
+
'selector' => '{{WRAPPER}} .aux-has-logo img',
|
394 |
+
)
|
395 |
+
);
|
396 |
+
|
397 |
+
$this->end_controls_section();
|
398 |
+
|
399 |
+
$this->start_controls_section(
|
400 |
+
'section_style_title',
|
401 |
+
array(
|
402 |
+
'label' => __( 'Title', 'auxin-elements' ),
|
403 |
+
'tab' => Controls_Manager::TAB_STYLE,
|
404 |
+
)
|
405 |
+
);
|
406 |
+
|
407 |
+
$this->add_responsive_control(
|
408 |
+
'title_color',
|
409 |
+
array(
|
410 |
+
'label' => __( 'Color', 'auxin-elements' ),
|
411 |
+
'type' => Controls_Manager::COLOR,
|
412 |
+
'selectors' => array(
|
413 |
+
'{{WRAPPER}} .site-title a, {{WRAPPER}} .site-title' => 'color: {{VALUE}};'
|
414 |
+
)
|
415 |
+
)
|
416 |
+
);
|
417 |
+
|
418 |
+
$this->add_responsive_control(
|
419 |
+
'title_hover_color',
|
420 |
+
array(
|
421 |
+
'label' => __( 'Hover Color', 'auxin-elements' ),
|
422 |
+
'type' => Controls_Manager::COLOR,
|
423 |
+
'selectors' => array(
|
424 |
+
'{{WRAPPER}} .site-title a:hover, {{WRAPPER}} .site-title:hover' => 'color: {{VALUE}};',
|
425 |
+
),
|
426 |
+
)
|
427 |
+
);
|
428 |
+
|
429 |
+
$this->add_group_control(
|
430 |
+
Group_Control_Typography::get_type(),
|
431 |
+
array(
|
432 |
+
'name' => 'title_typography',
|
433 |
+
'scheme' => Scheme_Typography::TYPOGRAPHY_1,
|
434 |
+
'selector' => '{{WRAPPER}} .site-title a'
|
435 |
+
)
|
436 |
+
);
|
437 |
+
|
438 |
+
$this->add_responsive_control(
|
439 |
+
'title_margin',
|
440 |
+
array(
|
441 |
+
'label' => __( 'Margin', 'auxin-elements' ),
|
442 |
+
'type' => Controls_Manager::DIMENSIONS,
|
443 |
+
'size_units' => array( 'px', 'em' ),
|
444 |
+
'allowed_dimensions' => 'all',
|
445 |
+
'selectors' => array(
|
446 |
+
'{{WRAPPER}} .site-title' => 'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
|
447 |
+
)
|
448 |
+
)
|
449 |
+
);
|
450 |
+
|
451 |
+
$this->add_group_control(
|
452 |
+
Group_Control_Text_Shadow::get_type(),
|
453 |
+
array(
|
454 |
+
'name' => 'title_text_shadow',
|
455 |
+
'label' => __( 'Text Shadow', 'auxin-elements' ),
|
456 |
+
'selector' => '{{WRAPPER}} .site-title a'
|
457 |
+
)
|
458 |
+
);
|
459 |
+
|
460 |
+
$this->add_responsive_control(
|
461 |
+
'title_width',
|
462 |
+
array(
|
463 |
+
'label' => __('Max Width','auxin-elements' ),
|
464 |
+
'type' => Controls_Manager::SLIDER,
|
465 |
+
'size_units' => array('px', 'em','%'),
|
466 |
+
'range' => array(
|
467 |
+
'%' => array(
|
468 |
+
'min' => 1,
|
469 |
+
'max' => 100,
|
470 |
+
'step' => 1
|
471 |
+
),
|
472 |
+
'em' => array(
|
473 |
+
'min' => 1,
|
474 |
+
'max' => 100,
|
475 |
+
'step' => 1
|
476 |
+
),
|
477 |
+
'px' => array(
|
478 |
+
'min' => 1,
|
479 |
+
'max' => 1600,
|
480 |
+
'step' => 1
|
481 |
+
)
|
482 |
+
),
|
483 |
+
'selectors' => array(
|
484 |
+
'{{WRAPPER}} .site-title' => 'max-width:{{SIZE}}{{UNIT}};'
|
485 |
+
)
|
486 |
+
)
|
487 |
+
);
|
488 |
+
|
489 |
+
$this->end_controls_section();
|
490 |
+
|
491 |
+
$this->start_controls_section(
|
492 |
+
'section_style_desc',
|
493 |
+
array(
|
494 |
+
'label' => __( 'Description', 'auxin-elements' ),
|
495 |
+
'tab' => Controls_Manager::TAB_STYLE,
|
496 |
+
)
|
497 |
+
);
|
498 |
+
|
499 |
+
$this->add_responsive_control(
|
500 |
+
'desc_color',
|
501 |
+
array(
|
502 |
+
'label' => __( 'Color', 'auxin-elements' ),
|
503 |
+
'type' => Controls_Manager::COLOR,
|
504 |
+
'selectors' => array(
|
505 |
+
'{{WRAPPER}} .site-description' => 'color: {{VALUE}};'
|
506 |
+
)
|
507 |
+
)
|
508 |
+
);
|
509 |
+
|
510 |
+
$this->add_responsive_control(
|
511 |
+
'desc_hover_color',
|
512 |
+
array(
|
513 |
+
'label' => __( 'Hover Color', 'auxin-elements' ),
|
514 |
+
'type' => Controls_Manager::COLOR,
|
515 |
+
'selectors' => array(
|
516 |
+
'{{WRAPPER}} .site-description:hover' => 'color: {{VALUE}};',
|
517 |
+
),
|
518 |
+
)
|
519 |
+
);
|
520 |
+
|
521 |
+
$this->add_group_control(
|
522 |
+
Group_Control_Typography::get_type(),
|
523 |
+
array(
|
524 |
+
'name' => 'desc_typography',
|
525 |
+
'scheme' => Scheme_Typography::TYPOGRAPHY_1,
|
526 |
+
'selector' => '{{WRAPPER}} .site-description'
|
527 |
+
)
|
528 |
+
);
|
529 |
+
|
530 |
+
$this->add_responsive_control(
|
531 |
+
'desc_margin',
|
532 |
+
array(
|
533 |
+
'label' => __( 'Margin', 'auxin-elements' ),
|
534 |
+
'type' => Controls_Manager::DIMENSIONS,
|
535 |
+
'size_units' => array( 'px', 'em' ),
|
536 |
+
'allowed_dimensions' => 'all',
|
537 |
+
'selectors' => array(
|
538 |
+
'{{WRAPPER}} .site-description' => 'margin:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
|
539 |
+
)
|
540 |
+
)
|
541 |
+
);
|
542 |
+
|
543 |
+
$this->add_group_control(
|
544 |
+
Group_Control_Text_Shadow::get_type(),
|
545 |
+
array(
|
546 |
+
'name' => 'desc_text_shadow',
|
547 |
+
'label' => __( 'Text Shadow', 'auxin-elements' ),
|
548 |
+
'selector' => '{{WRAPPER}} .site-description'
|
549 |
+
)
|
550 |
+
);
|
551 |
+
|
552 |
+
$this->add_responsive_control(
|
553 |
+
'desc_width',
|
554 |
+
array(
|
555 |
+
'label' => __('Max Width','auxin-elements' ),
|
556 |
+
'type' => Controls_Manager::SLIDER,
|
557 |
+
'size_units' => array('px', 'em','%'),
|
558 |
+
'range' => array(
|
559 |
+
'%' => array(
|
560 |
+
'min' => 1,
|
561 |
+
'max' => 100,
|
562 |
+
'step' => 1
|
563 |
+
),
|
564 |
+
'em' => array(
|
565 |
+
'min' => 1,
|
566 |
+
'max' => 100,
|
567 |
+
'step' => 1
|
568 |
+
),
|
569 |
+
'px' => array(
|
570 |
+
'min' => 1,
|
571 |
+
'max' => 1600,
|
572 |
+
'step' => 1
|
573 |
+
)
|
574 |
+
),
|
575 |
+
'selectors' => array(
|
576 |
+
'{{WRAPPER}} .site-description' => 'max-width:{{SIZE}}{{UNIT}};'
|
577 |
+
)
|
578 |
+
)
|
579 |
+
);
|
580 |
+
|
581 |
+
$this->end_controls_section();
|
582 |
+
|
583 |
+
}
|
584 |
+
|
585 |
+
/**
|
586 |
+
* Render image box widget output on the frontend.
|
587 |
+
*
|
588 |
+
* Written in PHP and used to generate the final HTML.
|
589 |
+
*
|
590 |
+
* @since 1.0.0
|
591 |
+
* @access protected
|
592 |
+
*/
|
593 |
+
protected function render() {
|
594 |
+
|
595 |
+
$settings = $this->get_settings_for_display();
|
596 |
+
$logo_desc = get_bloginfo( 'description' );
|
597 |
+
$custom_logo_id = get_theme_mod( 'custom_logo' );
|
598 |
+
$blog_display_name = get_bloginfo( 'name', 'display' );
|
599 |
+
$blog_name = get_bloginfo( 'name' );
|
600 |
+
$home_url = home_url( '/' );
|
601 |
+
$link_attr = array(
|
602 |
+
'class' => 'aux-logo-anchor aux-has-logo',
|
603 |
+
'title' => esc_attr( $blog_display_name )
|
604 |
+
);
|
605 |
+
$logo_markup = '';
|
606 |
+
$output = '';
|
607 |
+
|
608 |
+
|
609 |
+
if ( 'home' === $settings['link_to'] ) {
|
610 |
+
$link_attr['href'] = esc_url ( $home_url );
|
611 |
+
} else if ( 'file' === $settings['link_to'] ) {
|
612 |
+
$link_attr['href'] = esc_url ( wp_get_attachment_url( $custom_logo_id ) ) ;
|
613 |
+
} else {
|
614 |
+
$link_attr['href'] = esc_url ( $settings['link']['url'] ) ;
|
615 |
+
|
616 |
+
if ( auxin_is_true( $settings['link']['is_external'] ) ) {
|
617 |
+
$link_attr['target'] = '_blank';
|
618 |
+
}
|
619 |
+
|
620 |
+
if ( auxin_is_true( $settings['link']['nofollow'] ) ) {
|
621 |
+
$link_attr['rel'] = 'nofollow';
|
622 |
+
}
|
623 |
+
}
|
624 |
+
|
625 |
+
$link_attr = auxin_make_html_attributes( $link_attr );
|
626 |
+
|
627 |
+
if ( $custom_logo_id ) {
|
628 |
+
|
629 |
+
if ( $settings['image_custom_dimension'] ) {
|
630 |
+
$image_size = $settings['image_custom_dimension'];
|
631 |
+
} else {
|
632 |
+
$image_size = $settings['image_size'];
|
633 |
+
}
|
634 |
+
|
635 |
+
$logo_image_markup = auxin_get_the_responsive_attachment( $custom_logo_id,
|
636 |
+
array(
|
637 |
+
'quality' => 100,
|
638 |
+
'size' => $image_size,
|
639 |
+
'crop' => true,
|
640 |
+
'add_hw' => true,
|
641 |
+
'upscale' => false
|
642 |
+
)
|
643 |
+
);
|
644 |
+
|
645 |
+
$logo_markup = '<a ' . $link_attr . ' >' . $logo_image_markup . '</a>';
|
646 |
+
}
|
647 |
+
|
648 |
+
$output .= '<div class="aux-widget-logo">';
|
649 |
+
$output .= $logo_markup;
|
650 |
+
$output .= '<section class="aux-logo-text">';
|
651 |
+
$output .= '<h3 class="site-title">';
|
652 |
+
$output .= '<a href="' . esc_url( $home_url ) . '" title="' . esc_attr( $blog_display_name ) . '">';
|
653 |
+
$output .= $blog_name;
|
654 |
+
$output .= '</a>';
|
655 |
+
$output .= '</h3>';
|
656 |
+
$output .= $logo_desc ? '<p class="site-description">' . $logo_desc . '</p>' : '';
|
657 |
+
$output .= '</section>';
|
658 |
+
$output .= '</div>';
|
659 |
+
|
660 |
+
echo $output;
|
661 |
+
|
662 |
+
}
|
663 |
+
|
664 |
+
}
|
includes/elementor/widgets/theme-elements/menu.php
CHANGED
@@ -327,35 +327,9 @@ class MenuBox extends Widget_Base {
|
|
327 |
'selectors' => array(
|
328 |
'{{WRAPPER}} .aux-menu-depth-0 > .aux-item-content' => 'color: {{VALUE}} !important;',
|
329 |
),
|
330 |
-
'seperartor' => 'after'
|
331 |
-
)
|
332 |
-
);
|
333 |
-
|
334 |
-
$this->end_controls_tab();
|
335 |
-
|
336 |
-
$this->start_controls_tab(
|
337 |
-
'item_color_hover',
|
338 |
-
array(
|
339 |
-
'label' => __( 'Hover' , 'auxin-elements' )
|
340 |
-
)
|
341 |
-
);
|
342 |
-
|
343 |
-
$this->add_control(
|
344 |
-
'item_hover_color',
|
345 |
-
array(
|
346 |
-
'label' => __( 'Color', 'auxin-elements' ),
|
347 |
-
'type' => Controls_Manager::COLOR,
|
348 |
-
'selectors' => array(
|
349 |
-
'{{WRAPPER}} .aux-menu-depth-0.aux-hover > .aux-item-content ' => 'color: {{VALUE}} !important;'
|
350 |
-
),
|
351 |
-
'seperartor' => 'after'
|
352 |
)
|
353 |
);
|
354 |
-
|
355 |
-
$this->end_controls_tab();
|
356 |
-
|
357 |
-
$this->end_controls_tabs();
|
358 |
-
|
359 |
$this->add_group_control(
|
360 |
Group_Control_Typography::get_type(),
|
361 |
array(
|
@@ -365,41 +339,6 @@ class MenuBox extends Widget_Base {
|
|
365 |
)
|
366 |
);
|
367 |
|
368 |
-
$this->add_responsive_control(
|
369 |
-
'item_padding',
|
370 |
-
array(
|
371 |
-
'label' => __( 'Padding', 'auxin-elements' ),
|
372 |
-
'type' => Controls_Manager::DIMENSIONS,
|
373 |
-
'size_units' => array( 'px', '%' ),
|
374 |
-
'selectors' => array(
|
375 |
-
'{{WRAPPER}} .aux-menu-depth-0 > .aux-item-content' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
376 |
-
)
|
377 |
-
)
|
378 |
-
);
|
379 |
-
|
380 |
-
$this->add_responsive_control(
|
381 |
-
'item_margin',
|
382 |
-
array(
|
383 |
-
'label' => __( 'Margin', 'auxin-elements' ),
|
384 |
-
'type' => Controls_Manager::DIMENSIONS,
|
385 |
-
'size_units' => array( 'px', '%' ),
|
386 |
-
'selectors' => array(
|
387 |
-
'{{WRAPPER}} .aux-menu-depth-0' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
388 |
-
),
|
389 |
-
'seperator' => 'after'
|
390 |
-
)
|
391 |
-
);
|
392 |
-
|
393 |
-
|
394 |
-
$this->start_controls_tabs( 'item_background_tab' );
|
395 |
-
|
396 |
-
$this->start_controls_tab(
|
397 |
-
'item_bg_normal',
|
398 |
-
array(
|
399 |
-
'label' => __( 'Normal' , 'auxin-elements' )
|
400 |
-
)
|
401 |
-
);
|
402 |
-
|
403 |
$this->add_group_control(
|
404 |
Group_Control_Background::get_type(),
|
405 |
array(
|
@@ -443,9 +382,29 @@ class MenuBox extends Widget_Base {
|
|
443 |
$this->end_controls_tab();
|
444 |
|
445 |
$this->start_controls_tab(
|
446 |
-
'
|
447 |
array(
|
448 |
-
'label'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
449 |
)
|
450 |
);
|
451 |
|
@@ -477,7 +436,6 @@ class MenuBox extends Widget_Base {
|
|
477 |
'{{WRAPPER}} .aux-menu-depth-0.aux-hover' => 'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
|
478 |
),
|
479 |
'allowed_dimensions' => 'all',
|
480 |
-
'separator' => 'after'
|
481 |
)
|
482 |
);
|
483 |
|
@@ -494,6 +452,33 @@ class MenuBox extends Widget_Base {
|
|
494 |
|
495 |
$this->end_controls_tabs();
|
496 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
497 |
$this->add_responsive_control(
|
498 |
'align',
|
499 |
array(
|
@@ -735,31 +720,6 @@ class MenuBox extends Widget_Base {
|
|
735 |
)
|
736 |
);
|
737 |
|
738 |
-
$this->end_controls_tab();
|
739 |
-
|
740 |
-
$this->start_controls_tab(
|
741 |
-
'sub_item_color_hover',
|
742 |
-
array(
|
743 |
-
'label' => __( 'Hover' , 'auxin-elements' )
|
744 |
-
)
|
745 |
-
);
|
746 |
-
|
747 |
-
$this->add_control(
|
748 |
-
'sub_item_hover_color',
|
749 |
-
array(
|
750 |
-
'label' => __( 'Color', 'auxin-elements' ),
|
751 |
-
'type' => Controls_Manager::COLOR,
|
752 |
-
'selectors' => array(
|
753 |
-
'{{WRAPPER}} .aux-submenu .aux-menu-item.aux-hover .aux-item-content' => 'color: {{VALUE}} !important;'
|
754 |
-
),
|
755 |
-
'seperartor' => 'after'
|
756 |
-
)
|
757 |
-
);
|
758 |
-
|
759 |
-
$this->end_controls_tab();
|
760 |
-
|
761 |
-
$this->end_controls_tabs();
|
762 |
-
|
763 |
$this->add_group_control(
|
764 |
Group_Control_Typography::get_type(),
|
765 |
array(
|
@@ -769,41 +729,6 @@ class MenuBox extends Widget_Base {
|
|
769 |
)
|
770 |
);
|
771 |
|
772 |
-
$this->add_responsive_control(
|
773 |
-
'sub_item_padding',
|
774 |
-
array(
|
775 |
-
'label' => __( 'Padding', 'auxin-elements' ),
|
776 |
-
'type' => Controls_Manager::DIMENSIONS,
|
777 |
-
'size_units' => array( 'px', '%' ),
|
778 |
-
'selectors' => array(
|
779 |
-
'{{WRAPPER}} .aux-submenu .aux-menu-item .aux-item-content' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
780 |
-
)
|
781 |
-
)
|
782 |
-
);
|
783 |
-
|
784 |
-
$this->add_responsive_control(
|
785 |
-
'sub_item_margin',
|
786 |
-
array(
|
787 |
-
'label' => __( 'Margin', 'auxin-elements' ),
|
788 |
-
'type' => Controls_Manager::DIMENSIONS,
|
789 |
-
'size_units' => array( 'px', '%' ),
|
790 |
-
'selectors' => array(
|
791 |
-
'{{WRAPPER}} .aux-submenu .aux-menu-item' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
792 |
-
),
|
793 |
-
'seperator' => 'after'
|
794 |
-
)
|
795 |
-
);
|
796 |
-
|
797 |
-
|
798 |
-
$this->start_controls_tabs( 'sub_item_background_tab' );
|
799 |
-
|
800 |
-
$this->start_controls_tab(
|
801 |
-
'sub_item_bg_normal',
|
802 |
-
array(
|
803 |
-
'label' => __( 'Normal' , 'auxin-elements' )
|
804 |
-
)
|
805 |
-
);
|
806 |
-
|
807 |
$this->add_group_control(
|
808 |
Group_Control_Background::get_type(),
|
809 |
array(
|
@@ -847,9 +772,30 @@ class MenuBox extends Widget_Base {
|
|
847 |
$this->end_controls_tab();
|
848 |
|
849 |
$this->start_controls_tab(
|
850 |
-
'
|
851 |
array(
|
852 |
-
'label'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
853 |
)
|
854 |
);
|
855 |
|
@@ -897,6 +843,33 @@ class MenuBox extends Widget_Base {
|
|
897 |
|
898 |
$this->end_controls_tabs();
|
899 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
900 |
$this->end_controls_section();
|
901 |
|
902 |
/* Burger Button Section
|
@@ -910,7 +883,27 @@ class MenuBox extends Widget_Base {
|
|
910 |
)
|
911 |
);
|
912 |
|
913 |
-
$this->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
914 |
|
915 |
$this->start_controls_tab(
|
916 |
'burger_color_normal',
|
@@ -1001,12 +994,253 @@ class MenuBox extends Widget_Base {
|
|
1001 |
)
|
1002 |
),
|
1003 |
'default' => 'aux-lite-small',
|
1004 |
-
'seperator' => 'before'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1005 |
)
|
1006 |
);
|
1007 |
|
1008 |
$this->end_controls_section();
|
1009 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1010 |
|
1011 |
}
|
1012 |
|
@@ -1072,11 +1306,17 @@ class MenuBox extends Widget_Base {
|
|
1072 |
}
|
1073 |
|
1074 |
printf( '<div class="aux-elementor-header aux-nav-menu-element aux-nav-menu-element-%s">', $this->get_id() );
|
|
|
|
|
|
|
|
|
|
|
|
|
1075 |
|
1076 |
-
$burger_btn_output = printf( '<div class="aux-burger-box" data-target-panel="%s" data-target-content="%s"
|
1077 |
$settings['burger_menu_location'],
|
1078 |
'.elementor-element-' . $this->get_id() . ' .aux-master-menu',
|
1079 |
-
$
|
1080 |
);
|
1081 |
|
1082 |
$breakpoint = 'custom' === $settings['display_burger'] ? $settings['breakpoint']['size'] : $settings['display_burger'];
|
327 |
'selectors' => array(
|
328 |
'{{WRAPPER}} .aux-menu-depth-0 > .aux-item-content' => 'color: {{VALUE}} !important;',
|
329 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
330 |
)
|
331 |
);
|
332 |
+
|
|
|
|
|
|
|
|
|
333 |
$this->add_group_control(
|
334 |
Group_Control_Typography::get_type(),
|
335 |
array(
|
339 |
)
|
340 |
);
|
341 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
342 |
$this->add_group_control(
|
343 |
Group_Control_Background::get_type(),
|
344 |
array(
|
382 |
$this->end_controls_tab();
|
383 |
|
384 |
$this->start_controls_tab(
|
385 |
+
'item_color_hover',
|
386 |
array(
|
387 |
+
'label' => __( 'Hover' , 'auxin-elements' )
|
388 |
+
)
|
389 |
+
);
|
390 |
+
|
391 |
+
$this->add_control(
|
392 |
+
'item_hover_color',
|
393 |
+
array(
|
394 |
+
'label' => __( 'Color', 'auxin-elements' ),
|
395 |
+
'type' => Controls_Manager::COLOR,
|
396 |
+
'selectors' => array(
|
397 |
+
'{{WRAPPER}} .aux-menu-depth-0.aux-hover > .aux-item-content ' => 'color: {{VALUE}} !important;'
|
398 |
+
),
|
399 |
+
)
|
400 |
+
);
|
401 |
+
|
402 |
+
$this->add_group_control(
|
403 |
+
Group_Control_Typography::get_type(),
|
404 |
+
array(
|
405 |
+
'name' => 'menu_item_typo_hover',
|
406 |
+
'scheme' => Scheme_Typography::TYPOGRAPHY_1,
|
407 |
+
'selector' => '{{WRAPPER}} .aux-menu-depth-0.aux-hover> .aux-item-content',
|
408 |
)
|
409 |
);
|
410 |
|
436 |
'{{WRAPPER}} .aux-menu-depth-0.aux-hover' => 'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
|
437 |
),
|
438 |
'allowed_dimensions' => 'all',
|
|
|
439 |
)
|
440 |
);
|
441 |
|
452 |
|
453 |
$this->end_controls_tabs();
|
454 |
|
455 |
+
|
456 |
+
$this->add_responsive_control(
|
457 |
+
'item_padding',
|
458 |
+
array(
|
459 |
+
'label' => __( 'Padding', 'auxin-elements' ),
|
460 |
+
'type' => Controls_Manager::DIMENSIONS,
|
461 |
+
'size_units' => array( 'px', '%' ),
|
462 |
+
'selectors' => array(
|
463 |
+
'{{WRAPPER}} .aux-menu-depth-0 > .aux-item-content' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
464 |
+
),
|
465 |
+
'separator' => 'before'
|
466 |
+
)
|
467 |
+
);
|
468 |
+
|
469 |
+
$this->add_responsive_control(
|
470 |
+
'item_margin',
|
471 |
+
array(
|
472 |
+
'label' => __( 'Margin', 'auxin-elements' ),
|
473 |
+
'type' => Controls_Manager::DIMENSIONS,
|
474 |
+
'size_units' => array( 'px', '%' ),
|
475 |
+
'selectors' => array(
|
476 |
+
'{{WRAPPER}} .aux-menu-depth-0' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
477 |
+
),
|
478 |
+
'seperator' => 'after'
|
479 |
+
)
|
480 |
+
);
|
481 |
+
|
482 |
$this->add_responsive_control(
|
483 |
'align',
|
484 |
array(
|
720 |
)
|
721 |
);
|
722 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
723 |
$this->add_group_control(
|
724 |
Group_Control_Typography::get_type(),
|
725 |
array(
|
729 |
)
|
730 |
);
|
731 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
732 |
$this->add_group_control(
|
733 |
Group_Control_Background::get_type(),
|
734 |
array(
|
772 |
$this->end_controls_tab();
|
773 |
|
774 |
$this->start_controls_tab(
|
775 |
+
'sub_item_color_hover',
|
776 |
array(
|
777 |
+
'label' => __( 'Hover' , 'auxin-elements' )
|
778 |
+
)
|
779 |
+
);
|
780 |
+
|
781 |
+
$this->add_control(
|
782 |
+
'sub_item_hover_color',
|
783 |
+
array(
|
784 |
+
'label' => __( 'Color', 'auxin-elements' ),
|
785 |
+
'type' => Controls_Manager::COLOR,
|
786 |
+
'selectors' => array(
|
787 |
+
'{{WRAPPER}} .aux-submenu .aux-menu-item.aux-hover .aux-item-content' => 'color: {{VALUE}} !important;'
|
788 |
+
),
|
789 |
+
'seperartor' => 'after'
|
790 |
+
)
|
791 |
+
);
|
792 |
+
|
793 |
+
$this->add_group_control(
|
794 |
+
Group_Control_Typography::get_type(),
|
795 |
+
array(
|
796 |
+
'name' => 'menu_sub_item_typo_hover',
|
797 |
+
'scheme' => Scheme_Typography::TYPOGRAPHY_1,
|
798 |
+
'selector' => '{{WRAPPER}} .aux-submenu .aux-menu-item.aux-hover',
|
799 |
)
|
800 |
);
|
801 |
|
843 |
|
844 |
$this->end_controls_tabs();
|
845 |
|
846 |
+
|
847 |
+
$this->add_responsive_control(
|
848 |
+
'sub_item_padding',
|
849 |
+
array(
|
850 |
+
'label' => __( 'Padding', 'auxin-elements' ),
|
851 |
+
'type' => Controls_Manager::DIMENSIONS,
|
852 |
+
'size_units' => array( 'px', '%' ),
|
853 |
+
'selectors' => array(
|
854 |
+
'{{WRAPPER}} .aux-submenu .aux-menu-item .aux-item-content' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
855 |
+
),
|
856 |
+
'separator' => 'before'
|
857 |
+
)
|
858 |
+
);
|
859 |
+
|
860 |
+
$this->add_responsive_control(
|
861 |
+
'sub_item_margin',
|
862 |
+
array(
|
863 |
+
'label' => __( 'Margin', 'auxin-elements' ),
|
864 |
+
'type' => Controls_Manager::DIMENSIONS,
|
865 |
+
'size_units' => array( 'px', '%' ),
|
866 |
+
'selectors' => array(
|
867 |
+
'{{WRAPPER}} .aux-submenu .aux-menu-item' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
868 |
+
),
|
869 |
+
'seperator' => 'after'
|
870 |
+
)
|
871 |
+
);
|
872 |
+
|
873 |
$this->end_controls_section();
|
874 |
|
875 |
/* Burger Button Section
|
883 |
)
|
884 |
);
|
885 |
|
886 |
+
$this->add_control(
|
887 |
+
'burger_type',
|
888 |
+
array(
|
889 |
+
'label' => __( 'Type', 'auxin-elements' ),
|
890 |
+
'type' => Controls_Manager::SELECT,
|
891 |
+
'default' => 'default',
|
892 |
+
'options' => array(
|
893 |
+
'default' => __( 'Default', 'auxin-elements' ),
|
894 |
+
'custom' => __( 'Custom', 'auxin-elements' ),
|
895 |
+
),
|
896 |
+
)
|
897 |
+
);
|
898 |
+
|
899 |
+
$this->start_controls_tabs(
|
900 |
+
'burger_color',
|
901 |
+
array(
|
902 |
+
'condition' => array(
|
903 |
+
'burger_type' => 'default'
|
904 |
+
)
|
905 |
+
)
|
906 |
+
);
|
907 |
|
908 |
$this->start_controls_tab(
|
909 |
'burger_color_normal',
|
994 |
)
|
995 |
),
|
996 |
'default' => 'aux-lite-small',
|
997 |
+
'seperator' => 'before',
|
998 |
+
'condition' => array(
|
999 |
+
'burger_type' => 'default'
|
1000 |
+
)
|
1001 |
+
)
|
1002 |
+
);
|
1003 |
+
|
1004 |
+
$this->add_control(
|
1005 |
+
'burger_custom',
|
1006 |
+
array(
|
1007 |
+
'label' => '',
|
1008 |
+
'type' => Controls_Manager::CODE,
|
1009 |
+
'default' => '',
|
1010 |
+
'placeholder' => __( 'Enter inline SVG content here', 'auxin-elements' ),
|
1011 |
+
'show_label' => false,
|
1012 |
+
'condition' => array(
|
1013 |
+
'burger_type' => 'custom'
|
1014 |
+
)
|
1015 |
)
|
1016 |
);
|
1017 |
|
1018 |
$this->end_controls_section();
|
1019 |
|
1020 |
+
/* Full Screen Menu Section
|
1021 |
+
/*-------------------------------------*/
|
1022 |
+
|
1023 |
+
$this->start_controls_section(
|
1024 |
+
'fullscr_section',
|
1025 |
+
array(
|
1026 |
+
'label' => __( 'Fullscreen Menu', 'auxin-elements' ),
|
1027 |
+
'tab' => Controls_Manager::TAB_STYLE,
|
1028 |
+
'condition' => array(
|
1029 |
+
'burger_menu_location' => 'overlay'
|
1030 |
+
)
|
1031 |
+
)
|
1032 |
+
);
|
1033 |
+
|
1034 |
+
$this->add_group_control(
|
1035 |
+
Group_Control_Background::get_type(),
|
1036 |
+
array(
|
1037 |
+
'name' => 'fullscr_bg',
|
1038 |
+
'label' => __( 'Background', 'auxin-elements' ),
|
1039 |
+
'types' => array( 'classic', 'gradient' ),
|
1040 |
+
'selector' => '{{WRAPPER}} .aux-fs-popup'
|
1041 |
+
)
|
1042 |
+
);
|
1043 |
+
|
1044 |
+
$this->start_controls_tabs( 'fullscr_item_colors' );
|
1045 |
+
|
1046 |
+
$this->start_controls_tab(
|
1047 |
+
'fullscr_item_color_normal',
|
1048 |
+
array(
|
1049 |
+
'label' => __( 'Normal' , 'auxin-elements' )
|
1050 |
+
)
|
1051 |
+
);
|
1052 |
+
|
1053 |
+
$this->add_control(
|
1054 |
+
'fullscr_item_color',
|
1055 |
+
array(
|
1056 |
+
'label' => __( 'Color', 'auxin-elements' ),
|
1057 |
+
'type' => Controls_Manager::COLOR,
|
1058 |
+
'selectors' => array(
|
1059 |
+
'{{WRAPPER}} .aux-fs-menu .aux-menu-item > .aux-item-content' => 'color: {{VALUE}} !important;',
|
1060 |
+
),
|
1061 |
+
'seperartor' => 'after'
|
1062 |
+
)
|
1063 |
+
);
|
1064 |
+
|
1065 |
+
$this->add_group_control(
|
1066 |
+
Group_Control_Typography::get_type(),
|
1067 |
+
array(
|
1068 |
+
'name' => 'fullscr_menu_item_typo',
|
1069 |
+
'scheme' => Scheme_Typography::TYPOGRAPHY_1,
|
1070 |
+
'selector' => '{{WRAPPER}} .aux-fs-menu .aux-menu-item > .aux-item-content',
|
1071 |
+
)
|
1072 |
+
);
|
1073 |
+
|
1074 |
+
$this->add_group_control(
|
1075 |
+
Group_Control_Background::get_type(),
|
1076 |
+
array(
|
1077 |
+
'name' => 'fullscr_item_background',
|
1078 |
+
'label' => __( 'Background', 'auxin-elements' ),
|
1079 |
+
'types' => array( 'classic', 'gradient' ),
|
1080 |
+
'selector' => '{{WRAPPER}} .aux-fs-menu .aux-menu-item '
|
1081 |
+
)
|
1082 |
+
);
|
1083 |
+
|
1084 |
+
$this->add_group_control(
|
1085 |
+
Group_Control_Box_Shadow::get_type(),
|
1086 |
+
array(
|
1087 |
+
'name' => 'fullscr_item_box_shadow',
|
1088 |
+
'selector' => '{{WRAPPER}} .aux-fs-menu .aux-menu-item'
|
1089 |
+
)
|
1090 |
+
);
|
1091 |
+
|
1092 |
+
$this->add_responsive_control(
|
1093 |
+
'fullscr_item_border_radius',
|
1094 |
+
array(
|
1095 |
+
'label' => __( 'Border Radius', 'auxin-elements' ),
|
1096 |
+
'type' => Controls_Manager::DIMENSIONS,
|
1097 |
+
'size_units' => array( 'px', 'em', '%' ),
|
1098 |
+
'selectors' => array(
|
1099 |
+
'{{WRAPPER}} .aux-fs-menu .aux-menu-item' => 'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
|
1100 |
+
),
|
1101 |
+
'allowed_dimensions' => 'all',
|
1102 |
+
)
|
1103 |
+
);
|
1104 |
+
|
1105 |
+
$this->add_group_control(
|
1106 |
+
Group_Control_Border::get_type(),
|
1107 |
+
array(
|
1108 |
+
'name' => 'fullscr_item_border',
|
1109 |
+
'selector' => '{{WRAPPER}} .aux-fs-menu .aux-menu-item',
|
1110 |
+
'separator' => 'none'
|
1111 |
+
)
|
1112 |
+
);
|
1113 |
+
|
1114 |
+
$this->end_controls_tab();
|
1115 |
+
|
1116 |
+
$this->start_controls_tab(
|
1117 |
+
'fullscr_item_color_hover',
|
1118 |
+
array(
|
1119 |
+
'label' => __( 'Hover' , 'auxin-elements' )
|
1120 |
+
)
|
1121 |
+
);
|
1122 |
+
|
1123 |
+
$this->add_control(
|
1124 |
+
'fullscr_item_hover_color',
|
1125 |
+
array(
|
1126 |
+
'label' => __( 'Color', 'auxin-elements' ),
|
1127 |
+
'type' => Controls_Manager::COLOR,
|
1128 |
+
'selectors' => array(
|
1129 |
+
'{{WRAPPER}} .aux-fs-menu .aux-menu-item.aux-hover > .aux-item-content' => 'color: {{VALUE}} !important;'
|
1130 |
+
),
|
1131 |
+
'seperartor' => 'after'
|
1132 |
+
)
|
1133 |
+
);
|
1134 |
+
|
1135 |
+
$this->add_group_control(
|
1136 |
+
Group_Control_Typography::get_type(),
|
1137 |
+
array(
|
1138 |
+
'name' => 'fullscr_menu_item_typo_hover',
|
1139 |
+
'scheme' => Scheme_Typography::TYPOGRAPHY_1,
|
1140 |
+
'selector' => '{{WRAPPER}} .aux-fs-menu .aux-menu-item.aux-hover > .aux-item-content',
|
1141 |
+
)
|
1142 |
+
);
|
1143 |
+
|
1144 |
+
$this->add_group_control(
|
1145 |
+
Group_Control_Background::get_type(),
|
1146 |
+
array(
|
1147 |
+
'name' => 'fullscr_hover_item_background',
|
1148 |
+
'label' => __( 'Background', 'auxin-elements' ),
|
1149 |
+
'types' => array( 'classic', 'gradient' ),
|
1150 |
+
'selector' => '{{WRAPPER}} .aux-fs-menu .aux-menu-item.aux-hover'
|
1151 |
+
)
|
1152 |
+
);
|
1153 |
+
|
1154 |
+
$this->add_group_control(
|
1155 |
+
Group_Control_Box_Shadow::get_type(),
|
1156 |
+
array(
|
1157 |
+
'name' => 'fullscr_hover_item_box_shadow',
|
1158 |
+
'selector' => '{{WRAPPER}} .aux-fs-menu .aux-menu-item.aux-hover'
|
1159 |
+
)
|
1160 |
+
);
|
1161 |
+
|
1162 |
+
$this->add_responsive_control(
|
1163 |
+
'fullscr_item_hover_border_radius',
|
1164 |
+
array(
|
1165 |
+
'label' => __( 'Border Radius', 'auxin-elements' ),
|
1166 |
+
'type' => Controls_Manager::DIMENSIONS,
|
1167 |
+
'size_units' => array( 'px', 'em', '%' ),
|
1168 |
+
'selectors' => array(
|
1169 |
+
'{{WRAPPER}} .aux-fs-menu .aux-menu-item.aux-hover' => 'border-radius:{{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
|
1170 |
+
),
|
1171 |
+
'allowed_dimensions' => 'all',
|
1172 |
+
'separator' => 'after'
|
1173 |
+
)
|
1174 |
+
);
|
1175 |
+
|
1176 |
+
$this->add_group_control(
|
1177 |
+
Group_Control_Border::get_type(),
|
1178 |
+
array(
|
1179 |
+
'name' => 'fullscr_item_hover_border',
|
1180 |
+
'selector' => '{{WRAPPER}} .aux-fs-menu .aux-menu-item.aux-hover',
|
1181 |
+
'separator' => 'none'
|
1182 |
+
)
|
1183 |
+
);
|
1184 |
+
|
1185 |
+
$this->end_controls_tab();
|
1186 |
+
|
1187 |
+
$this->end_controls_tabs();
|
1188 |
+
|
1189 |
+
$this->add_responsive_control(
|
1190 |
+
'fullscr_item_padding',
|
1191 |
+
array(
|
1192 |
+
'label' => __( 'Padding', 'auxin-elements' ),
|
1193 |
+
'type' => Controls_Manager::DIMENSIONS,
|
1194 |
+
'size_units' => array( 'px', '%' ),
|
1195 |
+
'selectors' => array(
|
1196 |
+
'{{WRAPPER}} .aux-fs-menu .aux-menu-item > .aux-item-content' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
1197 |
+
),
|
1198 |
+
'separator' => 'before'
|
1199 |
+
)
|
1200 |
+
);
|
1201 |
+
|
1202 |
+
$this->add_responsive_control(
|
1203 |
+
'fullscr_item_margin',
|
1204 |
+
array(
|
1205 |
+
'label' => __( 'Margin', 'auxin-elements' ),
|
1206 |
+
'type' => Controls_Manager::DIMENSIONS,
|
1207 |
+
'size_units' => array( 'px', '%' ),
|
1208 |
+
'selectors' => array(
|
1209 |
+
'{{WRAPPER}} .aux-fs-menu .aux-menu-item' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
1210 |
+
),
|
1211 |
+
'seperator' => 'after'
|
1212 |
+
)
|
1213 |
+
);
|
1214 |
+
|
1215 |
+
$this->add_responsive_control(
|
1216 |
+
'fullscr_align',
|
1217 |
+
array(
|
1218 |
+
'label' => __('Text Align','auxin-elements'),
|
1219 |
+
'type' => Controls_Manager::CHOOSE,
|
1220 |
+
'devices' => array( 'desktop', 'mobile' ),
|
1221 |
+
'options' => array(
|
1222 |
+
'left' => array(
|
1223 |
+
'title' => __( 'Left', 'auxin-elements' ),
|
1224 |
+
'icon' => 'fa fa-align-left',
|
1225 |
+
),
|
1226 |
+
'center' => array(
|
1227 |
+
'title' => __( 'Center', 'auxin-elements' ),
|
1228 |
+
'icon' => 'fa fa-align-center',
|
1229 |
+
),
|
1230 |
+
'right' => array(
|
1231 |
+
'title' => __( 'Right', 'auxin-elements' ),
|
1232 |
+
'icon' => 'fa fa-align-right',
|
1233 |
+
),
|
1234 |
+
),
|
1235 |
+
'default' => 'left',
|
1236 |
+
'toggle' => true,
|
1237 |
+
'selectors' => array(
|
1238 |
+
'{{WRAPPER}} .aux-fs-menu .aux-master-menu' => 'text-align: {{VALUE}}',
|
1239 |
+
)
|
1240 |
+
)
|
1241 |
+
);
|
1242 |
+
|
1243 |
+
$this->end_controls_section();
|
1244 |
|
1245 |
}
|
1246 |
|
1306 |
}
|
1307 |
|
1308 |
printf( '<div class="aux-elementor-header aux-nav-menu-element aux-nav-menu-element-%s">', $this->get_id() );
|
1309 |
+
|
1310 |
+
if ( 'default' === $settings['burger_type'] ) {
|
1311 |
+
$burger_content = '<div class="aux-burger ' . $settings['burger_btn_style'] . '"><span class="mid-line"></span></div>';
|
1312 |
+
} else {
|
1313 |
+
$burger_content = '<div class="aux-burger aux-custom-burger">' . $settings['burger_custom'] . '</div>';
|
1314 |
+
}
|
1315 |
|
1316 |
+
$burger_btn_output = printf( '<div class="aux-burger-box" data-target-panel="%s" data-target-content="%s">%s</div>',
|
1317 |
$settings['burger_menu_location'],
|
1318 |
'.elementor-element-' . $this->get_id() . ' .aux-master-menu',
|
1319 |
+
$burger_content
|
1320 |
);
|
1321 |
|
1322 |
$breakpoint = 'custom' === $settings['display_burger'] ? $settings['breakpoint']['size'] : $settings['display_burger'];
|
includes/elements/about-widget.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
function get_auxin_about_widget( $master_array ) {
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
function get_auxin_about_widget( $master_array ) {
|
includes/elements/accordion-widget.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
function auxin_get_accordion_widget_master_array( $master_array ) {
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
function auxin_get_accordion_widget_master_array( $master_array ) {
|
includes/elements/accordion.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
function auxin_get_new_accordion_master_array( $master_array ) {
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
function auxin_get_new_accordion_master_array( $master_array ) {
|
includes/elements/attachment-url.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
add_shortcode( 'aux_attach_url', 'auxin_shortcode_attach_id' );
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
add_shortcode( 'aux_attach_url', 'auxin_shortcode_attach_id' );
|
includes/elements/audio.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
function auxin_get_audio_master_array( $master_array ) {
|
13 |
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
function auxin_get_audio_master_array( $master_array ) {
|
13 |
|
includes/elements/before-after.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
function auxin_get_before_after_master_array( $master_array ) {
|
13 |
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
function auxin_get_before_after_master_array( $master_array ) {
|
13 |
|
includes/elements/button.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
function auxin_get_button_master_array( $master_array ) {
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
function auxin_get_button_master_array( $master_array ) {
|
includes/elements/code.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
function auxin_get_code_master_array( $master_array ) {
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
function auxin_get_code_master_array( $master_array ) {
|
includes/elements/contact-box.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
function get_auxin_contact_box( $master_array ) {
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
function get_auxin_contact_box( $master_array ) {
|
includes/elements/contact-form.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
function auxin_get_contact_form_master_array( $master_array ) {
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
function auxin_get_contact_form_master_array( $master_array ) {
|
includes/elements/custom-list.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
function auxin_get_list_master_array( $master_array ) {
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
function auxin_get_list_master_array( $master_array ) {
|
includes/elements/divider.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
function auxin_get_divider_master_array( $master_array ) {
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
function auxin_get_divider_master_array( $master_array ) {
|
includes/elements/dropcap.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
function auxin_get_dropcap_master_array( $master_array ) {
|
13 |
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
function auxin_get_dropcap_master_array( $master_array ) {
|
13 |
|
includes/elements/facebook.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
function auxin_get_facebook_master_array( $master_array ) {
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
function auxin_get_facebook_master_array( $master_array ) {
|
includes/elements/flickr.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
function auxin_get_flickr_master_array( $master_array ) {
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
function auxin_get_flickr_master_array( $master_array ) {
|
includes/elements/gallery.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
function auxin_get_gallery_master_array( $master_array ) {
|
13 |
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
function auxin_get_gallery_master_array( $master_array ) {
|
13 |
|
includes/elements/general-element-fields.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
function auxin_add_vc_extra_fields_for_all( $master_array ){
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
function auxin_add_vc_extra_fields_for_all( $master_array ){
|
includes/elements/gmap.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
function auxin_get_gmap_master_array( $master_array ) {
|
13 |
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
function auxin_get_gmap_master_array( $master_array ) {
|
13 |
|
includes/elements/highlight.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
function auxin_get_highlight_master_array( $master_array ) {
|
13 |
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
function auxin_get_highlight_master_array( $master_array ) {
|
13 |
|
includes/elements/image.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
function auxin_get_image_master_array( $master_array ) {
|
13 |
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
function auxin_get_image_master_array( $master_array ) {
|
13 |
|
includes/elements/instagram-feed.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
function auxin_get_instagram_master_array( $master_array ) {
|
13 |
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
function auxin_get_instagram_master_array( $master_array ) {
|
13 |
|
includes/elements/latest-posts-slider.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
function auxin_get_post_slider_master_array( $master_array ) {
|
13 |
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
function auxin_get_post_slider_master_array( $master_array ) {
|
13 |
|
includes/elements/popular-posts-widget.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
function auxin_get_popular_post_widget_master_array( $master_array ) {
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
function auxin_get_popular_post_widget_master_array( $master_array ) {
|
includes/elements/quote.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
function auxin_get_quote_master_array( $master_array ) {
|
13 |
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
function auxin_get_quote_master_array( $master_array ) {
|
13 |
|
includes/elements/recent-posts-grid-carousel.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
function auxin_get_recent_posts_master_array( $master_array ) {
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
function auxin_get_recent_posts_master_array( $master_array ) {
|
includes/elements/recent-posts-land-style.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
function auxin_get_recent_posts_land_master_array( $master_array ) {
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
function auxin_get_recent_posts_land_master_array( $master_array ) {
|
includes/elements/recent-posts-masonry.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
function auxin_get_recent_posts_masonry_master_array( $master_array ) {
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
function auxin_get_recent_posts_masonry_master_array( $master_array ) {
|
includes/elements/recent-posts-tiles-carousel.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
function auxin_get_recent_posts_tiles_carousel_master_array( $master_array ) {
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
function auxin_get_recent_posts_tiles_carousel_master_array( $master_array ) {
|
includes/elements/recent-posts-tiles.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
function auxin_get_recent_posts_tiles_master_array( $master_array ) {
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
function auxin_get_recent_posts_tiles_master_array( $master_array ) {
|
includes/elements/recent-posts-timeline.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
function auxin_get_recent_posts_timeline_master_array( $master_array ) {
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
function auxin_get_recent_posts_timeline_master_array( $master_array ) {
|
includes/elements/recent-posts-widget.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
function auxin_get_recent_post_widget_master_array( $master_array ) {
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
function auxin_get_recent_post_widget_master_array( $master_array ) {
|
includes/elements/recent-products.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
function auxin_get_the_recent_products_master_array( $master_array ) {
|
13 |
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
function auxin_get_the_recent_products_master_array( $master_array ) {
|
13 |
|
includes/elements/sample-element.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
/**
|
13 |
* http://docs.averta.net/display/ADD/Add+New+Element
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
/**
|
13 |
* http://docs.averta.net/display/ADD/Add+New+Element
|
includes/elements/search.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
function auxin_get_search_master_array( $master_array ) {
|
13 |
$master_array['aux_search'] = array(
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
function auxin_get_search_master_array( $master_array ) {
|
13 |
$master_array['aux_search'] = array(
|
includes/elements/socials-list.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
function auxin_get_social_master_array( $master_array ) {
|
13 |
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
function auxin_get_social_master_array( $master_array ) {
|
13 |
|
includes/elements/staff.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
function auxin_get_staff_master_array( $master_array ) {
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
function auxin_get_staff_master_array( $master_array ) {
|
includes/elements/tab-widget.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
function auxin_get_tabs_widget_master_array( $master_array ) {
|
13 |
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
function auxin_get_tabs_widget_master_array( $master_array ) {
|
13 |
|
includes/elements/tabs.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
function auxin_get_tabs_master_array( $master_array ) {
|
13 |
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
function auxin_get_tabs_master_array( $master_array ) {
|
13 |
|
includes/elements/testimonial.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
function auxin_get_testimonial_master_array( $master_array ) {
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
function auxin_get_testimonial_master_array( $master_array ) {
|
includes/elements/text.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
function auxin_get_text_master_array( $master_array ) {
|
13 |
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
function auxin_get_text_master_array( $master_array ) {
|
13 |
|
includes/elements/touch-slider.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* @license LICENSE.txt
|
9 |
* @author averta
|
10 |
* @link http://phlox.pro/
|
11 |
-
* @copyright (c) 2010-
|
12 |
*/
|
13 |
function auxin_touch_slider_master_array( $master_array ) {
|
14 |
|
8 |
* @license LICENSE.txt
|
9 |
* @author averta
|
10 |
* @link http://phlox.pro/
|
11 |
+
* @copyright (c) 2010-2020 averta
|
12 |
*/
|
13 |
function auxin_touch_slider_master_array( $master_array ) {
|
14 |
|
includes/elements/video.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
function auxin_get_video_master_array( $master_array ) {
|
13 |
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
function auxin_get_video_master_array( $master_array ) {
|
13 |
|
includes/general-functions.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
* @license LICENSE.txt
|
7 |
* @author averta
|
8 |
* @link http://phlox.pro/
|
9 |
-
* @copyright (c) 2010-
|
10 |
*/
|
11 |
|
12 |
/**
|
@@ -913,8 +913,13 @@ function auxin_tile_pattern_8( $index, $column_media_width ) {
|
|
913 |
|
914 |
|
915 |
function auxin_extract_embed_provider_name( $src ){
|
916 |
-
|
917 |
-
|
|
|
|
|
|
|
|
|
|
|
918 |
if( ! $provider = $oembed->get_provider( $src ) ){
|
919 |
return '';
|
920 |
}
|
@@ -2356,4 +2361,4 @@ function auxin_get_taxonomies( $args = [], $output = 'names', $operator = 'and'
|
|
2356 |
}
|
2357 |
|
2358 |
return $taxonomies;
|
2359 |
-
}
|
6 |
* @license LICENSE.txt
|
7 |
* @author averta
|
8 |
* @link http://phlox.pro/
|
9 |
+
* @copyright (c) 2010-2020 averta
|
10 |
*/
|
11 |
|
12 |
/**
|
913 |
|
914 |
|
915 |
function auxin_extract_embed_provider_name( $src ){
|
916 |
+
// TODO - Else condition will be removed on WP 5.6
|
917 |
+
if( file_exists( ABSPATH . WPINC . '/class-wp-oembed.php' ) ){
|
918 |
+
require_once( ABSPATH . WPINC . '/class-wp-oembed.php' );
|
919 |
+
} else {
|
920 |
+
require_once( ABSPATH . WPINC . '/class-oembed.php' );
|
921 |
+
}
|
922 |
+
$oembed = _wp_oembed_get_object();
|
923 |
if( ! $provider = $oembed->get_provider( $src ) ){
|
924 |
return '';
|
925 |
}
|
2361 |
}
|
2362 |
|
2363 |
return $taxonomies;
|
2364 |
+
}
|
includes/general-hooks.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
|
public/assets/js/plugins.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! Phlox Core Plugin - v2.4.
|
2 |
* All required plugins
|
3 |
* http://phlox.pro/
|
4 |
*/
|
1 |
+
/*! Phlox Core Plugin - v2.4.16 (2020-01-15)
|
2 |
* All required plugins
|
3 |
* http://phlox.pro/
|
4 |
*/
|
public/includes/class-auxels-frontend-assets.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
/**
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
/**
|
public/templates/vcomposer/auxin_shortcode_mapper.php
CHANGED
@@ -7,6 +7,6 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
uninstall.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
-
* @copyright (c) 2010-
|
11 |
*/
|
12 |
|
13 |
// If uninstall not called from WordPress, then exit
|
7 |
* @license LICENSE.txt
|
8 |
* @author averta
|
9 |
* @link http://phlox.pro/
|
10 |
+
* @copyright (c) 2010-2020 averta
|
11 |
*/
|
12 |
|
13 |
// If uninstall not called from WordPress, then exit
|