Exclude Pages - Version 1.8

Version Description

Download this release

Release Info

Developer simonwheatley
Plugin Icon wp plugin Exclude Pages
Version 1.8
Comparing to
See all releases

Code changes from version 1.7 to 1.8

Files changed (2) hide show
  1. exclude_pages.php +2 -2
  2. readme.txt +2 -2
exclude_pages.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: Exclude Pages from Navigation
4
Plugin URI: http://wordpress.org/extend/plugins/exclude-pages/
5
Description: Provides a checkbox on the editing page which you can check to exclude pages from the primary navigation. IMPORTANT NOTE: This will remove the pages from any "consumer" side page listings, which may not be limited to your page navigation listings.
6
- Version: 1.7
7
Author: Simon Wheatley
8
Author URI: http://simonwheatley.co.uk/wordpress/
9
@@ -34,7 +34,7 @@ define('EP_OPTION_SEP', ',');
34
35
// Take the pages array, and return the pages array without the excluded pages
36
// Doesn't do this when in the admin area
37
- function ep_exclude_pages( & $pages )
38
{
39
// If the URL includes "wp-admin", just return the unaltered list
40
// This constant, WP_ADMIN, only came into WP on 2007-12-19 17:56:16 rev 6412, i.e. not something we can rely upon unfortunately.
3
Plugin Name: Exclude Pages from Navigation
4
Plugin URI: http://wordpress.org/extend/plugins/exclude-pages/
5
Description: Provides a checkbox on the editing page which you can check to exclude pages from the primary navigation. IMPORTANT NOTE: This will remove the pages from any "consumer" side page listings, which may not be limited to your page navigation listings.
6
+ Version: 1.8
7
Author: Simon Wheatley
8
Author URI: http://simonwheatley.co.uk/wordpress/
9
34
35
// Take the pages array, and return the pages array without the excluded pages
36
// Doesn't do this when in the admin area
37
+ function ep_exclude_pages( $pages )
38
{
39
// If the URL includes "wp-admin", just return the unaltered list
40
// This constant, WP_ADMIN, only came into WP on 2007-12-19 17:56:16 rev 6412, i.e. not something we can rely upon unfortunately.
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: simonwheatley
3
Donate link: http://www.simonwheatley.co.uk/wordpress-plugins/
4
Tags: get_pages, navigation, menu, exclude pages, hide pages
5
Requires at least: 2.2.3
6
- Tested up to: 2.8.2
7
- Stable tag: 1.7
8
9
This plugin adds a checkbox, “include this page in menus”, uncheck this to exclude pages from the
10
page navigation that users see on your site.
3
Donate link: http://www.simonwheatley.co.uk/wordpress-plugins/
4
Tags: get_pages, navigation, menu, exclude pages, hide pages
5
Requires at least: 2.2.3
6
+ Tested up to: 2.8.4
7
+ Stable tag: 1.8
8
9
This plugin adds a checkbox, “include this page in menus”, uncheck this to exclude pages from the
10
page navigation that users see on your site.