Support » Fixing WordPress » Display the word “Latest” on the latest post’s page

  • getsteve

    (@getsteve)


    How do I display the word “Latest” on the latest post’s page?

Viewing 1 replies (of 1 total)
  • getsteve

    (@getsteve)

    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?

Viewing 1 replies (of 1 total)
  • The topic ‘Display the word “Latest” on the latest post’s page’ is closed to new replies.