Hi I have a custom post type and its posts are called via a shortcode on any other post or page.
I'd like to paginate this post type, say display 10 items. So the page in the URL remains the same, but the content inside (via shortcode) changes when I go to the 2nd page from the pagination buttons.
How do I do this?