$args = array( 'my_custom_id' => 'customidentifier' <-- something like this?? 'category_name' => 'news', 'posts_per_page' => 3 ); $my_query = new WP_Query( $args );