get permalink from loop to use as href in anchor outside of the loop (1 post)

  1. sheriffderek
    Posted 3 years ago #

    I have a nivo slider. It pulls images from a loop that calls the "slider_image" magic field from each post. these images are wrapped in anchor tags that href the permalink. so if you click on the current image - it'll take you to that posts single page. (streaming video)

    NOW - I also have a play button, ( a small circle in the corner ) but it is not in the loop.

    is there a way I can get the current permalink from that loop - and bring it outside to use in the href for this little button ?

    it seems like I should be able to make a variable or something... any ideas ?

Topic Closed

This topic has been closed to new replies.

About this Topic