EP_TAXONOMY : Rewrite endpoints don't work for custom taxonomies
|Reported by:||wpsmith||Owned by:|
From what I can see and have tested, I simply cannot get a double custom taxonomy query to rewrite using endpoints.
If I add an endpoint:
add_rewrite_endpoint( 'taxonomy_name1', EP_NONE ); add_rewrite_endpoint( 'taxonomy_name1', EP_PERMALINKS ); add_rewrite_endpoint( 'taxonomy_name1', EP_ALL ); add_rewrite_endpoint( 'taxonomy_name1', EP_CATEGORIES );
None of these work. Instead I had to build out a new permastructure via add_permastruct().
However, EP_CATEGORIES (and thus EP_TAGS) both acted as expected. However, it would be great to be able to have EP_TAXONOMY that automatically built out the rewrite rules by adding the appropriate endpoint. Or is this too ambitious?
Change History (5)
comment:4 misterbisson — 12 months ago
- Resolution set to worksforme
- Status changed from new to closed