[wp-hackers] Filter wp-admin posts view based on post metadata

John Blackbourn johnbillion+wp at gmail.com
Mon Sep 20 00:32:47 UTC 2010


On Sat, Sep 18, 2010 at 11:37 PM, Ryan Bilesky <rbilesky at gmail.com> wrote:
> I am wondering if anyone is aware of a way to filter the posts listed in
> wp-admin based on metadata.  I have one bit of metadata I would like to see
> only posts where that is equal to a certain value.  I did try using the post
> search.  I tried just searching for the metadata value and even tried key =
> value as a search term but that search apparently does not search across
> metadata.
>
> Anyone know how to accomplish this?
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

It's really easy to add filters and inputs to the Posts screen. I just
wrote this small plugin which gives you a dropdown of all available
meta keys and a text input so you can search for a corresponding
value. Try it out:
http://lud.icro.us/wp-plugins/posts-meta-search.phps

John


More information about the wp-hackers mailing list