You can use meta__value in orderby e.g.
'post_type' => 'tribe_events',
'posts_per_page' => -1,
'meta_query' => array(
'relation' => 'AND',
'event_title' => array(
'key' => 'post.title',
),
'event_id' => array(
'key' => 'EventVenueID',
),
),
'orderby' => 'event_title',
Not tested but should work, this was introduced in 4.2 of WP – https://make.wordpress.org/core/2015/03/30/query-improvements-in-wp-4-2-orderby-and-meta_query/
Related Posts:
- Order post by year DESC and month ASC
- Exclude posts with empty post_content in wp_query
- Improving WP_Query for performance when random posts are ordered
- posts_per_page option limits the number of Gallery items
- Counter is skipping post when I still want it visible [closed]
- Query for first 3 posts to change the look and feel
- How to give classname to post if post has no content?
- How to fetch courses in all languages in WordPress?
- Show 5 posts and than 3 posts offset with pagination
- Querying posts from current category, using a variable as array argument
- Sort / Filter Queries
- Query post category & remove any post id
- Ordering posts alphabetically by meta keys and title
- Why I obtain this WP_Query strange behavior trying to select posts having a specific tag?
- Why I have this strange behavior when I try to exlude the featured post from posts visualization?
- Creating pages and getting their values from the database table
- How to limit post query to only return a total count of items with certain post statuses?
- Sort Posts Alphabetically Based on Specific Category (Divi)
- How to limit the number of posts that WP_Query gets?
- Get the ID of the latest post
- Random sort within an already sorted query
- the_author() returns empty string
- how to get a different html for odd/even posts?
- How to display posts by current user/author in a custom page template?
- post_name empty after wp_insert_post
- Alter query on edit.php
- WordPress Number of Posts Not Changing With posts_per_page
- Query only Posts from Both of Two Category?
- Insert custom div between posts
- Trying to put an array into ‘post__in’ => array() query not working
- How to Display Post View Count
- Different amount of posts on homepage than paged pages
- Query All users that has post
- Search query – exact post title match
- How would I get 1 latest post from a query for 5 posts?
- Display page content AFTER a loop of posts
- Get posts by multiple ID’s (query)
- How to start with post number x?
- Only display a certain number of posts, dependent on how many posts there are available in a query
- Should $found_posts be returned as string in ‘found_posts’ filter hook?
- Query how many items to show in shortcode
- Sticky post appears twice
- How Can I Query a Specific Page From a MultiPage paginated Post
- is there a way to show the the post title after the image?
- Blog post per page setting conflicting with custom WP_Query?
- How to exclude latest x posts from a paginated query?
- filter RSS feed in URL
- WordPress custom Query for Posts in Category display posts multiple times
- Display an author’s posts on his own author page
- How to make multiple sections in home pulling posts category wise?
- Query Posts by Custom Field
- How to get posts from a current post’s month?
- Wrong post title displayed from loop
- How to get posts and comments amount per hour, per year and per month?
- While loop articles – if statement order
- Conditionals if tags exist?
- Get the amount of posts on a current page
- Posts – display all posts except a post by an ID
- Can’t get full post title if there a spaces in title
- why the same code got different results when using query_posts in functions.php and index.php
- How to get posts published on the latest date?
- Post Filtering by GET URL parameters
- WP_Query: Show 10 posts in date order, first three random
- Get post by tag
- Related Posts function not working
- Echo the number of posts being displayed
- Exclude a category of posts in author template
- Get posts from current category?
- Export all posts to import as product items
- Change content off every sixth element
- Custom Select Query – Selecting the Year?
- Prevent duplicate pages from being added
- Show 10 latest posts only from users with contributors role
- WordPress, custom post type and posts query help!
- Return records between two meta datetimes saved as strings
- WordPress Query – Display 5 posts (same post type), each from a given tag
- Show posts from two specific category in WP_Query
- How to create loop of posts except post ID defined via ACF field
- Ignore posts content in the posts queries for internal linking
- How to display particular categorie’s post which associated to specific user?
- Count posts for pagination
- AJAX load more posts not using correct category and repeating the same few posts
- How to correctly escape data
- Repeating post how to solve this
- Query post for today, if no post get the previous one
- Get posts by category or author
- Advanced Post Display/Pagination/Ordering
- How to pass multiple checkbox values to wordpress query?
- Sort post by category using HTML Select tag
- WP_Query retrieve custom posts but not the post showing
- How to get all post titles starting with numbers and symbols?
- How to inject a post within a loop
- Special Query: Title, Terms, Content – %LIKE%
- How to set value in Query Loop?
- Wp_query WooCommerce products
- query_posts different amount of posts per page [duplicate]
- Do I need to create a multisite for querying posts from multiple WordPress sites?
- Dynamic archive of posts by date
- I am using the query block and what I want and see on the editor page is not the same with the actual results
- Batch Scanning and Deleting Empty WordPress Posts