Comments hatupen started the conversationOctober 28, 2017 at 5:02pmHello,How can I show Woocommerce page links (My Account, Orders, etc.) to only logged in users? There is no option in the menu settings.Thanks! 3,034Andrew repliedOctober 29, 2017 at 12:48pmHi hatupen,There is no option for this in the theme.You will need to do your own customization.You could add code around the links \ elements in the PHP files to check if the current status of the user is logged in: https://developer.wordpress.org/reference/functions/is_user_logged_in/Hope you can work it from there.hatupen repliedOctober 29, 2017 at 8:52pmThanks Andrew. I have seen there are plugins for this. They basically add options to menu items to disable the links based on the roles. Will they work or the theme does not allow for this option at all? 9,016Tahir repliedOctober 30, 2017 at 7:54amHey Again,They should work with Salient as we follow standard integration guidelines of Woocommerce . B.est ThemeNectar Support Team Sign in to reply ...
Hello,
How can I show Woocommerce page links (My Account, Orders, etc.) to only logged in users? There is no option in the menu settings.
Thanks!
Hi hatupen,
There is no option for this in the theme.
You will need to do your own customization.
You could add code around the links \ elements in the PHP files to check if the current status of the user is logged in: https://developer.wordpress.org/reference/functions/is_user_logged_in/
Hope you can work it from there.
Thanks Andrew. I have seen there are plugins for this. They basically add options to menu items to disable the links based on the roles. Will they work or the theme does not allow for this option at all?
Hey Again,
They should work with Salient as we follow standard integration guidelines of Woocommerce .
B.est
ThemeNectar Support Team