• Hi,
    Because of the nature of my website, I need to be able to allow my users to open all blog posts in a new window/tab, so, I′ve been wondering as my theme offers me to input javascript and HTML, if there is a javascript like window.open() that would do the trick or what can I do to make this happen?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    This plugin opens external links in a new tab: https://www.ads-software.com/plugins/open-external-links-in-a-new-window/

    Do you want on-site links opened in a new tab, too?

    Thread Starter rodonmanes

    (@rodonmanes)

    Thank you Steve for your reply.

    I need all of my posts to automatically open in a new tab, that is, when the user clicks on any post on the website, it automatically opens in a new tab. When ever I create a new post, I need it to always open in a new tab when clicked on, I don′t want to define that manually, as I understand this plugin you pointed out, I′ve seen it before, it only allows for external links inside posts to open in a new tab, that isn′t a problem for me.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    You can do it manually; I haven’t see a plugin to do it for all links.

    https://www.competethemes.com/blog/wordpress-open-links-new-tabs/

    Thread Starter rodonmanes

    (@rodonmanes)

    Thank you Steve, but still not what I am wanting. This link you provided is just the same topic as the plugin you pointed out. The articles, the blog posts that I make and the users come to read on my WordPress blog page, I want them to open in another tab and I don′t want to have to do that manually for every post that I make, again, I am not talking about the links that I make in the article, those I can create and manage how ever I want. I am fully aware how to use the <a href=… function and all that and _blank function, also, wordpress does that kind of semi automatically for you, but having the posts open in a new tab when the user clicks them, that is a whole different thing as, every post has it′s own URL that WordPress automatically creates.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    You can probably find a jQuery script that would examine links and add “target=_blank” on the fly.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Open blog bosts in new window/tab’ is closed to new replies.