Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #168

    Hi Kriesi,

    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


    Thanks Kriesi…

    Sorted it now :)

    Again… compliments on the theme.




    Hi Kriesi, I have excactly same problem as tommyt90, but can’t seem to make it work. Is there any way I can make you post a more “finished” walkthrough?

    Great theme, though, and everybody who’s seen it up here love it!



Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Frontpage slider hyperlinks’ is closed to new replies.