Title: [Plugin: Exclude Pages] Exclude by default?
Last modified: August 20, 2016

---

# [Plugin: Exclude Pages] Exclude by default?

 *  [Anointed](https://wordpress.org/support/users/anointed/)
 * (@anointed)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-exclude-pages-exclude-by-default-1/)
 * Is there a filter I can add to exclude new pages by default instead of default
   being include page?
 * *Reading code saw:
    // PHP 5 would be much nicer here, we could use foreach by
   reference, ah well.
 * WP now requires php5, so might be good time to upgrade script?
 * [http://wordpress.org/extend/plugins/exclude-pages/](http://wordpress.org/extend/plugins/exclude-pages/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [jeeplaw](https://wordpress.org/support/users/jeeplaw/)
 * (@jeeplaw)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-exclude-pages-exclude-by-default-1/#post-2476335)
 * Hi Simon, just shot you a message through your website basically asking the same
   question. I’d like to have the checkbox by default turned off, instead of it 
   being on as it is now when you create a new page. Is it a simple edit?
 *  [michu1906](https://wordpress.org/support/users/michu1906/)
 * (@michu1906)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-exclude-pages-exclude-by-default-1/#post-2476473)
 * Hi
    I`ve changed in function ep_this_page_included() { if (! $post_ID;) return
   true;
 * to:
    if($_GET[action]!=’edit’) return false;
 * so the checkbox is default turned off.
 * I know that is not the best solution but IS 🙂
    regards
 *  [culedude](https://wordpress.org/support/users/culedude/)
 * (@culedude)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-exclude-pages-exclude-by-default-1/#post-2476515)
 * I would like to exclude new pages by default AND then I would like to hide the
   widget on the “edit page” from everyone but the administrator. Is this possible?
 * I don’t want users to have the option whether to show the page or not basically?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Exclude Pages] Exclude by default?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/exclude-pages.svg)
 * [Exclude Pages](https://wordpress.org/plugins/exclude-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/exclude-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/exclude-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/exclude-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/exclude-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/exclude-pages/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [culedude](https://wordpress.org/support/users/culedude/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-exclude-pages-exclude-by-default-1/#post-2476515)
 * Status: not resolved