Jim
Forum Replies Created
-
Sounds good. Thanks!
Forum: Plugins
In reply to: [Login Security Captcha] As far as we can tell this plugin is not working.Sorry about that. We looked over several options before trying this one. I signed up and was under the impression it covered both wordpress and woocommerce. I can see by reading the plugin page, it does not.
Thank you for your help, James. This is the first time we have ever encountered something like this. Our problem is the Bot signing up for accounts. How can we stop this? They are even using the same e-mail addresses. Over again and over again. At this time, we only want to deal with this issue. It would be very helpful to have the IPs of your users. It would be nice if WordPress would do that.
Hey @babylon1999,
Thanks for you help.
The script is replacing this:
if ( class_exists( ‘WooCommerce’ ) && ( is_product_category() || is_shop() || is_product() ) ) {
With this.
if ( class_exists( ‘WooCommerce’ ) && ( is_product() ) ) {
You are eliminating two checks. It will unlikely make a huge difference speed wise but it is simpler and seems to accomplish the same thing.
Thanks @babylon1999
What do you guys think of this? I used some of my video game coding experience. Minize code to make it as fast as possible. It is working fine. Do you see a problem?
// Properly Size Images Start function set_max_srcset_width( $max_width ) { if ( class_exists( 'WooCommerce' ) && ( is_product() ) ) { // if ( class_exists( 'WooCommerce' ) && ( is_product_category() || is_shop() ) ) { $max_width = 324; } else { $max_width = 768; } return $max_width; } add_filter( 'max_srcset_image_width', 'set_max_srcset_width' ); // Properly Size Images End
Well this is interesting. I manually checked all the pages. Home page, Categories and individual product and all of the images are the correct size 324 x 324 but google is saying they are not on the home page or shop page, just the product page. As mentioned the images are the same size on all pages now. 324 x 324. Gtmetrics also. But the actual thumbnail is 324 x 324.
Hey Pepe, @anastas10s
Thanks for your help as always. This is interesting. I took a look at Etsy, Ebay and Amazon. They all use catalog images in the 300 x 300 range, unless they have a code that checks for high-res displays. Something to think about. We adjusted the images using the code below.
function set_max_srcset_width( $max_width ) {
if ( class_exists( ‘WooCommerce’ ) && ( is_product_category() || is_shop() ) ) {
$max_width = 324;
} else {
$max_width = 768;
}
return $max_width;
}
add_filter( ‘max_srcset_image_width’, ‘set_max_srcset_width’ );
Just discovered this code does not work on the product page. All of the related products are 786 when displayed at 324.
Forum: Themes and Templates
In reply to: [Storefront] Adding author box without plugin.@pauloarromba Thanks, we have not gotten around to doing this yet. That does seem like the better way to go.
Forum: Themes and Templates
In reply to: [Storefront] Adding author box without plugin.@anastas10s We searched for a long time for another option. All we could find was the same code that went on the single.php page, or for plugins. The information on that page should do the trick. It has a different code that goes on a completely different page. Thanks
Forum: Themes and Templates
In reply to: [Storefront] How to center the title on enlarged product imageHello, Yes we cleared the catch and we do not show the cached version when we are logged in. We cleared the cache in Fastest Cache also. We are using brave browser which is basically chrome. We do not use chrome. If that was taken in chrome then it would seem that is the issue. Thanks for the help. ??
Forum: Themes and Templates
In reply to: [Storefront] How to center the title on enlarged product imageHey @roxannestoltz
We already left you guys a good review. And were happy to do it. Strange issue. This does not seem to work with a chrome browser. If you wanted to have a look you could just add .com to the end of our username.
- This reply was modified 1 year, 11 months ago by Jim.
Forum: Plugins
In reply to: [WP Fastest Cache] Strange issue with images not displaying.No problem happy to help. Disabling the lazy load feature in fastest cache seems to have resolved the issue.
Hey Sybre,
Clean bill of health under manual actions. Very bad means a steady 5 clicks a day or less. It is really not believable. We are going to start asking our customers if they would be kind enough to leave a review and possibly do some blogging. We are of the mindset that our customers should not be bothered and we should be concentrating on our products and service. But this needs to be addressed.
Forum: Plugins
In reply to: [WP Fastest Cache] Strange issue with images not displaying.Hey Emre, It seems disabling lazy load has resolved the issue.
- This reply was modified 1 year, 11 months ago by Jim.
Forum: Plugins
In reply to: [WP Fastest Cache] Strange issue with images not displaying.I will let you know. Thanks.
I spoke to Emre and he thinks it is the lazy load feature but he is also unable to recreate it. We just deactivated lazy load. If either of you guys has the time to take another look we would appreciate it. Thanks Jim