{"id":248509,"date":"2025-08-27T05:54:23","date_gmt":"2025-08-27T05:54:23","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/hide-current-page-from-menu-advanced\/"},"modified":"2025-11-27T15:23:35","modified_gmt":"2025-11-27T15:23:35","slug":"hide-current-page-from-menu-advanced","status":"publish","type":"plugin","link":"https:\/\/en-gb.wordpress.org\/plugins\/hide-current-page-from-menu-advanced\/","author":23233122,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"3.0.0","stable_tag":"3.0.0","tested":"6.8.5","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"Hide Current Page From Menu \u2014 Advanced Pro","header_author":"cradlesn","header_description":"Hides the current page's menu item, with exclusions by role, menu location, and specific menu item IDs. Secure settings with sanitization.","assets_banners_color":"fdfdfc","last_updated":"2025-11-27 15:23:35","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/hide-current-page-from-menu-advanced\/","header_author_uri":"https:\/\/profiles.wordpress.org\/cradlean\/","rating":5,"author_block_rating":0,"active_installs":0,"downloads":333,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"cradlean","date":"2025-08-27 05:53:53"},"2.0.0":{"tag":"2.0.0","author":"cradlean","date":"2025-10-28 17:33:12"},"2.0.1":{"tag":"2.0.1","author":"cradlean","date":"2025-10-28 17:38:42"},"2.0.2":{"tag":"2.0.2","author":"cradlean","date":"2025-10-28 17:43:57"},"2.0.3":{"tag":"2.0.3","author":"cradlean","date":"2025-10-28 17:50:01"},"2.0.4":{"tag":"2.0.4","author":"cradlean","date":"2025-10-28 17:54:48"},"2.0.6":{"tag":"2.0.6","author":"cradlean","date":"2025-10-28 18:14:50"},"3.0.0":{"tag":"3.0.0","author":"cradlean","date":"2025-11-27 15:23:35"}},"upgrade_notice":{"1.0":"<p>First stable release with full support for roles, menus, post types, and nested menu structures.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3351227,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":3351227,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.6","3.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3351227,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"The settings page showing role and menu options."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[246889,251280,1865,1753,11917],"plugin_category":[43],"plugin_contributors":[246890],"plugin_business_model":[],"class_list":["post-248509","plugin","type-plugin","status-publish","hentry","plugin_tags-hide-current-page","plugin_tags-hide-menu-item","plugin_tags-menu","plugin_tags-navigation","plugin_tags-user-roles","plugin_category-customization","plugin_contributors-cradlean","plugin_committers-cradlean"],"banners":{"banner":"https:\/\/ps.w.org\/hide-current-page-from-menu-advanced\/assets\/banner-772x250.png?rev=3351227","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/hide-current-page-from-menu-advanced\/assets\/icon-128x128.png?rev=3351227","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/hide-current-page-from-menu-advanced\/assets\/screenshot-1.png?rev=3351227","caption":"The settings page showing role and menu options."}],"raw_content":"<!--section=description-->\n<p><strong>Hide Current Page From Menu \u2013 Advanced<\/strong> is a lightweight WordPress plugin that automatically hides the menu item corresponding to the current page, post, or custom post type.<br \/>\nIt works dynamically \u2014 no need to edit your menus manually \u2014 and supports nested menu structures, specific menu locations, and role-based visibility.<\/p>\n\n<p><strong>Perfect for:<\/strong><br \/>\n- Hiding the \u201ccurrent\u201d page to simplify navigation<br \/>\n- Restricting certain menus for logged-in or logged-out users<br \/>\n- Keeping dynamic menus clean without coding<\/p>\n\n<h3>Features<\/h3>\n\n<ul>\n<li>Automatically hides the current page\u2019s menu item.<\/li>\n<li>Supports nested (hierarchical) menus and ancestor cleanup.<\/li>\n<li>Works with pages, posts, and custom post types.<\/li>\n<li>Role-based visibility controls.<\/li>\n<li>Menu location targeting.<\/li>\n<li>Lightweight and optimized for performance \u2014 no front-end JavaScript required.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to <code>\/wp-content\/plugins\/<\/code>.<\/li>\n<li>Activate the plugin from the <strong>Plugins<\/strong> menu in WordPress.<\/li>\n<li>Go to <strong>Settings \u2192 Menu Visibility<\/strong> to configure exclusions by role, menu, or post type.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20do%20i%20configure%20the%20plugin%3F'><h3>How do I configure the plugin?<\/h3><\/dt>\n<dd><p>Go to <strong>Settings \u2192 Menu Visibility<\/strong> and choose which menu items, user roles, or locations to exclude.<\/p><\/dd>\n<dt id='does%20this%20plugin%20support%20custom%20post%20types%3F'><h3>Does this plugin support custom post types?<\/h3><\/dt>\n<dd><p>Yes, it supports pages, posts, and any registered custom post type that appears in menus.<\/p><\/dd>\n<dt id='will%20it%20affect%20my%20theme%20or%20menu%20design%3F'><h3>Will it affect my theme or menu design?<\/h3><\/dt>\n<dd><p>No. The plugin works only on the PHP menu output layer using standard WordPress filters \u2014 it\u2019s fully theme-safe and doesn\u2019t modify your actual menu data.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>3.0.0<\/h4>\n\n<ul>\n<li>Complete rewrite with OOP architecture<\/li>\n<li>Added menu caching system<\/li>\n<li>Added activity logging<\/li>\n<li>Added post type exclusions<\/li>\n<li>Added device-based rules<\/li>\n<li>Added capability requirements<\/li>\n<li>Added ancestor hiding<\/li>\n<li>Added sibling CSS classes<\/li>\n<li>Added Ajax admin features<\/li>\n<li>Added developer hooks<\/li>\n<li>Improved performance<\/li>\n<li>Enhanced admin UI<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<li>Hides current page menu items with role, menu, and post type exclusions.<\/li>\n<li>Supports nested menus with automatic ancestor cleanup.<\/li>\n<li>Fully compatible with pages, posts, and custom post types.<\/li>\n<\/ul>","raw_excerpt":"Hide the current page\u2019s menu item dynamically with advanced options for user roles, menu locations, and post types. Clean, fast, and fully theme-safe.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/248509","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=248509"}],"author":[{"embeddable":true,"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/cradlean"}],"wp:attachment":[{"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=248509"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=248509"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=248509"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=248509"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=248509"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=248509"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}