Version Description
- FIXED: Fatal error clash with Storefront on checking if WooCommerce is active.
Download this release
Release Info
| Developer | WPDevHQ |
| Plugin | |
| Version | 1.0.3 |
| Comparing to | |
| See all releases | |
Code changes from version 1.0.2 to 1.0.3
- README.md +4 -1
- eaw-class.php +4 -1
- elementor-addon-widgets.php +3 -3
- readme.txt +7 -4
README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
**Tags:** elementor, pagebuilder, page builder, page builder template, page builder templates, woocommerce, template builder, builder templates
|
| 6 |
**Requires at least:** 4.4
|
| 7 |
**Tested up to:** 4.6.1
|
| 8 |
-
**Stable tag:** 1.0.
|
| 9 |
**License:** GPLv3
|
| 10 |
**License URI:** https://www.gnu.org/licenses/gpl-3.0.html
|
| 11 |
|
|
@@ -54,6 +54,9 @@ See this [issue #495](https://github.com/pojome/elementor/issues/495) for curren
|
|
| 54 |
|
| 55 |
## Changelog ##
|
| 56 |
|
|
|
|
|
|
|
|
|
|
| 57 |
### 1.0.2 ###
|
| 58 |
* New: Recent Posts By Category
|
| 59 |
* Tweaks: CSS adjustments so that widget title when set does not break column layout
|
| 5 |
**Tags:** elementor, pagebuilder, page builder, page builder template, page builder templates, woocommerce, template builder, builder templates
|
| 6 |
**Requires at least:** 4.4
|
| 7 |
**Tested up to:** 4.6.1
|
| 8 |
+
**Stable tag:** 1.0.3
|
| 9 |
**License:** GPLv3
|
| 10 |
**License URI:** https://www.gnu.org/licenses/gpl-3.0.html
|
| 11 |
|
| 54 |
|
| 55 |
## Changelog ##
|
| 56 |
|
| 57 |
+
### 1.0.3 ###
|
| 58 |
+
* FIXED: Fatal error clash with Storefront on checking if WooCommerce is active.
|
| 59 |
+
|
| 60 |
### 1.0.2 ###
|
| 61 |
* New: Recent Posts By Category
|
| 62 |
* Tweaks: CSS adjustments so that widget title when set does not break column layout
|
eaw-class.php
CHANGED
|
@@ -56,6 +56,9 @@
|
|
| 56 |
add_action( 'wp_enqueue_scripts', array( $this, 'eaw_styles' ), 999 );
|
| 57 |
|
| 58 |
}
|
|
|
|
|
|
|
|
|
|
| 59 |
|
| 60 |
/**
|
| 61 |
* WooCommerce Widget section
|
|
@@ -63,7 +66,7 @@
|
|
| 63 |
* @return void
|
| 64 |
*/
|
| 65 |
public static function eaw_addon_woo_widgets() {
|
| 66 |
-
if (
|
| 67 |
include_once( plugin_dir_path( __FILE__ ) . 'widgets/woo/products-categories.php' );
|
| 68 |
include_once( plugin_dir_path( __FILE__ ) . 'widgets/woo/recent-products.php' );
|
| 69 |
include_once( plugin_dir_path( __FILE__ ) . 'widgets/woo/featured-products.php' );
|
| 56 |
add_action( 'wp_enqueue_scripts', array( $this, 'eaw_styles' ), 999 );
|
| 57 |
|
| 58 |
}
|
| 59 |
+
//public static function eaw_is_woocommerce_active() {
|
| 60 |
+
//return class_exists( 'woocommerce' ) ? true : false;
|
| 61 |
+
//}
|
| 62 |
|
| 63 |
/**
|
| 64 |
* WooCommerce Widget section
|
| 66 |
* @return void
|
| 67 |
*/
|
| 68 |
public static function eaw_addon_woo_widgets() {
|
| 69 |
+
if ( eaw_is_woocommerce_active() ) { // Lets not do anything unless WooCommerce is active!
|
| 70 |
include_once( plugin_dir_path( __FILE__ ) . 'widgets/woo/products-categories.php' );
|
| 71 |
include_once( plugin_dir_path( __FILE__ ) . 'widgets/woo/recent-products.php' );
|
| 72 |
include_once( plugin_dir_path( __FILE__ ) . 'widgets/woo/featured-products.php' );
|
elementor-addon-widgets.php
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
* Plugin Name: Elementor Addon Widgets
|
| 5 |
* Plugin URI: http://www.wpdevhq.com/plugins/elementor-addon-widgets
|
| 6 |
* Description: A helper plugin for users of Elementor Pagebuilder.
|
| 7 |
-
* Version: 1.0.
|
| 8 |
* Author: WPDevHQ
|
| 9 |
* Author URI: http://www.wpdevhq.com/
|
| 10 |
* Requires at least: 4.4
|
|
@@ -32,9 +32,9 @@ require_once( EA_PATH . 'eaw-class.php' );
|
|
| 32 |
/**
|
| 33 |
* Query WooCommerce activation
|
| 34 |
*/
|
| 35 |
-
if ( ! function_exists( '
|
| 36 |
|
| 37 |
-
function
|
| 38 |
return class_exists( 'woocommerce' ) ? true : false;
|
| 39 |
}
|
| 40 |
|
| 4 |
* Plugin Name: Elementor Addon Widgets
|
| 5 |
* Plugin URI: http://www.wpdevhq.com/plugins/elementor-addon-widgets
|
| 6 |
* Description: A helper plugin for users of Elementor Pagebuilder.
|
| 7 |
+
* Version: 1.0.3
|
| 8 |
* Author: WPDevHQ
|
| 9 |
* Author URI: http://www.wpdevhq.com/
|
| 10 |
* Requires at least: 4.4
|
| 32 |
/**
|
| 33 |
* Query WooCommerce activation
|
| 34 |
*/
|
| 35 |
+
if ( ! function_exists( 'eaw_is_woocommerce_active' ) ) {
|
| 36 |
|
| 37 |
+
function eaw_is_woocommerce_active() {
|
| 38 |
return class_exists( 'woocommerce' ) ? true : false;
|
| 39 |
}
|
| 40 |
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Contributors: WPDevHQ
|
|
| 4 |
Tags: elementor, pagebuilder, page builder, page builder template, page builder templates, woocommerce, template builder, builder templates
|
| 5 |
Requires at least: 4.4
|
| 6 |
Tested up to: 4.6.1
|
| 7 |
-
Stable tag: 1.0.
|
| 8 |
License: GPLv3
|
| 9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
| 10 |
|
|
@@ -62,14 +62,17 @@ See this [issue #495](https://github.com/pojome/elementor/issues/495) for curren
|
|
| 62 |
|
| 63 |
== Changelog ==
|
| 64 |
|
| 65 |
-
|
|
|
|
|
|
|
|
|
|
| 66 |
* New: Recent Posts By Category
|
| 67 |
* Tweaks: CSS adjustments so that widget title when set does not break column layout
|
| 68 |
|
| 69 |
-
|
| 70 |
* New: Recent Posts Widget
|
| 71 |
|
| 72 |
-
|
| 73 |
* Initial release.
|
| 74 |
|
| 75 |
Copyright: WPDevHQ http://www.wpdevhq.com
|
| 4 |
Tags: elementor, pagebuilder, page builder, page builder template, page builder templates, woocommerce, template builder, builder templates
|
| 5 |
Requires at least: 4.4
|
| 6 |
Tested up to: 4.6.1
|
| 7 |
+
Stable tag: 1.0.3
|
| 8 |
License: GPLv3
|
| 9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
| 10 |
|
| 62 |
|
| 63 |
== Changelog ==
|
| 64 |
|
| 65 |
+
= 1.0.3 =
|
| 66 |
+
* FIXED: Fatal error clash with Storefront on checking if WooCommerce is active.
|
| 67 |
+
|
| 68 |
+
= 1.0.2 =
|
| 69 |
* New: Recent Posts By Category
|
| 70 |
* Tweaks: CSS adjustments so that widget title when set does not break column layout
|
| 71 |
|
| 72 |
+
= 1.0.1 =
|
| 73 |
* New: Recent Posts Widget
|
| 74 |
|
| 75 |
+
= 1.0.0 =
|
| 76 |
* Initial release.
|
| 77 |
|
| 78 |
Copyright: WPDevHQ http://www.wpdevhq.com
|
