Making Slider Image / Attachment-thumbnail Click-able

  • Anonymous

    #2054

    I would like to make it so that when users are looking through the slider or viewing my posts that the images are clicked-able and will send the user to the post or page that the image is related to.

    I have used this code in the past

    However I can not seem to figure out where in the

    Code:
    loop.php

    and the

    Code:
    loop-post-formats.php

    I need to make this type of code work

    Thank you

    These are the thumbs I want to make clickable:

    http://30dayslater.net/newtheme/

    Anonymous

    #18195

    Are you using the Graphene theme?

    Anonymous

    #18196

    Yup

    Anonymous

    #18197

    Oh, I see. I was viewing your home page.

    Okay, lemme play with this for a minute.

    Anonymous

    #18198

    Did you look in the functions.php file?

    Anonymous

    #18199

    I haven’t looked around in there yet, were do you think that I would need to make that edit in

    Code:
    functions.php

    ?

    Anonymous

    #18200

    Well, the image is called from this code here:

    <div class="sliderpost_featured_image">
    <?php echo $image; ?>
    </div>

    I would attempt to make my adjustment there.

    Anonymous

    #18201

    Thank you, I will start my project there.

    Any ideas thought how to make the Post Images (The “Thumbnails of the Post”) be click-able?

    Anonymous

    #18202

    How are you inserting the images?

    Anonymous

    #18203

    The images are being inserting by the default coding of the theme. All I have done is used them as the “Featured Image” and the theme has place them there (Over the default post type images) IE:

    Code:
    wp-content/themes/graphene/images/sprite_master.png

Viewing 10 posts - 1 through 10 (of 11 total)

  • 1
  • 2
  • You must be logged in to reply to this topic.