Download button for Featured Image in every post – automatically

You can use the_post_thumbnail_url(); to get the thumbnail URL.
More infos about the function: https://developer.wordpress.org/reference/functions/get_the_post_thumbnail_url/

<a class="download_image" href="https://wordpress.stackexchange.com/questions/221209/<?php the_post_thumbnail_url("full' ); ?>">Download this Image</a>

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)