If you are a blogger and for your website you are using WordPress and often you need to create pages in their blog, but you don’t want to display them in menu.
In this article I will show you how to exclude pages from the menu in WordPress.
Exclude Pages From The Menu In WordPress
Mostly the menu is define in your sidebar.php page but it can be also found in another location. Open the sidebar.php file and find the below code:
Now replace the following code:
<?php wp_list_pages('exclude=18,20' ); ?>
As per requirement change the number of the page ID that page will not display in menu.
You can also use this plugin to exclude page from menu.