• I’ve been trying for a couple of hours now to list my categories on my site in their appropriate parent categories, without having to use the exlude attribute. However I am not getting anywhere. I’m quite new to both WordPress and php.

    What I would like to create is something like this,

    Etras (10)
    – Icons (2)
    – Desktops (3)
    – Interviews (5)

    Articles (9)
    – Web design (3)
    – Graphics design (2)
    – Coding (4)

    I’ve searched through the forums to find anything related to my issue, and have found https://www.ads-software.com/support/topic/14395#post-83704 however I still cannot find the answer to my problem.

    I’m using WP 1.5.1. Any suggestions would be great, I have read about category tags on the Codex but still struggle to work out a solution. Perhaps if someone already knows they could explain to me how it works?

    Thank-you for your time and effort.

Viewing 2 replies - 1 through 2 (of 2 total)
  • WordPress is very limited here, as it will exclude empty categories. The trick I used until I stopped using categories almost entirely was to put the posts in each category beneath it, e.g. in ‘Web Design’ _and_ ‘Articles’ in your example.

    alternatively, you can code a new list categories function and submit it for addition to the code base. i trust it will be warmly welcomed by those who have the same problem as you do.

    The Explicit Category Order plugin can do something like that.

    Look at the categories on the right side of recipe page: Cara’s Recipes

    If you need help with it, let me know.

    my gmail account name is buzolich

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Automatic Listing of Parent Categories and Subcategories’ is closed to new replies.