MephistoBS
Member
Posted 3 years ago #
I didn't find a way to detect whether the user displays the first page of my front page or the second/third one.
Background: I want to display navigation links "previous page/next page" only starting at the top of the second page and not at the top of the main page.
Ciao, Meph
The function is_paged() will return false on page 1 but true on pages 2 and up.
MephistoBS
Member
Posted 3 years ago #
@Otto42: thanks, is_paged was the function I was searching for (don't ask me why I didn't found it by myself ;-)).
@GamerZ: no. The function is_home returns true also on subsequent pages.
is_front_page() is what you're after.