WordPress.org

Support

Support » Plugins and Hacks » Category question with custom post types

Category question with custom post types

  • Hi,

    I am looking to create a directory with post types. My current structure is:
    – listings (post type)

    – categories (category)

    – locations (category type)

    My question is I want a to be able to show a landing page for a combination of category and location with a nice slug. I could do this by creating the same sub categories in the locations as my main categories but that seems to be a lot of work. Is there a way to show all posts belonging to both a category and location?

    Example would be:
    Main Category: Flowers /flowers
    Location: New York /locations/new-york
    What I’m trying to do: /location/new-york/flowers

    So any listing that is art of new york location and flowers would show up in the archive page for: /location/new-york/flowers

    Possible?

  • The topic ‘Category question with custom post types’ is closed to new replies.