WordPress.org

Ready to get started?Download WordPress

Forums

Display a list with categories, subcategories and sub-subcategories (2 posts)

  1. mattiafrigeri
    Member
    Posted 8 months ago #

    Hi friends,

    I need to create a blog organized exactly like craigslist homepage, here you have it: http://www.craigslist.org/about/sites

    The structure is exactly the same, I need a list of continents, where every continent has a list of countries, and every country has a list of cities. Everything must be in THE SAME PAGE, like craigslist.

    When I click on a city, I will be redirected to a different page, containing a list of "places" (every place is single post, as "cities" is a category also).

    I presume a I need to nest loops inside other loops?
    Do you know the fastest way to accomplish this?

    Thank you so much!

  2. graphical_force
    Member
    Posted 8 months ago #

    You can do this with wp_list-categories

    http://codex.wordpress.org/Template_Tags/wp_list_categories

Reply

You must log in to post.

About this Topic