9 seconds
You can add item categories to the bottom of the Details table by adding the code below into your child theme or a custom plugin.
/* Display categories at the bottom of the Details table */ add_action( 'wpd_dataoutput_bottom', 'acme_wpd_categories' ); function acme_wpd_categories() { ?> <?php if ( in_array( get_post_type(), array( 'flowers' ) ) ) { ?> <td><span>Categories:</span></td><td><?php echo get_the_term_list( $post->ID, 'flowers_category', '', ', ' ); ?></td> <?php } ?> <?php if ( in_array( get_post_type(), array( 'concentrates' ) ) ) { ?> <td><span>Categories:</span></td><td><?php echo get_the_term_list( $post->ID, 'concentrates_category', '', ', ' ); ?></td> <?php } ?> <?php if ( in_array( get_post_type(), array( 'edibles' ) ) ) { ?> <td><span>Categories:</span></td><td><?php echo get_the_term_list( $post->ID, 'edibles_category', '', ', ' ); ?></td> <?php } ?> <?php if ( in_array( get_post_type(), array( 'topicals' ) ) ) { ?> <td><span>Categories:</span></td><td><?php echo get_the_term_list( $post->ID, 'topicals_category', '', ', ' ); ?></td> <?php } ?> <?php if ( in_array( get_post_type(), array( 'growers' ) ) ) { ?> <td><span>Categories:</span></td><td><?php echo get_the_term_list( $post->ID, 'growers_category', '', ', ' ); ?></td> <?php } ?> <?php }