This class is used to generate the List Tables that populate WordPress' various admin screens. It has an advantage over previous implementations in that it can be dynamically altered with AJAX and may be hooked in future WordPress releases.

learn more… | top users | synonyms

0
votes
1answer
18 views

WP_list_table add custom row action

I have been following the following guide: step by step guide to wp list table however i can't figure out where should i define my action: duplicate in the code. I want to add a link to simply ...
4
votes
3answers
2k views

wp_list_table search box does not show

I'm using wordpress 3.8 and a custom class derived from WP_List_Table. Why is there no search form? My code in plugin class: function __construct() { ...
0
votes
1answer
34 views

Odd behaviour for the update button when displaying a WP_List_Table

I am currently trying to add a WP_List_Table to a metabox in the edit page of a custom type. The code is currently class Post_Table extends WP_List_Table { public function __construct() ...
2
votes
1answer
268 views

How to create Custom filter options in wp_list_table?

I used wp_list_table class to create my custom table in the backend. It's working fine. Now, I want to add filters like in the below image. Here is my existing code to render admin table with my ...
3
votes
1answer
4k views

Custom Table Column Sortable by Taxonomy Query

I am looking to add a custom column to a custom post type post listing table in the dashboard. I have read many questions / answers on WPSE, along with this article. Although, it seems like everyone ...
0
votes
1answer
77 views

WP_list_table prepare_items()

I create custom WP_list_table with side form like (adding new category form), but when i submit that form wp_list_table doesn't refresh. When I once again refresh page information appears.I use ...
0
votes
1answer
33 views

Add custom column to post list table

I have a custom post type called Book and I want to add the publisher and book author custom columns in the edit page. I also want to fetch a specific value from each fields (I created two fields ...
0
votes
1answer
78 views

Add custom column at custom posts list

I want to have a column (e.g Send Email) in my custom posts (books) list. In each row there should be a button (Send) and when I click on it I want to send an email. I have seen is a hook ...
1
vote
1answer
39 views

how to remove dash (-) post status from post title on posts listing page wordpress

I want to remove post status from post title. E.g Currently on listing page post title comes like "Hello World - Draft" or "ABC - Completed" I don't want - Draft or any other post status. Note* : I ...
1
vote
4answers
2k views

How to remove _wp_http_referer from URL when husing WP_List_table?

I have built a plugin that displays a table using the WP_List_Table class. The table displays entries on which it's possible to apply a filter and some bulk actions. The problem is that is that when ...
4
votes
2answers
102 views

Add content in custom post type page after the title and before columns

I found here on WPSE that you can add content before post title in the post page, and in custom post type pages add_action( 'load-edit.php', function(){ $screen = get_current_screen(); ...
0
votes
2answers
429 views

Custom Post Type or Custom Tables

I am in the process of writing a plugin that allows end-users to submit a form that includes customer information. Upon submission, I am notified that a new customer has submitted the request form. ...
0
votes
1answer
39 views

remove $_GET-parameter from WP_List_Table::tablenav

I'm using URL parameters as actions links within a custom WP_List_Table for users like so: ...
0
votes
0answers
31 views

`bulk_edit_custom_box` mess the input fields

I'm trying to create a bulk-edit plugin. Here is how Wordpress builk edit form looks by default: Than I add the following code: add_action( 'bulk_edit_custom_box', 'my_bulk_edit_custom_box', 10, 2 ...
5
votes
2answers
3k views

How do I create links at the top of WP_List_table?

I am trying to create links like the ones in the post tab. See Image Below. I created my WP_List_table but I am not sure how to create those links or how to get them to show a different db query. I ...
4
votes
2answers
2k views

Searching users with WP_List_Table plug-in

I am trying to devlope a plugin that will search and return my users so I can edit some other metatdata that belongs to them. I have been using the plug-in listed on the Codex as my starting point. I ...
0
votes
0answers
824 views

Using WP_List_Table and search_box(): How to Paginate the Found Search Results When Sending by Method «Post»?

I am using a custom WP_List_Table-Class in order to display a custom table with hotels in the dashboard. I can skip through the pages with the pagination on the top right as expected. The search form ...
6
votes
2answers
369 views

Fatal error after 4.4 upgrade class-wp-list-table

I'm a developer of a private Wp plugin that has been running for 3+ yrs. The plugin displays in table format users custom information. I just upgraded to v 4.4 and now I'm getting a fatal error: Fatal ...
5
votes
1answer
579 views

How do I add a WP_List_Table to WordPress page?

I have WP_List_Table and i'd to like to add it to a page, and I searched and I have not seen examples on how to do this.Does anyone have a snippet on how I can achieve this? <?php /* Plugin Name: ...
0
votes
0answers
23 views

Admin list: sort by default by custom column

I created a custom column like this: if( (isset($_GET['post_type'])) AND ($_GET['post_type']=="sales") ) { function inventory_column($columns) { ...
0
votes
0answers
38 views

wp_list_table to organize custom post type

I have a custom post type that creates a timeline as if each item is a post. What I want to create is a sort of a table that groups posts together for each time line by using wp_list_table and then ...
4
votes
2answers
343 views

How To Remove These Stuffs From Custom Post Type List Screen?

I am modifying a custom post type's post list screeen and I want to remove all of the stuffs on the tablenav head like what is marked in the following image. Is wordpress have special hook for ...
2
votes
2answers
269 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?
0
votes
0answers
25 views

WP_List_Table data missing

I'm following this example code WP_List_Table on github , everything is "fine" except, the data is missing, i mean the "records count" says 6 records, but there is not data, just the "No books found, ...
0
votes
0answers
40 views

What is wrong with assigning values to a WP_List_Table class?

I was trying to fix a use of the Wordpress list with 4.3 update, when I noticed some odd behavior when subclassing the list class. As a minimal example: class Another_List_Table extends WP_List_Table ...
0
votes
2answers
149 views

Wp_List_Table not responsive

im using the wp_list_table class on my backend theme, to show some informations that i have saved on database, but there is a lot of informations and i want to make it responsive, show/hide some ...
0
votes
0answers
56 views

Conditional Row Actions on WP List Table

In WP_List_Table() I have the following: function column_session_id($item) { $actions = array( 'confirm_paid' => sprintf('<a ...
0
votes
0answers
84 views

WP_List_Table Bulk Edit Not Showing

I have a custom post item table extending the WP_List_Table class. The table works nicely, I have added bulk delete and it works fine. Its following this tutorial: ...
2
votes
2answers
2k views

Create a clickable name in WP_List_Table for Plugin Admin

I've been developing a plugin where I wanted to create a table, styled and working just like Wordpress's native Post/Page tables. Following the guide below, I was able to create the table and load my ...
0
votes
1answer
88 views

Get the selected posts IDs to use in bulk edit AJAX call

The WordPress codex for bulk_edit_custom_box, along with this bulk edit example use the following piece of JavaScript to create an array of selected post IDs to send with the AJAX call that updates ...
0
votes
0answers
22 views

term_id missing for customizing category column

I wanted to add a custom field (a ) to a custom category, loosely following this good tutorial : http://wpthemetutorial.com/2013/02/21/adding-custom-meta-to-wordpress-taxonomies/. For editing, ...
0
votes
1answer
705 views

When sorting WP_List_Table, table sorts, but I also get SQL errors

Here's my lovely prepare_items() function: function prepare_items() { global $wpdb; $table_name = $wpdb->prefix . 'blah'; $per_page = 100; $columns = $this->get_columns(); ...
0
votes
0answers
168 views

Display existing admin list table for custom post type in another location without recreating it

I have two custom post types; Inventory and Jobs. I have customised the columns displayed in the Inventory admin list table (ie. wp-admin/edit.php?post_type=inventory) to display relevant fields Is ...
0
votes
0answers
82 views

wp_list_table, jquery get the value of the checkbox

Hello i'm trying to make inline edit for my wp_list_table. but i've hit a brick wall. the thing is that each elemement/td is made up off 2 class column example: <td class="name column-name" ...
3
votes
2answers
797 views

WP_List_Table inside metabox not working on submit

I'm trying to display a WP_List_table inside a metabox. The metabox is for a custom taxonomy called 'service' which is registered to a custom post type called 'office'. The table columns contain input ...
0
votes
1answer
152 views

wp_list_table trying to make inline edit

I'm very new to javascript and jQuery however I've jumped into trying to make inline edit for my wp_list_table but find it difficult to catch the class for some reason. the classes for the column I'm ...
0
votes
1answer
238 views

custom_list_table edit/delete bulk actions

so... this is a brand new chapter for me, i've googled for a solution and found loads but nothing working for me unfortunately. function column_title($item){ $actions = array( ...
-2
votes
1answer
98 views

How can I search for usr_id within my date range with WP List Table?

I've fiddled around with the custom list table plugin for some time now but I'm not so much into MySQLi yet, so I hope there is someone here able to help me with my problem. My current code looks ...
2
votes
1answer
2k views

How to stop _wpnonce and _wp_http_referer from appearing in URL

I am trying to develop a plug-in that has a search field and uses WP_List_Table. The plug-in is strictly for the backend and searches the users in the database and returns them along with some other ...
3
votes
2answers
1k views

List table not rendering when $this->items is filled

I'm attempting to add a list table to a custom admin page. I've been following this guide and this reference implementation. Unfortunately when I define $this->items to add the data, nothing ...
1
vote
0answers
41 views

Re use the list table for a custom post type on another page

i've got a custom post type which is 'ai1ec_event'. So i have a "All events" page which has a Wp_List_Table with all my events and my customization to that table. Is there a way to draw the same list ...
0
votes
0answers
166 views

Simple WP_List_Table won't return posts, let alone custom metadata

So, I am trying to create a simple WP_List_Table to return custom metadata from a custom metabox created by a plugin I developed. As of now, I haven't added any of the columns for the custom post ...
0
votes
1answer
548 views

How can I add a column in the wp_list_table of the admin area?

So my question is pretty much what you see in the picture. In my custom post type of "Products" how can I add an extra column like SEO Yoast did to my main table which is called WP_List_Table. I ...
1
vote
1answer
6k views

how to make custom bulk actions for a WP_List_Table (core class)

I am using the WP_List_Table class and I added the links for the actions like this: function get_bulk_actions() { $actions = array(); $actions['approv'] ='<a href="#">'.__( ...
1
vote
0answers
547 views

WP List Table in custom post type

I want to use WP_List_Table class on a custom post type to create a whole new admin panel (the original one will exist, but I want to have several others with specific filters and criteria set upon ...
0
votes
1answer
343 views

Wordpress admin Tables use to display own data - In admin WP

I want to display results in a table. Is it possible to use the wordpress tables like the one in the post and page section which shows all posts and pages in the admin section. global $wpdb; ...
1
vote
0answers
105 views

Form element deleted from first row of WP_Lists_Table

I was trying to add a small input into the posts columns and in the markup that looks like it is working just fine. Using the standard add_filter( 'manage_posts_columns', 'kia_post_columns', 20 ); ...
1
vote
0answers
258 views

upgraded to wp 4.0 - getting convert_to_screen() errors with WP_List_Table

I upgraded my wordpress to 4.0 any my plugin which has a class that extends from WP_List_Table is now throwing this error [30-Sep-2014 21:40:55 UTC] PHP Fatal error: Call to undefined function ...
0
votes
1answer
360 views

Admin Table Filtering not Working for Custom Post Type

When I attempt to filter a custom post type's admin table(CPT's posts) using the select dropdown, the filtered table that loads shows 0 items. This is the url structure that is being created by ...
2
votes
1answer
812 views

How to specify multiple search columns for wp list table search

I have working search for a created wp_list_table. But i like to know how I can search in more than one column. My current my working search setup in a Visitor class //search something $searchcol= ...