How to Make WordPress Menu Links to Open in New Window
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.
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. :)
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.
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.