How to get page counter as integer? #1134
Answered
by
LaurenzV
Natureshadow
asked this question in
Q&A
-
I am trying to write a template that behaves differently on odd and even pages. I figured everything out, except for how to get the current page as an integer (in order to then check if it is odd or even using the Any ideas on how to do that? |
Beta Was this translation helpful? Give feedback.
Answered by
LaurenzV
May 7, 2023
Replies: 1 comment 5 replies
-
Try this:
|
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
Natureshadow
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try this: