I'm trying to figure out how to query posts on a custom post type, using a custom field.
Goal: On my "artists" single page, I want to display a list of news/album releases for that artist only. Those posts will also show up on the main page.
Use a category for each artist on the posts; use a custom field "news_category_slug" on each artist page to link them. I then want to query posts and display all posts in the category that match the custom value "news_category_slug".
Maybe I'm going about this the wrong way; I don't have much PHP knowledge so I'm having trouble figuring out if this is a bad approach or if I just don't understand how to nest a variable inside the query! Help!