How To Add Pagination To A Custom Wp_Query In WordPress A custom WP_Query does not paginate by itself. You need to pass the current page number to the query and then print the page links with paginate_links().
How To Create A Custom Loop In WordPress With Wp_Query WP_Query lets you fetch posts with your own rules, like a specific category, post type or number of items, and display them anywhere in your theme.