How can I make my links open in a new tab?

I only noticed this recently, but ever since I installed this theme, my internal and external links have been opening in the same tab.

This is a problem for me - I’d like all of my links to open in a separate tab.

Now, I know that I can download a plugin and be done with it, but I don’t want to slow down my website with plugins and generally prefer to use as little of them as possible.

Do you have any solution that is code-based/setting-based?


Hey there,
I hope you’re doing well today

We recommend using a plugin to rectify this issue.
If you have some coding knowledge here’s a thread that will provide you with some possible coding fixes.

Try the method which involves pasting <base target="_blank">into the header.php file between the header tags.

Best Regards,

Thanks guys, worked like magic!

Hey there,

You’re most welcome, we’re happy to help.

Let us know if there’s anything else we can assist you with.

Best regards,

Upon further inspection, opening internal links in the same tab is okay for me.

Is there a way to just open only external links in another tab? instead of “base”, to use another form or something?

If there isn’t, I might just resort to using a plugin I suppose

Sorry for bothering you like this.


You can achieve this by using custom code shared in the following pages.