How to Make WordPress Menu Links to Open in New Window

by Last Updated: Oct 17, 2023Blog, WordPress Tips

Today I’m going to provide a quick solution to a small problem. Have you ever wanted to have one (or more or even all) menu links on your WordPress website to open in a new window? If yes, I’ll tell you how you can do it and this doesn’t apply to the Divi theme only. This solution works with any WordPress theme.


Open Menu Link New Window


The solution is really easy. The only thing you need to do is to enable the “Link Target” option in Screen Options (on the top right hand corner of the screen) in Appearance > Menu in your WordPress admin panel. All you need to do is to check this checkbox and then when you click to expand a particular menu link in the Menu section, you will see the option “Open link in a new tab” there.

This feature is especially useful if you want to include some affiliate links in your WP menu or if you want to link to an external document – e.g. a PDF file and you want it to be opened in a new tab of your Internet browser.

I hope I have helped you to solve this little WordPress issue. :)

And you might also like to check out my other article that explains how to add social icons to your Divi menu or Font Awesome icons.

PS: For more WordPress and Divi tips like this one, you can subscribe to my newsletter to receive all these tips right into your mailbox.

5 Free WordPress Plugins You Should Use

Banner - Author Box for Divi Plugin


Author: Andrej

WordPress expert. Divi user since 2014. I blog about WordPress and Divi, my favorite WordPress theme. When I’m not working with WordPress or writing an article for this blog, I’m probably learning Italian. You can read more about me here.