I'm using a custom post type to display a taxonomy category within itself, when editing a post from this type, and I would like the dropdown (or perhaps some other way to select) to be able to also display the Description field from the category so that the simple 'region 1', 'region 2' has an explanation as to what geographical areas are contained in those regions.
Setting up the taxonomy for the CPT is simple enough,
$clubregions = array(
'labels' => array(
'name' => 'Club Regions',
'singular_item' => 'Club Region',
'add_new_item' => 'Add New Club Region',
'edit_item' => 'Edit Club Region',
),
'hierarchical' => true,
'public' => true,
'show_ui' => true,
'show_admin_column' => true,
'show_in_nav_menus' => false,
'show_in_rest' => false,
'show_tagcloud' => false,
);
register_taxonomy( 'clubregions', array( 'clubdetails' ), $clubregions );
but how do I get the page that ACF Pro generates to edit the custom post type with, to use the description field ?
Now, you might think, "just save as draft, go back up to the CPT top level and click over to the category to read the descriptions", however we are additionally using Publishpress Capabilities Manager to have limited-access users for this custom post type, so they cannot see the category section from that level.