I am using custom post types for an 'events' page. The events are ordered by their date. Iam using the query_posts function to do this.
<?php query_posts( 'post_type=events&meta_key=date&orderby=meta_value&order=ASC&posts_per_page=5'); ?>
However, is there a way to add pagination? I want to show 5 events per page and then paginate. Also, is there a way to delete past date posts?
Thanks