Tagged Questions
0
votes
0answers
18 views
restrict_manage_post to remove filters
Using restrict_manage_post, is it possible to remove default WP-List-Table filters? Example that I tried, but failed below:
add_action( 'restrict_manage_post', 'remove_cpt_filters', 99);
function ...
0
votes
1answer
123 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. ...
3
votes
1answer
128 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
1answer
219 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 ...
2
votes
1answer
347 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 ...
3
votes
2answers
522 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
662 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
437 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 ...
4
votes
1answer
249 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 ...
0
votes
1answer
92 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 ...