Making Slider Image / Attachment-thumbnail Click-able
-
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.phpand the
Code:loop-post-formats.phpI need to make this type of code work
Thank you
These are the thumbs I want to make clickable:
Are you using the Graphene theme?
Yup
Oh, I see. I was viewing your home page.
Okay, lemme play with this for a minute.
Did you look in the
functions.php
file?I haven’t looked around in there yet, were do you think that I would need to make that edit in
Code:functions.php?
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.
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?
How are you inserting the images?
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.