WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Page Links To Plug in - does not open new browser window (25 posts)

  1. bobbyc
    Member
    Posted 4 years ago #

    For some reason when I check "open in a new browser window" it doesn't do anything. The link opens in the same window. Is there a work around for this? Thanks

    http://wordpress.org/extend/plugins/page-links-to/

  2. upheredesign
    Member
    Posted 4 years ago #

    I have this same issue. Plugin opens external url in same window.

  3. billerby
    Member
    Posted 4 years ago #

    I had this problem too. I did some debugging and found the cause. The page I tried to link is set to be 'private' and the plugin only accepts post_status to be 'static' or 'publish'. It would be interesting to hear if this is a bug or a feature. I can't figure out the reason to disallow private pages from opening in a new window, maybe I'm missing something obvious here?

  4. Mark Jaquith
    WordPress Lead Dev
    Posted 4 years ago #

    @bobbyc — Is this the latest version of the plugin? Is your post privately published?

    @billerby — This was for backwards compatibility reasons, but I can probably standardize on the new way of doing pages now. The next version will fix that.

  5. renzosan
    Member
    Posted 4 years ago #

    I have same problem, with the last version (2.1) and my page is not privately published.

    Status: Published
    Visibility: Public

    Is the problem could be that I am also using 'All in One SEO Pack' plugin?

  6. jmbullis
    Member
    Posted 4 years ago #

    I think you may be on to something. Using the latest versions of WP, Page Links to, and All in One SEO pack. If I disable the SEO plugin this features begins to work.

  7. jmbullis
    Member
    Posted 4 years ago #

    Looked into this issue more and they found a fix that will be showing up in the next version. Thanks go to a dev named "Head".

    Simple workaround is change

    from:

    add_filter( ‘wp_list_pages’, ‘txfx_page_links_to_highlight_tabs’);

    to:

    add_filter( ‘wp_list_pages’, ‘txfx_page_links_to_highlight_tabs’, 9);

    in page-links-to.php at about line 197.

    I made the changes, activated all in one, and poof, it works.

  8. brumstix
    Member
    Posted 4 years ago #

    I tried the above solution, but the links still won't open in new window. I also disabled AIO and still not working.

  9. ryan_nerone
    Member
    Posted 4 years ago #

    thanks jmbullis. adding the "9" worked for me. also using AIO. cheers.

  10. Mark Jaquith
    WordPress Lead Dev
    Posted 4 years ago #

    Please try version 2.2, which should fix this issue!

  11. jnkrlssn
    Member
    Posted 4 years ago #

    Hi,
    I´m using the 2.3 version of the plugin and AIO SEO, but I can not get it to open in a new window.
    I´ve checked the entries in the database and all seems fine, double checked the "9" above. Tried to switch off AIO plugin, still no luck.

    When looking at the code in page-links-to.php I saw some strange blankspaces in the bottom and the closing php-tag was missing. Is it supposed to be like that or is it a zip/download problem?

    Any clues?

  12. dkedinger
    Member
    Posted 4 years ago #

    I am having the same problem. Deactivate AIO SEO and check the PHP file and it still doesn't work.

  13. jnkrlssn
    Member
    Posted 4 years ago #

    Yes, it´s a little annoying, I hope Mark can solve this for us!

  14. BadTrt
    Member
    Posted 4 years ago #

    Nothing above worked for me also.
    I guess some of the plugins are messing things up.
    Is there a way to hard code "_blank" for a particular page?

    p.s. Does anyone knows why : "http://www.link.[:fr]com/joue[:en]com/play " doesnt work anymore?

    thnx.

  15. jnkrlssn
    Member
    Posted 4 years ago #

    I guess it´s not easy to hardcode _blank (prefer onclick="window.open(this.href); return false;" though).

    We need help from the author or someone else with the skills!

    Please help us!

  16. aWEBthatWORKS
    Member
    Posted 4 years ago #

    I'm having this same problem. Has anyone had any luck solving it?

  17. Skytouch
    Member
    Posted 4 years ago #

    Same problem here.

  18. aWEBthatWORKS
    Member
    Posted 4 years ago #

    Just to add a few more details, I've had a look at the plugin code, and it seems like the function txfx_plt_save_meta_box on line 102 isn't adding anything to the _links_to_target variable (line 110 & 112). I tried adding _blank everywhere _links_to_target is used in the function, but I couldn't get any of them to appear on my page.
    Not sure if this would help with troubleshooting, but thought it may help someone track this down.

  19. Adam W. Warner
    Member
    Posted 4 years ago #

    Hi all, just ran into this issue with version 2.3 and wondered if anyone has come up with a solution?

  20. Adam W. Warner
    Member
    Posted 4 years ago #

    @markjaquith,

    Is there any chance you could have a peek at this?

  21. Adam W. Warner
    Member
    Posted 4 years ago #

    Anyone?

  22. aWEBthatWORKS
    Member
    Posted 4 years ago #

    Has anyone had any luck solving this one?

  23. Adam W. Warner
    Member
    Posted 4 years ago #

    I haven't heard, but I sure hope we can find a resolution to this. Pretty please @markjaquith...we beg of you:)

    I realize that this functionality is being built into 3.0, but the site I have won't be upgraded for at least several months after the release of 3.0.

  24. Mark Jaquith
    WordPress Lead Dev
    Posted 4 years ago #

    I have never been able to duplicate this bug. I can't take a crack at solving it if I never see it in action! :-(

    Please try to duplicate this using the default theme, and with all other plugins deactivated. Create a new page, set the links-to URL, and check the "new window" box. If that doesn't trigger the bug, then try it with your actual theme, but all other plugins still deactivated. That should narrow it down to a theme issue or a plugin-conflict issue.

  25. AMEEKER
    Member
    Posted 3 years ago #

    I have the same problem, Mark. Checked it out with 2010, plugins deactivated and it still didn't work. I'm using a Press75 theme. If you'd like, I'll give you access to the site to test and debug.

Topic Closed

This topic has been closed to new replies.

About this Topic