WordPress.org

Ready to get started?Download WordPress

Forums

Exclude Pages
Exclude by default? (4 posts)

  1. Anointed
    Member
    Posted 2 years ago #

    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/

  2. jeeplaw
    Member
    Posted 2 years ago #

    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?

  3. michu1906
    Member
    Posted 2 years ago #

    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

  4. culedude
    Member
    Posted 2 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic