Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS wordpress subcategories

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #37588
    shamai
    Member

    im working on making a wordpress site.
    I plan on having like 4 categories.

    I wanted that when you click a category, the sidebar would show tags for that category, but tags are for all categories so I decided to use subcategories.

    but i can’t seem to find a way to show subcategories only. And how can I list categories without subcategories inside?

    #101026
    TheDoc
    Member

    You could use this:



    But you’ll need to find the ID of the category, in this case it’s “8”.

    To find the ID of the category you could use something like this: http://www.whypad.com/posts/wordpress-get-category-id-while-on-a-category-page/669/

    #101073
    shamai
    Member

    thanks i’ll look into it

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.