Add version query tag to all images
I want caching all images on my site and prevent the browser download the images all times, so I would like add an version query tag to all images (for example:
?v=20160505
)
How can I add this for image urls? Now I use this code to show images in my theme:
echo get_the_post_thumbnail( $thumbnail-ID, 'thumbnail' );
Topic thumbnails plugin-development Wordpress
Category Web