Skip Navigation

[Resolved] My Account page hidden from front-end navigation menu for non-logged in users

This support ticket is created 5 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 5 years, 9 months ago.

Assisted by: Luo Yang.

Author
Posts
#1252413

Hi,

I followed the instructions on building the "My account" page in the documentation. However, when creating a post group for that page, and unchecking guest and replacing it with the login-in template, the My account page becomes hidden from the navigation menu for the non-logged in users and is not replaced with the login in.

Therefore, how can non-logged in users login?

Thanks

#1252507

Hello,

What is the instructions you mentioned above?
In my opinion, you just can display an item "My account" in navigation menu, in "My account" page:
- check if current user is a logged-in user
https://toolset.com/documentation/user-guides/access-control-texts-inside-page-content/

- For guest user display a login form:
hidden link

- For logged-in user display other contents