Extending the admin post filtering

We have a brand new plugin for all you WordPress maniacs out there.

Multiple filters in the posts management screen

Multiple filters in the posts management screen.

Now you can filter your posts in all imaginable ways, even by custom taxonomies! Download it via the official WordPress plugins repository.

Filter the admin post listing by:

  • authors
  • tags
  • custom taxonomies that you have declared

About Cristian Antohe

Cristian Antohe is the co-founder Cozmoslabs. He's a WordPress developer, web designer and Open Source fanatic. He's part of the team that developed Profile Builder and WordPress Creation Kit and also helps curate wpMail.me.

Find me on: Google + | Twitter

30 thoughts on “Extending the admin post filtering

    • Thank you!

      We’ll add it to the WordPress extend sometime tomorrow. We also plan in the future to create an admin panel where you can select what extra filters will appear in the post management panel because some people have a lot of tags(thus not useful), but could be really handy for custom taxonomies.

      • Yes I’d love to see a way to hide certain dropdowns (like how the Screen Options area works), so the filters area doesn’t become so cluttered. I have lots of custom taxonomies.

        OR, another great thing (for me!) would be a conditional-dropdown for the taxonomy terms. So the Dropdown#1 has my taxonomy names (Color, Genre, etc), and then Dropdown#2 populates with the Terms of the Taxonomy chosen in Dropdown#1. THAT would rock.

  1. Can this plugin or anyother that you know off can help in showing comments made on the posts of logged in user/author in admin panel.
    Suppose author A logs in to the admin control panel – then he should see only the comments made on his posts. So that he can moderate them without any clutter. At present all the authors are able to see every unmoderated comment.

  2. When I installed the plugin on WP 2.8.4 I regularly got the message: URL is too long, exceeds limit of the server.

    Any workaround?

  3. www.flash-cologne.de/wp-admin/edit.php?s=&mode=list&action=-1&_wpnonce=211a8fd23d&_wp_http_referer=/wp-admin/edit.php&m=0&cat=0&author=7&category=0&tag=0&link_category=0&post_status=draft&following_users=0&wt_tag=0&post_category[]=3&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=69&post_category[]=73&amehasrev1552=1&post_category[]=19&post_category[]=31&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=69&post_category[]=73&amehasrev1729=1&post_category[]=3&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=69&post_category[]=73&amehasrev1727=1&post_category[]=36&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=3&post_category[]=69&post_category[]=73&amehasrev1713=1&post_category[]=3&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=69&post_category[]=73&amehasrev1711=1&post_category[]=3&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=69&post_category[]=73&amehasrev1691=1&post_category[]=73&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=69&amehasrev1685=1&post_category[]=73&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=69&amehasrev1681=1&post_category[]=73&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=69&amehasrev1674=1&post_category[]=19&post_category[]=31&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=69&post_category[]=73&amehasrev1662=1&post_category[]=73&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=69&amehasrev1658=1&post_category[]=73&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=69&amehasrev1646=1&post_category[]=3&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=69&post_category[]=73&amehasrev1642=1&post_category[]=20&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=69&post_category[]=73&amehasrev1634=1&post_category[]=71&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=69&post_category[]=73&amehasrev1623=1&post_category[]=70&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=69&post_category[]=73&amehasrev1615=1&post_category[]=69&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=73&amehasrev1609=1&post_category[]=69&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=73&amehasrev1603=1&post_category[]=69&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=73&amehasrev1599=1&post_category[]=69&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=73&amehasrev1592=1&post_category[]=12&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=36&post_category[]=3&post_category[]=69&post_category[]=73&amehasrev1583=1&post_category[]=10&post_category[]=31&post_category[]=19&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=69&post_category[]=73&amehasrev1530=1&post_category[]=10&post_category[]=31&post_category[]=19&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=69&post_category[]=73&amehasrev1533=1&post_category[]=35&post_category[]=31&post_category[]=19&post_category[]=36&post_category[]=3&post_category[]=69&post_category[]=73&post_category[]=10&post_category[]=12&amehasrev1522=1&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=69&post_category[]=73&amehasrev1542=1&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=69&post_category[]=73&amehasrev1544=1&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=69&post_category[]=73&amehasrev1547=1&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=69&post_category[]=73&amehasrev1549=1&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=69&post_category[]=73&amehasrev1539=1&post_category[]=3&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=69&post_category[]=73&amehasrev1554=1&post_category[]=36&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=3&post_category[]=69&post_category[]=73&amehasrev1536=1&post_category[]=10&post_category[]=31&post_category[]=19&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=69&post_category[]=73&amehasrev1527=1&post_category[]=3&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=69&post_category[]=73&amehasrev1395=1&post_category[]=69&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=73&amehasrev1319=1&post_category[]=244&post_category[]=10&post_category[]=31&post_category[]=19&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=69&post_category[]=73&amehasrev1316=1&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=69&post_category[]=73&amehasrev1310=1&post_category[]=3&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=69&post_category[]=73&amehasrev1444=1&post_category[]=69&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=73&amehasrev1327=1&post_category[]=3&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=69&post_category[]=73&amehasrev1438=1&post_category[]=10&post_category[]=31&post_category[]=19&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=69&post_category[]=73&amehasrev1390=1&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=69&post_category[]=73&amehasrev1393=1&post_category[]=3&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=69&post_category[]=73&amehasrev1386=1&post_category[]=10&post_category[]=31&post_category[]=19&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=69&post_category[]=73&amehasrev1342=1&post_category[]=10&post_category[]=31&post_category[]=19&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=69&post_category[]=73&amehasrev1341=1&post_category[]=69&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=73&amehasrev1336=1&post_category[]=69&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=73&amehasrev1331=1&post_category[]=70&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=69&post_category[]=73&amehasrev1322=1&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=69&post_category[]=73&amehasrev1307=1&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=69&post_category[]=73&amehasrev1304=1&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=69&post_category[]=73&amehasrev1302=1&post_category[]=12&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=36&post_category[]=3&post_category[]=69&post_category[]=73&amehasrev1416=1&post_category[]=1&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=69&post_category[]=73&amehasrev1283=1&post_category[]=69&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=73&amehasrev1333=1&post_category[]=3&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=69&post_category[]=73&amehasrev1265=1&post_category[]=3&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=69&post_category[]=73&amehasrev1257=1&post_category[]=3&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=69&post_category[]=73&amehasrev1188=1&post_category[]=3&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=69&post_category[]=73&amehasrev1097=1&post_category[]=3&post_category[]=20&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=69&post_category[]=73&amehasrev879=1&post_category[]=69&post_category[]=31&post_category[]=19&post_category[]=10&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=73&amehasrev867=1&post_category[]=10&post_category[]=31&post_category[]=19&post_category[]=12&post_category[]=36&post_category[]=3&post_category[]=69&post_category[]=73&amehasrev853=1&action2=-1

    Request-URI Too Large

    The requested URL’s length exceeds the capacity limit for this server.
    Apache/2.2 Server at vwp3038.webpack.hosteurope.de Port 80

    Its a managed virtual server!

  4. Ok, I thtink I found the problem. Its seems to be a conflict with Oliver Schöbes Admin Management Xtended plugin. Deactivating it solves the too long URL problem.

    There also seems to be a conflict with the plugin Edit Flow. All custom post statuses are listed as search parameters in your plugin, but not published.

    Both conflicts sadly render your plugin unusable for me right now since I heavily rely on the functionality of the other plugins.

    By the way: The SOI Manage Posts by Author plugin is also affected by the conflict with the Admin Management Xtended plugin. :-(

    • Try and do this:


      function custom_post_sorting( $orderby ){
      if (is_admin()) return "post_modified DESC";
      else return $orderby;
      }

      add_filter('posts_orderby', 'custom_post_sorting');

  5. Hey this could be very useful, thanks!

    One question: For me at least, the filtered results show only PUBLISHED posts. Posts that have any other Status are excluded. Is that how it works? Or is something not working correctly for me?

    thanks,
    todd

      • Hmm. I have a post with Status=Draft, and a custom taxonomy “Sector”=Energy. The plugin adds a dropdown for Sector on the Edit Posts page, above the list of posts.

        When I select “Energy” from the Sector dropdown, with the “All” selected (for the publish-status links, above the dropdowns), and then click Filter, my draft post is NOT found. The Category dropdown, a wp default function, DOES find Draft posts. I’d love to know if there’s something wrong with my wp installation (a different one than my orig post 3/19/10), or a setting somewhere i’m missing, or what. Thanks!!

        • The Post-Tags dropdown also works correctly (finds posts regardless of post_status). So it seems the issue I’m seeing is only with my Custom Taxonomies. Does that shed any light?

      • Hi again. I played around further and found that if i FIRST click “Drafts” (in the status links), and THEN use one of the plugin’s dropdowns, my Draft Posts ARE found. And likewise if i first click “Published” (in the status links). These seem to work because wp pre-filters the posts by Status.

        However, when the “All” status is selected, the plugin still finds ONLY Published posts, not Drafts or Pendings.

        Is this just happening for me? I’d LOVE to use this plugin, but we need it to work for any publish-status.

  6. Hi all, fist of all i want to thank you for such a useful tool.

    It works nice, but I have one problem: classic filters in admin (date and category) remains there. So with the new filters of the plug in they appairs duplicated

    i have the last wordpress 2.92

  7. This was just what I needed! Thanks a lot. Can you modify it at all to only pick certain custom taxonomies at all? We have several and only require a few.

  8. I managed it by modifying the function to include more labels:

    if(($tax->label!='Categories')&&($tax->label!='Post Tags')&&($tax->label!='Navigation Menus')&&($tax->label!='Role')&&($tax->label!='Post Type')){ // the categories dropdown is default wordpress behaviour

    But wondered if there was a setting that could be integrated?

  9. Hey, Just droping by to let you know that your plugin doesnt work if scribu’s “Query Multiple Taxonomies” plugin is running as well, Quite possibly could be -caused- by that plugin given the nature of it.

    Tested with a custom taxonomy.

    Also, @lewismc ‘s suggestion sounds great to me as well

    • Thanks for the feedback. However I don’t think we’ll continue supporting this plugin. While it sounded good in the beginning we found it to be more of a distraction then an actual useful plugin.

      If this was a useful feature WordPress would have implemented it until now because it’s really easy to add.

      • What a huge dissapointment. There are hundreds of plugins that are extremely useful that wordpress choose not to include because of the very nature of plugins. Deciding to no longer support on these grounds is frankly a huge let down.
        It is a useful plugin – a regular inclusion in our builds and although unlikely to be intergrated into WordPress this is no surprise.
        I say extend it and continue to support it. After all I had never heard of cosmozlabs until I found this plugin.
        Sorry to hear this.

  10. I found this plugin very helpful for my multi-author blog but when installed and activated my authors couldn’t see their own articles on the “Posts” menu, only the admin account could. I wish there were a way to easily filter posts by the author, how else are multi author blogs supposed to easily track author posts?

  11. омск знакомства онлайн lav знакомства Карлика в великана или великана в карликагосподи иисусе вскричал я так вот.
    геи знакомства украина сэкс знакомства в северодвинске баумнский интим .

Leave a Reply

Your email address will not be published. Required fields are marked *


four × = 20

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>