• Just wondering if its possible to do this:

    https://www.pirateradiomedia.co.uk/

    I have the following categories:

    Yorkshire
    – Station 1
    – Station 2
    – Station 3

    London
    – Station 1
    – Station 2
    – Station 3

    etc…

    I want it so that it just displays the categories, eg Yorkshire, London, then when you click them it displays all the stations (subcategorys) in that category.

    Is that possible?

Viewing 8 replies - 1 through 8 (of 8 total)
  • You could make a javascript to hide them. but with wordpress only it’s not possible i think.

    I would suggest wp-dtree, it can do exactly that, but its not compatible with wp2.3

    I find it shows archives correctly, but not category listings.

    Thread Starter phasetwo

    (@phasetwo)

    Only thing with wp-dtree is that it displays all the posts in the subcategories too. I’ve just installed it and realised.

    You can config it so it doesn’t do that.

    Thread Starter phasetwo

    (@phasetwo)

    Right i’ve had a play around with the options.

    Kinda happy with it how it is now:

    https://www.pirateradiomedia.co.uk/

    Few questions though:

    Can I remove the “categories” heading?
    Can I remove uncategorized, and blogroll out the menu? Otherwise it’l look slightly messy/confusing.

    Thanks.

    The ‘categories’ part is just a header line in the sidebar php.

    Just delete it.

    You can delete blogroll, but ‘uncategorized’ is where posts go when a category is deleted.

    You probably can delete uncategorized, but I’ve never tried.

    Thread Starter phasetwo

    (@phasetwo)

    You can’t delete Blogroll and Uncategorized, the option isn’t there in Manage Categories.

    I don’t want to delete them, I just don’t want them showing up in my navigation.

    Also i’ve changed “categories” to “Stations” (the H2) but i’m talking about the other heading above the list which it’s added in……..

    Any help getting the menu sorted is appreciated!

    @phasetwo — from the help of WP-dTree

    Set the name of what you want the top node to be called with ‘Top node name’.

    ‘Hide empty’ allows you to hide any categories that have no posts. Note that this would hide their child categories also, even if the child category has a post.

    You can use ‘exclude’ to hide the posts or categories you don’t want displayed. The format for this is ‘ID1,ID2,ID3’, where the ID is based on the ID you see when you manage your categories/posts. Note that this would also exclude child categories so becareful.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘WordPress displaying categories then subcategories’ is closed to new replies.