Skip to main content
Agency Program 50% cashback. 10% commissions. Priority support. Built for growing agencies. 50% cashback for agencies Speak to the team Join free
Exclude Pages icon

Exclude Pages

v1.92
by Simon Wheatley · 4.9 (47 reviews)

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.

30K+ active installs Updated Nov 28, 2017 Tested to 3.4.2
Try Demo Download
Pre-installed Ready in ~10s No card

About Exclude Pages

This plugin allows you to exclude certain pages from appearing in the navigation menus on your website. It also provides advanced features such as pausing and resuming the exclusion effect, and getting an array of the IDs of the excluded pages. However, please note that it may be incompatible with some other plugins and themes.

Screenshots

Exclude Pages screenshot
Exclude Pages screenshot
Exclude Pages screenshot
Exclude Pages screenshot

Frequently asked questions

What does this plugin do?
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.
How can I exclude a page from the page navigation menus?
To exclude a page from the page navigation menus, you can uncheck the 'include this page in menus' checkbox.
Do child pages of excluded pages show up in menu listings?
No, pages which are children of excluded pages also do not show up in menu listings.
Is it possible to temporarily pause and resume the effect of Exclude Pages?
Yes, it is possible to temporarily pause and resume the effect of Exclude Pages by using the <code><?php pause_exclude_pages(); ?></code> and <code><?php resume_exclude_pages(); ?></code> templates tags.
Can I get an array of the IDs of the excluded pages?
Yes, you can get an array of the IDs of the excluded pages by calling the function <code>ep_get_excluded_ids();</code>.

Changelog

v1.92

  • BUGFIX: Fix deprecated notice when WP_DEBUG is true, thanks hansfordmc
  • Tested up to WordPress v3.3

v1.91 2011/08/26

  • BUGFIX: Prevent notice from appearing, thanks Ray

v1.9 2010/6/16

  • Tested with WP 3.2.1
  • ENHANCEMENT: Detects the use of WP menus and advises the user accordingly

v1.8.4 2010/5/21

v1.8.3 2010/5/20

v1.8.2 2010/5/14

Dear Non-English Exclude Pages Users,

This release includes the facility for Exclude Pages to be translated into languages other than English. Please contact me if you want to translate Exclude Pages into your language.

Sorry it took so long.

Best regards,

Simon

  • DROPPED SUPPORT FOR WORDPRESS VERSIONS PRIOR TO VERSION 2.7
  • BUGFIX: Everything was reporting that it was excluded by an ancestor for some reason. Crazy. Fixed now.
  • LOCALISATION: Added POT file! Woo hoo!

v1.8.1 2010/4/19

  • BUGFIX: Check for existence of parent object before attempting to use it. (Thanks to Robert Kosara for the bug report.)

v1.8 2009/10/27

  • BUGFIX: PHP 5.3 doesn’t like the fact that parameters marked as passed by reference as passed as value. Params now not marked as passed by ref.

v1.7 2009/7/29

  • ENHANCEMENT: You can now turn the Exclude Pages functionality off in the admin area through use of a filter (this is mainly of advantage to other plugin and theme author).

v1.6 2009/6/8

  • ENHANCEMENT: You can now turn the Exclude Pages functionality off before showing navigation which you want to be comprehensive (and show pages you’ve normally hidden). This is done with the new <?php pause_exclude_pages(); ?> and <?php resume_exclude_pages(); ?> templates tags.

v1.51 2009/4/23

  • FIX: Was throwing an error when $pages turned out not to be an array. Thanks to (Sandra)[http://www.vinyltangerine.com/] for reporting this.

v1.5 2008/11/03

  • ENHANCEMENT: Now compatible with WP 2.7-beta1
  • DOCS: Added a list of incompatible plugins
  • DOCS: Added a list of incompatible themes

v1.4 2008/01/02

  • ENHANCEMENT: Now compatible with WP 2.5
  • FIX: Pages are also excluded from the “Front page displays:” > “Posts page:” admin menu. (Reported by Ed Foley) This plugin now checks if it’s within the admin area, and does nothing if it is.

v1.3 2008/01/02

  • FIXED: Descendant (e.g. child) pages were only being checked to a depth of 1 generation.
  • FIXED: The link to visit the hidden ancestor page from an affected descendant page was hard-coded to my development blog URL. (Reported by webdragon777)
  • FIXED: Stripped out some stray error logging code.

v1.2 2007/11/21

  • ENHANCEMENT: Child pages of an excluded page are now also hidden. There is also a warning message in the edit screen for any child page with a hidden ancestor, informing the person editing that the page is effectively hidden; a link is provided to edit the ancestor affecting the child page.

v1.1 2007/11/10

  • FIXED: Pages not created manually using “Write Page” were always excluded from the navigation, meaning the admin has to edit the page to manually include them. Pages created by other plugins are not always included in the navigation, if you want to exclude them (a less common scenario) you have to edit them and uncheck the box. (Reported by Nudnik)

Try other plugins

Really Simple SSL icon

Really Simple SSL

4.9 · 4M+ installs

The easiest way to improve security! Leverage your SSL certificate and protect your website visitors.