• Hey guys,

    Wondering how to show sub-categories in an archive page? So, if the subcategory was called “one” in parent “lag”, then how would I show one, and it’s “brothers”?

    James

Viewing 3 replies - 1 through 3 (of 3 total)
  • Use the search engine, and you will find this, edited 2 weeks ago:
    http://wordpress.org/support/topic/84230

    Thread Starter vamped

    (@vamped)

    I saw that one, and I was just trying to get the effect I want with your code, but it’s not working properly. I want it to show all the entries within that subcategory.

    Make sense? 🙂

    I don’t understand. If you click on the sub-cat link, you got your sub-cat entries listed?
    Or, you want to list all sub-categorieS entries at once ? If so, create a category file (one for each sub-cat ID), and instead of using The Loop, use the get_posts command. See the documentation for that. With this, you can specify which categories you want to list.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sub categories?’ is closed to new replies.