Support » Plugin: Open in New Window Plugin » how to ignore one page

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author kpgraham


    I am working on a change to the plugin. So that you can put a short code on the page to disable the plugin.

    If you put on the page:

    <script>function kpg_oinw_action(event) {return false;}</script>

    it should cause a javascript error that will kill the function, I think.


    when i click on the link, it still opens in a new window….

    i would like for that specific link when clicked, it would not open in a new window…..

    Plugin Author kpgraham


    For a specific link, the code would be

    <a target="_self" href=....

    The target=”_self” will cause the link to open in the same window. If the plugin sees something already in target it does not open it in a new window.

    just add target=”_self” to the A tag.


    oh. well how my links are, they are in a category. i don’t manually create links.

    for example clicking on menu option on my website directs me to that specific page.

    another example is going to and clicking on the menu option “Images” . would like for it to open in same window, and i do not write the backend of the code for that specific link, wordpress does that for me.

    unless i have to edit the wordpress css to get to that A tag?

    isn’t their a code i could type into the custom css of my theme?

    this is a site =

    so when i click on “Forum” i would like for it not to open in new window.

    Plugin Author kpgraham


    Every other link shows The forum shows just

    Change the forum link and add the www. and you should be home free.


    thanks that worked! 🙂

    and your plugin is awesome 😀

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘how to ignore one page’ is closed to new replies.