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

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.

 

Download: Version 0.1 – 0.2MB

Also available on WordPress.org
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 on the right:

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
screenshot-3

 

  • PierJean ML

    Great idea but it does not work for me
    I have WP 4.1.1 and PHP 5.4.21.
    I create a” management” page as public so it shows on the navbar
    if I set it up as private, and made sure it is reported in the menu structure after searching it and adding it to the menu list
    BUT it disapear.from the navbar so is useless for me.
    any idea?

    • http://www.richard-stanton.com stanton119

      The menu item should only appear for users that are logged in. From the admin panel, does the menu structure still show the private page?

      • PierJean ML

        Yes I agree 100% that is why I tried this plugin. But it did not work
        for me as it was invisible to me when marked private and while being
        logged as administrator with all the rights. it did not work as
        intended.

        • http://www.richard-stanton.com stanton119

          I have just checked it is working on 4.1.1. I have checked through the plugin again, I don’t see any bugs there.

          Are there any other menu based plugins that you are using?
          Would you be able to see if the menu items are present if the plugin is disabled?

          • PierJean ML

            I did reinstalled the plugin, followed instrcution to the letter. of course when openu amin/menu, my page ws not showing because labeled as “private” so I searchit and placed it in the menu but did not appear online. same as before. when making the page public of course it was showing logged in or out. I am also using a widget that is included in my WP Theme : Aspen vertical menu that display the menu in a widget right column. I deleted it but that made no difference whatsoever. I am I doing something wrong?

          • http://www.richard-stanton.com stanton119

            It sounds like you’re doing everything fine. If it looks like it does in the screenshots, then thats great.
            I think its likely a compatibility issue with your other widgets, or your theme in that case.
            As I can’t control the other plugins, there may not be much I can do on my part to fix it. I’ve just changed a small part of the plugin that may help the situation. I’ve updated the plugin on WordPress so it should be available now. If this doesn’t solve it, then apologies, but it’s out of my control.

          • PierJean ML

            sorry, my last post is above the one showing last because I reply under your post instead to under my last one.(I am new to WP as you can guess.!

            so disregard the post above and you will see that it is working now. it worked after removing the menu widget and reinstalling it after seeing your plugin was indeed working. everything is ok now. thanks for a great plugin!

          • http://www.richard-stanton.com stanton119

            Brilliant, glad it worked out!

          • PierJean ML

            never mind! After giving up my hope I reinstalled my widget sidebar afterI logged in again and miracle happened! the private page was now showing on my navbar and accessible as admin.
            just to make sure, I logged out and it disappeared.
            I suppose the widget must be the cause of this, so if someone have the same problem, desinstalling the widget and reinstalling seems to crrect thep problem.
            Thanks!