Need help? Check out our Support site, then

Tricks to group pages category-wise?

  1. 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 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

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

    The blog I need help with is

  2. thistimethisspace

    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. Moreover, Pages don't have RSS Feeds.

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

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

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

  6. thistimethisspace

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

  7. Let's say you have 3 main pages:

    Under Red:

    Under Blue:

    Under Yellow:

    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.

  8. @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 :)

  9. There is no workaround.

  10. And since this seems to be the day of duplicate postings

  11. 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.

  12. 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.

  13. thistimethisspace

    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.

  14. you don't get it, do you ?

  15. 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.

  16. 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.

  17. 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).

  18. 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. :)

  19. Did we not go through this extensively a mere 24 hours ago?

  20. Yes, I linked to that thread above as well.

    One of these should get closed, really.

  21. And I now see that the other thread has been closed.

  22. There's yet another one, too.

  23. The other thread was closed since it became uncivil rather quickly. This one hasn't become as bad, yet.

  24. @macmanx-Civil or not, I think we've pretty much run through all available options and opinions on this topic at this point. :)

    @judithescoda - The only thing I would add is that using the Custom Menu like I explained above, the list-pages shortcodes will not work. You can, however, make a Custom Menu widget using the same menu structure as the navigation bar.

    And now that's all I have to say about that.

  25. IMO, part of this problem is the the OP's site is private and we volunteers cannot look at what she/he is actually trying to accomplish.

    Her/his explanations and question(s) have not be very clear and have been tainted with a combative attitude toward some people. That is not conducive to getting advice about a question.

    We all must note that the original poster is a blogger of only one week and c/w ould benefit with the Learn WordPress tutorial to become acquainted with this platform.

    Jen's answer above:
    is the most practical and useful solution to the OP's question.

    And the OP (judithescoda) should appreciate the information we volunteers provide in the manner we do it: we try our best and we do provide good, accurate, and friendly help. No one likes to be disrespected.

  26. Here is a support article about making a custom menu, as Jen described:
    You can use custom menus for top navigation or put them into your sidebar:

    Menus can be confusing but here is an article which will help you to learn about the details:

  27. Hi guys ! thanks a lot for all your answers :)
    I think I probably do not explain myself good enough ...
    I know it seems I insist and insist on getting something that you say it's not possible, but so far I did manage to do a lot of things that in this forum people just said and over-said "not possible".
    I've read all the official support website, there is nothing there I don't know or understand (cross-fingers). It's been made clear enough that pages cannot be categorized. I was looking for something different. You seem to say "you just simply can't". Well, I'll keep on looking by myself. Maybe what I want is too clear on my mind for others to see :)
    My blog is private because I have been using it for testing purposes. You are right, it's not cool from my side, but that's because I'm not used at blogging, and I'm kind of shy about showing content that I don't feel it's ready to be read. Excuse-me for that.

    Just one last thing: someone says here (can't remember who sorry) "the include_content parameter doesn't work with the list-pages shortcode, and the display-posts shortcode can be used for posts only". I'd like to say that YES, YOU CAN use display-posts for pages. In fact, pages are a kind of post type, so it suffices to use post_type="page" in your shortcode and you will have your list of pages!! :)

    Anyway, let's close this topic! I'll carry on searching for solutions on my side. I can tell you if I ever find a workaround ...

    Good luck to you all.

  28. Ah yes, I forgot the post_type parameter, I'll grant you that.

    But then you say:

    I did manage to do a lot of things that in this forum people just said and over-said "not possible".


  29. no more time wasted here, sorry

Topic Closed

This topic has been closed to new replies.

About this Topic