Post Expirator in Template
-
It has another post with the same question, but its status is “resolved”, but there is no answers, so I decided to open another one, with the same text…
I am using the Post Expirator plugin in my blog. I want to display the expiration date in my template, not as shortcode in a post, as it describes.
Can anyone help me with this?
I′ve tryed that:
<?php $expiration = get_post_meta($post->ID, ‘expiration-date’, true); echo $expiration; ?>
But it returns a numeric value…
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Post Expirator in Template’ is closed to new replies.