You’re already on the right track, you just need to add the meta key and meta value args to the query
$args = array(
'post_type' => 'interviews',
'posts_per_page' => 6,
'post_status' => 'publish',
'paged' => $paged
'meta_key' => 'speakers_0_speakers_relation',
'meta_value' => '76'
);
$loop = new WP_Query($args);
Related Posts:
- WP_Query on custom post type not displaying, multiple loops & get_template_part
- Using new WP_Query in shortcode in a custom field causes the main post content to not display
- wp_query to find posts by year and month
- WP_Query orderby modified to include custom meta changes
- Two near-identical custom field types – one works, the other doesn’t . What can cause this?
- Having Issue on Ordering CPT by Custom Field In Custom WP Query
- How do I list a custom field and custom taxonomies for each result in a loop?
- Custom meta fields not showing up in WP_Response Object via custom endpoint
- sorting in wp query based on custom field value
- WordPress loop add heading before first of type
- How to make a shortcode for my WP_Query Loop? [duplicate]
- Error in WP Query. If variable is empty it is displaying previous post value
- Display all posts in a custom post type, grouped by a custom taxonomy
- Search multiple custom fields by using meta_query
- Sorting a query by custom field date
- Retrieving 3 latest post from each of 5 different custom post types
- How to sort CPT by custom meta value (date), and return posts month by month
- How to solve suspected memory issue in custom WordPress loop?
- How to create posts (not post template) to be displayed on projects page?
- WP_Query post at custom position
- Comparing timestamps in meta query doesn’t work
- Should unaltered default loop/query return a list of custom posts belonging to a custom taxonomy?
- Query for posts in 2 taxonomies
- How do I Use Nested Loops of Custom Post Types for MultiSite Blogs using WP_Query()
- Impossible to get Attachments Outside WordPress?
- Help Structuring Query for Archive Pages
- Loop on front-page.php
- Custom Post Type Loop within Shortcode
- Get all Posts If has same custom field values in Posts
- Query custom post type in the loop
- Loop through Custom Post Type, and then show children within each iteration
- Including Custom Meta with posts_where query
- Very Slow Page – How to Optimize # of Queries?
- Display CPT posts based on specific taxonomy
- WP_Query: include custom post type only with specific meta value
- How to make sure content doesn’t display if selection is empty
- Meta Key Value in current-user-only loop
- How can I get the number of custom post type posts that have a specific attachment image set?
- Problem querying Custom post type by custom fields
- Orderby CPT custom fields not working
- Query custom post type with ACF Date
- Including metaboxes from custom post types in global search — continued
- Query Multiple Custom Posts by Custom Fields
- WP Query with categories only shows one post and ignores the category
- Order Custom Post Type by Custom Field Value
- Possible to filter custom post type with multiple meta data?
- Wrapping x posts in html without leaving empty html
- WP Query post__in not returning correct results
- Sort posts in loop by the WooCommerce Membership of the author
- Custon Content within WordPress Loop
- Loop increase number
- WP Query ‘posts_per_page’
- How to get specific post meta by title or id
- get_pagination not working on a custom post type query (using WP_Query)
- WP_Query with custom post type ID
- hide specific div on single.php [closed]
- How do you output an unknown number of images in a custom post type with desired markup?
- Get data from PHP to JavaScript to set position of each post on front page
- display posts of custom post type with custom taxonomy
- postsperpage value not being applied
- foreach loop inside the loop creating duplicates in output
- Displaying information from custom field on custom post type
- How to fetch posts that are stored in the different table than (default) wp_posts?
- Cant’ Display Custom Post Type Title Base on Tax Terms
- Cache issue with WP_Query and custom field filtering
- What is the most efficient way to execute recursive complex queries?
- Custom Form / Search with Custom Post Type Data
- Alike Shortcode using in Custom Shortcode
- Query custom post type that has a serialized relational advanced custom field value
- Sort custom post column by generated value?
- How can I query and sort custom-post type using WP_Query
- Filter posts by their related field’s custom field
- Query a Custom Post Type using SELECT that has ACF fields to compare dates
- Wrapping an unknown amount of posts inside separate HTML Containers during WP_Query loop
- Post Filtered by Custom Field Value
- Filter custom WP_Query by first letter of a custom field – hopefully using Search and Filter Pro?
- Custom post Query and WordPress Post Query Clash
- Meta_Query refuses to return results
- Only show current category post
- Strange behavior on WP_query
- get_post_meta for Custom Post Type ( CPT )
- Query events post type after current date and timezone
- Is it possible to add query parameters on the archive page?
- Loop with Custom Post Type and Taxonomies
- How to stop wp_query searching pages as well as the specified CPT
- display news with pictures 3 small and one large (loop)
- WP_Query and two custom fields returns no posts
- How can I pull information from my loop and divide them seperately?
- Storing/querying custom date data
- Fallback if statement based on the number filtered from it
- If i have custom post type with 5 custom fields do i have to create a new loop to reference each one?
- 404 on Pages for Custom Post Type & Query_Posts
- Fourth page of custom post type archive page does not exist
- Catergory args causing loop not to show
- Show Posts in Vertical Tabs with Scrollbar
- How do I filter a custom post type loop by a field?
- How to show all posts of specific custom post type with their custom fields values?
- querying to custom field over ACF REST API
- How can I show posts with the same tag?
- WP Query + custom fields: How to query event posts from the current date backwards 6 months and organize it month by month?