Support » Fixing WordPress » Documents Not Opening in New Tab

  • Resolved 232creative

    (@232creative)


    I have uploaded numerous PDF’s the site and have them all set to Open In New Tab by clicking in the box in the link. However, they all open in the same tab and not a new one.

    I’m using Motopress as well but even in the regular wordpress page, when I click on a link, the Open In New Tab box is checked but they don’t do that.

    Thoughts?

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hello,

    Can you please let us know which specific links are you referring to.

    Also, can you check if you have added target=”_blank” in ‘a’ tag on those links.

    Thank you

    yes, I looked and in the wordpress text that HTML is there.

    On all the pages where they are linked, the PDF’s open in same window. But here is a page to get specific.

    http://carmatetrailersinc.com/brochures/

    Hello,

    I checked the brochures page and found that there is no target=”_blank” present in the HTML generated.

    There is a way to add that in MotoPress. Can you check the attached screenshot?

    Screenshot

    There you need to click on Open link in new window (tab). If checked it will open in new tab.

    Try and let us know.
    Thank you

    The code is showing up for me and I’ve also checked all those boxes for each PDF as you can see by the screen shot below.

    Screenshot

    Hello,

    I checked with the default demo of MotoPress its working fine do check the below link.
    Can you switch to default theme and check or update the plugin (if not updated) and check.

    Also can you disable responsive lightbox extension and check if its working or not. As in view source I can see target=”_blank”.

    Default demo :- https://mpcedemo.getmotopress.com/frayqvwmhj8op1c/

    Thank you

    Hi,
    We have also tested Image object linked with PDF file and enabled ‘Open link in new window (tab)‘ option. Here is my demo https://mpcedemo.getmotopress.com/6bndzuro7jfmh5y/
    Please scroll down and find the image with puzzles I linked with PDF file.
    Thus I’d recommend to try to disable plugin installed at your WordPress one by one and find if some of them causes an issue.
    Or you can test it with other theme and if it works you will be able to contact theme provider for assistance.

    I figured out it was the WP Accessibility plug in that is causing the PDF’s to not open in new window/tab. I’m going to contact them to see what can be done. Thanks everyone for the help! I’ll keep you updated.

    Hello @232creative,

    Please mark this ticket as resolved if its good to go

    Thank you

    If anyone is using the WP Accessibility plug in…Just uncheck “Remove target attribute from links” under Misc Settings and you should be good!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Documents Not Opening in New Tab’ is closed to new replies.