• Ovidiuxxxc

    (@ovidiuxxxc)


    Hello guys. I will be very short.

    I want to create a DOWNLOAD button for the pictures inserted into my WordPress posts.

    I want to show you an example.

    <a download href="//domain.com/picture/example-image.jpg">Download Now</a>

    Instead of image link I want to place a php code/javascript code or whatever which will automatically get the the link of image inserted into the post.

    <a download href="the code to automatically get the image link from the post">Download Now</a>

    Is that possible? I don’t want to insert the image link every time I’m making a post.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How to create a DOWNLOAD button for the images from WordPress posts?’ is closed to new replies.