The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
2answers
27 views

WP_List_Table - getting array instead of value in each field [on hold]

I have created a custom table with WP_List_Table which outputs content from my custom database table. But I am getting array instead of value in each field, see picture below. Do you know what I am ...
0
votes
0answers
11 views

Ajax WP_List_Table in Admin Edit Post Page

I need to show a WP_List_Table with a list of custom posts types inside the post edit page. I followed the instructions at this link. The ajax part works fine, but now I have a problem when I try to ...
2
votes
2answers
629 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
0answers
96 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 ...
1
vote
0answers
46 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
44 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
83 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
463 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
137 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
5k 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) { ...
0
votes
0answers
33 views

WP_list_table unhideable columns

So I have managed to setup a custom WP_list_table in my theme as per the tutorial here. I really love the fact that you can make the columns hide-able, and I have manage to implement that. What I ...
0
votes
3answers
280 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
0answers
14 views

Ordering links in List Tables don't include page number

I'm working on a WordPress plugin that requires the use of some WP_List_Table[s]. Everything is working fine but the ordering links for the table records do not include the "paged" GET parameter and ...
0
votes
1answer
64 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 - ...
1
vote
1answer
2k 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 ...
3
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 ...
0
votes
0answers
53 views

Wordpress crashes when I click add new plugin

I recently uninstalled the plugin SEO Facebook Comments Since then when I click on add new plugin I get this error, Warning: ...
1
vote
3answers
208 views

Inserting Mysql queries into array using wp_list_table class

I try to make a plugin that can show a table (with rows) in wordpress by using the WP_List_Table class. In my "students" table Ive got Fname,Lname,school,Class I've already found a example where ...
0
votes
0answers
76 views

Importing data from database to WP_list_table

How can I import data from a table where Ive got : ID, Name, LastName, Adress and class and by the way, how do I create this plug-in? Any examples?
0
votes
1answer
107 views

Display_rows() and column_cb() strange behaviour

I found a strange behavior of my functions. I thought to pass the id from display_rows() to column_cb(), but the problem is that the program passes only the first digit. Any hint? column_cb(): ...
0
votes
1answer
49 views

Let Posts be stored in another table

I am trying to develop a plugin that creates a new table in the Wordpress database and I want to store there some kind of posts I create. I am trying to understand how to "clone" the Wordpress ...
1
vote
1answer
70 views

Extending WP_List_Table seems getting wrong with $this->get_columns() - what's wrong?

I'm trying to implement an Admin Table for a view page of a plugin of mine by following the following tutorial: Create Native Admin Tables In WordPress The Right Way    by Jeremy ...
0
votes
0answers
76 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
234 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. ...
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 ...
0
votes
2answers
2k views

wp_list_tables bulk actions

How to fire on bulk actions inside of an extended WP_List_Table. I have been adding the following bulk actions to may table's select box but on Apply won't really happens anything here are how I ...
2
votes
1answer
365 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 ...
1
vote
1answer
121 views

Redirection to taxonomy posts list after post submit.

I am able to redirect the user back to the edit.php admin page after they have successfully created/updated a post. However, is it possible to redirect them to the taxonomy term posts page? This ...
1
vote
1answer
380 views

Add content before/after admin post wp-list-table

I know there are two hooks to add content before and after a taxonomy wp-list-table. Is there an action to add content after the post type wp-list-table on the edit.php page? For $taxonomy List ...
1
vote
2answers
482 views

How to implement WP_List_Table functionality for custom plugins (OR any substitution for wp_list_table plugin) for bulk action

In the WordPress codex, following is highlighted in red for WP List Table. "This class's access is marked as private. That means it is not intended for use by plugin and theme developers as it is ...
1
vote
3answers
1k 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
1answer
83 views

Process bulk actions with POST method - WP_List_Table

I want to avoid to execute the bulk action again if someone reloads the page accidentally. If the bulk actions are processed with method POST a warning will be launched at least. Could be this ...
0
votes
1answer
241 views

Get categories list with category name in custom WP_List_Table class

Im building a plugin and i made custom wp_list_table class to suit my needs and display items with native wordpress look. The problem is that i can't get to list categories with categories names. I ...
0
votes
2answers
390 views

Default sort on admin columns with meta date hides draft posts with empty date value

I have a custom post type of 'gigs' and a metabox (using meta-box plugin ) with event start date and time saved like: 2013-11-29 20:30. If I save a draft with no time/date set then it shows up in ...
1
vote
1answer
110 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
389 views

Change column of row action (Quick Edit) links in WP_List_Table

Is it possible to move the "Edit | Quick Edit | Trash", etc... links (A/K/A "Quick Edit links") from a table generated by a custom post type registration into a different column other than the "Title" ...
0
votes
1answer
2k views

How to add checkbox with multiple values in table?

Right now i changed from options table to my own table so things are getting difficult i have a checkbox its name is selection in table, so here is what i tried <input type="checkbox" ...
0
votes
1answer
68 views

Show all post types in the same table of posts [duplicate]

I wonder if there is any way to show all post types in the same table of posts. Let's say I've got 3 different post types: Movies, Books and Videogames. Is there any way to show them all in a single ...
1
vote
2answers
821 views

wp_list_table bulk action button is not working - no submit

I have a custom wp_list_table to create my own table. Almost everything works perfect, but the bulk action button seems to be not working. It's proper displayed,but on click nothing happens. I think ...
1
vote
0answers
293 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
227 views

Using wp_list_table how to trigger update function “inline”?

Ok, i have used wp_list_table to read data from a custom db table and i like to be able to update the database table by clicking the correspondig cell. Defaults are 0 and when clicked the value is set ...
0
votes
1answer
345 views

How i add new link after Edit | Quick Edit | Trash | View in quick edit section

I want to add new link in custom post type . I have create a custom post type and i want to add new link after Edit | Quick Edit | Trash | View links like Edit | Quick Edit | Trash | View | PDF . How ...
0
votes
1answer
251 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
1answer
160 views

Get user ID when action row link is clicked

I have added an action row link to users.php so that when its clicked it links to a list table. To generate the data for the clicked user in my custom list table, I need to capture the user ID. I ...
1
vote
1answer
251 views

Admin Posts List (edit.php) by post IDs

I'm writing a plugin that creates posts in bulk. I provide a way for the user to set certain parameters of the created posts beforehand. But it would be useful to use the WordPress default "All Posts" ...
0
votes
1answer
230 views

Retrieve only posts from a specific user in wp-admin/edit.php

I create a role and set capabilities for a group of user. $userdata = array( //something ); $uid = wp_insert_user($userdata); if(!empty($uid)){ $blogger = new WP_User($uid); //add role ...
1
vote
1answer
801 views

Image still attached to post even after removing it as featured image

I'm sorry if this is too noob of a question, but when I upload an image and set it as the featured image then later remove it (as featured image), the media list still shows it's "Attached to" the ...
0
votes
1answer
410 views

Custom WP_List_Table: How to create an unapproved row?

In this Example, let's assume every item had the attribute $item['approved'] with values Zero unapproved and One for approved. How can I get the rows of the "unapproved books" to be yellow? (well, ...
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 ...
3
votes
2answers
2k views

How-to implement admin Ajax inside an admin WP_List_Table?

I am new to WordPress if someone will help me I will be very appreciate. There is parameter ajax "true" but in docs. wasn't said how to implement Ajax using WP_List_Table Class? parent::__construct( ...