Link slider to a page instead of post

Viewing 8 posts - 16 through 23 (of 23 total)
  • #12549
    PatrickRPhoto
    Participant

    Me too on this. I’d love it if those images on the landing page could be static as well as link to a page. Is there a paid version of this? I tried that workaround, but it didn’t do it.

    #13567
    patK
    Participant

    Ho hum…..any chance this feature is now available? How do we access?

    #17500
    Kiwiaufzeit
    Participant

    I had the same problem and worked on a new code for the theme; hope you still check this site and still need it. Go to the loop-slider.php in the main folder of the theme and replace the following:
    ” rel=”bookmark”>

    with this:
    <?php if ( get_post_meta( get_the_ID(), ‘linkage’, true ) ) : ?>
    ” rel=”bookmark”>
    <?php else : ?>
    ” rel=”bookmark”>
    <?php endif; ?>

    Now put add a custom field to the post on the frontpage that you want to be a link and call it “linkage”. Give it the link as value and voilà, there you go: clicking on the post will send you to the link you defined.
    The php else command does nothing but tell the page to carry on to the article itself if no “linkage” is defined.

    Hope that helps! (if you want to see it in action visit http://www.fenweb.de/ still a work in progress though)

    #17501
    Kiwiaufzeit
    Participant

    Well… guess you shouldn’t post code here. I uploaded it to:

    http://textuploader.com/14td

    #17774
    irwin
    Participant

    Thanks! But where i must add “linkage”? in header.php? Could you show example how you use this? Regards

    #17776
    Kiwiaufzeit
    Participant

    You have to create a custom field in the post itself.
    So go and start a new post, choose a custom image and add a custom field (if you can’t see that option below the content box you have to activate it. Click on “Screen options” at the top and check the box in front of “custom fields”).
    Call the custom field Linkage and define the value by chosing a link

    #17805
    irwin
    Participant

    Thanks!!! Now works!
    but in Microsoft Explorer 10 – if you choose title on silder link still provides to page instead link.
    Look at your http://www.fenweb.de/
    If on scond slider you choose “Die Weld” Title you go to http://www.fenweb.de/archives/12 instead http://www.projectpenniless.com/

    There is possible to correct this?

    #17928
    Kiwiaufzeit
    Participant

    Sorry for that buddy, but for me it’s working ;S Any plugins/similar interfering maybe?

Viewing 8 posts - 16 through 23 (of 23 total)

You must be logged in to reply to this topic.