I'm experimenting with a one page design. I want each page in the back end to display as a different section. Is there a way to loop through my pages and display them all?
When they display, they art sorted by their "Order" number, which is fine, But it's putting the lowest at the bottom. How can I reverse the order they're displayed?
Okay, here is an update. I found a working solution and shows only the top level pages. that I can even add mark up to. But another issue came up. Here is the code:
As far as I know, you can't exclude subpages when doing a query unless you manually specify the pages.
You can do that with the 'depth' parameter in wp_list_pages though.
This cannot be used with the regular Loop.
So if I wanted to add mark up to the generated pages, but I'm not using a loop, how would I do that?
If you know the IDs of the pages then you can just run a loop of those specific pages. The only thing you can do, really.
Thanks for all the help Doc
The problem is the content from the pages has been stripped of all it's html. There's no formatting in it. Any way I can keep it?
I have a similar question, I want to add all pages (where the user has checked the option while publishing) to add the page to the single page?