The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
19 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
54 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 ...
2
votes
1answer
55 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
27 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 ...
1
vote
2answers
121 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 ...
0
votes
1answer
83 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 ...
1
vote
1answer
56 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
180 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
39 views

Using WP_list_table with search_box only works with ?s=searchterm as first argument?

I am using WP_list_table and extended it with a search_box, but I notice the search box doesn't work always. If I load page a do search it works. But when I load the page and use one off the table ...
0
votes
0answers
173 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
2answers
209 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 ...
0
votes
1answer
636 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
60 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 ...
0
votes
2answers
328 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 ...
0
votes
0answers
42 views

Concept WPListTable with Groups

I have extended the WPListTable class (http://core.trac.wordpress.org/browser/tags/3.6//wp-admin/includes/class-wp-list-table.php) and display some custom Data. In the table there are products like: ...
0
votes
0answers
69 views

how to add a link to my custom table(WP_list_table) that update database field

i make a custom post type and make a custom list table using WP_list_table for show data. I want to add a column that have a link to change database. for example after click on "update Home" change a ...
0
votes
0answers
172 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
201 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
670 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
114 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
116 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 ...
0
votes
0answers
242 views

Sort Custom Post Type List Table in Admin by Multiple Meta Values

I have a Custom Post Type (CPT) called Sessions. The List Table in the admin for this Custom Post Type (CPT) has the following columns: Session # (post id) Session (post title) Day (CPT meta value) ...
0
votes
1answer
151 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 ...
0
votes
1answer
264 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, ...
0
votes
0answers
64 views

Return to Post Editing Screen after a bulk action from the Custom Meta Box

Trying to adapt Custom List Table Example plugin for my own needs. Here the page field is responsible for specifying the plugin page to which the form containing List Table posts to: <form ...
0
votes
1answer
212 views

wp_list_table multiple checkboxes

I have a custom class which extends wp_list_table and show list of posts with two checkboxes in each row (one which have post ID as value for determining which posts are to be processed and other to ...
1
vote
1answer
179 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
48 views

Create Table Failed Column Date DateType

I have a plugin that creates tables and one of them is failing and I feel like it's due to either my syntax or the fact that I'm trying to create a column with datatype DATE and not TIMESTAMP (only ...
0
votes
2answers
70 views

Possible to add a statement to a core file?

I would like to add one line to a wp core file. Basically on the 'edit.php' page, just right above <?php include('./admin-footer.php'); I would like to add an php include statement... ...
0
votes
1answer
172 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 ...
1
vote
1answer
350 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= ...
0
votes
1answer
192 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
2answers
690 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 ...
3
votes
1answer
382 views

Redirect after deleting post and keep track of pagination

I have a custom post list in the admin panel. This list is paginated, so this is it's url : wp-admin/edit.php?post_type=xxx, if I open the default page wp-admin/edit.php?post_type=xxx&paged=n, ...
1
vote
3answers
685 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
411 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'] = ...
1
vote
1answer
500 views

Row actions not showing? Why?

I have constructed a WP_List_Table that displays on a custom theme page that I have built. I am having some trouble getting the row actions to display, despite me reviewing all the possible info on ...
0
votes
2answers
1k 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 ...
1
vote
0answers
117 views

How to store options in an array

I am creating a custom table to display selected options for a page called "Testimonials". The user will enter their options on a "manage testimonial settings" page, and then those options will ...
2
votes
0answers
722 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 ...
0
votes
1answer
125 views

Wordpress Admin Tables in Post View

I'm trying to add my custom Wordpress table (similar to the links table) into the "New Post" view of a custom post type. I hope that makes sense.
2
votes
1answer
606 views

How to use custom post type APIs, but use a different db table

We currently have a plugin that creates a new WP table, but it recreates the wheel when it comes to managing/updating data. It would be a good candidate for custom post types, but we don't want to ...
1
vote
1answer
3k 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="#">'.__( ...
4
votes
1answer
1k 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 ...
3
votes
2answers
213 views

List Table API - Safe to use?

Just curious what developers think about extending the WP_List_Table class for use on plug-ins. I am working on a plug-in that will show a list of users (ID, name, email) then pull data from another ...
3
votes
2answers
691 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 ...
1
vote
1answer
1k 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 ...
2
votes
1answer
1k 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 ...
0
votes
1answer
581 views

How to sort posts in a custom post type by title in ascending order by default?

So I am using a custom post type to create a listing of businesses. Each post made, contains information about each business. The title of each post is the name of the business. When I go to the menu ...
1
vote
1answer
243 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 ...