Restrict Plans by Tags
I'm trying to limit plan features. Right now I have a Free Plan and a Pro Plan. The Free plan is restricted by the common "if featured" code on the forum. The problem is I do not want to have featured listings for a year. I want the listing to continue showing custom fields after the featured time expires. I do not use the tags on my site so I am thinking I could use the tags to show the custom fields. I have tried several queries but I cannot get the value to return. Does anyone know how to does this?
I have tied the following code with different variables with no luck.
PHP Code:
<?php if ( has_tag('proplan') ): ?>
<!-- This code will be displayed if the post has a tag named 'WordPress' -->
<?php endif; ?>