Forums › Forums › Search & Filter Pro › Check events pagination page number
Tagged: pagination number page
- This topic has 6 replies, 2 voices, and was last updated 4 years, 10 months ago by Trevor.
Viewing 7 posts - 1 through 7 (of 7 total)
-
Anonymous(Private) January 16, 2020 at 5:38 pm #231387
Hello. There is a way to check in my php template if we are on the first pagination page, when event pagination is activated?
Here is my events page link: http://www.pminetwork.test.polimi.it/events/
In a standard page I used the WordPress get_query_var(‘paged’) function.
Thank you.Anonymous(Private) January 17, 2020 at 3:00 pm #231468Ok I am really sorry. I figured out that the page is not using the search&filter query, but a query by another plugin. And I always have page number 1 if I use
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1; if(1 == $paged) {
Anyway it is not to you to solve this.
-
AuthorPosts
Viewing 7 posts - 1 through 7 (of 7 total)