Create a careers page for your company website, or build a public job board for your community.
This plugin adds a checkbox, “include this page in menus”, uncheck this to exclude pages from the page navigation that users see on your site.
Exclude Pages is a WordPress plugin that allows you to control which pages appear in your site's navigation menus. By adding a checkbox labelled 'include this page in menus', you can easily exclude specific pages from being displayed in the menu structure. This is particularly useful for managing visibility of pages that may not be relevant to your site's navigation.
The plugin also provides advanced features, such as the ability to pause and resume the exclusion effect using specific template tags. Additionally, it allows you to retrieve an array of excluded page IDs for further use. This plugin is suitable for users who need to customise their site navigation without complex coding.
Best for: This plugin is best for WordPress site owners who want to manage page visibility in their navigation menus.
What it does well
Where it falls short
Exclude Pages offers a straightforward solution for customising navigation menus, though it has some compatibility limitations that users should consider.
Simon Wheatley's own description of Exclude Pages, lightly tidied.
This plugin adds a checkbox, “include this page in menus”, uncheck this to exclude pages from the page navigation that users see on your site.
Any issues: contact me.This plugin adds a checkbox, “include this page in menus”, which is checked by default. If you uncheck
it, the page will not appear in any listings of pages (which includes, and is usually limited to, your
page navigation menus).
Pages which are children of excluded pages also do not show up in menu listings. (An alert in the editing screen,
underneath the “include” checkbox allows you to track down which ancestor page is affecting child pages
in this way.)
It is possible to temporarily pause and resume the effect of Exclude Pages by using the new <?php pause_exclude_pages(); ?> and <?php resume_exclude_pages(); ?> templates tags. The following code will show a list of all pages in your site, even those normally hidden:
<?php pause_exclude_pages(); ?>
<?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?>
<?php resume_exclude_pages(); ?>
You can also get an array the IDs of the pages which are excluded by calling the function ep_get_excluded_ids();, you can then use these IDs as you wish (e.g. feed them into raw MySQL queries).
Note to other plugin authors:
The plugin does not operate on wp_list_pages while the user is on an admin page, if this is an issue you can take advantage of the ep_admin_bail_out filter and create a filter function which returns false to allow Exclude Pages to operate in the admin area.
Another note:
If your plugins or themes don’t use the standard WordPress functions to create their menus then they won’t work. To get them to work you will need to track down the bit of code in the theme/plugin which gets the pages and change it to apply the filter “get_pages” (I cannot be responsible for any unforseen effects of the changes you make, so please test thoroughly). The change to getting pages will probably look something like this:
$pages = apply_filters( 'get_pages', $pages );
Please contact me if you’re completely stuck and we can discuss possible solutions.
Exclude pages is incompatible with:
Other plugins for job listings.
Create a careers page for your company website, or build a public job board for your community.
Create modern careers page, list jobs, and manage applications directly from your WordPress dashboard.
A superb WordPress Business Directory plugin to create a local business directory, classified ads directory, o...
A simple yet powerful plugin to create a business directory, job board, real estate, classifieds, or basically...
job board plugin for job listings, managing applicants, applications, categories, job types, taxonomies, caree...
WordPress plugin that make it easy to add job postings to your company’s website in a structured way.