WordPress, as CMS, let’s you create as many menu as you need for your site. But by default, the menu created in WordPress will open the menus in the current window. But how about opening them in new tab or window? Is it really doable? Well it is doable and here we will study about how to open WordPress menu items in new tab or window, shall we? Well let’s move ahead and let’s the same.
How to create menu in WordPress?
First of all before knowing about how to open WordPress menu items in new tab or window, you need to know about how to create menu and assign it to the required menu location in your site. So, let’s move ahead and learn about how to do it, shall we?
Well, for that, you can visit Appearance->Menus section via your WordPress dashboard. Now, you can create new menu via Create A New Menu button in from the left corner. Now, you will get to choose the menu items for that menu via the left side of the screen.
After choosing the required menu item, just click on the Add to menu button in that same area and then menus will be added. Now, just drag and drop the menu items from right hand side as required for your site and then assign it to the required menu location of your site.
You can find more details on this here. Now after knowing abut how to create menu and assign it to the required menu location, let’s move ahead and learn about how to open WordPress menu items in new tab or window, shall we?
How to open WordPress menu items in new tab or window?
For this, you first need to visit Appearance->Menus section, from which you will be managing the menus for your site. Now, after visiting there, you will find the Screen Options in the top right corner. You just need to click on it. After that, you will be presented with lots of checkbox option there.
By default, menu items to be opened in new tab is not selected. And the checkbox option which allows the menu items to open in new tab is: Link Target under the Show advanced menu properties section there. So, put the checkmark on that checkbox option.
After that, you will see new option of Open link in a new tab in each of the menu items available to edit after opening those. So, for opening them in new tab, you just need to put checkmark on that checkbox option and the menus will be opened in new tab or window after you save that menu for your site.
You can see in the above screenshot, we have marked some of the section for the menus. Those marks are about where the option to open menu items in new tab or window is located to in your WordPress dashboard.
You may also want to read:
- Integrate Bootstrap Responsive Table In WordPress Theme
- Integrate Bootstrap NavBar 4 Into WordPress Theme
- Tutorial On Creating WordPress Child Theme
- Add Read More Button In WordPress Post
- Display Different Widgets Per Different Pages
If you have successfully followed this tutorial and have became successfully able to open WordPress menu items in new tab or window for your site then, we can assume that you are now more familiar on this than before. But, if you are still confused about how to do it and want more help on this then do drop the comment below in the comment box and we will follow it up.