Pagination – get_query_var('paged') returning empty string
-
I want to display list of post title by using custom pagination.
The problem is every time (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1; it returns 1.
Please find below the code.[code moderated - please follow the forum rules for posting code]
If I set $page=2 it displays next 6 records.
I have tried many solution still it not working.
Can this problem because of page template? IF yes how to use this.
Please help me.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Pagination – get_query_var('paged') returning empty string’ is closed to new replies.