Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

The answers to this question give excellent instructions for adding filters to the admin edit.php screen for custom post types. But they don't explain how to remove the existing filters on date and category. Does anyone know whether this is possible, and if so how to do it?

share|improve this question

1 Answer 1

I looked at this recently and couldn't really find a way other than hiding them via css.

share|improve this answer
    
Thanks, I feared as much. And even that's not easy as I only want to do it on the page for one particular custom post type. –  lpryor Aug 31 '11 at 14:17
1  
It's actually not that hard: gist.github.com/1184759 –  mfields Aug 31 '11 at 21:27
    
OK that's great, thanks. That's not a technique I'd come across before. I'll work my way through it! –  lpryor Sep 6 '11 at 10:01

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.