List all content by post type October 13, 2022 by Tarik Billa Instead of using get_pages use new WP_Query($args) It will get all the posts/pages/attachments