How to add a target _blank on a WordPress menu item or other elements?


I want to add a target attribute of a link on the top menu from wordpress backend.

Junior Developer Asked on July 20, 2018 in WORDPRESS.
Add Comment
1 Answer(s)
Best answer

Please follow the below steps to add a target attribute of a specific link on the wordpress Menu.You don’t need to do any hardcore programming.It’s very easy to activate.

Step 1:

Please Go to “Menus” under “Appearance”. Then click on the “Screen Options” button, located on the top right corner in wordpress backend.
Step 2:

Just enable “Link Target option” under “Show advanced menu properties”.

Step 3:

In your Menu items,a new field will be displayed as “Link Target”.Please check that option and it will works.

Team Leader Answered on July 20, 2018.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.