mysql query paging May 25, 2022 by Tarik Billa You need to use get_posts(), have_posts(), and the_post() for the API functions to work.