Added pagination to category posts page.