There’s a thing: this is not necessarily needed nowadays. This is not a strict answer to my question, but a possible very easy solution for most needs.
As of wordpress v3.5, you can pass 'show_admin_column' => true
to register_taxonomy
. This does 2 things:
- Adds the taxonomy column to the admin post type list view
- By clicking the name of the term on the taxonomy column, it will in fact filter the list to that term.
So, not exactly the same as having a select, but almost the same functionality, width just one row of code.
Related Posts:
- Custom Loop in Page Admin Causing Other Fields to Fail
- Trouble with wp_reset_postdata() in Admin Panel
- Add quicklink to in the Admin posts page where I can query by a meta_key
- Can I simplify in function column_default use of queries
- I need help using pre_get_comments to limit comments in the comments admin screen
- How to pass query string vars between admin pages?
- Disable (or limit) queries when certain content (or data) is not needed (or showed)
- Admin: Custom Query Returning Permissions Error
- How to set selected attribute on option after filter query?
- Is instantiating WP_Query not possible within an admin Ajax call?
- Issue generating custom filter for cpt admin columns
- Modify query to exclude certain ids and certain parents and its corresponding children
- Wp_redirect and sending variables
- How do I get posts that have a thumbnail in WP_Query?
- Multiple WP_Query loops with Pagination
- WP_Query with checkbox meta_query
- IP address character limit
- What is the most efficient way of querying posts based on visits and date for current day?
- Does WordPress generate an automatic page for post formats?
- How to add custom query filters in WP_User_Query
- How to order category.php loop by ‘meta_value’?
- Searching user meta using WP_User_Query
- Which custom query am I in and how can I access its properties & methods?
- Does using a custom query_var create a security hole?
- Why I can’t get old posts instead of recent with WP_Query?
- How get posts from a subcategory of a category by name?
- Date query not inclusive despite parameter being true
- WP_Query or get_posts?
- How to display the number of articles published per user
- How do you query wordpress posts using a math formula between multiple meta field values?
- Change default ordering of taxonomy terms – pre_get_terms
- Ordering Posts Type A by Custom Fields of related Post Type B
- Query Posts depends on custom field inside repeater field using acf
- Exclude old events from WP_Query with date saved in a `meta_key`
- current_post not working – give me -1 for every post
- Order posts by taxonomy count
- Query all published post AND attachment with specific mime type
- WP_QUERY to display woocommerce products whose author IS the logged in user
- Need Help For WPQuery
- When variable value have space between word, doesnt show any result WP_Query
- How to list custom fields as headers and list all pages sharing that custom field under it?
- Best practice for query_posts in responsive design?
- Posts published last 10 minutes
- Make meta query treat meta_value as 1 or 0
- why does not my wp_query work?
- Getting additional columns from sql
- get all posts associated with a custom taxonomy
- WordPress query posts with multiple post_meta data
- Assign custom parameter to each post in query
- Exclude current post from an array of posts?
- How to set an alternate posts_per_page value for default queries in different templates
- How to remove only the latest sticky post from the loop
- Query posts using less than
- var_dump of WP_Query object is not empty, while .have_posts() return false
- How to view all posts of current day as default in admin
- How to show list of posts with custom field value (a date) that are coming soon
- Using WHERE on a WP_Query
- Insert images into wordpress post with a query
- WP_Query meta compare must include ALL array values
- How to sort queried pages by an array of page ids?
- How to query for a page, get data, then query for child pages of that page
- $post in wp_query?
- How can I return only IDs from the `posts` REST endpoint?
- search through “product title” using WP_Query?
- Excluding posts from search results page with meta query not working
- Counting instances of words in the results of a post query
- Query posts by post type, author and post meta
- pre_user_query vs pre_get_posts
- Can I alter the main loop to ‘orderby’ a custom callback?
- Query a database based on form input then output to another page [closed]
- Query for getting posts with their custom fields data in WordPress
- WP_Query not returning any posts
- WooCommerce | AJAX | Product Pagination | Help me implement Ajax Pagination
- list all post who have mutual taxonomy as current taxonomy!
- How to extend WP_query to a specific table?
- How to rearrange posts based on input field values added by WordPress “Advanced Custom Fields”
- How to delete a complete forum topic from root folder in wordpress
- I removed the “wp_rm_logs” table and am constantly getting this error
- custom search form, posts_per_page value being ignored
- WP_Query returns empty if meta_query has more than 7 values
- Fetching $_POST from Page Template into functions.php
- query.php – multiple is_category functions
- Custom query with post_class filter using current_post not working
- Overwriting auto-appended NOT IN query in WP_Query
- posts_per_page not returning correct number of posts
- Conditionals in WP_Query
- Why WP_Query in functions.php is not working when get_posts works?
- Next / previous posts link doesn’t show up with Posts 2 Posts
- Loop the posts between two dates selected using jquery datepicker
- Passing conditional arrays to WP_Query() [closed]
- query by meta value then date and not empty meta value
- Issue with sorting by post date and custom post type
- wordpress sorting using array merge by price in ascending order but price with 0 must be show last
- Carousel Loop only duplicating
- Remove divs and spans from post content
- Can’t get LIKE to work with wp_query [closed]
- Get all user with both meta_value
- Refresh wp_query with no changes
- SQL query into to WP query
- WordPress WP_Query Search (‘s’) With Multiple Search Terms