Beskrivning
The IF Menu plugin adds a powerful yet simple feature to WordPress menus: conditional visibility.
This plugin lets you control whether a specific menu item is:
* Shown to all visitors
* Shown only to logged-in users
* Shown only to logged-out users
Features
- Simple and intuitive interface
- Works seamlessly inside Appearance > Menus
- Lightweight and secure — no external libraries
- No performance impact or bloat
- Developed by Valeri Kluger (vk-projekte.de)
Installation
- Upload the plugin ZIP via Plugins > Add New > Upload
- Activate the plugin
- Go to Appearance > Menus
- For each menu item, choose when it should be visible
Recensioner
Detta tillägg har inga recensioner.
Bidragsgivare och utvecklare
”IF Menu Visibility” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personerÖversätt ”IF Menu Visibility” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
1.0.4
- Added ABSPATH check to prevent direct file access
- Minor code cleanup and preparation for manual review submission
1.0.3
- Changed all promotional links to open in a new tab
- Improved user experience for upgrade prompts
1.0.2
- Fixed saving bug for ”Only show when logged out”
- Added proper nonce verification for secure form submission
- Removed all PHPCS warnings related to unsanitized $_POST and nonce handling
- Stable tag now correctly matches plugin version (readme.txt)
- Fully tested with WordPress 6.8.1 and PHP 8.3
1.0.1
- Full escaping and security compliance (nonces, sanitization, validation)
- Fixed readme formatting and WordPress.org compatibility
