I have a registered post type with 'rewrite' set as slug=>cpt_name, with_front=>true.
register_post_type( 'objection_handling',
array(
'rewrite' => array(
'slug' => 'objection_handling',
'with_front' => true
)
I then have a wp_list_pages function with an argument as post_type=>cpt_name. This function successfully displays an unordered list of my custom post type.
I then have custom taxonomies with rewrite=>false.
register_taxonomy(
'objection_topics',
'objection_handling',
array(
'hierarchical' => true,
'public' => true,
'query_var' => true,
'rewrite' => false,
'labels' => array(
'name' => __( 'Objection Handling Topics' ),
'singular_name' => __( 'Objection Handling Topic' ),
'hierarchical' => true
),
)
);
Now I'm thinking this will output a URL like : /objection_handling/[title-of-page] but I'm getting 404 errors.