How do I display the word "Latest" on the latest post's page?
How do I display the word "Latest" on the latest post's page?
For example:
<?php if (is_single(latest))
{
echo 'Latest';
}
?>
What would go between the brackets instead of (latest)?
In other words how do you identify that a post is the current "latest" post, and if so display the word "Latest" on the page just above the post?
This topic has been closed to new replies.