[wp-hackers] Page categories

Robert Deaton false.hopes at gmail.com
Thu Apr 12 14:45:49 GMT 2007

On 4/12/07, Elliotte Harold <elharo at metalab.unc.edu> wrote:
> Robert Deaton wrote:
> > No, you can't, and this is intentional. Pages are meant to live
> > outside the normal hierarchy of the blog. If placed in a category they
> > would have to be displayed somehow when viewing the category, based on
> > time or something, which definitely does not coincide with the purpose
> > of a page.
> Why would they have to be displayed? If the theme doesn't ask for them
> to be displayed as links or summaries, they won't be displayed. Near as
> I can tell, this is completely under the control of the theme, and if
> the theme wants to, it can display them. Clearly different sites have
> different requirements here, and different themes would behave
> differently. Some would show them sorted one way, some would show them
> sorted another, and some wouldn't show any links to them or summaries at
> all. They would only use explicit user provided links from other content.

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.

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.

--Robert Deaton

More information about the wp-hackers mailing list