• i have:

    i want to see categories under categories.
    what i mean

    i have category xxx. under category xxx i have 10 subcategories. every one of those 10 subcategories got 1-5 subcategories.

    when i press xxx will display my 10 subcategories, when i click one of those will appear subsubcatecories :D, and then the posts under it

    scheme
    CAT1 – SUBCAT – SUBSUBCAT – POSTS

    like folders in folders
    and i would like to add some description to each folder ( adding image to would be great )

    what do you suggest to me ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • Here’s what I did, I made a custom category page for each of my parent categories. For my parent category with a category ID of 26, I created a file called category-26.php from category.php and replaced the code to get the posts with this, which will list the subcategories of the parent:

    <ul><?php wp_list_categories('child_of=26&orderby=name&show_count=0&title_li='); ?></ul>

    Create a category description for each category (Edit categories) , and it will show when you hover over a category link, or can be displayed with this:

    <?php echo category_description(); ?>

    Here are some WordPress pages with more info:

    Category Templates ? WordPress Codex

    Template Tags/wp list categories ? WordPress Codex

    Thread Starter blueyez

    (@blueyez)

    can u give me you blog to see it in action ?
    this is way to complicated. i have to do about:

    20 cats – 200 subcats – and around 500 subsubcats + the post included.

    should i go to a CMS ?

    Having that many categories… defies the whole idea of categorization. Having a separate category for almost every post – it is exactly like not having any categories.
    I mean that wouldn’t make sense in any other CMS either.

    Thread Starter blueyez

    (@blueyez)

    i need what i said

    u can’t have a post that got a lot of posts in

    MAIN CAT – SUBCAT – SUBSUBCAT – Posts
    – Posts

    Thread Starter blueyez

    (@blueyez)

    up!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Advanced category listing’ is closed to new replies.