WordPress.org

Ideas

Categories integration with pages

  1. ninjaboy
    Inactive

    12345

    I don't know why this functionality is missing, but it would be a great addition!

    Basically, the functionality would be the ability to put pages in categories (the existing ones used for posts would be fine!).

    This would allow all sorts of goodness like listing pages in categories in sidebars and filtering of search results.

    There is a plugin that allows this (pages into categories), but it seems like it would be fairly simple to integrate and really help people out that are using the WordPress platform as a CMS (yea yea yea, I know it's a blog platform - but come on guys, you know that more people than you care to mention use WordPress as a CMS... because it's so darn good!).

    Posted: 11 years ago #
  2. mozey
    Member

    12345

    a page within a category is a post!!!!!. it lays out differntly on the page, but that is within your controle!. Edit your header/sidebar.php!.

    Posted: 11 years ago #
  3. mariod
    Member

    12345

    I think saying that it's just a post is relaying status quo, but not really taking a bigger picture in consideration.

    The only people that we have worked with that use WP are using it as a CMS, and with every single one we end up in the exact same dilemma - category base.

    If you start shuffling pages into hierarchies, you start basically building a second tree of categories, so why can't they be integrated. From a site navigational standpoint it would make sense that a category can be a page. Often clients want to have a category that supports post and archives but also on the category page have some form of intro. Yes, they could edit their template, but when we suggest that, they ask, why can't we make it a page, so anyone can easily update.

    Since pages support templates the slick way, and categories a different way, why couldn't they be the same thing. One template includes the archive listing, the other includes none and would just be like a page.

    Right now we have to patch each install, we add the page to category functionality, then create a page for each category, then modify the template to display the page along with the archive if a page exists for that category. Doable, but nice from a simple user maintenance perspective it's ugly.

    So really there are pages that are categories and there are pages that are within categories. Just how it's now with the current page technology, but it would be combined with posts and categories. Very useful and slick. Plus it would get of the dreaded category base, and automatically supply static homepages.

    I am sure someone has put serious thought on why not to do this, and I would love to see the reasons, because we might be overseeing important implications.

    Posted: 11 years ago #
  4. mozey
    Member

    12345

    "If you start shuffling pages into hierarchies, you start basically building a second tree of categories, so why can't they be integrated."

    Because if you do that!, the page->category would be the same relation as post->category, so you have two things that act the same "except for interface which could be customized in less than few short houts" type of relation except with different names.

    I scramble categores and pages in the interface for my clients, and it has been simple and elgant.

    if i'm missing anything, please point it out.

    Posted: 11 years ago #
  5. ninjaboy
    Inactive

    12345

    My 10p on this is for the simple permalinks produced for pages as apposed to posts. For example, mydomain.com/nicelink rather than mydomain.com/category/12/05/notsonicelink - it's the category I'm trying to get rid of. Think of it as a quick fix for people like me that dont want /category at the very least in their permalinks. Maybe some htaccess trickery would do the job, but I think there is a valid argument for this to go into core code.

    Being able to filter and list pages by category, just like posts would be useful to lots of people.

    Andy Staines has done a great job over at http://www.yellowswordfish.com on his plugin by the way, thats what I'm currently using... with a bit of hackery of-course!

    Posted: 11 years ago #
  6. mozey
    Member

    12345

    yo know what!, you have me sold!, The page subpage relation will have to be addressed tho!. In posts, they are incremental by time. How would you think that could be incropreted?

    Posted: 11 years ago #
  7. Tobias Jordans
    Inactive

    12345

    There has to be a difference between post, pages and categories!
    Every mergin will make it impossible to describe the functionality...

    I do agree that categories should habe a better introduction-description.

    Thats why I solved it like this: http://lernen.scoutpress.de/video/artikel-menu.html

    Posted: 11 years ago #
  8. maddymoo
    Member

    I'm currently trying to do a partial livejournal xml import and it's driving me insane that although I can, with a plugin, indicate that 'unfiled' (default category) only displays to me (when logged in), this also prevents pages from displaying. Since I use another plugin for custom archive display, this means nobody else can see the archives, 'about' page, etc. This is one of my least favourite things in wordpress - pages should be able to be assigned to completely separate categories. In fact, do pages need a default category at all? It's a page, not a post... *gnashes teeth*

    Posted: 11 years ago #
  9. Mark
    Member

    12345

    I'm one of those users deploying WordPress as a small-scale CMS and I actually don't think having categories for pages would make things any easier or more intuitive.

    To the contrary: to my mind, the distinction between posts (entities that are part of the site chronology and are categorized in categories) and pages (entities outside the website chronology which can be hierarchically organized themselves) is a very clear one, and one of the basic pillars of the ease of use of WordPress.

    Muddling this distinction up by allowing for categorized pages is putting the cart before the horse.

    I agree with Maddymoo that pages shouldn't be in a default category.

    Posted: 11 years ago #
  10. jakemc
    Member

    12345

    I've developed a handful of sites that had a strong need to divide content into categories, and for each category needed some static content (i.e., pages) but also time dependant content (i.e., posts).

    I ended up writing a fair amount of custom code to make certain posts 'sticky' - but this basically amounted to making certain posts behave as pages. Better to allow pages to belong to categories!

    Posted: 11 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

  • Rating

    12345
    114 Votes
  • Status

    Duplicate of another idea