Is there a way to find the ids of the pages who contain meta tags/custom fields with a certain key-value pair?
Say, for instance, that I wanted to find all of the pages who had a meta-tag/custom-field key of “weather” with a value of “raining”, is there a way to do that?
Why not? Same custom field parameters in query should apply and you can use
post_type
argument to limit query to pages alone.