how to check if a post is the newest post
Is there a way to check if a post is the latest or newest post? I am trying to hardcode adsense into a template but I only want to display adsense below the content of the newest post. I looked through the codex and did a few searches but I can’t seem to find a function that would help with this.
If anyone can help me by pointing me to the right direction I would really appreciate it.
Thanks in advance.
- The topic ‘how to check if a post is the newest post’ is closed to new replies.