0

You see I have a Navigation bar items, in the parent item Products & Services with two sub menus.

redire

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.

0

Source

In the wp-admin under menus you just have to replace the ‘#’ with the url for the parent item.

| improve this answer | |
  • 1
    can you explain more how to do with this? what's the wp-admin under menus ? and how to replace the ‘#’ with the url ? – 244boy Nov 26 '19 at 9:52
  • go to the customize page and go for menus and change the url on the "Productd and Services" in the image above – Max Chan Nov 26 '19 at 10:14
0

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>
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.