WordPress.org

Ready to get started?Download WordPress

Forums

How to hyperlink text to an external website on WordPress Fancybox images (2 posts)

  1. thingamagid
    Member
    Posted 10 months ago #

    I am trying to link these fancy box images to a website externally.

    For example: http://www.dramaticsnyc.com/stylistsandlocations/

    Click on one of the stylists and the image pops up. On the bottom it says click here to read and write reviews. When you click on it, it doesnt go to the page, it gets stuck on the same page. How can I make it link to the site on the hyper link? Any help would be appreciated. Thanks.

    Here is the code I am currently using for each picture (put this code in fancygallery plugin caption for each picture):

    <div style="display: none;"> <div id="hover-image_0"> Click here to write and read reviews! Review Me NYC </div> </div>

    It only links to the site internally not externally. If you click on the link, its supposed to go to http://www.reviewmenyc.com but its staying under http://www.dramaticsnyc.com. What do I have to do the change this? I am not the greatest but I can learn and I know my way around.

  2. thingamagid
    Member
    Posted 10 months ago #

    this is a response i got before but still did not help. It seems to add a ' when trying to exit the website and go to that page, but it still stays local and says page not found:

    `<a href="//www.reviewmenyc.com’">Click here to write and read reviews! Review Me NYC</a>

    Should be:

    <a href="http://www.reviewmenyc.com">Click here to write and read reviews! Review Me NYC</a>

    There is no need for the extra ' in the class and the href

    Also, instead of changing the page location, you might want to just open a new tab. If so, use this:

    <a href="http://www.reviewmenyc.com">Click here to write and read reviews! Review Me NYC</a>`

Reply

You must log in to post.

About this Topic