pagination working for posts but not working when sorting by posts. 
- Styling still requires some work also.