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

3
votes
2answers
33 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
391 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
17 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: ...
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() { ...
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 ...
0
votes
0answers
20 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
2k 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
657 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 ...
4
votes
2answers
178 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
122 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
14 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
29 views

Retrieve selected checkboxes from wp-list-table to use elsewhere

I looked and looked but I cant find this or I am missing something obvious. I have managed to create a custom wp-list-table by extending the built-in class. What I would like to do now is somehow ...
0
votes
0answers
24 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
254 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
218 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
22 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
37 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
123 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
37 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
68 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
55 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
13 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
643 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
102 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
71 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
695 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
109 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
0answers
150 views

wordpress list table, action, export phpexcell

so i've setup up a working list table to my table. i'm trying to add export as an option but i'm stuck at the start with phpexcel :( if('export' === $this->current_action()) { require_once ...
0
votes
0answers
103 views

Bulk action on custom post with wp list table

I'm a bit confused and I'm hoping somebody can help me. I am trying to do a bulk action for deleting the items in a custom post type which are shown via extended wp-list_table class. I found some ...
0
votes
1answer
191 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
88 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
698 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
36 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
147 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
467 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
490 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
294 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
100 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
217 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
309 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
767 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= ...
2
votes
1answer
367 views

Using List Table Filters for ALL Custom Post Types

Is there a way to create sortable columns for admin tables across ALL post types? I am working on a project with 7 Custom Post Types, and wondering if there is a better approach than using multiple ...
10
votes
4answers
9k views

Change order of custom columns for edit panels

When you register a custom column like so: //Register thumbnail column for au-gallery type add_filter('manage_edit-au-gallery_columns', 'thumbnail_column'); function thumbnail_column($columns) { ...
1
vote
3answers
549 views

Admin WP List Table Columns Missing

The wordpress admin tables used on pages like www.example.com/wp-admin/edit.php uses a class class-wp-list-table.php In this class there are two functions that hide specific table columns with ...
0
votes
1answer
143 views

Modify users.php query with multiple taxonomies

I've successfully created 3 taxonomies attached to the user object, using the registered_taxonomy and update_count functions of this code - ...
2
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 ...