You see I have a Navigation bar items, in the parent item Products & Services
with two sub menus.
I have a requirement, when I click the menu item Products & Services
it redirect to its sub-menu Dedicated Servers
.
How can I do with this?
EDIT-01
I only want the Products & Services
parent have this redirect, the other parent do not need, such as Home
, Advantage
they all have their own page.
You see I have a Navigation bar items, in the parent item Products & Services
with two sub menus.
I have a requirement, when I click the menu item Products & Services
it redirect to its sub-menu Dedicated Servers
.
How can I do with this?
EDIT-01
I only want the Products & Services
parent have this redirect, the other parent do not need, such as Home
, Advantage
they all have their own page.
Source
In the wp-admin under menus you just have to replace the ‘#’ with the url for the parent item.
My solution is let the window location redirect redirect to your special URL:
<script>
jQuery(document).ready(function(){
window.location.href="http://path/to/dedicated-servers/";
})
</script>