[wp-hackers] Page categories
elharo at metalab.unc.edu
Thu Apr 12 16:06:19 GMT 2007
Robert Deaton wrote:
> Its not up to the theme. The query to the database to fetch by
> category would actually make the decision. A good portion of themes
> never mess with the queries at all.
If the theme doesn't call wp_list_pages, then the pages don't get linked
to, simple as that.
> We could obviously exclude them from displaying alongside normal
> content, but then what would be the purpose of categorizing them at
> all? Just use pages and subpages, they will organize your pages into a
> sufficient hierarchy, or if you insist on putting pages in categories,
> use a plugin like the one mentioned above.
1. Hierarchies are a pain in the butt, and users do not understand them.
They never have and they never will. Programmers do, but that's another
2. The goal is to be able to say wp_list_pages(categories="Birding
Blogging") and get a list all pages that match one of those categories.
It doesn't have to be categories. Tags might work. But we do need
something that's in between "Give me exactly these pages with these IDs"
and "Give me all pages".
Subpages are about the hierarchy of the site. That's a different story.
What I'm trying to do here is get a list of links to all the pages in a
given category, not actually display the pages themselves.
Elliotte Rusty Harold elharo at metalab.unc.edu
Java I/O 2nd Edition Just Published!
More information about the wp-hackers