This plugin is now deprecated, please use WordPress Access Control for access to new features, such as restrict to members or non-members, restrict to certain roles and specify a redirect URL. This name didn’t suite the version 2.0.
This plugin allows you to mark a page as “Members Only”. Once this is done, the user must login to view the page. However, you can still add the page to the menu, and it will then ONLY show up if the user is authenticated. That way you can have more items for logged in members on your website.
This plugin is designed for people using WordPress as a CMS. It’s extremely easy to use. You install the plugin, and activate it. Whenever you create or edit a page there is a checkbox on the sidebar that allows you to mark that page as members only.
This plugin now fully supports wp_nav_menu and wp_page_menu for older sites, so it should be compatible with older versions of WordPress, as well as wp_list_pages for certain themes.
It automatically sets the walker class to the one we custom made so theme developers don’t need to do anything
Installation is very simple:
- Activate the plugin through the ‘Plugins’ menu in WordPress
- You can now go to a page and mark it as members only.
- I get a PHP error when I try to activate your plugin
This was caused by PHP4, which is now supported in version 1.4
There are no reviews for this plugin.
“Members Only Menu Plugin” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。貢獻者
- Fixed a problem with certain themes that use wp_list_pages as my plugin didn’t affect that function. It does now, as we hook into get_pages. Also updated some of the code to better reflect WordPress coding standards
- Fixed a problem in pre WordPress 3 instances where a PHP error is generated due to lack of the Walker_Nav_Menu class
- Fixed (X)HTML validation errors caused by an empty ul which could occur if all items in a submenu were members only but the parent element was not.
- Fixed a bug where third level menu items with members only attributes would break the HTML/menu
- Fixed an error where submenus would still be generated if the parent was marked as members only. This has been fixed.
- Added support for PHP4
- Added support for wp_page_menu
- Added a filter which catches a fallback to wp_page_menu and removes our walker class from the arguments list
- Added a filter which removed the need to change the wp_nav_menu commands
- Initial Version