How to add pagination to category templates

You’re asking “how to use template tags”. Actually there’s a Template Tags page in the Codex. Template tags are used within your blog’s Templates to display information dynamically or otherwise customize your blog, providing the tools to make it as individual and interesting as you are – Source: Codex entry about Template Tags As you’ve … Read more

Paging with category page

category.php is the main category archive template file, which is auto-magically loaded by WordPress for category archives. In that case, use the pre_get_posts hook to alter the main query for this page and you shouldn’t have trouble with the pagination. function pregp_wpse_100602($qry) { if (is_category() && is_main_query()) { // no idea what conditions you want, … Read more