With certain sites, it may be of value to hide navigational items from the WordPress menu. For example, you may wish to display a website’s section to only users who are logged in. Conditional logic made simple by using this excellent free plugin; Nav Menu Roles by Kathy Darling. Have a look at the image below (click to enlarge):

Nav Nenu Roles

As you can see, by simply ticking the radio buttons, you can choose to hide or display items from the public as well as by user role. Very handy! It should be noted this plugin will not hide your content. In other words, if someone knows the URL to your page, it will be visible. If hiding pages is your goal, try a membership plugin, or:


  • Use “no-index” and “no-follow” directives which tells search engines to not index or follow your page. The major SEO plugins such as Yoast and All-In-One offer this feature.
  • Edit your robots.txt file by adding a line such as:
    User-agent: *
    Disallow: /your-page/
  • Password Protect a page or post using the WordPress Editor.
Share This