I’ve become a huge fan of WordPress and am very proud of the site I’ve created using WP2.0 (take a look!). BUT I finally have a question that couldn’t be answered by scouring the Codex for two days… hope that you folks might be able to point me to an existing topic that I’ve overlooked OR help me sort this out for posterity…
I like to put unique topic-oriented images into many of my posts hand-coding the HTML above the <!–more–> tag and using CSS to control the size of the images in archive view previews and individual post displays.
It works great… BUT:
People (myself included) naturally expect for the image to act like a hotlink to the full post (like you see done on websites like ENGADGET).
I’ve experimented with creating a meta key for articleImages and calling it from within The Loop. This works just fine BUT when I do it this way the image falls outside of the paragraph tags containing the text of my post (invoked using the_content() tag) so I can’t use CSS to wrap the text around the image.
So what I want to do is:
1. Have the ability to feature an image in my archive previews.
2. Have that image work as a link to the full article listing.
3. Have the article text wrap around the image.
I see a couple of potential solutions but I suspect that I might have to tweak the code that assembles the post from the call to the_content() tag. I’d like to employ the most elegant, long-term solution to this challenge. Any ideas?