custom post types – Add html tot CPT edit screen – no metabox
Question
Which hooks can I use to add my own HTML stuff to a CPT edit screen? I created an own CPT with
$args = array (
'labels' => array (
'name' => 'Catalog',
),
'capability_type' => 'post',
'has_archive' => true,
'public' => true,
'show_in_menu' => true,
'rewrite' => array (
'slug' => 'catalog'
),
'supports' => array (
'title',
'thumbnail'
),
);
register_post_type( 'catalog', $args );
I use only the featured image for the rest I removed all default things like title editor…
You can see this in the support array in my code above.
Now I want add my own HTML stuff to this editpage
0
2 years
2021-03-19T18:16:28-05:00
2021-03-19T18:16:28-05:00 0 Answers
0 views
0
Leave an answer