Connect with us

[WordPress Menu] Open Links in New Window/Tab

wordpress

[WordPress Menu] Open Links in New Window/Tab

I was working with WordPress project in last week and I came across client suggestion that he want to open the menu links in new tabs. Menu links were coming from WordPress Menu (Appearance > Menus). Everyone knows, in HTML it is achieved by adding target attribute to anchor tag to open link in new tabs or window.

To achieve it in WordPress Menus, I open the menus section and was searching for the target attribute option but unable to see at first moment. After a pause of few minutes, I open the screen options and is a option “Link target” under Show advanced menu properties. You need to tick this so you can see “Open link in a new window/tab” with check box for each menu item. Voila!

Continue Reading
Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

More in wordpress

To Top
Grab the largest plugin bundle from CodeCanyon!