Shortcodes and extra features for Phlox theme - Version 2.7.3

Version Description

Download this release

Release Info

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

Code changes from version 2.7.2 to 2.7.3

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.5.0
10
- Stable tag: 2.7.2
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl.html
13
 
7
  Requires PHP: 5.4
8
  Requires at least: 4.6
9
  Tested up to: 5.5.0
10
+ Stable tag: 2.7.3
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl.html
13
 
admin/assets/js/plugins.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! Phlox Core Plugin - v2.7.2 (2020-11)
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.7.3 (2020-12)
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!
auxin-elements.php CHANGED
@@ -12,7 +12,7 @@
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.7.2
16
  * Author: averta
17
  * Author URI: http://averta.net
18
  * Text Domain: auxin-elements
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.7.3
16
  * Author: averta
17
  * Author URI: http://averta.net
18
  * Text Domain: auxin-elements
includes/define.php CHANGED
@@ -12,7 +12,7 @@ if( ! defined( 'THEME_NAME' ) ){
12
  }
13
 
14
 
15
- define( 'AUXELS_VERSION' , '2.7.2' );
16
 
17
  define( 'AUXELS_SLUG' , 'auxin-elements' );
18
 
12
  }
13
 
14
 
15
+ define( 'AUXELS_VERSION' , '2.7.3' );
16
 
17
  define( 'AUXELS_SLUG' , 'auxin-elements' );
18
 
includes/general-hooks.php CHANGED
@@ -3356,10 +3356,10 @@ add_filter( 'woocommerce_loop_add_to_cart_args', 'auxels_enable_woocommerce_ajax
3356
  /* Change Products Title Dom
3357
  /*-----------------------------------------------------------------------------------*/
3358
  add_action( 'init', 'auxin_remove_default_woocommerce_product_title' );
3359
-
3360
  function auxin_remove_default_woocommerce_product_title() {
3361
  remove_action( 'woocommerce_shop_loop_item_title', 'woocommerce_template_loop_product_title', 10 );
3362
- add_action( 'woocommerce_shop_loop_item_title', 'auxin_woocommerce_template_loop_product_title', 10 );
3363
  }
3364
 
3365
  function auxin_woocommerce_template_loop_product_title() {
@@ -3563,10 +3563,10 @@ add_action( 'admin_bar_menu', 'auxin_add_admin_bar_header_footer_edit_link', 100
3563
 
3564
  function auxin_add_admin_bar_header_footer_edit_link() {
3565
  global $wp_admin_bar, $post;
3566
-
3567
  if ( !is_super_admin() || !is_admin_bar_showing() || is_admin() )
3568
  return;
3569
-
3570
  if ( 'default' === $use_legacy_header = auxin_get_post_meta( $post, 'page_header_use_legacy', 'default' ) ) {
3571
  $use_legacy_header = auxin_get_option('site_header_use_legacy');
3572
  }
@@ -3579,14 +3579,14 @@ function auxin_add_admin_bar_header_footer_edit_link() {
3579
 
3580
  if ( get_post_type( $post ) == 'page' ) {
3581
  if ( ! auxin_is_true( $use_legacy_header) && ( $current_header = auxin_get_post_meta( $post, 'page_elementor_header_template' ) ) && is_numeric( $current_header ) ) {
3582
- $template['current']['header'] = $current_header;
3583
  }
3584
 
3585
  if ( ! auxin_is_true( $use_legacy_footer) && ( $current_footer = auxin_get_post_meta( $post, 'page_elementor_footer_template' ) ) && is_numeric( $current_footer ) ) {
3586
- $template['current']['footer'] = $current_footer;
3587
  }
3588
  }
3589
-
3590
  if ( ! auxin_is_true( auxin_get_option('site_header_use_legacy') ) && $global_header = auxin_get_option('site_elementor_header_template', '' ) ) {
3591
  $template['global']['header'] = $global_header;
3592
  }
@@ -3606,9 +3606,9 @@ function auxin_add_admin_bar_header_footer_edit_link() {
3606
  'href' => get_edit_post_link( $value ),
3607
  'meta' => [
3608
  'target' => '_blank'
3609
- ]
3610
  ];
3611
- }
3612
  }
3613
 
3614
  if ( ! empty( $template['global'] ) ) {
@@ -3622,9 +3622,9 @@ function auxin_add_admin_bar_header_footer_edit_link() {
3622
  'href' => get_edit_post_link( $value ),
3623
  'meta' => [
3624
  'target' => '_blank'
3625
- ]
3626
  ];
3627
- }
3628
  }
3629
 
3630
  if ( ! empty( $args ) ) {
@@ -3640,4 +3640,10 @@ function auxin_add_admin_bar_header_footer_edit_link() {
3640
  $wp_admin_bar->add_node( $arg );
3641
  }
3642
  }
3643
- }
 
 
 
 
 
 
3356
  /* Change Products Title Dom
3357
  /*-----------------------------------------------------------------------------------*/
3358
  add_action( 'init', 'auxin_remove_default_woocommerce_product_title' );
3359
+
3360
  function auxin_remove_default_woocommerce_product_title() {
3361
  remove_action( 'woocommerce_shop_loop_item_title', 'woocommerce_template_loop_product_title', 10 );
3362
+ add_action( 'woocommerce_shop_loop_item_title', 'auxin_woocommerce_template_loop_product_title', 10 );
3363
  }
3364
 
3365
  function auxin_woocommerce_template_loop_product_title() {
3563
 
3564
  function auxin_add_admin_bar_header_footer_edit_link() {
3565
  global $wp_admin_bar, $post;
3566
+
3567
  if ( !is_super_admin() || !is_admin_bar_showing() || is_admin() )
3568
  return;
3569
+
3570
  if ( 'default' === $use_legacy_header = auxin_get_post_meta( $post, 'page_header_use_legacy', 'default' ) ) {
3571
  $use_legacy_header = auxin_get_option('site_header_use_legacy');
3572
  }
3579
 
3580
  if ( get_post_type( $post ) == 'page' ) {
3581
  if ( ! auxin_is_true( $use_legacy_header) && ( $current_header = auxin_get_post_meta( $post, 'page_elementor_header_template' ) ) && is_numeric( $current_header ) ) {
3582
+ $template['current']['header'] = $current_header;
3583
  }
3584
 
3585
  if ( ! auxin_is_true( $use_legacy_footer) && ( $current_footer = auxin_get_post_meta( $post, 'page_elementor_footer_template' ) ) && is_numeric( $current_footer ) ) {
3586
+ $template['current']['footer'] = $current_footer;
3587
  }
3588
  }
3589
+
3590
  if ( ! auxin_is_true( auxin_get_option('site_header_use_legacy') ) && $global_header = auxin_get_option('site_elementor_header_template', '' ) ) {
3591
  $template['global']['header'] = $global_header;
3592
  }
3606
  'href' => get_edit_post_link( $value ),
3607
  'meta' => [
3608
  'target' => '_blank'
3609
+ ]
3610
  ];
3611
+ }
3612
  }
3613
 
3614
  if ( ! empty( $template['global'] ) ) {
3622
  'href' => get_edit_post_link( $value ),
3623
  'meta' => [
3624
  'target' => '_blank'
3625
+ ]
3626
  ];
3627
+ }
3628
  }
3629
 
3630
  if ( ! empty( $args ) ) {
3640
  $wp_admin_bar->add_node( $arg );
3641
  }
3642
  }
3643
+ }
3644
+
3645
+ function auxels_add_svg_upload_permission( $mimes ){
3646
+ $mimes['svg'] = 'image/svg+xml';
3647
+ return $mimes;
3648
+ }
3649
+ add_filter( 'upload_mimes', 'auxels_add_svg_upload_permission' );
languages/auxin-elements-fa_IR.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Auxin Essential Elements\n"
4
  "Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
5
- "POT-Creation-Date: 2020-11-08 09:19:55+00:00\n"
6
  "PO-Revision-Date: 2016-11-09 12:50+0330\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
2
  msgstr ""
3
  "Project-Id-Version: Auxin Essential Elements\n"
4
  "Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
5
+ "POT-Creation-Date: 2020-12-01 10:52:05+00:00\n"
6
  "PO-Revision-Date: 2016-11-09 12:50+0330\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
languages/auxin-elements.pot CHANGED
@@ -1,9 +1,9 @@
1
  # Averta Copyright (c) {2020}
2
  msgid ""
3
  msgstr ""
4
- "Project-Id-Version: Phlox Core Elements 2.7.2\n"
5
  "Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
6
- "POT-Creation-Date: 2020-11-08 09:19:55+00:00\n"
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=utf-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
1
  # Averta Copyright (c) {2020}
2
  msgid ""
3
  msgstr ""
4
+ "Project-Id-Version: Phlox Core Elements 2.7.3\n"
5
  "Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
6
+ "POT-Creation-Date: 2020-12-01 10:52:05+00:00\n"
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=utf-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
public/assets/js/plugins.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! Phlox Core Plugin - v2.7.2 (2020-11)
2
  * All required plugins
3
  * http://phlox.pro/
4
  */
1
+ /*! Phlox Core Plugin - v2.7.3 (2020-12)
2
  * All required plugins
3
  * http://phlox.pro/
4
  */