The tag has no wiki summary.

learn more… | top users | synonyms

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 ...
1
vote
0answers
124 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
1k 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
145 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
791 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
4k 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
246 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
885 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 ...
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 ...
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 ...
0
votes
1answer
730 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
311 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 ...
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
602 views

Query the links Database

Hi I'm trying to convert from a "example" wp_list_table that displays an array of data on the same page, to a "real life" table the pulls data from the database. I have the code setup to where I just ...
5
votes
1answer
684 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 ...
2
votes
1answer
536 views

add_action 'manage_posts_custom_column' in a class [closed]

I think this may be more of a general php question but I am posting it here as it relates to a WP function. I am having some issues with an add_action on manage_posts_custom_column inside a class. ...
0
votes
1answer
103 views

How to create a master without relying on posts table

Just I want to create the Project master, there I'll maintain the fields like 'Project type', 'Project Category' and 'Project name'. I've created the table in DB. I thought it is easy to achieve in ...
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( ...
1
vote
1answer
492 views

add_submenu_page function to show videos table

wondering if its possible to show the attachments admin list for videos by using a custom menu link? Any pointers welcome! D. add_action('admin_menu', 'mt_add_pages'); function mt_add_pages() { ...
11
votes
1answer
576 views

Plugin API for easy admin list table generation, handling & exporting of MySQL tables?

I'm aware of the WP_List_Table class (which has helped tremendously as it stands). However, I'm hunting for something even more capable - some form of API whereby you could simply 'register' a MySQL ...
0
votes
1answer
86 views

Strange font-style / font-weight on CPT list columns screen

As you can see below, for some reason the "Author" column displays extremely strange (like non-anti aliased) in Chrome. I added the snippet from the dev tools bar to show that I can't see any ...
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 ...
2
votes
3answers
2k views

How to handle sql with Custom List Table Example

I am using the Custom List Table Example plugin as a base to display entries from a table I created in the wordpress database... However I am having issues with this function function ...
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 ...
10
votes
1answer
713 views

How do I make an HTML table from a database table?

is there a built-in wordpress function to make the HTML or should I use plain-old PHP?
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) { ...