Well I don’t know anything about genesis, but if it does indeed use WP_Query args, then your args array should be something like:
$args = array(
'post_type' => 'artists',
'meta_key' => 'ecpt_featured_artist',
'meta_value' => 1,
);
Related Posts:
- WP_Query – Order results by meta value
- Query to sort a list by meta key first (if it exists), and show remaining posts without meta key ordered by title
- Filter WP_Query for posts having a certain meta-value
- Can I query custom meta data through WP_Query
- Meta Query with AND & OR?
- How do I search an array stored in a custom-field using WP_Query?
- How do I order by multiple custom fields using wp_query?
- Trying to perform complex custom field query with order by set to field value
- Query meta field using between
- Order Posts by Closest Numeric Values
- 2 orderby in wp_query with 2 custom fields
- Can serialized arrays in DB be matched against serialized arrays with meta_query?
- How to get a meta value from all post
- Compare meta_query decimals not working right
- WP_Query multiple use of relation and/or
- Query Problem – Show posts within category ‘x’ that have a custom field between ‘y’ and ‘z’
- Using OR in WP_Query negates the “NOT EXISTS” compare
- WP_query : meta_key with custom rule for specific value
- How can I combine meta_query queries?
- How to filter a dd/mm/yyyy date from a custom field in a query
- Displaying Custom Fields on Post with Genesis Child Theme
- get_post_meta not working inside loop
- Using WP Query to search by multiple meta fields
- Difference between ‘LIKE’ and ‘IN’ in meta queries
- Unable to show ACF’s Image Custom Field properly in Genesis Framework [closed]
- Compare WP Custom Field date
- Sort by posts that have a featured image?
- WP_Query display next custom post from today’s date
- Order by value in serialized custom field
- $wp_query meta_key naming issue [closed]
- Author Page Custom Query WHERE author OR [post meta value] OR [post meta value]
- Meta_query and numeric comparison [closed]
- Adding Custom Fields to Search
- Upcoming Event: How do I sort database by custom date field, but ignore past dates?
- Any way to include custom fields in WP_Query results?
- Custom Fields Code not echoing whats in the value field
- Multiple relationships in a query
- WP Query Returning All Posts
- How do I use wp_query for WordPress search?
- Meta query with timestamp using WP_query
- Conditional custom field query
- Order query by meta_value with multiple custom fields
- add_action and remove_action if custom field exists
- Auto Populate Custom Field with Complex Value That Increase by One?
- Custom WP_Query for WordPress Search Results with meta_query
- Meta Query And/Or
- How to combine custom fields to make one order-able value
- Passing meta_box string to post__in?
- Query post by date (stored custom field meta as yyyymmdd) and differentiate across 12 months
- meta_value and meta_key filtering returning no posts [closed]
- Select custom posts by meta_value and sort by a different meta value
- Can’t query by meta_key
- Adding custom field and querying from post table
- Meta query relation ‘OR’ not working as expected
- The best way to collision check in WP
- WP_query multiple custom fields not working
- Custom Query Fields – Altering Meta Value
- How to query for posts with either one or another custom field
- Multiple Custom Field Query
- How to update custom field of a posts in a particular category
- How can I modify my meta_query to work with prices that are stored in the database that contain dollar signs and commas?
- Query to sort a list by meta key first (if it exists), and show remaining posts without meta key ordered by title
- author.php not showing content if Author has no Posts
- How can I hide my section title if there is no data in custom fields?
- WP Query multiple select form – meta_query help
- How to Order Posts by Custom Fields?
- WP_Query based on multiple metadata comparisons
- Complex WP_Query Using Post Date And Post Meta
- Display posts where date field matches current month?
- Show posts containing or not custom field
- Display agents (custom post type) alphabetically, except one who always shows last
- Add a Jquery Datepicker to custom field in post edit
- Create additional short URL with custom field and 301 redirect
- get_post_meta fields don’t show up on posts page
- Using custom fields in a filter hook
- Function to change meta value in database for each post
- Include woocommerce custom field value in front-end search result
- Ordering Posts Type A by Custom Fields of related Post Type B
- MySQL Query that looks for post with Custom Field, then changes Category
- How to query the custom fields by language?
- Create Pop-Up Box with Custom Field Content Inside the Loop
- How to list custom fields as headers and list all pages sharing that custom field under it?
- jQuery – Automatic event trigger does not **really** check my form
- Display URL in a Custom Field
- pre_get_posts : only get posts by wp_usermeta value
- Display list of terms having the same custom field value
- How to display custom field in woocommerce email orders? [closed]
- Custom meta is not being saved
- Query posts using less than
- How to add a css class to custom field value?
- How to show list of posts with custom field value (a date) that are coming soon
- Sort posts by custom field value
- use custom field value as post category in loop
- Searching with Multiple (Parallel) Criteria on Custom Fields?
- Query posts by post type, author and post meta
- Sort columns in the ‘Pages’ dashboard overview
- Add capability for editors to modify custom fields
- Meta_query not filtering posts
- Rewrite Custom Fields url
- Archive for custom fields?