All Questions
3
questions
17
votes
3
answers
26k
views
Make custom column sortable
I have a added custom column to a custom post type, and it works fine. I just want it to sort the names by title, so I tried this,
function sortable_custom_columns( $columns ) {
$columns['...
6
votes
3
answers
5k
views
sortable custom column in media library
trying to make a custom column sortable in the media library. Found lots of examples for posts, and users but can't get them to work on the media library page.
function wpse_hook_isv_columns() {
...
5
votes
1
answer
3k
views
Sortable admin columns, when data isn't coming from post_meta
I have a custom post type that uses a custom taxonomy. I'm imposing a limit of a single term to each post (using a custom meta box drop down on the edit post screen for the CPT). The term for the ...