How to change page via login as user and admin

I am using WordPress and I’m trying to develop eCommerce website using WooCommerce.

When a user logs in I want to show the following in the menu-bar:

  • Product
  • Category
  • Users profile
  • Orders
  • Cart

Then, when a vendor or seller login, it will show:

  • Vendor’s profile

  • Dashboard

  • Orders,

  • Products

  • Payment options

    How can I achieve this?

1 Answer
1

This plugin will allow you to display your menu items based on the user role on your WordPress site: Nav Menu Roles. If you have a link in the menu that you only want to show to your vendors only, you can toggle that in the Menu page:
enter image description here

Leave a Comment