Ben
Forum Replies Created
-
Good job! Thank you!
Hi. I’ve emailed you access to a development site where you can replicate the issue and hopefully debug what’s going on. Please check your support inbox.
Forum: Plugins
In reply to: [EWWW Image Optimizer] WooCommerce image gallery does not support webpI’ve decided not to use WC’s gallery and instead build my own. More control ??
But thank you
Forum: Plugins
In reply to: [EWWW Image Optimizer] WooCommerce image gallery does not support webpWhat was the outcome of this? I have a similar situation.
For the gallery images (not thumbnails) I think WC’s wc_get_gallery_image_html function messes with the attributes passed to wp_get_attachment_image. If I stop it doing that then it breaks the gallery functionality (obviously) but ewww’s “Picture WebP Rewriting” functionality works as expect.
Perhaps the two aren’t compatible.
I would welcome your input though. Thanks
Forum: Reviews
In reply to: [Show Variations as Single Products Woocommerce] Works but poorly writtenHi @cmcontato. I’ve put my adaptation onto github.
https://github.com/benrich/show-variations-on-shop-category-wooCommerce
I think it’ll only be useful to you if you’re a developer and want to go through and understand it. I unfortunately don’t have the time to polish it and make it plug and play.
It works on my site but I haven’t tried it on another wordpress install. Although I don’t see why it wouldn’t work.
Good luck!
Forum: Reviews
In reply to: [Show Variations as Single Products Woocommerce] Works but poorly writtenI can send you my files if you want to have a look. Can you send get me your email address? If not I can probably put them on github
- This reply was modified 3 years, 7 months ago by Ben.
Forum: Reviews
In reply to: [Show Variations as Single Products Woocommerce] Works but poorly writtenHi @donbebeno. Not really. Well, kind of.
I ended up using the plugin as inspiration for my own plugin. My requirements mean I was able to strip out a lof of the functionality. ?I also changed the overall logic meaning that the Cron class isn’t needed.
I can elaborate if needed ??
Forum: Plugins
In reply to: [WooCommerce] Importing Variation CategoriesIgnore this. Turns out the problem is unrelated to WC
Found my answer
add_action('wp', 'my_function_name'); function my_function_name() { remove_filter('style_loader_src', array('WP_Optimize_Minify_Functions', 'remove_cssjs_ver')); }
Forum: Plugins
In reply to: [Nginx Helper] nginx purge stopped working after upgrade to 5.6.2I’ve installed the plugin (and fastcgi_cache_purge) for the first time today. Similarly, I have no access logs to /purge/ when I update a post.
If however I navigate manually to example.com/purge/ I get the Successful Purge page and can see those access logs.
A nice quick reply. Thank you.
Unfortunately using the default option isn’t useful in my case as I don’t want to select a default. I want the customer to have to choose.
I guess what I’m after is “include the variation with the lowest price”. If there are many then ignore duplicates. Meaning the feed would show Variable Products as if they were Simple Products.
It sounds like this isn’t possible right now. That’s fine. Maybe treat it as a feature request?
Thanks again!
Forum: Fixing WordPress
In reply to: Error: [] cURL error 7:Hi @diddy512. Yeah I pondered the same solution. Like you though, I don’t know if it’s the ‘right’ way to solve it. I read somewhere there could be a performance problem (infinite redirects) but I’m unsure on that. If no better solution appears I’ll likely edit the hosts file.
- This reply was modified 4 years, 1 month ago by Ben.
Forum: Fixing WordPress
In reply to: Error: [] cURL error 7:I have a similar issue. I don’t know if you lot have a similar cause.
I’m pretty sure for me it’s because my WP install is on a docker container that sits behind a reverse proxy. The curl requests are to the website domain and that domain resolves to localhost. The localhost container doesn’t deal with HTTPS as that’s the job of the reserve proxy.
I haven’t found a solution yet :/
Forum: Plugins
In reply to: [Contact Form 7 Captcha] Captcha Loading 300+kb on every pageThis looks like a good place to start
https://contactform7.com/loading-javascript-and-stylesheet-only-when-it-is-necessary/
Forum: Plugins
In reply to: [WP REST API (WP API)] Syntax for including post_meta when creating a postI use Pods a lot so it’s very possible it was installed. (thanks for the contribution!)