Tricks to group pages category-wise?

  • Unknown's avatar

    Hi there,
    I have been reading about pages and categories. If I understand it properly, the only way to group pages (category-wise) is to use the custom menu feature: pages grouped this way can then be listed in the Menu bar, or in the Sidebar if the custom menu widget is used.

    Posts on the other hand can use categories per se, and there is no need for a custom menu. WordPress further automatically generates category pages that list all the posts in a given category (for example, the page myblog.wordpress.com/category/mycategory would list all the posts in the category mycategory).

    I’d like to do the same with pages, that is, I’d like to have a page that lists all the pages in a given category (custom menu), and I’m thinking of two ways of doing so, but I don’t know how to achieve neither of them:

    1) Have pages with multiple parent pages: create a page named “category” and a subpage named “mycategory”, then make “mycategory” the parent page of the pages I want in the “mycategory” category. The [list-pages] shortcode in the “mycategory” page would then list all the pages in that category (because this shortcode lists all child pages ^^). I could then do the same for a second category, say “mycategory2”. But how can I have a page that is both child of “mycategory” and “mycategory2” ? Can I have two (or more) parents for a single page?

    2) Generate a page out of the custom menu. Can I do that in WP.com?

    Wouldn’t it be nice to have categories for pages?
    Thanks for your help!!

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar
    thistimethisspace · Member ·

    Wouldn’t it be nice to have categories for pages?

    No. The two ie. Posts that have tonnes of Google juice and Pages which have diddly squat and are only for static content are quite different and that suits me well. http://en.support.wordpress.com/post-vs-page/ Moreover, Pages don’t have RSS Feeds.
    http://onecoolsitebloggingtips.com/2010/05/12/better-blogging-at-wordpress-com-pages-and-posts/

  • Unknown's avatar

    yeah, but in some cases, you may want static content that it is easily structured dynamically (eg technical documentation or support websites)

  • Unknown's avatar

    you may not find it interesting to have categories for pages. I do :)

  • Unknown's avatar
  • Unknown's avatar

    thanks for your answers, I’m still wondering though how to group my pages, if anyone knows :)

  • Unknown's avatar
    thistimethisspace · Member ·

    It is not possible to group any Pages at all by Category as we cannot assign categories to Pages.

    Pages vs. Posts

  • Unknown's avatar

    Let’s say you have 3 main pages:
    Red
    Blue
    Yellow

    Under Red:
    Orange
    Purple

    Under Blue:
    Purple
    Green

    Under Yellow:
    Green
    Orange

    So now you have sub-pages that fit under more than one top page.

    Using a Custom Menu, you can create such a menu structure like the one above, with a sub-page appearing more than once in the Menu. The sub-page content would be exactly the same regardless of where it appears in the menu.

    Two caveats-When you create your pages, they should all be “top level” or “parent” pages and you will have to add the sub-page more than once to the Custom Menu.

    I do not know how the “list pages” shortcode would deal with the above and since it is long past my bedtime, cannot experiment further.

  • Unknown's avatar

    @thistimethisspace: I know, thanks, I’m looking for a workaround.

    @justjennifer
    : I’ll look at this first thing tomorrow :)

    thanks a lot for both your answers :)

  • Unknown's avatar

    There is no workaround.

  • Unknown's avatar
  • Unknown's avatar

    Yes indeed and I was wondering if I ought to post that link or not. So many Volunteers wasting their time on these multiple threads when there are others who aren’t playing around and truly really need help.

  • Unknown's avatar

    So don’t answer. No-one is asking for your time, and this is a waste of time for me too if you don’t know the answer and you just keep on saying “it’s not possible”. If you don’t know the answer, don’t answer. Unwanted, unrelevant answers just make it harder for others to find the correct answers. No one has actually answered my question yet. Justjennifer gave a suggestion, that I will try tomorrow. Also, the link you just post just came in. Another suggestion. But his does not answer my question: how do I generate a category page of pages like we do have with posts?
    The two posts are related but they deal with different things.
    Thanks for your time and do not waste more time here. Let others answer, if they want to.

  • Unknown's avatar
    thistimethisspace · Member ·

    But his does not answer my question: how do I generate a category page of pages like we do have with posts?

    We can’t because we cannot assign Categories to Pages; we can only assign them to Posts. http://en.support.wordpress.com/post-vs-page/

  • Unknown's avatar

    you don’t get it, do you ?

  • thistimethisspace does get it, but I’ll answer if you want to hear it from someone else.

    how do I generate a category page of pages like we do have with posts?

    You can’t, pages can’t be categorized.

  • Looking at your first question:

    Have pages with multiple parent pages

    Pages can only have one parent page, but you could create a page with the links in it, sort of like a “Category” page with links to all the pages under that, and you can build your own menu as justjennifer explained above.

    In short, what you’re looking for can’t be done automatically, but you can build what you’re looking for.

  • Unknown's avatar

    Allow me to elaborate, James, before we hear that you don’t get it either…
    a) Dynamic pages display a number of posts, in reverse chronological order. The whole point of static pages is that they sit outside this chronological structure: they are not displayed dynamically, and they cannot be displayed dynamically.
    b) You can easily display a list of links to specific pages (as a dropdown in the top menu, or in a sidebar widget, or in a post or a static page), but you cannot use any shortcode to automatically display the content of several pages (the include_content parameter doesn’t work with the list-pages shortcode, and the display-posts shortcode can be used for posts only).

  • Unknown's avatar

    Good morning! Maybe we need more coffee, or possibly less.

    OK-and I’m still thinking that the OP is actually asking about categorizing Pages, which can be done with a Custom Menu. See my reply above using colors as an example. I was able to create a Custom menu where sub-pages appear under more than one top-level page. This works just as well using food items, which is mentioned in her other thread I linked to.

    @judithescoda – Having said that, I also have to agree with what everyone else here is telling you; Pages don’t bring the same level of search engine results as Post categories in a Custom Menu do and that Posts should be your focus.

    And that’s all I have to say about that. :)

  • Unknown's avatar
  • The topic ‘Tricks to group pages category-wise?’ is closed to new replies.