WordPress.org

Ready to get started?Download WordPress

Forums

tree like categories on frontpage (7 posts)

  1. atr
    Member
    Posted 10 years ago #

    Hi,
    I am wondering if there is a way to hack the frontpage where it would display a dmoz/yahoo like category listing of all categories with a number of posts under it..
    I know it might stray away from a typical blog design.. but wondering if this could be done..

  2. TechGnome
    Moderator
    Posted 10 years ago #

    flakkito..... umm.... not sure what your post has to do with the request. Ummmm either I missed something, or you did... ??
    TG

  3. flakkito
    Member
    Posted 10 years ago #

    You're right- I was way off on that one!
    Been staring at this stuff too long without sleep.
    Oh well.
    :)

  4. atr
    Member
    Posted 10 years ago #

    Well,
    I've seen some custom blog scripts that do this (custom meaning their own code or generally big sites) and if you're doing more content writing (than entries by time) combining the power of an awesome script like this with that was my intent..
    You would go to a front page and have things like: (mind this is as good as I can do with text)
    General (#Posts)
    News(#) Technology(#)
    etc
    And maybe have a few one liners at the bottom as far as news..

  5. TechGnome
    Moderator
    Posted 10 years ago #

    atr - as far something built in, I don't know if there is a way off hand. However... I can see it as something usefull.
    Maybe we can have a parameter added to the category call function to indicate if the number of posts should be returned with each category???? I do think there might be a small performance hit, but it shouldn't be a big deal, no?
    TG

  6. atr
    Member
    Posted 10 years ago #

    I guess it depends the number of posts.. maybe a good idea to cache the variables and time updates? It'd just be a select + count really.. unless you're hosting more entries than something like a slashdot, I can't see it being too much of a hit..
    My aim was for people who wanted to use a "blog like interface" to having categories (where it's more of an informative site)
    Right now, the only code I've seen do this is a full blown thing like nuke/geeklog which has way too much there for something as simple and down to the point as wordpress.
    If anything, it could just be a separate layout for people looking to this (I've just seen a few popular sites that do this with generally a lot of hits. The whole backend is of a blog type but displays entries on a basis of categories because it's for people searching for articles on a certain thing and not logging every second of their life..

  7. ederic
    Member
    Posted 8 years ago #

    Any update on this? :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.