Solved it myself: <?php $isFeatured = get_post_meta( get_the_ID(), 'featured-cat', true ); if ($isFeatured) { } ?>