TDO Mini Forms: Link Image to Post
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
- The topic ‘TDO Mini Forms: Link Image to Post’ is closed to new replies.