• Hi folks.

    For the first time ever I am stuck with WordPress.

    I need an external custom link to NOT open in a new window/tab. I need it to load on the same page as already displayed just like a normal page within WordPress.

    The reason is, we have a 2nd custom html CMS/database page I need to link to, for visitors to complete while on the wordpress site. I’ve tried google and looked for a plugin, but I am at a loss.

    Can anyone suggest a plugin or simple way to do this within wordpress or html if needed!

    TIA folks, cheers Si

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi, @simcla17

    Where is this link? In your post? In a menu?

    1. If it’s in your post, simply disable Open in a new tab
    link

    2. If it’s in a menu, uncheck Open link in a new tab from yoursite.com/wp-admin/nav-menus.php

    link2

    If this option is not visible, it means that it’s not enabled in the menu screen option. Go to Scren options and enable it.

    link3

    Hope this helps,
    Kind regards!

    Thread Starter simcla17

    (@simcla17)

    hi @vladytimy

    thanks for the great reply.

    The link is from the menu. custom link. the requirement is to open within the wordpress site, not to a new window.

    The options you mentioned have already been tried. Link traget is dispalyed but as this is an external site wordpress seems to always want to open in the same window, but without the menu. I don’t with to loose the menu.

    Im trying to keep the menu at the top, while showing a new website in the page below.

    Ok, so let me see if I understand this right. You have website A and within this website A, you have a menu (in the header I assume) with a link to website B. When you go to website B, you want to keep in the header the menu from website B. Is that right?

    If so, well, we have a few options:

    1. The simplest solution is to replicate the menu from site A in site B’s header.
    2. The hard solution would be to use AJAX to make a call to that page and insert its content below your menu, replacing the old content – but that means a lot of work
    3. The ancient solution would be to have in site A page only the header and below this everything else in an iframe, and the link from the menu to open in the iframe – but it’s a really bad solution – I only mention this for history purposes ??

    A URL shows a page as a whole. You can’t split it to just keep the menu without some (serious) coding skills. Solution: use a similar theme with the same header on that B / 2nd CMS website and that should do the trick.

    Correct me if I was wrong in the first place with your goal.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘External Links, Same Window – with menu above’ is closed to new replies.