Displaying the type of post (Custom) in a single.php olatechproMarch 27, 20230 Views How can I display the type of custom post type in a template? So: <h3> [CUSTOM POST TYPE] </h3>? Post Views: 0 Related postsGet rid of this Strict Standards warningWooCommerce: get_current_screen not working with multi languageCan’t login on WordPressForce HTTPS using .htaccess – stuck in redirect loopWordPress: Ajax not working to insert, query and result dataHow Can I pass an image file to wp_handle_upload?
Already figured it out: <?php $post_type = get_post_type_object( get_post_type($post->ID) );?> <h3><?php echo $post_type->label ?></h3> Log in to Reply
Already figured it out: