Hi folks, quick question: How can I display my custom post type’s plural label on a page? I tried this:
<h1><?php $obj = get_post_type_object( ‘wedding-logos’ );
echo $obj->name; ?></h1>
But that displays the category slug rather than the friendly name.
Oops, wrong forum. Too early in the morning. Couldn’t figure out how to delete this post. Never mind!