How to hide a page for logged out users

How to hide a page or a post

You may use the tool "UM Content Restriction" to hide a page for logged out users. Set these options:

  • Restrict access to this content?  => checked
  • Who can access this content?  => "Logged in users"
  • What happens when users without access tries to view the content?  => "Redirect user"
  • Where should users be redirected to?  => "Login page"

Note: You can limit page (or post) visibility by user roles.

[Pages > Edit page]

The "Ultimate Member" plugin allows you to disable/enable the "UM Content Restriction" tool for each post type and taxonomy type.

[Ultimate Member > Settings > Access > Restriction Content]

How to hide a menu item

You may use the tool "Ultimate Member Menu Settings" to hide a menu item for logged out users. Set these option:

  • Who can see this menu link?  => "Logged In Users"

Note: You can limit menu item visibility by user roles.

[Appearance > Menus]