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

I can't seem to get my custom taxonomy hierarchy working properly. It seems like many other have had this problem but none of their fixes work for me.

I would like to have a URL structure similar to the default category functionality.



But it currently works like this


I would like to be able to have an archive page for each category and sub category with the specified taxonomy. Is this possible? I've tried everyones proposed solutions, but nothing seems to work. Any advice?

function social_create_venue_post_type() {

            "hierarchical" => true,
            "label" => "Venue Type",
            "singular_label" => "Type",
            'rewrite' => array('hierarchical' => true, 'slug' => 'type' )

            'labels' => array(
                'name' => 'Venues',
                'singular_name' => 'Venue',
                'add_new' => 'Add Venue',
                'edit_item' => 'Edit Venue',
                'new_item' => 'New Venue',
                'add_new_item' => 'Add New Venue',
                'view_item' => 'View Venue',
                'search_items' => 'Search Venue',
                'not_found' => 'No Venues Found'
            'public' => true,
            'has_archive' => true,
            'hierarchical' => true,
            'menu_position' => 5,
            'capability_type' => 'post',
            'supports' => array('title','editor','page-attributes','excerpt','thumbnail'),
share|improve this question
Heres a link to the live code: link – Alex Miles Jul 16 '12 at 21:02

Your Answer


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

Browse other questions tagged or ask your own question.