• I’d like to exlclude ALL future subpages I will create, is there an easier way than to write down all their ID’s and exclude them manually?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Yes. I think you catergorize the subpages, then exclude that catergory.

    Thread Starter patrick79

    (@patrick79)

    and how do I do that?

    btw Go Chelsea 🙂

    Thread Starter patrick79

    (@patrick79)

    Has nobody any idea? Anyone?

    Try using the depth parameter, for example I use:

    <?php wp_list_pages('title_li=&depth=1'); ?>

    Which only shows top level pages and with no heading. Hope that what you’re looking for 🙂

    make a page, example, Excluded. And everytime you make a new page, you put them under ‘Excluded’ as a parent. Then exclude ‘Excluded’ so everything underneath it is excluded too

    Thread Starter patrick79

    (@patrick79)

    thanks a lot ‘ohdear’, that was exactly it 🙂

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

The topic ‘Excluding ALL subpages?’ is closed to new replies.