The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

TDO Mini Forms: Link Image to Post (1 post)

  1. kiddynomite
    Posted 5 years ago #

    This should be a really simple question - should being the imperative word :)

    I have the forms setup and working with an image upload field but I would like the image to link to the post. So, if you're on the homepage and click an image it takes you to the single.php page of that entry.

    I have the options "Insert Uploaded Files as Attachments on post (this will also generate a thumbnail using WordPress core if upload is an image)" and "Add thumbnail link to Attachment page to post content (if thumbnail avaiable)" selected and it appears to try and work, but it leaves the anchor tag blank (see below).

    <p><a href=""><img src="http://myurl.com/images/640x396.png" alt="slop_rod.png (164 KB)" /></a></p>Testing

    Any ideas?

Topic Closed

This topic has been closed to new replies.

About this Topic