Ready to get started?Download WordPress


Custom Post Types and Permalinks (1 post)

  1. codeshed
    Posted 11 months ago #

    I have created 2 custom post types (Tours & Attractions) and a custom taxonomy (locations) which is associated with both. I trying to figure out a way of accessing a sort of index or category page views as follows:
    http://domain.com/locations/seattle/tours/ Show all the tours in Seattle
    http://domain.com/locations/seattle/attractions/ Show all the attractions in Seattle.

    Currently I have an category view working, but it includes both post types and I would like to filter by a specific post type.


You must log in to post.

About this Topic