Wordpress Member Navbar allows you to hide private pages from guests.

Download: wordpress.org/plugins/member-private-navbar/

No login link
Login link

Also available on GitHub

Any pages that have their visibility set to private will be ommitted by the menu for any user that is a guest. When a user logs in those private pages will appear in the navbar.

Private pages may not appear in the page list from the menu creation tool. Instead simply use the search box to find the private page, and then add it as normal to the menu.

On the left, the menu items Forums and My Account are only available when the member is logged in.

If you have any feature requests, problems or questions please use the comments section at the bottom of the page.


Setup

To install:

  1. Download the ZIP file and upload to the wp-content/plugins directory
  2. Navigate to the Plugins panel of the admin panel
  3. Activate the plugin!

Adding Private Pages

To add private pages to the menu use the search box as illustrated below:

Adding private pages


Changing Pages to Private

To change a page to private, use the Visibility option under the Publish box in the top-right hand of the editor window:

Private pages