I have several Custom Post Types and regular WP Posts all feeding into a main archive page called 'news'.
The CPT are for different areas but still under news and the core Posts are for the Blog.
I am using the below code to display the name of the post type on archive page excerpts (eg. events, awards). What I want to do is have the blog 'posts' display 'Blog' Instead of 'Posts' which they currently are doing.
<?php $post_type = get_post_type_object( get_post_type($post) ); echo $post_type->label ; ?>
I have renamed 'posts' to 'blog' in the admin area but it is still displaying 'posts' as the post type on the front end and I'm not sure how to change this.
Can anyone please advise how to fix this?