0

I have a custom post type registered in my WordPress. Everything is working fine except Search and Filter functions are not working in admin. For example, I have posts from 2013 but when I select 2013 from filter drop-down, I get nothing.

9
  • 1
    What filter dropdown? Is this a feature of you theme? Jul 12, 2018 at 11:34
  • Dates filter, default in WordPress Jul 12, 2018 at 11:37
  • So the Archives widget? Jul 12, 2018 at 11:38
  • Possible duplicate of Include Custom Posts Type in Year/Month/Date Archive Jul 12, 2018 at 11:38
  • 2
    Are you using any pre_get_posts hooks in your theme that might be affecting things? I've found that when the listing in the admin is screwed up, it's usually some other code snippet or plugin that is causing the issue.
    – dkeeling
    Jul 12, 2018 at 12:06

1 Answer 1

2

Are you using any pre_get_posts hooks in your theme that might be affecting things? I've found that when the listing in the admin is screwed up, it's usually some other code snippet or plugin that is causing the issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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