wp-custom-post-type-class
wp-custom-post-type-class copied to clipboard
A PHP Class for creating Wordpress Custom Post Types easily
i don't know if i'm doing something wrong but i'm not able to translate the name of the post type/taxonomy... not the 'Add New' label but the singular and plural...
It will be cool add custom columns in taxonomy. And maybe change register_post_type to class WP_Post_Type will be more flexible.
Hi, I have added the menu_order to the admin screen for a CPT. I can make the column sortable and display the values inside the column. However when I click...
I need to add automatically to primary_menu (in the front end) all CPTs. Is it possible to pass show_in_nav_menus attribute?
Especially useful in weird languages like Finnish... e.g. ``` $books = new CPT( [ 'post_type_name' => 'books', 'singular' => _x( 'Book', 'Single', 'textdomain' ), 'plural' => _x( 'Books', 'Plural', 'textdomain'...
Hello: Thank you for the great work on this class. Makes setup and config so much easier for us. I was wondering if there's a way to add `post_row_actions` to...
I would say your class is fantastic. I am very satisfied using CPT Class. I would like to know if it might be possible to implement some methods to change...
Add the ability to add a column to the existing columns without having to redeclare them all
The query created when attempting sortable admin columns using automatic taxonomies doesn't work: ``` php array ( 'order' => 'asc', 'orderby' => 'meta_value', 'posts_per_page' => 200, 'post_type' => 'sm-item', 'meta_key'...
Hello I was wondering whether it is possible to set the menu_position of the cpt 'post'?