Hot answers tagged pagination
7
Note the get_pagenum_link( $big ): This will create an URL (not a link) based on the number provided in the first parameter.
That function is used to get the basic pattern for the URL, and the high integer is used here, because:
You must provide an integer as argument.
The resulting URL is filtered with apply_filters('get_pagenum_link', $result) and might ...
1
I'm not familiar with Genesis, but most WordPress pagination issues have similar cause. When you load a page in WordPress, the results of the main default query determines the number of available pages. You're seeing the results of your custom query, but the pagination is based on an entirely different query. This is typically solved by using the ...
1
It is hard to say with 100% certainty but I think the problem is your use of query_posts. Here is what I believe is happening:
The Main query runs with the default parameters and loads your page
You clobber the main query with query_posts
You generate pagination based on the clobbered main query
You click a link
The unclobbered main query tries to sort ...
Only top voted, non community-wiki answers of a minimum length are eligible