WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Popup
Embedded links opening inside popup window (6 posts)

  1. NeilRosekrans
    Member
    Posted 2 years ago #

    Hello - I have an image that I have upload in the popup when a visitor goes to my homepage. The image has two different embedded links in it to different pages on my site. Basically, people can click "Donate" or "No Thanks, Go To Site". The problem is that when either of those "buttons" are clicked, it opens that page inside the popup window. I need for people to click those buttons and be redirected to those pages - outside the popup window. Thanks for any help!

    http://wordpress.org/extend/plugins/wp-super-popup/

  2. NeilRosekrans
    Member
    Posted 2 years ago #

    Nevermind - I just figured it out. If anyone finds it useful, you just use the "target=_parent" code next to your href link and it will close the popup window and then go to your link - instead of opening that link inside the popup window.

  3. NeilRosekrans
    Member
    Posted 2 years ago #

    oops - target="_parent"

  4. johnchatman
    Member
    Posted 2 years ago #

    Hey Neil,

    How do I implement your advice partner?? In my pop up I would like to show a youtube video and then a button below it that redirects to http://fundyourmarketing.com but when I set the popup using the wysiwig editor and they click on the button the new site loads in the frame.

    Can you give me how I am supposed to place the link for the button??

    Thanks partner.

  5. NeilRosekrans
    Member
    Posted 2 years ago #

    Hi John,

    I didn't use the wysiwyg editor but that might not matter. I used the html editor instead.

    Anyways, for your link in your button, try this:

    <img src="place your image url here">

    Essentially, it's the target="_parent" code that tells the link to open up outside the pop-up window and on your main window. Let me know if that works!

  6. NeilRosekrans
    Member
    Posted 2 years ago #

    Oops it looks like the support forum didn't like my code.

    for the link to your fundyourmarketing.com, put this in your code, in between the tags:

    href="http://fundyourmarketing.com" target="_parent"

    If you don't get it, let me know and I'll give you my e-mail address.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic