Run function if most recent post outside loop?
-
Hello,
I have a function i run outside the loop on my single.php like so.
<?php echo display_message() ?>
I dont want to display the message if its the most recent post. Does anyone know how?
Thanks
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Run function if most recent post outside loop?’ is closed to new replies.