There might be an answer here somewhere, but I'm unable to find it, or recognize it if I did. Here's the situation:
I have a custom post type, 'region', that displays on single-region.php. Region names are North, South, East, West.
I have another custom post type, 'news'. Associated with it is a custom field named 'news_region'. When a news item is created, the author is required to specify a value for news_region (All, N, S, E, W).
What I would like to happen is, when on the North region page, all news items with a news_region value of "All" OR "N" are listed.
FINAL VERSION THAT WORKS (thanks to @milo for putting me on the right track):
// get title of region page for comparison with news_region key $this_region = get_the_title($post->ID); // query news items with news_region All or $this_region $args = array( 'post_type' => 'news', 'posts_per_page' => 4, 'meta_query' => array( 'relation' => 'OR', array( 'key' => 'news_region', 'value' => 'All', 'compare' => 'LIKE' ), array( 'key' => 'news_region', 'value' => $this_region, 'compare' => 'LIKE' ) ) ); $newslist = new WP_Query( $args );
NOTE: changed values of news_region to 'All, North Region, East Region, South Region, West Region' to match full region names (same as post title of single-region.php).