It is not possible to use multiple repeaters / easy posts with pagination.
Opened this issue · 2 comments
perrelet commented
Issue
It is not possible to use multiple repeaters / easy posts with pagination.
Cause
- The query var 'paged' collides when adding multiple repeaters / easy posts to the same view with pagination.
- All repeaters / easy posts have
'format' => '?paged=%#%'
set for theirpaginate_links( [...] )
To Reproduce
- Add two repeaters, each of which having more items than is defined in posts_per_page.
- Test the pagination links.
Fix
Provide some hook or mechanism to override the 'format'
key of $pagination_args
in dynamic-list.class.php and easy-posts.class.php.
Thanks
perrelet commented
This would be a start:
$pagination_args = apply_filters('oxygen-pagination-args', $pagination_args);
KittenCodes commented
This is how WP Query works if there are multiple queries on a page.
Moving to feature requests.