This function is responsible for making your menu appear conditionally, depending on whether the user is logged in or not. That is, with this function, for example, you can make your store show a link in the menu to Login when the user has not yet logged in and just when the user logs in, to change the item automatically and My Account is displayed instead “Login”.
To use this function, you will need to have previously created 2 menus, one to show users who are logged in and another for those who have not yet logged in.
Loggedmenu : Home About Shop Blog Login
Nonloggedmenu: Home About Shop Blog My Account
Once you have the two menus created, all you have to do is go to the Woo Shortcodes Kit settings and follow these steps:
1º Activate the function making the slider show in green
2º It displays the advanced options of the function
3º Select the location of the menu
4º Choose the menu to show for users who are logged in
5º Choose the menu to display for users who are not logged in
6º Slide to the end, where you will find the button to save the settings
With the saved settings, you can verify that everything works correctly just by visiting the website as a connected user (the menu will appear for users who are logged in) and then log out or visit your website with the browser in incognito mode (the menu will appear for users who are not logged in)
If you want to expand the possibilities of your menu, you can do it with the following functions included in this section.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.