fixed filters and pagination

The date filter wasn't working correctly so I changed it a bit based on the parent WP class. I also adjusted the total items for pagination.