UdVi86
Forum Replies Created
-
Forum: Plugins
In reply to: [Age Gate] RechallengeThank you very much, Phil. It works.
Forum: Plugins
In reply to: [Age Gate] RechallengeI’m currently using PHP Mode, but later there will be a cache plugin on the site. So I would be interested ín both versions.
Thanks
AttilaForum: Plugins
In reply to: [Age Gate] RechallengeHi!
I would like set 2 hours. So shorter than the current session.
Thanks
AttilaForum: Plugins
In reply to: [YITH WooCommerce Product Gallery & Image Zoom] Downloadable imageHello!
Yes, ‘.btn-download’ is a class. The ‘download’ is an attribute, force image download, not open new window: https://www.w3schools.com/tags/att_a_download.asp
<a href="image-src" class="btn-download" download></a>
– this is the product-image-magnifier.php$('.yith_magnifier_gallery li a').on('click', function() { $('.btn-download').attr('href', this.href); });
– this is my own script
But now I rewrite yith-magnifier.js. Put the next lines:
$.yith_magnifier.defaults = { ... elements: { ... button: $('.main-image .btn-download') } }
and
$.yith_magnifier.prototype = { ... _initGallery: function () { ... var button = elements.button ... if (gallery.length > 0) { button.attr('href', this.href); } } }
This work, but the plugin don’t update anymore. How can I extend this functions?
Thanks.
- This reply was modified 7 years, 12 months ago by UdVi86.
Forum: Plugins
In reply to: [WooCommerce] Custom taxonomies description don't show after updateI see ??
Thanks!
Forum: Plugins
In reply to: [WooCommerce] Custom taxonomies description don't show after updateI create a custom taxonomy on products with Custom Post Type UI (Brands)
I add a taxonomy description
Before update I see on website, but after update no.https://postimg.org/image/r36ceiikd/
https://postimg.org/image/mg6zz2fu5/
https://postimg.org/image/a12zmj9ux/
https://postimg.org/image/dfvosjz3x/Forum: Plugins
In reply to: [WooCommerce] How to change loop title?Hello!
Ok, thanks!
Thanks.
Yes, exactly. WordPress language is Hungarian, but the plugin language is Deutsch (or Dutch, I don’t know) since EM 5.6
I don’t think, because the theme doesn’t have any style, this is a test site.
If I use template and set image height 9999px, but don’t hard crop, why it get 9999px. I think, it’s a bug. Perhaps CSS of your theme override height parameter and therefore don’t see the problem.
Another website I downgrade 2.0.66 and it’s good with template, but 2.0.66.27 it isn’t. I attached some photos.
In 2.0.66.27 version the image get wrong height value, if I use template. In 2.0.66 version it get good value. I think the problem is in 2.0.66.16.
Udvi
Sorry, you don’t understand. Images width are fix (600px), but height aren’t fix (so I set 9999px). E.g. the one image is 355px, the other is 400px.
When I don’t set anything on Gallery Settings > NextGen Thumbnails > Templates, all is well. Image get correct “width” and “height” attributes.
But when I set gallery.php or own custom template, the value of image “height” attribute will be 9999. The image will be stretched.
I solved the problem temporarily, so that $image->size has been deleted from the gallery.php. But if the images are given width and height attributes, the page will load faster. Thus, the SEO will be better.
I hope you understand.
Thanks!
Udvi