تفصیل
Hide Current Page From Menu – Advanced is a lightweight WordPress plugin that automatically hides the menu item corresponding to the current page, post, or custom post type.
It works dynamically — no need to edit your menus manually — and supports nested menu structures, specific menu locations, and role-based visibility.
Perfect for:
– Hiding the “current” page to simplify navigation
– Restricting certain menus for logged-in or logged-out users
– Keeping dynamic menus clean without coding
Features
- Automatically hides the current page’s menu item.
- Supports nested (hierarchical) menus and ancestor cleanup.
- Works with pages, posts, and custom post types.
- Role-based visibility controls.
- Menu location targeting.
- Lightweight and optimized for performance — no front-end JavaScript required.
انسٹالیشن
- Upload the plugin folder to
/wp-content/plugins/. - Activate the plugin from the Plugins menu in WordPress.
- Go to Settings Menu Visibility to configure exclusions by role, menu, or post type.
عمومی سوالات
-
How do I configure the plugin?
-
Go to Settings Menu Visibility and choose which menu items, user roles, or locations to exclude.
-
Does this plugin support custom post types?
-
Yes, it supports pages, posts, and any registered custom post type that appears in menus.
-
No. The plugin works only on the PHP menu output layer using standard WordPress filters — it’s fully theme-safe and doesn’t modify your actual menu data.
شراکت دار اور ڈیویلپرز
“Hide Current Page From Menu – Advanced” اوپن سورس سافٹ ویئر ہے۔ مندرجہ ذیل لوگوں نے اس پلگ ان میں حصہ لیا:
شراکت دار“Hide Current Page From Menu – Advanced” کا اپنی زبان میں ترجمہ کریں۔
ڈویلپمینٹ میں دلچسپی ہے؟
کوڈ براؤز کریں، ایس این وی ریپوزیٹری کو چیک کریں یا ڈویلپمینٹ لاگ کو سبسکرائب کریں بذریعہ آر ایس ایس۔
چینج لاگ
3.0.0
- Complete rewrite with OOP architecture
- Added menu caching system
- Added activity logging
- Added post type exclusions
- Added device-based rules
- Added capability requirements
- Added ancestor hiding
- Added sibling CSS classes
- Added Ajax admin features
- Added developer hooks
- Improved performance
- Enhanced admin UI
1.0
- Initial release.
- Hides current page menu items with role, menu, and post type exclusions.
- Supports nested menus with automatic ancestor cleanup.
- Fully compatible with pages, posts, and custom post types.

