Single.php Content Conditional on Post Status?
-
Hi ??
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 tryingif (post_status('future'))
(I know, it was a longshot). Does this ability exist in a way that I’m missing?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Single.php Content Conditional on Post Status?’ is closed to new replies.