{"repo":"helgatheviking/Nav-Menu-Roles","free":true,"listed":false,"github":"https://github.com/helgatheviking/Nav-Menu-Roles","clone":"git clone https://github.com/helgatheviking/Nav-Menu-Roles.git","description":"Display / Hide wp_nav_menu() items by role","language":"PHP","stars":66,"topics":["nav-menu","menus","wordpress","hacktoberfest"],"license":null,"category":"self-hosted-apps","readme_excerpt":"Nav Menu Roles Contributors: helgatheviking Donate link: https://www.paypal.com/fundraiser/charity/1451316 Tags: menu, menus, nav menu, nav menus Requires at least: 4.5.0 Tested up to: 6.8.0 Requires PHP: 5.3.2 Stable tag: 2.1.3 License: GPLv3 Hide custom menu items based on user roles. Description This plugin lets you hide custom menu items based on user roles. So if you have a link in the menu that you only want to show to logged in users, certain types of users, or even only to logged out users, this plugin is for you. Nav Menu Roles is very flexible. In addition to standard user roles, you can customize the functionality by adding your own check boxes with custom labels using the nav menu roles filter and then using the nav menu roles item visibility filter to check against whatever criteria you need. You can check against any user meta values (like capabilities) and any custom attributes added by other plugins. IMPORTANT NOTE In WordPress menu items and pages are completely separate entities. Nav Menu Roles does not restrict access to content. Nav Menu Roles is only for showing/hiding nav menu items. If you wish to restrict content then you need to also be using a membership plugin. Usage 1. Go to Appearance Menus 1. Set the \"Display Mode\" to either \"logged in users\", \"logged out users\", or \"everyone\". \"Everyone\" is the default. 1. If you wish to customize by role, set the \"Display Mode\" to \"Logged In Users\" and under \"Restrict menu item to a minimum role\" check the boxe","default_branch":null,"files":null,"tree":[],"storefront":"/r/helgatheviking","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/helgatheviking/Nav-Menu-Roles/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}