fixed blog post pagination
Category functionality tested and updated