List all posts in a custom post type with pagination (the correct way) July 2, 2022 by Tarik Billa List all posts in a custom post type with pagination (the correct way)