Mô tả
Make WooCommerce Notices Compatible with all Cache Plugins using a Redirection with a ?woonotice=yes parameter and avoid to be cached.
Cài đặt
- Upload the plugin to the “/wp-content/plugins/” directory
- Activate the plugin through the “Plugins” menu in WordPress
- Done.
Hỏi đáp
-
Which Notices are you talking about?
Some themes are using the dedicated WooCommerce hooks named ‘woocommerce_before_shop_loop’ & ‘woocommerce_before_single_product’.
The problem is that WooCommerce will print its notices in PHP.
If you’re using a caching plugin, like WP Rocket, or you won’t get the notices, or the notices will be stored into the cached files. -
Ok, so what kind of fix this is?
I detect when WooCommerce need to print a notices, then i reload the same URL adding a GET parameter, this tip avoid pages to be cached or read from cache.
Đánh giá
Không có đánh giá nào cho plugin này.
Người đóng góp & Lập trình viên
“WooCommerce Notices Fix” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng gópDịch “WooCommerce Notices Fix” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
0.1
- 19 oct 2014
- First release