The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
1answer
1k views

WP List Table custom quick edit box - post meta data missing and columns change on submit

I have extended class WP_List_Table to create a custom sortable table of posts along with a quick edit box with custom meta boxes. The meta boxes populate and save but when I click submit the field ...
3
votes
2answers
830 views

Sort custom post type list table by display name of a user id stored as post meta value

I have a custom post type named domicile. Each post (domicile) has an owner (not the author). Owners are users with a custom role. I store the user id as a post meta value (dmb_owner) for the domicile ...
2
votes
1answer
2k views

How to Remove Certain Screen Options and Table Columns from post type in wp_list_table?

On the page where we list all posts made: example.domain.com/wp-admin/edit.php There is a Screen Options tab in the upper right corner. Upon clicking this, a menu slides down. Contained within this ...
8
votes
1answer
4k views

How are bulk actions handled in custom list table classes?

I'm working on a custom data table to display in the WordPress dashboard. The table populates from a database table I built in a plugin. I've been using the provided WordPress Custom List Table ...
5
votes
1answer
611 views

Why does my custom taxonomy show a total count across all post types

I have created a custom taxonomy 'season' I have 3 custom post types which I want to use this taxonomy. These are Races Galleries Competitors Now, when I view the totals within the taxonomy ...
1
vote
1answer
86 views

Replacing the List table of a Post Type

Is there a way to replace the WP_List_Table object of a post type to display said post type differently on the Admin edit.php page?
1
vote
1answer
289 views

How do I limit the status options for bulk/quick edit to only Published and Draft?

For my custom post type, I only want to have "Published" and "Draft" as the available options in the bulk edit and quick edit screens, i.e. I tried hooking on to the filter ...
0
votes
0answers
45 views

Wordpress admin WP_table_list show incorrectly

As the image above, my custom wp_list_table didn't show correctly. Code as below <?php if ( !class_exists( 'V2OMLVG_Video_Table' ) ) { class V2OMLVG_Video_Table extends WP_List_Table { ...
0
votes
1answer
600 views

Custom columns for taxonomy list table

I have the following code to add a new column to my taxonomy edit screen (edit-tags.php?taxonomy=book_place&post_type=books) function add_book_place_columns($columns){ $columns['foo'] = ...