Fix WordPress Cron Error: invalid secret string
February 22, 2017
ProBuilder Advanced
July 16, 2017

WordPress Menu Link Open In New Window or Tab

Have you ever wanted to open a link from a WordPress navigation menu in a new tab or window only to realize there is no option for it?  This kind of behavior is normally achieved by adding a simple target="_blank" to your anchor tag but how do we do this in WordPress?  Some people would say to use a filter to accomplish it but should we have to use a filter for something so simple?

Enter the wonderful world of screen options:

WordPress Screen Options

Hidden in the upper right corner of your WordPress menu administration screen is this wonderful drop down button that houses all sorts of delightful options you never knew existed, and look what the first option is:

Advanced Menu Properties

If we put a check next to the Link Target option we will now have the ability to open specific menu items as new windows or tabs.

WordPress Menu Editor

It can’t get any easier than this.  If you know some other ways to accomplish this feel free to leave a comment below.

Mike Wojcik
Mike Wojcik
WordPress Expert, Web & Game Developer, Superhero & Dad. Mike has been involved in software and web development for over a decade and has experience that covers a wide range of different areas ranging from server deployment and maintenance to project management to full scale website development from scratch.

Comments are closed.