The WPSN official theme handles it's own menu, and visibility of menu items if a user is logged in or not.
If you are using your own theme, you will want to provide a dynamic menu where menu items are shown (or not) depending on whether a user is logged in or not automatically. For example, you want to show the Login page when they are logged out, but not when they are logged in.
How you do this, depends on your theme, and potentially other plugins, you have enabled.
For block enabled themes (like Twenty Twenty-Four), try the Block Visibility plugin (you may have to enabled "Full Control" mode via the plugin's General Settings).
For other themes, which have Appearance / Menus enabled, try the If Menu - Visibility control for Menus.
This video covers the second option.
wpsn.site
Негізгі бет WPSN - Show and Hide Older Theme Menu Items
Пікірлер