Here is what I do to sort my custom post type by custom taxonomy in the admin. I have a custom post type called plugin_filter and a custom taxonomy assigned to it called filter_group. I add the following filter to my plugin to make the field sortable.
add_filter("manage_edit-plugin_filter_sortable_columns", 'plugin_filter_sort');
function plugin_filter_sort($columns) {
$custom = array(
'taxonomy-filter_group' => 'taxonomy-filter_group'
);
return wp_parse_args($custom, $columns);
}
Related Posts:
- Filter admin columns by custom post field value
- Custom Taxonomy Template Post List with Sort Order
- Ordering Posts List By Taxonomy Terms?
- WP_Query -> sort results by relevance (= most tags / taxonomy terms in common)
- Custom Post type sort order not working in the admin area
- Sort admin area by custom Event Date field
- How to customize admin posts based on the user who is logged in
- Categories sorting
- Customize my custom taxonomy table in Admin panel
- Get parse_query filter to return slug instead of id
- Sort and filter custom post type posts by custom taxonomy
- Sortable column containing numeric values for Custom Post Type at WordPress Backend
- How to check if post/page or taxonomy post is published by admin
- Sorting the Loop by Taxonomy Value
- Sort custom posts by date and then by taxonomy
- week days sorting based on starting day
- Ordering Posts List By Taxonomy Terms?
- Custom post type taxonomy not sorting correctly
- Advanced search form with filters for custom taxonomies and custom fields
- Load a script just to custom post type in admin
- Show Custom Taxonomy Inside Custom Menu
- Custom Taxonomy’s Label to change the text appearing in Appearance > Menu
- jQuery UI in Admin (Best Practice?)
- how to sort post in admin column by recently
- custom post type permalinks with category and tags
- How to show term-specific post list, without posts associated with child terms?
- Displaying custom post type by first letter through custom taxonomy
- How to Sort Custom Field Admin Column by Date
- Trouble adding custom featured image for custom taxonomy TERMS
- Include different loop templates in search query
- Custom post type taxonomy template
- Get the terms of a custom taxonomy for a specific author in author template
- Remove Taxonomy Slug when No Taxonomy is Assigned to Custom Post Type?
- Best practice for adding posts in bulk
- Paginated Taxonomy Term Archive including one post per term
- Taxonomy Templates
- Custom Posts Hierarchy? (State/City/Restaurant)
- Custom post types, taxonomies, and permalinks
- Custom Post Type vs. User Page
- How to rewrite custom post type with custom taxonomy urls?
- Is it possible to create a shortcode that will query a post based on taxonomies?
- need advice on how to do a lists using custom post types – taxonomy vs postmeta
- wp_query to find posts by year and month
- What template files do I need to customise custom-category-term-links rather than fall back on archive.php?
- Get template part using a custom taxonomy term
- How to restrict users and admin from creating new taxonomy terms?
- Displaying custom taxonomy in the admin list of a custom post type
- Second Set of Eyes: One custom taxonomy shows in Appearance > Menus, one does not
- Custom Taxonomy terms aren’t getting referenced or saved in Quick Edit or Bulk Edit, only on Single product page?
- How do I move/order posts with a tag to the end?
- Get taxonomy values based on wp_query results
- Custom WP Query on custom meta and sort by multiple meta keys value
- Several CPT’s with same Taxonomy name but with different Terms for each
- How do I check if the user is on a taxonomy term parent, child or grandchild page?
- Best method to make posts searchable, sortable and filterable – custom field, tag or category?
- Custom post with more than one custom taxonomy
- Get the taxonomy of a post hierarchically
- Including taxonomy term before post type breaks top level pages
- Correct procedure for advanced permalinks
- Permalinks: custom post type -> custom taxonomy -> post
- Plugin fatal error
- Template to list categories in custom taxonomy
- Is there something like has_no_term
- Which Template Page Should I Use?
- Display different information of a custom post type
- I can’t access custom taxonomy page listing
- Should I use custom taxonomies or not?
- List of Categories for Custom Post Type
- Attaching a Custom Taxonomy to Posts?
- Reordering admin columns for CPT with custom taxonomy and an added custom field
- The Difference Between Categories and Tags and Taxonomies and Terms
- Category Search / Custom Post Type search on my website. Custom Post Types that are “page-like”?
- display posts of custom post type with custom taxonomy
- Display registerd taxonomy in admin dashboard
- WP_Query order custom post type with certain meta key value by post modified date
- Cant’ Display Custom Post Type Title Base on Tax Terms
- How to show custom posts
- How do I set a post slug automatically based on taxonomy?
- Get a list of custom post type (property) when clicked on custom taxonomy 1 (rent or sale) from custom taxonomy 2 (city) page
- How to divide Subcategories into pages of parent category wordpress
- Is there any filter to add a custom attribute to the tag in admin panel?
- Display Posts that fit a certain criteria on Category pages
- Displaying all posts by category and showing content on click
- How do I find out which (page) template file my custom child post is looking for?
- How to search through all child taxonomies using WP_Query?
- Custom post type and custom taxonomy key lenght & query performance
- Custom post type order by post_title
- Custom Post Taxonomy Template Not Loading Properly
- Show ajax form resuslts in page
- Exclude Posts in a Given Category
- Custom permalink with custom taxonomies for custom post type
- Front page url permalink
- If taxonomy show class of active
- Custom Post Type Permalinks Problem
- Issue on Adding Taxonomy to Custom Post Type Using Function
- Show custom taxonomies in admin panel under custom post type
- Display associated taxonomy child name on single CPT page
- How is it possible to list custom post types by “category” like with simple posts?
- Same slug for Custom Taxonomy archive and CPT archive – Rewrite rule not working
- Problem with shortcode