Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Popup window to decide entry page WordPress


Hello, I would like a popup window on a site that i'm making to give the user 2 choices for entry. 2 different links.

I have made this popup using (

However it opens the links in new windows as i'm using target="_blank" on the links.

Is there a way to refresh the page below the popup rather than open link in a new window?

Attached image with link to site so you can see popup working.

Answers (3)


Francisco Javier Carazo Gil answers:

Hi Ross,

I would do it using a onclick in the link instead an href, in the onclick I will use a window.location.href=MYURL.


Asad Iqbal answers:

Can you please send me a temporary login details of your site through inbox? I'll then let you know either I can do it or not.


Arnav Joy answers:

you can remove target="_blank" then it will open on the same page

Ross Gosling comments:

Thanks for the reply Arnav, by removing target="_blank" the link will open within the popup window and not the window below it.