Caption not showing with Woo commerce thumbnails
Caption not showing with Woo commerce thumbnails
Caption not showing with Woo commerce thumbnails
Change thumbnail image depending product category
how to link post-thumbnail to original img in a lightbox?
I dont know where you are using/inserting this code, but maybe you need the current post ID. Try using get_the_post_thumbnail_url( <post-ID> ,<thumbnail-size> ); To get the ID of the current post you can for example use $current_id = get_the_ID();. Than you can try $src = get_the_post_thumbnail_url( $current_id ,’post-thumbnail’ ); to get the URL.
Why are some thumbnails on their side – but correct when I go to edit image? [closed]
Thumbnail position + size
Remove product category placeholder image (Woocomerce)
There was a typo, and instead of: wp.media.view.Attachment.prototype.template = wp.media.template( ‘attachment-custom’ ); Should be: wp.media.view.Attachment.prototype.template = wp.media.template( ‘attachment_custom’ );
Well, images is one of WP’s weak points. First of all – stop uploading full sized images in first place, by that I mean photos from your camera, downloaded/self created artwork, high resolution, MB-heavy Photoshop creations etc.. My personal experience is that people mostly don’t think about image size when uploading stuff to WordPress – … Read more
Update old Post image metadata to ‘thumbnail’ wp_attached_file