ThemeShaper Forums » Thematic


Link a thumbnail to a post attachment

(2 posts)
  • Started 10 years ago by burgundydurango
  • Latest reply from burgundydurango
  • This topic is not resolved
  1. burgundydurango

    I'm trying to come up with a custom page template that pulls the most recent post from one specific category and displays a large thumbnail with a link to an attachment. I know how to link the image to the file when I upload it to the post, and I know how to build the custom template to pull just one post from a specific category.

    I'm at a complete loss as to how to display just the thumbnail (with a custom size) without the text, though.

    I think I'm asking how to code a custom loop here, but I don't need all of the_content, just the thumbnail and it's link to the PDF attachment.

    I've tried perusing the codex and I've been Googling my heart out but to no avail.

    I'm hoping this all makes sense to someone much wiser in the ways of PHP than I am (which isn't saying much).

    Posted 10 years ago #
  2. burgundydurango

    In case it helps, here's the URL to the page in question:

    At the bottom of the page I've mocked up what I'm looking for, but instead of the image linking to the PDF file like I want (as it does in the top) it links to the post instead...

    Posted 10 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.