[Resolved] Single.php Content Conditional on Post Status?
I need to have a certain portion of code hidden if the viewer is looking at a single post that is set to publish in the future (I’m using
get_posts('post_status=future')on a custom template to list out these posts). I’m failing miserably with trying
if (post_status('future'))(I know, it was a longshot). Does this ability exist in a way that I’m missing?
- The topic ‘[Resolved] Single.php Content Conditional on Post Status?’ is closed to new replies.