How To Get Custom WordPress Menu Links To Open In New Window

WordPress Site MenuThere are times when you may want to add a link into your WordPress menu that is not a page in your site.  Since I build a bunch of Custom WordPress Sites for those in the real estate industry, they sometimes want to link to a home search function that they already own on a different domain.  But, when someone clicks on the link, they end up leaving their site and going some other place.

However, if the custom menu link opens in a new window/tab, then your site is still there on another tab.  On the normal links you place in a page or post, you would simply add a short piece of HTML of target=_blank into your link.  The only problem is that inside WordPress menus, you cannot add any HTML.  So how do you accomplish this? I’m glad you asked.

Here’s a quick tutorial to walk you through it quickly & easily.

I hope this helps.  Make sure to check some of my other WordPress tutorials to help you customize your WordPress site even more.  And as always, if you need help creating or designing your own Custom WordPress site, do not hesitate to contact me.

Jeremy Blanton

Jeremy Blanton is the Co-Founder of 210 Consulting- Social Media Advisors. He is a social media speaker who shares with thousands of people each year on things like how to use Facebook for Business, Blogging, and How to use Twitter.

When he is not coaching or speaking, he spends most of his time working on Custom WordPress Sites for his clients.

More Posts - Website - Twitter - Facebook - LinkedIn - Pinterest - Google Plus - Flickr - YouTube

  • Thanks man! I appreciate your video, it is exactly what I was looking for! Cheers.

  • Glad to hear it man!

  • Great little trick Jeremy. When I originally designed the RE BarCamp NYC site this option was not available and this post reminded me to go in and update that. Thanks!

  • Awesome! Glad it helped!

  • Craig

    This option does not appear to work, at least in WordPress version 3.5.2. It could be related to the theme template, but not sure how a template designer would be able to over-ride core WordPress logic to open in new window… and have heard of others running into the same issue who use different theme templates than my own. Used both Firefox and Chrome browsers to test and get same results; opens in same tab.

  • Hey Craig,

    I think it may be your theme. I just checked on a site that is on the latest version of WP and it is still there. Try switching themes and see if the option is available. I know not all themes work with the WP menu system.

  • Joe

    Thanks Jeremy! Great tutorial 🙂

  • Repiano

    So simple but save me a lot of time and frustration. Than Jeremy!!

  • Thanks! Glad I could help out!