Image redirection

Discussion in 'WordPress' started by redlandgames, Feb 23, 2011.

  1. #1
    Hi i added a image in a post , how do i make it so when the image is clicked directs to an url ? ..instead of going to read more ? thanks guys
     
    redlandgames, Feb 23, 2011 IP
  2. Dodger

    Dodger Peon

    Messages:
    1,494
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Read more? At any rate, just change the Url in your post editor if you want it to go somewhere else.
     
    Dodger, Feb 23, 2011 IP
  3. redlandgames

    redlandgames Active Member

    Messages:
    909
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    80
    #3
    I uploaded the image but i need to make that clickable to the url i need to direct to ...the read more thing was where the image directs to now
     
    redlandgames, Feb 23, 2011 IP
  4. adbox

    adbox Well-Known Member

    Messages:
    906
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    155
    Digital Goods:
    1
    #4
    Are you saying that this issue is only for excerpts? Are you using an Image in Excerpt plugin or, does the theme automatically do this?
     
    adbox, Feb 24, 2011 IP
  5. redlandgames

    redlandgames Active Member

    Messages:
    909
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    80
    #5
    something to do with the image being on the hompage inserted to a post i made, and when i click on it redirects to the page where the complete post is read (read more) i want it so the image when clicked goes to an url i specify instead of the read more page thanks
     
    Last edited: Feb 25, 2011
    redlandgames, Feb 25, 2011 IP
  6. Dodger

    Dodger Peon

    Messages:
    1,494
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    0
    #6
    In that case, post the code inside the Loop from your index.php file and I will step you through it. It is possible, depending on your theme, that the home page is customized with a home.php, front.php named file. Double-check your theme files for the correct one.

    And if I get you correctly, you want the image link to go to where exactly? To the full-sized image or its attachment page maybe?
     
    Dodger, Feb 25, 2011 IP
  7. redlandgames

    redlandgames Active Member

    Messages:
    909
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    80
    #7
    Thanks for replying , i need the image link to go to an url i specify thanks
     
    redlandgames, Feb 25, 2011 IP
  8. Dodger

    Dodger Peon

    Messages:
    1,494
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Custom field for your posts to enter the Url, then edit the anchor linking the thumbnail in the theme file to use that custom Url field.
     
    Dodger, Feb 25, 2011 IP