1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[Simple Problem] Making Thumbnails Link to External URLs

Discussion in 'Blogging' started by GreenHustler, Dec 27, 2011.

  1. GreenHustler

    GreenHustler Junior Member

    Joined:
    May 25, 2009
    Messages:
    157
    Likes Received:
    113
    Occupation:
    University Student
    Location:
    United Kingdom
    I've been spending the past few hours trying and failing to sort out what seems like quite a straightforward problem!

    Basically, my Wordpress website displays thumbnails (featured images) next to the posts on my homepage. I want to make it so that when people click on the thumbnail it takes them to an external URL rather than just open the post. Seems simple enough but I can't seem to find an obvious way to do it... Anyone got any suggestions?
     
    Last edited: Dec 27, 2011
  2. wickedguy

    wickedguy Supreme Member

    Joined:
    Jul 22, 2009
    Messages:
    1,402
    Likes Received:
    1,379
    Location:
    BHW--> South Africa
    Home Page:
    Are you using a plugin to display the thumbnails, or is it part of the theme?
     
  3. GreenHustler

    GreenHustler Junior Member

    Joined:
    May 25, 2009
    Messages:
    157
    Likes Received:
    113
    Occupation:
    University Student
    Location:
    United Kingdom
    Its part of the Alltuts theme by Site5.
     
  4. wickedguy

    wickedguy Supreme Member

    Joined:
    Jul 22, 2009
    Messages:
    1,402
    Likes Received:
    1,379
    Location:
    BHW--> South Africa
    Home Page:
    PM me your site url so that I can have a look
     
  5. mcc777

    mcc777 Registered Member

    Joined:
    Jul 16, 2011
    Messages:
    51
    Likes Received:
    27
    Location:
    Ohio
    Home Page:
    You will need to change the thumbnail link structure of the featured link - The reason you are having problems is because the featured link is being tied to a post with .PHP programming - By removing this .PHP code and replacing it with a target=_blank (or _new) you can change the featued link Url and it's associated target page.
     
  6. GreenHustler

    GreenHustler Junior Member

    Joined:
    May 25, 2009
    Messages:
    157
    Likes Received:
    113
    Occupation:
    University Student
    Location:
    United Kingdom
    Cheers for your reply; from looking at the php file related to posts I think you've correctly identified the problem. It's a pain in the ass because I don't know php at all but I've backed up the file and I'm doing some experimenting to see if I can fiddle this to work!
     
  7. mcc777

    mcc777 Registered Member

    Joined:
    Jul 16, 2011
    Messages:
    51
    Likes Received:
    27
    Location:
    Ohio
    Home Page:
    Man that theme is a monster - I have never seen one that was coded that way before but I hope you can figure out how to do it exactly the way you described although the alternate way while not ideal, will still get the job done - just not as elegantly .