by Raihan Reza on WordPress.org
Adds start and expiration dates with time control to menu items in WordPress, controlling their visibility based on the set date and time range.
The Menu Expiration Control plugin adds start and expiration dates along with precise time control to WordPress menu items, allowing you to control exactly when each menu item is displayed. This feature is useful for temporary promotions, seasonal menus, flash sales, limited-time offers, or any situation where menu items should only be visible for a specific period.
Key Features:
Perfect For:
If you encounter any issues or have questions, please contact us at [https://elvirainfotech.com/contact-us/].
You can also visit our website for more information and support resources.
File Structure:
menu-expiration-control/
├── menu-expiration-control.php (Main plugin file)
└── assets/
└── jquery-ui.css (Datepicker styling)
Hooks Used:
* wp_nav_menu_item_custom_fields – Adds custom fields to menu items
* wp_update_nav_menu_item – Saves custom field data
* wp_nav_menu_objects – Filters menu items based on date/time
* admin_enqueue_scripts – Loads datepicker assets
Browser Compatibility:
* Chrome/Edge (latest)
* Firefox (latest)
* Safari (latest)
* Mobile browsers supported
This plugin does not collect, store, or transmit any user data. All date and time settings are stored locally in your WordPress database as post metadata.
This plugin is licensed under the GPLv2 or later license.