Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
A simple example of using WP_Query extensibly.
// run a query for the latest 10 jobs.
$jobs = new WP_Query(
'posts_per_page' => 10,
'post_type => 'wpmark_job',
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.