- This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- The forum ‘Other’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hello, we have a homepage slider for revolving images. We wanted to feature certain projects on a rotating schedule in the number 2 and number 3 slot but cannot figure out how to make the image clickable with a URL that redirects to the actual portfolio page for that particular project. I am a PHP novice so I am not sure where to even insert the code. Any help would be much appreciated.[http://www.buzzbombcreative.com](http://buzzbombcreative.com “Buzzbomb Creative”)
I’m guessing you got this sorted as I can’t see a slider anywhere on the site (correct me if I’m wrong) but I’m going round the site trying to add a little advice to old posts that haven’t had any discussion. So…
Most of the time when parts of individual pieces of content are outputted in WordPress, this is done through something called “the loop”. This involves spitting out the same types of material for each entry that fits within the criteria specified parameters. The values change according to the particular post. Bearing this in mind, it is likely that you are using a function to get the images. Getting the link for the more detailed portfolio entry can be achieved through the `the_permalink` function.
Therefore, you code might like something like:
// OBJECTS TO OUTPUT FOR EACH POST
“>
ID, ‘thumbnail’, false) // how you could be getting the image itself ?>
Hey there, thanks for responding to my post. I just reactivated the slider function on the home page. Please take a look if you have a moment and let me know your thoughts. Thanks!