hrm, I dont understand what you are asking.
hide pages you have created or just the page after a comment is submitted?
Hide in what sense? If you mean you don’t want them listed on your site then you’ll need to use this example from Codex’s description of the wp_list_pages tag.
As an aside: I help work on Codex and am curious. Did you look there for an answer and not find one, or did you not look at Codex? I don’t mean to sound like a jerk. I’m honestly just curious – wanting to make Codex a better resource and all.
Thread Starter
jayjay
(@jayjay)
I did look and searched the codex, but did not find it. I first looked under pages and found nothing then searched ‘hiding pages’ and ‘hidden pages’ and didn’t get any results.
Thanks for your help.
Thank you for the information.
I’ve updated the Listing Your Pages on Your Site section of Codex’s Pages article. Hopefully this information is now easier to find.
I’m still confused as to what was being requested…. and was that the answer? Or what?
Tg
http://codex.ww.wp.xz.cn/Template_Tags/wp_list_pages
jayjay wanted to prevent one of his pages from being listed in the sidebar under the “Pages” section. This is accomplished using the ‘exclude’ parameter of wp_list_pages().
At least, that’s how I interpreted the question, and it’s definitely the answer I gave.
is it possible to combine 2 tags in <?php wp_list_pages(); ?> ?
i wanna exclude 8 and not have a header to show up, so how do i combine those 2 into that?
Sparky, why don’t click on the link provided by mdawaffe?
i did, but it didn’t say anything about combining tags.
All of the examples are “combining tags”.
ok, i get it now. thanks.