How to get/check the $plan ID?
I'm trying to do an if statement on the single-listings.php that says if is part of plan AND/OR featured, display these fields.
I can get it to work for $featured using :
Code:
<?php $featured = get_post_meta( get_the_ID(), 'featured-cat', true ); ?>
<?php if ($featured) : ?>
But what I would add for the $plan?
In essence I'm trying to give a none featured plan the same single-listing details as the featured whilst removing things for the free 'basic' plan I've created.