I assume you have posts with custom fields that have your select fields values as values for these custom fields, in this case you should take a closer look in ‘Custom Fields Paramenters’ from the WP_Query class references at: https://codex.wordpress.org/Class_Reference/WP_Query#Custom_Field_Parameters doing so you can just compare you select fields values with your post custom fields using the several relations possibles. Hope it helps.
Related Posts:
- How to know if get_posts() failed?
- Search widget breaks when using multiple loops?
- Search query – exact post title match
- wp_query ‘s’ parameter does not work with custom post type
- Automatic value for custom fields for posts
- Understanding and using metaboxes in posts
- Why won’t my taxonomy query show up?
- WP_Query orderby not working with meta_value_num and menu_order
- How can I sort posts by the date and a custom meta field?
- How do I correctly set up a WP-Query to only show upcoming event-posts?
- How to filter my search in post if contains a word in title, content or excerpt?
- Query Posts With Over 1000 Views
- Query Posts by Custom Field
- Redirect to another page using contact form 7? [closed]
- how to handle the loop using filling bootstrap grid structure?
- WP_Query custom field pass the post id
- Why does WordPress search returns same number of results for every search query?
- Will multiple category descriptions effect my search engine optimization?
- Override WordPress core post-template.php block template
- WP_Query sort by meta_value_num or date
- Displaying a specific sub-category’s posts from wp_query
- Creating Ordered Query using Meta_key
- WP Query between posts custom fields [duplicate]
- How to show the posts list into a static page? Problems to use the loop into a static page
- Order posts by separate menu order for different sub-categories
- Wp_query WooCommerce products
- Get posts after calculating meta key
- Image inside the content is replaced with featured image from my older post
- Search Custom Post Type Pages and Custom Fields in 2 Dropdowns?
- Update all posts automatically when using post_meta
- Add custom field to all posts in specific category
- How to output comments number of a post per day?
- Displaying Page Title on index.php
- How to enqueue scripts depending on post formats?
- How can I get all posts data from within a paginated search result?
- If specific user role then sticky post
- How to add a custom field after wp post
- Display posts with comments closed, with pagination?
- What Is meta_id In wp_postmeta?
- Only display posts after current date
- I want to query posts in monthly basis
- Custom WP_QUERY $args
- Private Posts/Pages & Search
- How do I use wp_query for WordPress search?
- Limiting the number of posts in WP_Query leads to unexpected result
- Guest Author – How to display posts on /author/ archive page
- Underscores Theme Unit Testing – Catching Untitled Posts
- Including metaboxes from custom post types in global search — continued
- How to do set post permalinks using 6 digit random unique function?
- posts_per_page option limits the number of Gallery items
- How to add a class to edit_post_link?
- Get posts with multiple categories
- Do not show children of a category
- Create a list of posts with topic headdings
- Add field to user meta table in database when link is clicked
- Hide custom metabox value from custom fields
- WP_Query with custom post type ID
- See if a post has a specified tag
- Display current post position in Elementor Posts widget
- How to give classname to post if post has no content?
- Custom wp-query in wordpress rest api
- Saving Post Data in Another Database
- posts_per_page returning only one post
- Need to know custom code to display random and most viewed posts in wordpress posts and pages
- How to retrieve certain number of images from a wordpress post?
- After ajax image is outside the “ tag
- Edit custom fields in posts list
- If custom field is empty, use one from a previous post
- Same post appears in related Posts?
- I can’t find the relevant part of the loop in my theme file. How do I find the full content with “More…”
- Permanently deleted posts still exist
- WP_Query outputs wrong post in custom post type
- Post meta not working
- how to show comments only author which send own posts in wordpress
- Adding an option to post editor to show a site disclaimer or message
- How to sort WP_Post Object array by object field in php?
- How to search through “post title” and “tags” using WP_Query?
- Order by meta_key field in WordPress not meta_value field value
- Need to display a Jan 1st post as the site’s front page on Jan 1st, and Jan 2nd post as front page on Jan 2nd etc
- How to create page with post content in it?
- How to prevent clicking on posts
- Show 5 posts and than 3 posts offset with pagination
- Is it possible to query a category with specified posts?
- Trim excerpt to first paragraph
- Custom author search
- WordPress loop uses unmodified posts array, why?
- How to retrieve a post by inputing the url in a custom field and displaying it on an options page
- Custom fields in normal posts
- Query to get data of a post, if in category?
- Order posts by custom field
- Why I have this strange behavior when I try to exlude the featured post from posts visualization?
- Remove duplicated posts in the loop if post has more than one category
- Why I getting only 1 post?
- get_post_meta property of non object
- First post in loop displays twice
- Is there a block to print post link standalone in a block theme?
- Filters do not work when there are multiple (one works)
- WordPress Ajax load doesn’t work
- How to include custom fields in wordpress search
- Extend search query to search meta keys values based on search string