How to tell if it’s the first page?
I have the standard blog page as my front page. It displays five posts, then there is a “Previous” link to display older posts. This leads to a page called /page/2/ then /page/3/ and so on.
I can use is_home() to determine whether I’m on the front page. However, this also returns true for page 2, page 3 etc.
How can I determine whether I’m on the first page of the homepage only?
- The topic ‘How to tell if it’s the first page?’ is closed to new replies.