Shortcodes and extra features for Phlox theme - Version 1.6.4

Version Description

Download this release

Release Info

Developer averta
Plugin Icon 128x128 Shortcodes and extra features for Phlox theme
Version 1.6.4
Comparing to
See all releases

Code changes from version 1.6.2 to 1.6.4

Files changed (42) hide show
  1. README.txt +10 -4
  2. admin/includes/admin-hooks.php +26 -6
  3. admin/includes/compatibility/visual-composer/vc.php +14 -0
  4. auxin-elements.php +3 -3
  5. includes/classes/class-auxin-demo-importer.php +5 -0
  6. includes/classes/class-auxin-wizard.php +5 -5
  7. includes/define.php +1 -1
  8. includes/elements/about-widget.php +1 -1
  9. includes/elements/accordion.php +1 -1
  10. includes/elements/audio.php +1 -1
  11. includes/elements/before-after.php +1 -1
  12. includes/elements/button.php +1 -1
  13. includes/elements/code.php +1 -1
  14. includes/elements/contact-box.php +1 -1
  15. includes/elements/contact-form.php +1 -1
  16. includes/elements/divider.php +1 -1
  17. includes/elements/dropcap.php +1 -1
  18. includes/elements/facebook.php +1 -1
  19. includes/elements/flickr.php +1 -1
  20. includes/elements/gallery.php +1 -1
  21. includes/elements/gmap.php +1 -1
  22. includes/elements/image.php +1 -1
  23. includes/elements/instagram-feed.php +1 -1
  24. includes/elements/latest-posts-slider.php +1 -1
  25. includes/elements/popular-posts-widget.php +1 -1
  26. includes/elements/quote.php +1 -1
  27. includes/elements/recent-posts-grid-carousel.php +1 -1
  28. includes/elements/recent-posts-land-style.php +1 -1
  29. includes/elements/recent-posts-masonry.php +1 -1
  30. includes/elements/recent-posts-tiles.php +1 -1
  31. includes/elements/recent-posts-timeline.php +1 -1
  32. includes/elements/recent-posts-widget.php +1 -1
  33. includes/elements/search.php +1 -1
  34. includes/elements/socials-list.php +1 -1
  35. includes/elements/staff.php +2 -2
  36. includes/elements/tabs.php +1 -1
  37. includes/elements/testomonial.php +2 -2
  38. includes/elements/text.php +1 -1
  39. includes/elements/touch-slider.php +1 -1
  40. includes/elements/video.php +1 -1
  41. includes/general-functions.php +4 -0
  42. includes/general-hooks.php +6 -7
README.txt CHANGED
@@ -7,7 +7,7 @@ Tags: testimonial, gallery, page-builder, siteorigin, auxin, phlox, averta, auxi
7
  Requires PHP: 5.3
8
  Requires at least: 4.6
9
  Tested up to: 4.8.3
10
- Stable tag: 1.6.2
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl.html
13
 
@@ -141,10 +141,15 @@ Bugs can be reported in our [support forums](http://wordpress.org/tags/auxin-ele
141
 
142
  == Changelog ==
143
 
 
 
 
 
 
 
144
  = Version 1.6.2 / (23.10.2017) =
145
  - [Improvement]: Improvement and bug fix for setup wizard.
146
 
147
-
148
  = Version 1.6.0 / (11.10.2017) =
149
  - [New]: Introducing setup Wizard for importing demo content and installing recommended plugins.
150
  - [New]: New Testimonial Widget added
@@ -223,5 +228,6 @@ Bugs can be reported in our [support forums](http://wordpress.org/tags/auxin-ele
223
 
224
  == Upgrade Notice ==
225
 
226
- = 1.6.2 =
227
- [Improvement]: Improvement and bug fix for setup wizard
 
7
  Requires PHP: 5.3
8
  Requires at least: 4.6
9
  Tested up to: 4.8.3
10
+ Stable tag: 1.6.4
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl.html
13
 
141
 
142
  == Changelog ==
143
 
144
+
145
+ = Version 1.6.4 / 1.11.2017) =
146
+ - [Improvement]: Major improvements for page title setting were applied.
147
+ - [Improvement]: Several improvements for setup wizard were applied.
148
+
149
+
150
  = Version 1.6.2 / (23.10.2017) =
151
  - [Improvement]: Improvement and bug fix for setup wizard.
152
 
 
153
  = Version 1.6.0 / (11.10.2017) =
154
  - [New]: Introducing setup Wizard for importing demo content and installing recommended plugins.
155
  - [New]: New Testimonial Widget added
228
 
229
  == Upgrade Notice ==
230
 
231
+ = 1.6.4 =
232
+ - [Improvement]: Major improvements for page title setting were applied.
233
+ - [Improvement]: Several improvements for setup wizard were applied.
admin/includes/admin-hooks.php CHANGED
@@ -220,14 +220,24 @@ function auxin_send_feedback_mail(){
220
  function auxin_add_metabox_field_to_title_setting_tab( $fields, $id, $type ){
221
 
222
  if( 'general-title' == $id ){
223
- array_unshift(
224
  $fields,
 
225
  array(
226
- 'title' => __('Subtitle', 'auxin-elements'),
227
- 'description' => __('Second Title (optional). Note: You have to enable "Display Title Bar Section" option in order to display the subtitle.', 'auxin-elements'),
228
- 'id' => 'page_subtitle',
229
- 'type' => 'editor',
230
- 'default' => ''
 
 
 
 
 
 
 
 
 
231
  )
232
  );
233
  }
@@ -301,6 +311,16 @@ function auxin_add_metabox_field_to_advanced_setting_tab( $fields, $id, $type ){
301
  add_filter( 'auxin_metabox_fields', 'auxin_add_metabox_field_to_advanced_setting_tab', 10, 3 );
302
 
303
 
 
 
 
 
 
 
 
 
 
 
304
 
305
  /*-----------------------------------------------------------------------------------*/
306
  /* Define demo info list / for auxin-element plugin
220
  function auxin_add_metabox_field_to_title_setting_tab( $fields, $id, $type ){
221
 
222
  if( 'general-title' == $id ){
223
+ array_splice(
224
  $fields,
225
+ 1, 0,
226
  array(
227
+ array(
228
+ 'title' => __('Subtitle for Title Bar', 'auxin-elements'),
229
+ 'description' => __('Second Title for title bar (optional). Note: You have to enable "Display Title Bar Section" option in order to display the subtitle.', 'auxin-elements'),
230
+ 'id' => 'page_subtitle',
231
+ 'type' => 'editor',
232
+ 'default' => '',
233
+ 'dependency' => array(
234
+ array(
235
+ 'id' => 'aux_title_bar_show',
236
+ 'value' => array('default', 'yes'),
237
+ 'operator'=> '=='
238
+ )
239
+ )
240
+ )
241
  )
242
  );
243
  }
311
  add_filter( 'auxin_metabox_fields', 'auxin_add_metabox_field_to_advanced_setting_tab', 10, 3 );
312
 
313
 
314
+ /*-----------------------------------------------------------------------------------*/
315
+ /* Removes install plugins submenu
316
+ /*-----------------------------------------------------------------------------------*/
317
+
318
+ function auxin_elements_remove_install_plugins_submenu(){
319
+ remove_submenu_page( "themes.php", "tgmpa-install-plugins");
320
+ global $submenu;
321
+ $submenu['themes.php'][] = array( __('Install Plugins', 'auxin-elements' ), 'edit_theme_options', self_admin_url('admin.php?page=auxin-wizard&step=default_plugins') );
322
+ }
323
+ add_action( "admin_menu", "auxin_elements_remove_install_plugins_submenu", 14 );
324
 
325
  /*-----------------------------------------------------------------------------------*/
326
  /* Define demo info list / for auxin-element plugin
admin/includes/compatibility/visual-composer/vc.php ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Visual Composer related functions and hooks
4
+ *
5
+ */
6
+
7
+ // Add a separator between "Edit" and "Edit With Visual Composer" links in frontend.
8
+ function auxin_vc_edit_post_link( $link ) {
9
+ if ( class_exists('Vc_Frontend_Editor') ) {
10
+ $link .= '<i> | </i>' ;
11
+ }
12
+ return $link;
13
+ }
14
+ add_filter( 'edit_post_link', 'auxin_vc_edit_post_link' );
auxin-elements.php CHANGED
@@ -12,14 +12,14 @@
12
  * Plugin Name: Phlox Core Elements
13
  * Plugin URI: https://wordpress.org/plugins/auxin-elements/
14
  * Description: Powerful and comprehensive plugin that extends the functionality of Phlox theme by adding new shortcodes, widgets and options
15
- * Version: 1.6.2
16
  * Author: averta
17
  * Author URI: http://averta.net
18
  * Text Domain: auxin-elements
19
  * License: GPL2
20
  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
21
  * Domain Path: /languages
22
- * Tested up to: 4.8.3
23
  */
24
 
25
  // If this file is called directly, abort.
@@ -68,7 +68,7 @@ if( is_admin() || false === get_transient( 'auxels_plugin_requirements_check' )
68
  'themes' => array(
69
  array(
70
  'name' => __('Phlox', 'auxin-elements'), // The theme name.
71
- 'version' => '1.8.2', // E.g. 1.0.0. If set, the active theme must be this version or higher.
72
  'is_callable' => '', // If set, this callable will be be checked for availability to determine if a theme is active.
73
  'file_exists' => get_template_directory() . '/auxin/auxin-include/auxin.php' // If set, this file will be checked for availability to determine if a theme is active.
74
  )
12
  * Plugin Name: Phlox Core Elements
13
  * Plugin URI: https://wordpress.org/plugins/auxin-elements/
14
  * Description: Powerful and comprehensive plugin that extends the functionality of Phlox theme by adding new shortcodes, widgets and options
15
+ * Version: 1.6.4
16
  * Author: averta
17
  * Author URI: http://averta.net
18
  * Text Domain: auxin-elements
19
  * License: GPL2
20
  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
21
  * Domain Path: /languages
22
+ * Tested up to: 4.8.4
23
  */
24
 
25
  // If this file is called directly, abort.
68
  'themes' => array(
69
  array(
70
  'name' => __('Phlox', 'auxin-elements'), // The theme name.
71
+ 'version' => '1.8.4', // E.g. 1.0.0. If set, the active theme must be this version or higher.
72
  'is_callable' => '', // If set, this callable will be be checked for availability to determine if a theme is active.
73
  'file_exists' => get_template_directory() . '/auxin/auxin-include/auxin.php' // If set, this file will be checked for availability to determine if a theme is active.
74
  )
includes/classes/class-auxin-demo-importer.php CHANGED
@@ -475,6 +475,11 @@ class Auxin_Demo_Importer {
475
  case '_format_video_attachment':
476
  case '_format_video_attachment_poster':
477
  case '_format_gallery_type':
 
 
 
 
 
478
  if( strpos( $meta_value, ',' ) !== false ) {
479
  $meta_value = explode( ",", $meta_value );
480
  $gallery_widget = array();
475
  case '_format_video_attachment':
476
  case '_format_video_attachment_poster':
477
  case '_format_gallery_type':
478
+ case 'aux_custom_bg_image':
479
+ case 'aux_title_bar_bg_image':
480
+ case 'aux_title_bar_bg_video_mp4':
481
+ case 'aux_title_bar_bg_video_ogg':
482
+ case 'aux_title_bar_bg_video_webm':
483
  if( strpos( $meta_value, ',' ) !== false ) {
484
  $meta_value = explode( ",", $meta_value );
485
  $gallery_widget = array();
includes/classes/class-auxin-wizard.php CHANGED
@@ -428,8 +428,8 @@ class Auxin_Wizard {
428
  if ( 0 && get_transient( 'aux_setup_complete' ) ) {
429
  ?>
430
  <div class="aux-welcome-step">
431
- <h1><?php printf( __( 'Beautiful Portfolio %s Websites, Free with %s Phlox Theme.', 'auxin-elements' ), '<br />', '<br />' ); ?></h1>
432
- <p><?php esc_html_e( 'It looks like you have already run the setup.', 'auxin-elements' ); ?><br><?php esc_html_e( 'Would you like to continue this step?', 'auxin-elements' ); ?></p>
433
  <img src="<?php echo esc_url( AUXELS_ADMIN_URL . '/assets/images/wizard/start.png' ); ?>" width="1012" height="875">
434
  <div class="aux-setup-actions step">
435
  <a href="<?php echo esc_url( $this->get_next_step_link() ); ?>"
@@ -440,8 +440,8 @@ class Auxin_Wizard {
440
  } else {
441
  ?>
442
  <div class="aux-welcome-step">
443
- <h1><?php printf( __( 'Beautiful Portfolio %s Websites, Free with %s Phlox Theme.', 'auxin-elements' ), '<br />', '<br />' ); ?></h1>
444
- <p><?php esc_html_e( 'Start Building Your Website in a few Simple Steps', 'auxin-elements' ); ?></p>
445
  <img src="<?php echo esc_url( AUXELS_ADMIN_URL . '/assets/images/wizard/start.png' ); ?>" width="1012" height="875">
446
  <div class="aux-setup-actions left step">
447
  <a href="<?php echo esc_url( $this->get_next_step_link() ); ?>"
@@ -1103,7 +1103,7 @@ class Auxin_Wizard {
1103
  </div>
1104
 
1105
  <div class="aux-social">
1106
- <p><?php esc_html_e( 'If you have any questions read our documentation. also follow us at:', 'auxin-elements' ); ?></p>
1107
  <ul>
1108
  <li>
1109
  <a target="_blank" class="twitter" href="http://www.twitter.com/averta_ltd">
428
  if ( 0 && get_transient( 'aux_setup_complete' ) ) {
429
  ?>
430
  <div class="aux-welcome-step">
431
+ <h1><?php printf( __( 'Beautiful Portfolio %s Websites, Free with %s Phlox Theme', 'auxin-elements' ), '<br />', '<br />' ); ?></h1>
432
+ <p><?php esc_html_e( 'It looks like you have already run the setup!', 'auxin-elements' ); ?><br><?php esc_html_e( 'Would you like to continue this step?', 'auxin-elements' ); ?></p>
433
  <img src="<?php echo esc_url( AUXELS_ADMIN_URL . '/assets/images/wizard/start.png' ); ?>" width="1012" height="875">
434
  <div class="aux-setup-actions step">
435
  <a href="<?php echo esc_url( $this->get_next_step_link() ); ?>"
440
  } else {
441
  ?>
442
  <div class="aux-welcome-step">
443
+ <h1><?php printf( __( 'Beautiful Portfolio %s Websites, Free with %s Phlox Theme', 'auxin-elements' ), '<br />', '<br />' ); ?></h1>
444
+ <p><?php esc_html_e( 'Start Building Your Website in a Few Simple Steps', 'auxin-elements' ); ?></p>
445
  <img src="<?php echo esc_url( AUXELS_ADMIN_URL . '/assets/images/wizard/start.png' ); ?>" width="1012" height="875">
446
  <div class="aux-setup-actions left step">
447
  <a href="<?php echo esc_url( $this->get_next_step_link() ); ?>"
1103
  </div>
1104
 
1105
  <div class="aux-social">
1106
+ <p><?php esc_html_e( 'If you have any questions, read our documentation. Also, follow us at:', 'auxin-elements' ); ?></p>
1107
  <ul>
1108
  <li>
1109
  <a target="_blank" class="twitter" href="http://www.twitter.com/averta_ltd">
includes/define.php CHANGED
@@ -12,7 +12,7 @@ if( ! defined( 'THEME_NAME' ) ){
12
  }
13
 
14
 
15
- define( 'AUXELS_VERSION' , '1.6.2' );
16
 
17
  define( 'AUXELS_SLUG' , 'auxin-elements' );
18
 
12
  }
13
 
14
 
15
+ define( 'AUXELS_VERSION' , '1.6.4' );
16
 
17
  define( 'AUXELS_SLUG' , 'auxin-elements' );
18
 
includes/elements/about-widget.php CHANGED
@@ -30,7 +30,7 @@ function get_auxin_about_widget( $master_array ) {
30
  'admin_enqueue_css' => '',
31
  'front_enqueue_js' => '',
32
  'front_enqueue_css' => '',
33
- 'icon' => 'aux-element aux-element-about',
34
  'custom_markup' => '',
35
  'js_view' => '',
36
  'html_template' => '',
30
  'admin_enqueue_css' => '',
31
  'front_enqueue_js' => '',
32
  'front_enqueue_css' => '',
33
+ 'icon' => 'aux-element aux-pb-icons-about',
34
  'custom_markup' => '',
35
  'js_view' => '',
36
  'html_template' => '',
includes/elements/accordion.php CHANGED
@@ -31,7 +31,7 @@ function auxin_get_new_accordion_master_array( $master_array ) {
31
  'admin_enqueue_css' => '',
32
  'front_enqueue_js' => '',
33
  'front_enqueue_css' => '',
34
- 'icon' => 'aux-element aux-element-accordion',
35
  'custom_markup' => '',
36
  'js_view' => '',
37
  'html_template' => '',
31
  'admin_enqueue_css' => '',
32
  'front_enqueue_js' => '',
33
  'front_enqueue_css' => '',
34
+ 'icon' => 'aux-element aux-pb-icons-accordion',
35
  'custom_markup' => '',
36
  'js_view' => '',
37
  'html_template' => '',
includes/elements/audio.php CHANGED
@@ -30,7 +30,7 @@ function auxin_get_audio_master_array( $master_array ) {
30
  'admin_enqueue_css' => '',
31
  'front_enqueue_js' => '',
32
  'front_enqueue_css' => '',
33
- 'icon' => 'aux-element aux-element-sound-cloud',
34
  'custom_markup' => '',
35
  'js_view' => '',
36
  'html_template' => '',
30
  'admin_enqueue_css' => '',
31
  'front_enqueue_js' => '',
32
  'front_enqueue_css' => '',
33
+ 'icon' => 'aux-element aux-pb-icons-sound-cloud',
34
  'custom_markup' => '',
35
  'js_view' => '',
36
  'html_template' => '',
includes/elements/before-after.php CHANGED
@@ -29,7 +29,7 @@ function auxin_get_before_after_master_array( $master_array ) {
29
  'admin_enqueue_css' => '',
30
  'front_enqueue_js' => '',
31
  'front_enqueue_css' => '',
32
- 'icon' => 'aux-element aux-element-image',
33
  'custom_markup' => '',
34
  'js_view' => '',
35
  'html_template' => '',
29
  'admin_enqueue_css' => '',
30
  'front_enqueue_js' => '',
31
  'front_enqueue_css' => '',
32
+ 'icon' => 'aux-element aux-pb-icons-image',
33
  'custom_markup' => '',
34
  'js_view' => '',
35
  'html_template' => '',
includes/elements/button.php CHANGED
@@ -30,7 +30,7 @@ function auxin_get_button_master_array( $master_array ) {
30
  'admin_enqueue_css' => '',
31
  'front_enqueue_js' => '',
32
  'front_enqueue_css' => '',
33
- 'icon' => 'aux-element aux-element-button',
34
  'custom_markup' => '',
35
  'js_view' => '',
36
  'html_template' => '',
30
  'admin_enqueue_css' => '',
31
  'front_enqueue_js' => '',
32
  'front_enqueue_css' => '',
33
+ 'icon' => 'aux-element aux-pb-icons-button',
34
  'custom_markup' => '',
35
  'js_view' => '',
36
  'html_template' => '',
includes/elements/code.php CHANGED
@@ -30,7 +30,7 @@ function auxin_get_code_master_array( $master_array ) {
30
  'admin_enqueue_css' => '',
31
  'front_enqueue_js' => '',
32
  'front_enqueue_css' => '',
33
- 'icon' => 'aux-element aux-element-code',
34
  'custom_markup' => '',
35
  'js_view' => '',
36
  'html_template' => '',
30
  'admin_enqueue_css' => '',
31
  'front_enqueue_js' => '',
32
  'front_enqueue_css' => '',
33
+ 'icon' => 'aux-element aux-pb-icons-code',
34
  'custom_markup' => '',
35
  'js_view' => '',
36
  'html_template' => '',
includes/elements/contact-box.php CHANGED
@@ -26,7 +26,7 @@ function get_auxin_contact_box( $master_array ) {
26
  'admin_enqueue_css' => '',
27
  'front_enqueue_js' => '',
28
  'front_enqueue_css' => '',
29
- 'icon' => 'aux-element aux-element-message-box',
30
  'custom_markup' => '',
31
  'js_view' => '',
32
  'html_template' => '',
26
  'admin_enqueue_css' => '',
27
  'front_enqueue_js' => '',
28
  'front_enqueue_css' => '',
29
+ 'icon' => 'aux-element aux-pb-icons-message-box',
30
  'custom_markup' => '',
31
  'js_view' => '',
32
  'html_template' => '',
includes/elements/contact-form.php CHANGED
@@ -30,7 +30,7 @@ function auxin_get_contact_form_master_array( $master_array ) {
30
  'admin_enqueue_css' => '',
31
  'front_enqueue_js' => '',
32
  'front_enqueue_css' => '',
33
- 'icon' => 'aux-element aux-element-contact-form',
34
  'custom_markup' => '',
35
  'js_view' => '',
36
  'html_template' => '',
30
  'admin_enqueue_css' => '',
31
  'front_enqueue_js' => '',
32
  'front_enqueue_css' => '',
33
+ 'icon' => 'aux-element aux-pb-icons-contact-form',
34
  'custom_markup' => '',
35
  'js_view' => '',
36
  'html_template' => '',
includes/elements/divider.php CHANGED
@@ -30,7 +30,7 @@ function auxin_get_divider_master_array( $master_array ) {
30
  'admin_enqueue_css' => '',
31
  'front_enqueue_js' => '',
32
  'front_enqueue_css' => '',
33
- 'icon' => 'aux-element aux-element-divider',
34
  'custom_markup' => '',
35
  'js_view' => '',
36
  'html_template' => '',
30
  'admin_enqueue_css' => '',
31
  'front_enqueue_js' => '',
32
  'front_enqueue_css' => '',
33
+ 'icon' => 'aux-element aux-pb-icons-divider',
34
  'custom_markup' => '',
35
  'js_view' => '',
36
  'html_template' => '',
includes/elements/dropcap.php CHANGED
@@ -29,7 +29,7 @@ function auxin_get_dropcap_master_array( $master_array ) {
29
  'admin_enqueue_css' => '',
30
  'front_enqueue_js' => '',
31
  'front_enqueue_css' => '',
32
- 'icon' => 'aux-element aux-element-dropcap',
33
  'custom_markup' => '',
34
  'js_view' => '',
35
  'html_template' => '',
29
  'admin_enqueue_css' => '',
30
  'front_enqueue_js' => '',
31
  'front_enqueue_css' => '',
32
+ 'icon' => 'aux-element aux-pb-icons-dropcap',
33
  'custom_markup' => '',
34
  'js_view' => '',
35
  'html_template' => '',
includes/elements/facebook.php CHANGED
@@ -30,7 +30,7 @@ function auxin_get_facebook_master_array( $master_array ) {
30
  'admin_enqueue_css' => '',
31
  'front_enqueue_js' => '',
32
  'front_enqueue_css' => '',
33
- 'icon' => 'aux-element aux-element-facebook',
34
  'custom_markup' => '',
35
  'js_view' => '',
36
  'html_template' => '',
30
  'admin_enqueue_css' => '',
31
  'front_enqueue_js' => '',
32
  'front_enqueue_css' => '',
33
+ 'icon' => 'aux-element aux-pb-icons-facebook',
34
  'custom_markup' => '',
35
  'js_view' => '',
36
  'html_template' => '',
includes/elements/flickr.php CHANGED
@@ -30,7 +30,7 @@ function auxin_get_flickr_master_array( $master_array ) {
30
  'admin_enqueue_css' => '',
31
  'front_enqueue_js' => '',
32
  'front_enqueue_css' => '',
33
- 'icon' => 'aux-element aux-element-flickr',
34
  'custom_markup' => '',
35
  'js_view' => '',
36
  'html_template' => '',
30
  'admin_enqueue_css' => '',
31
  'front_enqueue_js' => '',
32
  'front_enqueue_css' => '',
33
+ 'icon' => 'aux-element aux-pb-icons-flickr',
34
  'custom_markup' => '',
35
  'js_view' => '',
36
  'html_template' => '',
includes/elements/gallery.php CHANGED
@@ -29,7 +29,7 @@ function auxin_get_gallery_master_array( $master_array ) {
29
  'admin_enqueue_css' => '',
30
  'front_enqueue_js' => '',
31
  'front_enqueue_css' => '',
32
- 'icon' => 'aux-element aux-element-gallery',
33
  'custom_markup' => '',
34
  'js_view' => '',
35
  'html_template' => '',
29
  'admin_enqueue_css' => '',
30
  'front_enqueue_js' => '',
31
  'front_enqueue_css' => '',
32
+ 'icon' => 'aux-element aux-pb-icons-gallery',
33
  'custom_markup' => '',
34
  'js_view' => '',
35
  'html_template' => '',
includes/elements/gmap.php CHANGED
@@ -25,7 +25,7 @@ function auxin_get_gmap_master_array( $master_array ) {
25
  'admin_enqueue_css' => '',
26
  'front_enqueue_js' => '',
27
  'front_enqueue_css' => '',
28
- 'icon' => 'aux-element aux-element-google-maps',
29
  'custom_markup' => '',
30
  'js_view' => '',
31
  'html_template' => '',
25
  'admin_enqueue_css' => '',
26
  'front_enqueue_js' => '',
27
  'front_enqueue_css' => '',
28
+ 'icon' => 'aux-element aux-pb-icons-google-maps',
29
  'custom_markup' => '',
30
  'js_view' => '',
31
  'html_template' => '',
includes/elements/image.php CHANGED
@@ -29,7 +29,7 @@ function auxin_get_image_master_array( $master_array ) {
29
  'admin_enqueue_css' => '',
30
  'front_enqueue_js' => '',
31
  'front_enqueue_css' => '',
32
- 'icon' => 'aux-element aux-element-image',
33
  'custom_markup' => '',
34
  'js_view' => '',
35
  'html_template' => '',
29
  'admin_enqueue_css' => '',
30
  'front_enqueue_js' => '',
31
  'front_enqueue_css' => '',
32
+ 'icon' => 'aux-element aux-pb-icons-image',
33
  'custom_markup' => '',
34
  'js_view' => '',
35
  'html_template' => '',
includes/elements/instagram-feed.php CHANGED
@@ -29,7 +29,7 @@ function auxin_get_instagram_master_array( $master_array ) {
29
  'admin_enqueue_css' => '',
30
  'front_enqueue_js' => '',
31
  'front_enqueue_css' => '',
32
- 'icon' => 'aux-element aux-element-image',
33
  'custom_markup' => '',
34
  'js_view' => '',
35
  'html_template' => '',
29
  'admin_enqueue_css' => '',
30
  'front_enqueue_js' => '',
31
  'front_enqueue_css' => '',
32
+ 'icon' => 'aux-element aux-pb-icons-image',
33
  'custom_markup' => '',
34
  'js_view' => '',
35
  'html_template' => '',
includes/elements/latest-posts-slider.php CHANGED
@@ -29,7 +29,7 @@ function auxin_get_post_slider_master_array( $master_array ) {
29
  'admin_enqueue_css' => '',
30
  'front_enqueue_js' => '',
31
  'front_enqueue_css' => '',
32
- 'icon' => 'aux-element aux-element-post-slider',
33
  'custom_markup' => '',
34
  'js_view' => '',
35
  'html_template' => '',
29
  'admin_enqueue_css' => '',
30
  'front_enqueue_js' => '',
31
  'front_enqueue_css' => '',
32
+ 'icon' => 'aux-element aux-pb-icons-post-slider',
33
  'custom_markup' => '',
34
  'js_view' => '',
35
  'html_template' => '',
includes/elements/popular-posts-widget.php CHANGED
@@ -37,7 +37,7 @@ function auxin_get_popular_post_widget_master_array( $master_array ) {
37
  'admin_enqueue_css' => '',
38
  'front_enqueue_js' => '',
39
  'front_enqueue_css' => '',
40
- 'icon' => 'aux-element aux-element-code',
41
  'custom_markup' => '',
42
  'js_view' => '',
43
  'html_template' => '',
37
  'admin_enqueue_css' => '',
38
  'front_enqueue_js' => '',
39
  'front_enqueue_css' => '',
40
+ 'icon' => 'aux-element aux-pb-icons-code',
41
  'custom_markup' => '',
42
  'js_view' => '',
43
  'html_template' => '',
includes/elements/quote.php CHANGED
@@ -28,7 +28,7 @@ function auxin_get_quote_master_array( $master_array ) {
28
  'admin_enqueue_css' => '',
29
  'front_enqueue_js' => '',
30
  'front_enqueue_css' => '',
31
- 'icon' => 'aux-element aux-element-quote',
32
  'custom_markup' => '',
33
  'js_view' => '',
34
  'html_template' => '',
28
  'admin_enqueue_css' => '',
29
  'front_enqueue_js' => '',
30
  'front_enqueue_css' => '',
31
+ 'icon' => 'aux-element aux-pb-icons-quote',
32
  'custom_markup' => '',
33
  'js_view' => '',
34
  'html_template' => '',
includes/elements/recent-posts-grid-carousel.php CHANGED
@@ -43,7 +43,7 @@ function auxin_get_recent_posts_master_array( $master_array ) {
43
  'admin_enqueue_css' => '',
44
  'front_enqueue_js' => '',
45
  'front_enqueue_css' => '',
46
- 'icon' => 'aux-element aux-element-grid',
47
  'custom_markup' => '',
48
  'js_view' => '',
49
  'html_template' => '',
43
  'admin_enqueue_css' => '',
44
  'front_enqueue_js' => '',
45
  'front_enqueue_css' => '',
46
+ 'icon' => 'aux-element aux-pb-icons-grid',
47
  'custom_markup' => '',
48
  'js_view' => '',
49
  'html_template' => '',
includes/elements/recent-posts-land-style.php CHANGED
@@ -43,7 +43,7 @@ function auxin_get_recent_posts_land_master_array( $master_array ) {
43
  'admin_enqueue_css' => '',
44
  'front_enqueue_js' => '',
45
  'front_enqueue_css' => '',
46
- 'icon' => 'aux-element aux-element-land',
47
  'custom_markup' => '',
48
  'js_view' => '',
49
  'html_template' => '',
43
  'admin_enqueue_css' => '',
44
  'front_enqueue_js' => '',
45
  'front_enqueue_css' => '',
46
+ 'icon' => 'aux-element aux-pb-icons-land',
47
  'custom_markup' => '',
48
  'js_view' => '',
49
  'html_template' => '',
includes/elements/recent-posts-masonry.php CHANGED
@@ -43,7 +43,7 @@ function auxin_get_recent_posts_masonry_master_array( $master_array ) {
43
  'admin_enqueue_css' => '',
44
  'front_enqueue_js' => '',
45
  'front_enqueue_css' => '',
46
- 'icon' => 'aux-element aux-element-masonry',
47
  'custom_markup' => '',
48
  'js_view' => '',
49
  'html_template' => '',
43
  'admin_enqueue_css' => '',
44
  'front_enqueue_js' => '',
45
  'front_enqueue_css' => '',
46
+ 'icon' => 'aux-element aux-pb-icons-masonry',
47
  'custom_markup' => '',
48
  'js_view' => '',
49
  'html_template' => '',
includes/elements/recent-posts-tiles.php CHANGED
@@ -43,7 +43,7 @@ function auxin_get_recent_posts_tiles_master_array( $master_array ) {
43
  'admin_enqueue_css' => '',
44
  'front_enqueue_js' => '',
45
  'front_enqueue_css' => '',
46
- 'icon' => 'aux-element aux-element-tile',
47
  'custom_markup' => '',
48
  'js_view' => '',
49
  'html_template' => '',
43
  'admin_enqueue_css' => '',
44
  'front_enqueue_js' => '',
45
  'front_enqueue_css' => '',
46
+ 'icon' => 'aux-element aux-pb-icons-tile',
47
  'custom_markup' => '',
48
  'js_view' => '',
49
  'html_template' => '',
includes/elements/recent-posts-timeline.php CHANGED
@@ -37,7 +37,7 @@ function auxin_get_recent_posts_timeline_master_array( $master_array ) {
37
  'admin_enqueue_css' => '',
38
  'front_enqueue_js' => '',
39
  'front_enqueue_css' => '',
40
- 'icon' => 'aux-element aux-element-timeline',
41
  'custom_markup' => '',
42
  'js_view' => '',
43
  'html_template' => '',
37
  'admin_enqueue_css' => '',
38
  'front_enqueue_js' => '',
39
  'front_enqueue_css' => '',
40
+ 'icon' => 'aux-element aux-pb-icons-timeline',
41
  'custom_markup' => '',
42
  'js_view' => '',
43
  'html_template' => '',
includes/elements/recent-posts-widget.php CHANGED
@@ -43,7 +43,7 @@ function auxin_get_recent_post_widget_master_array( $master_array ) {
43
  'admin_enqueue_css' => '',
44
  'front_enqueue_js' => '',
45
  'front_enqueue_css' => '',
46
- 'icon' => 'aux-element aux-element-code',
47
  'custom_markup' => '',
48
  'js_view' => '',
49
  'html_template' => '',
43
  'admin_enqueue_css' => '',
44
  'front_enqueue_js' => '',
45
  'front_enqueue_css' => '',
46
+ 'icon' => 'aux-element aux-pb-icons-code',
47
  'custom_markup' => '',
48
  'js_view' => '',
49
  'html_template' => '',
includes/elements/search.php CHANGED
@@ -28,7 +28,7 @@ function auxin_get_search_master_array( $master_array ) {
28
  'admin_enqueue_css' => '',
29
  'front_enqueue_js' => '',
30
  'front_enqueue_css' => '',
31
- 'icon' => 'aux-element aux-element-search',
32
  'custom_markup' => '',
33
  'js_view' => '',
34
  'html_template' => '',
28
  'admin_enqueue_css' => '',
29
  'front_enqueue_js' => '',
30
  'front_enqueue_css' => '',
31
+ 'icon' => 'aux-element aux-pb-icons-search',
32
  'custom_markup' => '',
33
  'js_view' => '',
34
  'html_template' => '',
includes/elements/socials-list.php CHANGED
@@ -29,7 +29,7 @@ function auxin_get_social_master_array( $master_array ) {
29
  'admin_enqueue_css' => '',
30
  'front_enqueue_js' => '',
31
  'front_enqueue_css' => '',
32
- 'icon' => 'aux-element aux-element-socials',
33
  'custom_markup' => '',
34
  'js_view' => '',
35
  'html_template' => '',
29
  'admin_enqueue_css' => '',
30
  'front_enqueue_js' => '',
31
  'front_enqueue_css' => '',
32
+ 'icon' => 'aux-element aux-pb-icons-socials',
33
  'custom_markup' => '',
34
  'js_view' => '',
35
  'html_template' => '',
includes/elements/staff.php CHANGED
@@ -13,7 +13,7 @@
13
  function auxin_get_staff_master_array( $master_array ) {
14
 
15
  $master_array['aux_staff'] = array(
16
- 'name' => __('[Phlox] Staff ', 'auxin-elements'),
17
  'auxin_output_callback' => 'auxin_widget_staff_callback',
18
  'base' => 'aux_staff',
19
  'description' => __('You can display your Staffs as a customized widget,', 'auxin-elements'),
@@ -30,7 +30,7 @@ function auxin_get_staff_master_array( $master_array ) {
30
  'admin_enqueue_css' => '',
31
  'front_enqueue_js' => '',
32
  'front_enqueue_css' => '',
33
- 'icon' => 'aux-element aux-element-staff',
34
  'custom_markup' => '',
35
  'js_view' => '',
36
  'html_template' => '',
13
  function auxin_get_staff_master_array( $master_array ) {
14
 
15
  $master_array['aux_staff'] = array(
16
+ 'name' => __('Staff ', 'auxin-elements'),
17
  'auxin_output_callback' => 'auxin_widget_staff_callback',
18
  'base' => 'aux_staff',
19
  'description' => __('You can display your Staffs as a customized widget,', 'auxin-elements'),
30
  'admin_enqueue_css' => '',
31
  'front_enqueue_js' => '',
32
  'front_enqueue_css' => '',
33
+ 'icon' => 'aux-element aux-pb-icons-staff',
34
  'custom_markup' => '',
35
  'js_view' => '',
36
  'html_template' => '',
includes/elements/tabs.php CHANGED
@@ -30,7 +30,7 @@ function auxin_get_tabs_master_array( $master_array ) {
30
  'admin_enqueue_css' => '',
31
  'front_enqueue_js' => '',
32
  'front_enqueue_css' => '',
33
- 'icon' => 'aux-element aux-element-tab',
34
  'custom_markup' => '',
35
  'js_view' => '',
36
  'html_template' => '',
30
  'admin_enqueue_css' => '',
31
  'front_enqueue_js' => '',
32
  'front_enqueue_css' => '',
33
+ 'icon' => 'aux-element aux-pb-icons-tab',
34
  'custom_markup' => '',
35
  'js_view' => '',
36
  'html_template' => '',
includes/elements/testomonial.php CHANGED
@@ -13,7 +13,7 @@
13
  function auxin_get_testomonial_master_array( $master_array ) {
14
 
15
  $master_array['aux_testomonial'] = array(
16
- 'name' => __('[Phlox] Testomonial ', 'auxin-elements'),
17
  'auxin_output_callback' => 'auxin_widget_testomonial_callback',
18
  'base' => 'aux_testomonial',
19
  'description' => __('Testomonial Element', 'auxin-elements'),
@@ -31,7 +31,7 @@ function auxin_get_testomonial_master_array( $master_array ) {
31
  'admin_enqueue_css' => '',
32
  'front_enqueue_js' => '',
33
  'front_enqueue_css' => '',
34
- 'icon' => 'aux-element aux-element-testomonial',
35
  'custom_markup' => '',
36
  'js_view' => '',
37
  'html_template' => '',
13
  function auxin_get_testomonial_master_array( $master_array ) {
14
 
15
  $master_array['aux_testomonial'] = array(
16
+ 'name' => __('Testomonial ', 'auxin-elements'),
17
  'auxin_output_callback' => 'auxin_widget_testomonial_callback',
18
  'base' => 'aux_testomonial',
19
  'description' => __('Testomonial Element', 'auxin-elements'),
31
  'admin_enqueue_css' => '',
32
  'front_enqueue_js' => '',
33
  'front_enqueue_css' => '',
34
+ 'icon' => 'aux-element aux-pb-icons-testomonial',
35
  'custom_markup' => '',
36
  'js_view' => '',
37
  'html_template' => '',
includes/elements/text.php CHANGED
@@ -30,7 +30,7 @@ function auxin_get_text_master_array( $master_array ) {
30
  'admin_enqueue_css' => '',
31
  'front_enqueue_js' => '',
32
  'front_enqueue_css' => '',
33
- 'icon' => 'aux-element aux-element-text',
34
  'custom_markup' => '',
35
  'js_view' => '',
36
  'html_template' => '',
30
  'admin_enqueue_css' => '',
31
  'front_enqueue_js' => '',
32
  'front_enqueue_css' => '',
33
+ 'icon' => 'aux-element aux-pb-icons-text',
34
  'custom_markup' => '',
35
  'js_view' => '',
36
  'html_template' => '',
includes/elements/touch-slider.php CHANGED
@@ -30,7 +30,7 @@ function auxin_touch_slider_master_array( $master_array ) {
30
  'admin_enqueue_css' => '',
31
  'front_enqueue_js' => '',
32
  'front_enqueue_css' => '',
33
- 'icon' => 'aux-element aux-element-touch-slider',
34
  'custom_markup' => '',
35
  'js_view' => '',
36
  'html_template' => '',
30
  'admin_enqueue_css' => '',
31
  'front_enqueue_js' => '',
32
  'front_enqueue_css' => '',
33
+ 'icon' => 'aux-element aux-pb-icons-touch-slider',
34
  'custom_markup' => '',
35
  'js_view' => '',
36
  'html_template' => '',
includes/elements/video.php CHANGED
@@ -25,7 +25,7 @@ function auxin_get_video_master_array( $master_array ) {
25
  'admin_enqueue_css' => '',
26
  'front_enqueue_js' => '',
27
  'front_enqueue_css' => '',
28
- 'icon' => 'aux-element aux-element-video',
29
  'custom_markup' => '',
30
  'js_view' => '',
31
  'html_template' => '',
25
  'admin_enqueue_css' => '',
26
  'front_enqueue_js' => '',
27
  'front_enqueue_css' => '',
28
+ 'icon' => 'aux-element aux-pb-icons-video',
29
  'custom_markup' => '',
30
  'js_view' => '',
31
  'html_template' => '',
includes/general-functions.php CHANGED
@@ -1184,6 +1184,10 @@ function auxin_get_widget_scafold( $atts, $default_atts, $shortcode_content = ''
1184
  _doing_it_wrong( __FUNCTION__, 'For using ajax load more feature, "base" parameter in element default attributes is required.' );
1185
  }
1186
 
 
 
 
 
1187
  $ajax_args = $result['parsed_atts'];
1188
 
1189
  // remove redundant ajax args
1184
  _doing_it_wrong( __FUNCTION__, 'For using ajax load more feature, "base" parameter in element default attributes is required.' );
1185
  }
1186
 
1187
+ // Enqueue wp-mediaelement
1188
+ wp_enqueue_style ( 'wp-mediaelement' );
1189
+ wp_enqueue_script( 'wp-mediaelement' );
1190
+
1191
  $ajax_args = $result['parsed_atts'];
1192
 
1193
  // remove redundant ajax args
includes/general-hooks.php CHANGED
@@ -601,13 +601,12 @@ function auxin_add_theme_options_in_plugin( $fields_sections_list ){
601
  // Sub section - Login page customizer -------------------------------
602
 
603
  $fields_sections_list['sections'][] = array(
604
- 'id' => 'tools-section-login',
605
- 'parent' => 'tools-section', // section parent's id
606
- 'title' => __( 'Login Page', 'auxin-elements'),
607
- 'description' => __( 'Preview login page', 'auxin-elements') . ' '. sprintf(
608
- '<a href="%s" class="section-title-icon axicon-link-ext" target="_self" title="%s" ></a>',
609
- '?url='.wp_login_url(), __('Preview login page', 'auxin-elements')
610
- )
611
  );
612
 
613
 
601
  // Sub section - Login page customizer -------------------------------
602
 
603
  $fields_sections_list['sections'][] = array(
604
+ 'id' => 'tools-section-login',
605
+ 'parent' => 'tools-section', // section parent's id
606
+ 'title' => __( 'Login Page', 'auxin-elements' ),
607
+ 'description' => __( 'Login page Options', 'auxin-elements' )
608
+ //'description' => __( 'Preview login page', 'auxin-elements' ),
609
+ //'preview_link' => wp_login_url()
 
610
  );
611
 
612