On a custom post type, I want to remove the filters that show up on /edit.php (where all of the posts are listed out).
I have a custom taxonomy that shows up as a filter that I WANT to keep, but I want to REMOVE the ‘Show all dates’ and ‘View all categories’ filters.
Any ideas?
This is a very similar question to the one you posted here: How to HIDE everything in PUBLISH metabox except Move to Trash & PUBLISH button Please check my answer. You would simply need to add the IDs of the elements you wish to hide.
You can traverse the DOM to target the elements you need:
#posts-filter .tablenav select[name=m],
#posts-filter .tablenav select[name=cat],
#posts-filter .tablenav #post-query-submit{
display:none;
}