WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So I have a custom post type with 3 taxonomies attached to it. I want users to be able to filter custom posts based on their taxonomy choice. So I have 3 taxonomies, charity, type, location and I want to for exmaple domain.com/findby/location/los-angeles or domain.com/findby/charity/red-cross


I know it's doable, I'm just somewhat clueless as to how!

share|improve this question

Create your custom taxonomies for your custom post type and for each, set the slug to include the findby portion, as in the example below for charity.

     'has_archive'           => true,
     'rewrite'               => array( 'slug' => 'findby/charity', 'with_front' => false ),
     'query_var'             => true,
     'public'                => true,

Create your custom post type with desired slug.

     'has_archive'           => true,
     'rewrite'               => array( 'slug' => 'postname', 'with_front' => false ),
     'query_var'             => true,
     'public'                => true,

     // include all relevant taxonomies, such as category, post_tag and your custom ones
     'taxonomies'            => array('category' , 'post_tag', 'charity')
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.