<?php $post_type = get_post_type( $post->ID ); if $post_type == 'project' : echo 'Work'; ?>
How can I make the above work? I want it so that if the post type is 'projects', then it echoes 'Work'.
Also, I want to add another
if post type is 'movies' then it echoes 'Film' on top of that.