The Stiz Media, LLC

Making your website work for you

  • Styles for Genesis
    • FAQs
  • Cart
  • My Account
  • Home
  • Web Design
  • Portfolio
  • Resources
  • Blog
  • Contact

Powerful websites, with style.

Home » Blog » Custom Post Type Filter Admin By Custom Taxonomy

Custom Post Type Filter Admin By Custom Taxonomy

January 29, 2015 JiveDig

CPT filter by taxonomy

This is a powerful little snippet to allow filtering your post or custom post type by a specific taxonomy term in the WordPress admin.

In my use case I had a custom post type for ‘Team’ members. I then had a custom taxonomy called ‘Group’ that associated each member with one or more groups within the organization. The client wanted to be able to filter all Team members by Group in the admin.

My first thought was to use sortable columns, but that would still require scrolling and possibly paging to get the right people.

I tried a few things and ended up with this nice snippet…

The only thing you need to change is your post type and your taxonomy name. The rest is pretty much magic 😉

Related Posts

  • Use WP_Query To Alter The Posts Per Page Of A Custom Taxonomy Term Archive Of A Custom Post Type
  • Using Custom Post Types And Meta Fields To “Client-Proof” Adding New Content
    Using Custom Post Types And Meta Fields To "Client-Proof" Adding New Content
  • ACF local avatars
    Use Advanced Custom Fields Pro for Simple, Local Avatars

Tutorials Custom Post Types, Custom Taxonomies

‹ Different Templates For Parent And Child Category Archives
Show Field Keys in Advanced Custom Fields Pro ›

Try The Most Powerful Genesis Child Theme Ever Created

Mai Theme is the most customizable Genesis child theme (and plugin!) available. Check it out now!

Learn More @ MaiTheme.com

Our posts, directly to your inbox

Our posts, directly to your inbox


Howdy, I'm Mike Hemberger. I like to build nice websites and web apps with WordPress and Genesis Framework.

I'm passionate about everything I do, and it resonates in all of my work.

Feel free to email, and you'll be speaking directly with me.

Recent Posts

Restful P2P Example

Create Posts 2 Posts ‘connections’ with the WordPress Rest API

EA Share Count SMS button

Add SMS share button to EA Share Count plugin

ACF Extras

ACF Extras officially launched! A community of code snippets and field groups

Remove Items from TinyMCE editor

Remove Buttons/Items From The WordPress TinyMCE Editor

  • My Account
  • Affiliate Area
  • Log In|Log Out
  • GitHub
  • Instagram
  • Twitter
  • YouTube

Copyright © 2025 · The Stiz Media, LLC · All Rights Reserved