WordPress.org

Ready to get started?Download WordPress

Forums

Hyperlinks don't open in new tab (9 posts)

  1. gladglen
    Member
    Posted 1 year ago #

    All of a sudden, my external hyperlinks don't open in a new tab or window but in the same one - even thought I've selected the 'open in new tab' box. Internal links do, but not external ones - the most important. Is this a glitch in WP??

  2. I don't think it's a glitch

    Can you provide a link to your site please and give us an example of which link should open a new window?

  3. gladglen
    Member
    Posted 1 year ago #

    Sure can - http://glenladegaard.com/goddessguide-cards/. The three external links are Michele Sumac Claiborne, GoddessGuides Facebook page and Love A Child Foundation. I've tried in two other browsers (I use Chrome) and it's the same. Plus, a techie friend and another wp user both have the same issue.

  4. gladglen
    Member
    Posted 1 year ago #

    Would anyone like to update me?

  5. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    It looks like that's because you have span tags inside the anchor tags:

    <a href="http://www.healingartsinternational.com/" target="_blank"><span style="color: #00ccff;"><span style="color: #00ccff;">Michele Sumac Claiborne</span></span></a>

    I removed them in Firebug and then it opened in a new window.

    A better way to change the color of the links is to use a class in the a tags and then external CSS for that class.

  6. gladglen
    Member
    Posted 1 year ago #

    I just removed the entire html around the name, Michele Sumac Claiborne, updated it. Went back in and added the hyperlink without any colour, updated it and it still opens in same window.

  7. Andrew
    Forum Moderator
    Posted 1 year ago #

    Try disabling plugins to explore whether any could be responsible.

  8. gladglen
    Member
    Posted 1 year ago #

    Any plugins in particular or all of them??

  9. Andrew
    Forum Moderator
    Posted 1 year ago #

    All of them please :) You can always reactivate them afterwards.

Topic Closed

This topic has been closed to new replies.

About this Topic