Skip to main content
4 of 5
Rollback to Revision 2
Pieter Goosen
  • 55.4k
  • 23
  • 115
  • 209

In a post, put a link on an image, but when shown as part of the main-page list, have that image link to the post's permalink

Is there an existing plugin that allows a person to, in a post, put a link on an image, but when the post is shown as part of the main-page list, have that image link to the post's permalink instead.

If not, can you point me in the right direction to custom code this myself? (What files to edit, what WP functions already exist that might help me...) I have a decent grasp of functional/procedural PHP, but have only the slightest experience editing WP code.

I am using WordPress 3.9 and the theme "Twenty Ten"

Feel free to re-tag this question. I am not familiar enough with WP or WP.SE to know what tags are best.

TecBrat
  • 153
  • 1
  • 8