I don’t know of a easy way to do this, but it is possilbe to not show the subpages by using the correct terms in the list_pages function. You’d probably need to write an if statement in order to get this to work.
Not sure thats right. The depth is a tag parameter for list pages.
Consult the guru
wow – thanks for that link
thats going to help with things I’m doing
Thread Starter
ny
(@ny)
sorry Root, but this it isn’t i read about this on the codex, and this will display only
page1
page2
HAving messed with this, and after deciohering everyone’s posts….
Setting the depth parameter affects the current level.
Example, if I am on the main page, then I’d see this:
* Page 1
* Page 2
If I were then to click page1, I’d see this:
* Page 1.1
* Page 1.2
* Page 1.3
But no links to Page 1 or Page 2.
If I go back to the main page, then I see the links for pages 1 & 2.
And that is how the depth parameter works.
Tg
Well you need a page template and some fancy if / else php.
exactly what I said. you’d need the list_pages function as well as an if statement.
Thread Starter
ny
(@ny)
and how does this if statement look?