Skip to content

Instantly share code, notes, and snippets.

@Viper007Bond
Created February 5, 2013 20:18
Show Gist options
  • Save Viper007Bond/4717304 to your computer and use it in GitHub Desktop.
Save Viper007Bond/4717304 to your computer and use it in GitHub Desktop.
<?php
$my_query = new WP_Query( array(
'category__in' => array( 1, 2, 3 ),
'posts_per_page' => 10,
) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment