Version Description
- Fix: Buttons showing cart subtotal.
Download this release
Release Info
Developer | Nikschavan |
Plugin | Header Footer Elementor |
Version | 1.5.6 |
Comparing to | |
See all releases |
Code changes from version 1.5.5 to 1.5.6
header-footer-elementor.php
CHANGED
@@ -7,14 +7,14 @@
|
|
7 |
* Author URI: https://www.brainstormforce.com/
|
8 |
* Text Domain: header-footer-elementor
|
9 |
* Domain Path: /languages
|
10 |
-
* Version: 1.5.
|
11 |
* Elementor tested up to: 3.1.0
|
12 |
* Elementor Pro tested up to: 3.0.9
|
13 |
*
|
14 |
* @package header-footer-elementor
|
15 |
*/
|
16 |
|
17 |
-
define( 'HFE_VER', '1.5.
|
18 |
define( 'HFE_DIR', plugin_dir_path( __FILE__ ) );
|
19 |
define( 'HFE_URL', plugins_url( '/', __FILE__ ) );
|
20 |
define( 'HFE_PATH', plugin_basename( __FILE__ ) );
|
7 |
* Author URI: https://www.brainstormforce.com/
|
8 |
* Text Domain: header-footer-elementor
|
9 |
* Domain Path: /languages
|
10 |
+
* Version: 1.5.6
|
11 |
* Elementor tested up to: 3.1.0
|
12 |
* Elementor Pro tested up to: 3.0.9
|
13 |
*
|
14 |
* @package header-footer-elementor
|
15 |
*/
|
16 |
|
17 |
+
define( 'HFE_VER', '1.5.6' );
|
18 |
define( 'HFE_DIR', plugin_dir_path( __FILE__ ) );
|
19 |
define( 'HFE_URL', plugins_url( '/', __FILE__ ) );
|
20 |
define( 'HFE_PATH', plugin_basename( __FILE__ ) );
|
inc/widgets-manager/class-widgets-loader.php
CHANGED
@@ -217,7 +217,7 @@ class Widgets_Loader {
|
|
217 |
|
218 |
$fragments['span.hfe-cart-count'] = '<span class="hfe-cart-count">' . WC()->cart->get_cart_contents_count() . '</span>';
|
219 |
|
220 |
-
$fragments['span.elementor-button-text'] = '<span class="elementor-button-text">' . WC()->cart->get_cart_subtotal() . '</span>';
|
221 |
}
|
222 |
|
223 |
$fragments['span.elementor-button-icon[data-counter]'] = '<span class="elementor-button-icon" data-counter="' . $cart_badge_count . '"><i class="eicon" aria-hidden="true"></i><span class="elementor-screen-only">' . __( 'Cart', 'header-footer-elementor' ) . '</span></span>';
|
217 |
|
218 |
$fragments['span.hfe-cart-count'] = '<span class="hfe-cart-count">' . WC()->cart->get_cart_contents_count() . '</span>';
|
219 |
|
220 |
+
$fragments['span.elementor-button-text.hfe-subtotal'] = '<span class="elementor-button-text hfe-subtotal">' . WC()->cart->get_cart_subtotal() . '</span>';
|
221 |
}
|
222 |
|
223 |
$fragments['span.elementor-button-icon[data-counter]'] = '<span class="elementor-button-icon" data-counter="' . $cart_badge_count . '"><i class="eicon" aria-hidden="true"></i><span class="elementor-screen-only">' . __( 'Cart', 'header-footer-elementor' ) . '</span></span>';
|
inc/widgets-manager/widgets/class-cart.php
CHANGED
@@ -640,7 +640,7 @@ class Cart extends Widget_Base {
|
|
640 |
<div class="hfe-menu-cart__toggle elementor-button-wrapper">
|
641 |
<a id="hfe-menu-cart__toggle_button" href="<?php echo esc_url( wc_get_cart_url() ); ?>" class="elementor-button hfe-cart-container">
|
642 |
<?php if ( null !== WC()->cart ) { ?>
|
643 |
-
<span class="elementor-button-text">
|
644 |
<?php echo WC()->cart->get_cart_subtotal(); ?>
|
645 |
</span>
|
646 |
<?php } ?>
|
640 |
<div class="hfe-menu-cart__toggle elementor-button-wrapper">
|
641 |
<a id="hfe-menu-cart__toggle_button" href="<?php echo esc_url( wc_get_cart_url() ); ?>" class="elementor-button hfe-cart-container">
|
642 |
<?php if ( null !== WC()->cart ) { ?>
|
643 |
+
<span class="elementor-button-text hfe-subtotal">
|
644 |
<?php echo WC()->cart->get_cart_subtotal(); ?>
|
645 |
</span>
|
646 |
<?php } ?>
|
languages/header-footer-elementor.pot
CHANGED
@@ -2,10 +2,10 @@
|
|
2 |
# This file is distributed under the same license as the Elementor - Header, Footer & Blocks package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Elementor - Header, Footer & Blocks 1.5.
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://wordpress.org/support/plugin/header-footer-elementor\n"
|
8 |
-
"POT-Creation-Date: 2021-01-
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
2 |
# This file is distributed under the same license as the Elementor - Header, Footer & Blocks package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Elementor - Header, Footer & Blocks 1.5.6\n"
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://wordpress.org/support/plugin/header-footer-elementor\n"
|
8 |
+
"POT-Creation-Date: 2021-01-19 12:31:14+00:00\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Donate link: https://www.paypal.me/BrainstormForce
|
|
5 |
Requires at least: 4.4
|
6 |
Requires PHP: 5.4
|
7 |
Tested up to: 5.6
|
8 |
-
Stable tag: 1.5.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -137,6 +137,9 @@ This same applies when you are creating your Header/Footer using this plugin.
|
|
137 |
5. Default widgets available with Elementor – Header, Footer & Blocks.
|
138 |
|
139 |
== Changelog ==
|
|
|
|
|
|
|
140 |
= 1.5.5 =
|
141 |
- Improvement: Compatibility with Elementor v3.1.
|
142 |
- Improvement: Cart - Added Items Count hover color options.
|
5 |
Requires at least: 4.4
|
6 |
Requires PHP: 5.4
|
7 |
Tested up to: 5.6
|
8 |
+
Stable tag: 1.5.6
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
137 |
5. Default widgets available with Elementor – Header, Footer & Blocks.
|
138 |
|
139 |
== Changelog ==
|
140 |
+
= 1.5.6 =
|
141 |
+
- Fix: Buttons showing cart subtotal.
|
142 |
+
|
143 |
= 1.5.5 =
|
144 |
- Improvement: Compatibility with Elementor v3.1.
|
145 |
- Improvement: Cart - Added Items Count hover color options.
|