/User-Menus

Show/hide menu items to logged in users, logged out users or specific user roles. Display logged in user details in menu. Add a logout link to menu.

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

User Menus

Needs to show or hide menu items to logged in users, logged out users or specific user roles in WordPress? User Menus is the plugin you need!

Feel free to browse the code and make suggestions/requests. Thanks!

Getting Started

Downloading And Using As A Plugin

To use this plugin, this repo can be downloaded as a zip and installed as-is as a WordPress plugin. Once installed and activated, Go to wp-admin > Appearance > Menus and edit your menu.

Getting Set Up For Development

Prerequisites

In order to run our Gulp tasks, you will need Node.js and NPM installed. To do so, you can follow the NPM documentation's guide. If you have not used NPM before, you can refer to this beginner's guide to NPM.

This plugin uses a series of Gulp tasks to clean and prepare builds. To get started, run npm install to get the necessary gulp dependencies.

Gulp Tasks

As normal, we have our gulp tasks in the gulpfile.js file.

Task info coming soon....

Built With

  • SASS - The CSS pre-processor we use. We use the SCSS syntax.

Deployment

This is a WordPress plugin that is hosted on the WordPress.org SVN repo. There is not currently any automated deployment. Instead, once a release is published on GitHub, that release is manually uploaded to the SVN.

Contributing

Community made feature requests, patches, localizations, bug reports, and contributions are always welcome and are crucial to ensure User Menus continues to grow.

When contributing please ensure you follow the guidelines below so that we can keep on top of things.

Please Note: GitHub is not intended for support based questions. For those, please use the support forums.

Creating Issues

  • If you have any bugs or feature requests, please create an issue
  • For bug reports, please clearly describe the bug/issue and include steps on how to reproduce it
  • For feature requests, please clearly describe what you would like, how it would be used, and example screenshots (if possible)

Pull Requests

  • Ensure you stick to the WordPress Coding Standards
  • When committing, reference your issue (if present) and include a note about the fix
  • Push the changes to your fork and submit a pull request to the 'master' branch of this repository
  • We are trying to ensure that every function is documented well and follows the standards set by phpDoc going forward

Versioning

We use SemVer for versioning. For the versions available, see the releases in this repository.

Developers

  • Daniel Iser - Lead Developer

See also the list of contributors who participated in this project.

License

This project is licensed under the GPLv3 License.

Support

This is a developer's portal for User Menus and should not be used for support. Please create a support ticket here.