12
Mar

WordPress post filtering, sorting and pagination

Example pagination code using global $wp_query http://www.kriesi.at/archives/how-to-build-a-wordpress-post-pagination-without-plugin

WP Codex on Pagination https://codex.wordpress.org/Pagination

Key sample code from codex when working outside the loop:

WP_Query pagination example in http://stackoverflow.com/questions/24838864/how-do-i-get-pagination-to-work-for-get-posts-in-wordpress

About Joel Milne
Lead developer at GoldHat Group.
No Comments

Leave a Comment

Your email address will not be published. Required fields are marked *