WordPressWP_Query() Loop


Introduction

WP_Query to query for posts, pages and custom post types. You will get list for specific posts and pages or custom post types. WP_Query allows you to pull posts from the database according to your criteria.