Timeline for Mandatory field in Custom post
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 17, 2022 at 2:56 | comment | added | Foysal |
Thanks @JeffCohan. I am using this code public function register_custom_post_type() { $supports = ['title']; $labels = [ 'name' => __( 'News', 'wpwi' ), 'singular_name' => __( 'News', 'wpwi' ), 'name_admin_bar' => __( 'News', 'wpwi' ) ];$args = [ 'public' => false, 'show_ui' => true,'supports'=> $supports, 'labels' => $labels, 'public' => true,'description' => 'News', 'has_archive' => true,'exclude_from_search' => false, ]; register_post_type( 'news', $args ); }
|
|
Aug 30, 2022 at 17:23 | comment | added | Jeff Cohan | What method or plugin are you using for creating custom fields for this custom post type? | |
Aug 28, 2022 at 1:58 | history | asked | Foysal | CC BY-SA 4.0 |