Custom Post Type/Custom Taxonomy Does not filter.
|Reported by:||DennisSmolek||Owned by:|
I have tested this on 4 different sites and found the same issue. At first I thought it was the code I copied then I realized the issue was happening with core.
Steps to produce:
Use register_post_type to add a post type, say "objects"
Use register_taxonomy to create custom tax, say "attributes"
Be sure to have 'show_ui' => true
Create a post, give it a tax. IE: attribute1
Create a second post, give it a different tax. IE: attribute2
On the menu navigate to your tax menu page
here it will list attribute1 and attribute2.
It will show 1 post in each, and the number 1 is a link to edit.php
where it creates this URL string:
The page should now be filtered down to JUST posts that have that attribute.
All Posts are still visible. Filtering has no effect.
I found this by creating custom columns and with my switch listing links to the Tax's to be filtered. I've never gotten it to work.
I do have a great script I believe by YOAST that creates a drop down to filter Tax's but this actually changes the global query itself.