(Moderator's note: The question's original title was: "Custom query: Show custom post types plus custom post type with post meta on blog homepage")
I'm in need of help with a custom query. I have three custom post types: "News", "Events", "Stories". On the main blog page, only News and Events will show. The client can choose to mark a Story as News using features of the plugin Verve Meta Boxes. If a Stories post has a post meta key of
'mark-as-news' then the that post should display on the main blog page as well.
So what I need help with writing is this:
If Stories has post meta
'mark-as-news'then the main blog page will display custom post types News and Events, as well as Stories, in descending order.
Can someone please assist?
Perhaps a better way of wording this would be?:
Show custom post types News and Events, and if there is the key
post_meta, show Stories.