I modified single-event.php to show the Event details and connected posts below it. I want to paginate the posts. I have this code to show related posts on my event:
$connected = new WP_Query( array( 'connected_type' => 'posts_to_events', 'connected_items' => get_queried_object(), 'posts_per_page' => 5, 'paged' => get_query_var( 'paged' ), ) );
http://localhost/event/event-name/page/2 redirects me back to
http://localhost/event/event-name/ so I can't see more than the most recent connected posts.
I know the single post template is only meant to show the current post, so I'm not sure what I should do. Hope someone can give me a clue. Thanks