How To: Open a WordPress Menu Link In New Window or Tab?


I have come across multiple WordPress users who aren’t aware that WordPress has a bunch of functions hidden in the “Screen Options” section of multiple Administration Pages. Today I want to show you how to open links in custom menus in a new window or tab (i.e. add a target=”_blank” to link or menu items). Just follow the steps below to unearth the hidden WordPress feature.

 

Step 1:
Click on Appearance >> Menu in the WordPress dashboard.

Opening Links in new windows or tabs using WordPress Custom Menus

 

Step 2:
Look for the Screen Options drop down menu in the top right corner of your browser window.

Opening Links in new windows or tabs using WordPress Custom Menus

 

Step 3:
Under Show advanced menu properties tick the Link Target checkbox.

Opening Links in new windows or tabs using WordPress Custom Menus

 

Step 4:
Add a new link to your custom menu and click on drop down arrow to edit menu items. Voila! You can now decide if your menu item opens in same window or new window.

Opening Links in new windows or tabs using WordPress Custom Menus

 

[Ref: http://richwp.com/open-wordpress-menu-links-in-new-window/]
Advertisements

One thought on “How To: Open a WordPress Menu Link In New Window or Tab?

Ask J

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s