Skip to content

Control the visibility of WordPress menu items based on user roles, login state, device, location, language, and more.

License

Notifications You must be signed in to change notification settings

Thiararapeter/SuperWP-Menu-Visibility

Repository files navigation

SuperWP Menu Visibility

Control the visibility of WordPress menu items based on user roles, login state, device, location, language, and more.

Description

SuperWP Menu Visibility allows you to manage the visibility of menu items on your WordPress site based on various conditions, including user roles, whether the user is logged in or out, device type, geographical location, and language preferences.

Features

  • Control visibility based on user roles (e.g., logged-in, logged-out, admin, editor, author).
  • Set visibility based on device type (mobile or desktop).
  • Restrict menu items to specific geographical locations using geolocation.
  • Language-specific visibility support for Polylang integration.
  • Simple and intuitive settings interface.

Installation

  1. Download the plugin from the GitHub repository.
  2. Upload the superwp-menu-visibility folder to the /wp-content/plugins/ directory.
  3. Activate the plugin through the 'Plugins' menu in WordPress.
  4. Go to Settings > Menu Visibility to configure the plugin settings.

Usage

After activating the plugin, you can control the visibility of your menu items by:

  1. Navigating to Appearance > Menus in your WordPress admin panel.
  2. Clicking on a menu item to expand its settings.
  3. Selecting the desired visibility option from the dropdown menu.

Options

The plugin provides several visibility options:

  • Default (Visible to all)
  • Only Logged-in Users
  • Only Logged-out Users
  • Admins and Editors Only
  • Authors Only
  • Only on Front Page
  • Only on Single Post
  • Hide on Mobile Devices
  • Show Only on Desktop

Advanced Features

If advanced features are enabled, you can also:

  • Assign specific languages to menu items for visibility (requires Polylang).
  • Restrict menu items to specific countries based on geolocation.

Screenshots

Include screenshots of the plugin settings and menu configuration here.

Changelog

Version 1.0.02

  • Initial release.

License

This plugin is licensed under the GPLv2 or later license. See License for more details.

Author

Thiarara
Profile on WordPress.org

Contributing

Contributions are welcome! Please fork the repository and submit a pull request.

Support

For support, please open an issue in the GitHub repository.

About

Control the visibility of WordPress menu items based on user roles, login state, device, location, language, and more.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages