[wp-hackers] Pages and an alternate location
Dougal Campbell
dougal at gunters.org
Mon Feb 14 18:50:34 GMT 2005
Eli Sarver wrote:
> I wanted to move my pages to /pages on my site, and I found that the
> wp_get_pages() function allows one to change many things about the
> pages listed, but not the base path to pages.
>
> Is there something painfully obvious I'm missing about this? Or do we
> need some sort of permalink variable for pages as well?
You could create a page named "pages" and make your other pages
sub-pages with "pages" as their parent.
Perhaps not super elegant, but functional. I'll leave the choice of
contents for the "pages" page as an exercise for the reader :)
--
Dougal Campbell
http://dougal.gunters.org/
More information about the hackers
mailing list