WordPress.org

Forums

Interactive World Map
[resolved] Open link in same window (3 posts)

  1. abcdefghijklmnop
    Member
    Posted 1 year ago #

    Hello,

    Firstly, thanks for this wonderful plugin. The map looks really beautiful and sophisticated.

    Everything is working fine for me, but the problem I seem to have is that when I click on a continent i.e. Africa or Asia, the page that I linked to opens in a new tab.

    Is there anything I can do to make the linked page open in the same window?

    Thanks in advance

    https://wordpress.org/plugins/interactive-world-map/

  2. html5maps
    Member
    Plugin Author

    Posted 1 year ago #

    Hello,

    Please try the following steps.
    Open in editor file freeworldcontinentmap.php and try to find the following line (113)

    $freeMapDataJ[$k]['target'] = '_blank';

    Replace the line to the next

    $freeMapDataJ[$k]['target'] = '_top';

    That's all!

  3. abcdefghijklmnop
    Member
    Posted 1 year ago #

    thank you very much!!!!!!!!!! appreciate it :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Interactive World Map
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.