If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
First let me say what a fantastic theme this is.
One query I have at the moment is:
Is it possible to link the images I use on the frontpage slider to a certain page?
I know that if i insert an image via wordpress into a post I can add a custom link to that but If I put an image on the slider it automatically links to the post which is holding the image.
What I want is to… Link say a image advertising baked beans to the baked beans page or something like that. I want to add custom links to the front images.
Is this possible?
Many kind regards,
It is possible but requires a little bit of modification:
you need to be comfortable with using wordpress custom fields. you need to create a new custom field, maybe call it “new_link” and then enter the link into this custom field. then you need to edit the template files.
in index php search for $link = get_permalink();
add a new line afterwards: $new_link = get_post_meta($post->ID, “new_link”, true);
then search for get_permalink() arround line 47 and 52 and replace it with $new_link
then search for $link at line 45 and replace it with $new_link as well
The topic ‘Frontpage slider hyperlinks’ is closed to new replies.