Mircea Sandu
Forum Replies Created
-
Thank you @tarpagad we’re happy to hear WPCode is working well for you
Hi @chengjianping,
It’s difficult to determine what is causing that without more context into your site’s configuration but the first thing I suggest checking is the WooCommerce GeoLocation option.
WooCommerce adds that automatically to bypass your site’s cache in order to be able to determine the visitor’s location reliably.
You can either disable that or update your site’s configuration, I suggest reaching out to WooCommerce support if that is causing this as it’s something they can help with and if they suggest a code snippet we’re happy to help you set it up with WPCode.
Thank you @chgrnet we’re happy to hear you like WPCode.
Thank you @bm956937 it’s great to hear WPCode is helpful.
Thank you @rmpixel it gives us great joy to hear WPCode is simplifying your workflows
Thank you @markwilliamsonwp it’s great to hear WPCode is helpful
Thank you @ugobest112, we are very happy to hear WPCode is helpful!
Hi @babydu,
I’m not familiar with the hooks from the Astra theme that you mentioned, in general, in WordPress, hooks refer to actions or filters that can be used to extend functionality in specific places: https://developer.www.ads-software.com/plugins/hooks/
You can use code snippets to add code that leverages the hooks or you can use the functions.php file to achieve that, the difference in this case is in how that code is managed.
Let me know if I misunderstood your question.
Thank you @aitorserra, we’re very happy to hear you like WPCode
Hi @babydu,
We structured the plugin such that you should see no difference in performance when compared to loading the same code from a child theme. All snippets are preloaded efficiently.
WPCode can do a lot more than simply adding code in the same way you can in the functions.php file but one important benefit, if you already have a child theme, is that if your code in functions.php throws a fatal error you will have to go through FTP to update your file while WPCode has error protection built-in and even in the rare cases where WPCode can’t catch an error you can use the WPCode safe mode to immediately update your code directly from the admin.
On top of all that, WPCode comes with built-in Auto-Insert Locations and Conditional Logic that reduce the size of the code that you have to maintain, and, you can also add non-php snippets for HTML, CSS, JS directly from the admin without having to write the logic for those in the functions.php file.
Let me know if I can provide more info.
Thank you @ulfric09 we’re very happy to hear you find the plugin useful
Thank you @frontgrafic it’s great to hear you find WPCode useful
Thank you @kelly64 happy to hear WPCode is helpful for you!
Thank you @sergemeunier!
Thank you @pigus we’re very happy to hear WPCode is helpful!