All Questions
25
questions
4
votes
1
answer
744
views
Column sorting with emtpy meta values
I am trying to sort my custom post type columns in the admin area. There's two ways I found to do this:
At first this was my way to do it, however I got some strange behaviours. If a meta value is ...
0
votes
3
answers
2k
views
Make custom post type column sortable
My site has two custom types: Auction and Lot. Lots are connected to an Auction via the post_parent field. I added an Auction column to the Lots list in the admin area.
function ...
1
vote
2
answers
519
views
Sort by site/blog column in Multisite
I use WordPress Multisite and made a plugin that adds columns with some data. My code is based on this WP Engineer article.
The key function in WordPress Multisite is manage_sites_custom_column. And ...
2
votes
1
answer
639
views
How do I sort a custom post type admin column using two meta keys?
I have created a custom post type along with custom columns. One of my columns displays a date range such as "12/05/2012 - 11:00 am to 12/15/2012 - 1:00 pm". This is a concatenated string using a ...
0
votes
1
answer
1k
views
Sorting custom post types in edit.php : Post disappear
I've got a few custom post types with different taxonomies and I have a function that adds certain categories to post list view in edit.php admin screen. Everything good there. I've also added a ...
0
votes
1
answer
171
views
Simple Data Table Update and Page Integration
There are a variety of tables (page-level, not database) in a website I manage that need to be regularly updated. The difficult issue is that this information is often only one or two data columns, so ...
7
votes
1
answer
9k
views
Custom sortable columns ordered by meta-value?
I have no idea why my sortable function does not sort my "events" my a custom post-meta. I have a custom-post-type named wr_event… I have my custom columns set up and my post-meta is shown in the ...
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() {
...
1
vote
1
answer
1k
views
Admin table list API?
wp-admin table lists - like post list
Is there a API or something to build table lists in wp-admin?
With table lists I mean like the list of posts for example. It has columns, sorting, paging and so ...
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 ...