Try to change 'orderby' => 'meta_value','meta_key' => 'event-date-start'
Related Posts:
- Comparing timestamps in meta query doesn’t work
- Display two post types ordered by two custom fields
- Custom Query: If One Post Object Field Value Is The Same As Another
- Using OR relation in meta_query to check for a value before sorting by another
- Meta query and compare “!=” not working as expected
- Using meta_query, how can i filter by a custom field and order by another one?
- meta_query for keys that aren’t yet set
- WP_Query orderby custom field then post_date in one query
- Query custom post type by custom field
- Filtering a WP_Query meta_query by numeric values isn’t working
- Querying custom post type with 2 custom fields (date-range)
- Custom Queries: Joining On Meta Values From Two Custom Post Types
- How Can I save multiple records in same meta key?
- order by meta_value serialized array
- WP insert post PHP function dynamically generated Custom Fields
- How loop through posts based on custom fields
- Having trouble with custom date field for CPT query (WordPress)
- Display custom post types with custom date field value (before today) & order by custom date field
- Sort posts based on multiple custom fields
- Conditional to modify query results
- Filtering by Post Meta Custom Fields – Performance
- Ignore sticky posts if post is not in meta query
- query posts and custom post type with meta key
- meta_query compare >= not working but
- WP_Query: include custom post type only with specific meta value
- Returning a list of custom post types excluding those without a specific meta_value
- Two near-identical custom field types – one works, the other doesn’t . What can cause this?
- wp_query check if integer exists in custom field’s array
- Filtering custom post type on a combination of custom taxonomies and custom fields?
- Meta query for custom post type ignored in main query
- Querying Two Custom Post Types with OR Not Working
- Meta Query Not Returning Output Despite Having Matching Values
- Meta Query Filtering not working on Custom Meta Box using Radio Buttons
- First custom field value (out of several) displayed twice after query
- Meta Query posts not showing on ending date of custom field
- Admin Custom Meta Box – Pull Last 5 Posts from Custom Post Type
- How to Output which matched meta_keys were found from custom_type_posts?
- Possible to filter custom post type with multiple meta data?
- filter search custom field query
- How to let users choose where to search for posts?
- Query based on custom fields start and end date
- Getting a custom post’s custom field based on another custom post’s custom field select
- How to conditionally add Custom Post Type to Front Page
- Display a post from custom post type only if all the selected taxonomies and custom field value matches the record
- Filtering custom posts by custom fields (ACF) [closed]
- order the meta query results by 2 custom fields
- WP Query from two Custom Post type fields as statement
- Unable to gather Image URL from Custom Post Type’s; Custom Meta Field
- Orderby if between two meta fields
- Show posts from WP Custom Post Type selected from a field in a metabox
- How do I query with multiple custom fields orderby in same column?
- meta query multiple values for the same key
- Sort custom post archives by a meta value from a different custom post type?
- Custom post types – meta_query: search lesson which starts sooner
- post type => ‘any’ not applied my custom queries
- Meta_Query refuses to return results
- Sort loop by custom field from different post type
- Meta_query by date for Events archive
- How do I display specific custom posts, and how do I edit a post’s singular page?
- Query events post type after current date and timezone
- Show first posts with custom field not empty and order all by title
- Conditional posts in WP_query for search
- meta query always fails even if data is correct
- Selecting posts older than the current Unix epoch timestamp
- Unable to get the upcoming events for custom post
- Filter CPT based on meta box value using Flexible Posts widget?
- WP_Query arguments: Loop through custom post type – get all entries except excluded meta_key?
- loop through custom post-type with two meta_keys
- Querying meta values within an array
- How to grab data (titles, thumbnails and custom fields) from multiple posts to populate a new array efficiently?
- Custom Post Type + Custom Meta Query Not Showing 2012 Posts
- Filter Custom post type by another Custom post type
- Check for custom field value in different post type than current one and do something
- Function to Compare CPT Post Custom Value with Default Posts CF Value
- Getting a “Changes you made will be lost” dialog prompt on a custom post type page
- Saving repeated option values in a custom query
- How to remove slug metabox from custom post type’s page?
- convert custom query to wp_query
- filter custom post type by meta key in dashboard
- WordPress Custom Fields Won’t Save
- Found 2 elements with non-unique id (#_ajax_nonce) and (#_wpnonce)
- Repeatable Fields Metabox with Textarea (or wp_editor)
- How to use TinyMCE Editor for one of my custom post meta field?
- How to organise this data within WordPress
- Add additional field to custom post_type
- Query post by date (stored custom field meta as yyyymmdd) and differentiate across 12 months
- Displaying custom fields for custom post type generate with Custom Post Type UI Plugin
- Query not work for current taxonomy
- Custom Post Type setup
- How to use get_post_custom_values to return the value of an array
- Changing WordPress sort order for returned child pages
- Problem with date comparison for custom fields
- How can I create a button that when clicked populates a div with a list of foods that are checked as a certain type of ACF?
- Displaying posts inside table having issues
- How to display Multi Checkbos select Custom Field on the post?
- custom field suit new post with in custom fields
- Meta_query not filtering posts
- Extending a CPT by Created by another plugin
- Create a list of months based posts
- Display ACF object field data using Elementor Custom Query