Yes but not in an easy simple way via the order parameters.
I would suggest that you:
- Maintain a 3rd post meta
- Whenever you change the first or second, add them together and set the 3rd meta to contain the sum of the new values
- Order by the 3rd value
The alternative is to write your own SQL query from scratch and all the horrors and disadvantages that come with it
Related Posts:
- How to show only one post for each categories of taxonomy of custom post that contains a specific custom field
- How add a custom posttype name using ACF field to a query post array
- Fetch Record based on meta key dates
- how to make members list directory through wordpress post custom meta key.
- Query all posts if multiple meta key don’t exist
- Conditional operator OR not working with custom fields
- Posts query according to meta box date
- How do i create a custom post query when the meta value is an array?
- Problem with my loops
- Custom WP_query and integrating into theme file
- query_posts with sorting on a custom datestamp
- query post based on comparison
- When should you use WP_Query vs query_posts() vs get_posts()?
- Get post ids from WP_Query?
- Some doubts about how the main query and the custom query works in this custom theme?
- How to query for most viewed posts and show top 5
- How can I use order_by to order by two meta_keys without excluding posts that don’t have those keys initialized?
- WordPress Custom Query to show posts from last x years
- Perform query with meta_value date
- get_the_title($postID) OR get_the_title()?
- How do I create my own nested meta_query using posts_where / posts_join?
- Sorting Posts by custom field
- Order posts by date and then by custom field
- Best practice for multiple queries on page
- Querying by taxonomy vs Querying by Custom fields Speed Comparison
- How to find out what “Blog pages show at most” is set to [duplicate]
- meta_key and meta_value not working together
- Custom Field sort not working (WP 3.8.1)
- Retrieve or Query Pages by ID
- How to implement time filter to show random post 1 month for one category and 3 months for other categories
- Ordering Posts Type A by Custom Fields of related Post Type B
- Multiple instances of Featured Image Query
- How do you Query posts with nothing in common?
- Order a query result by a numeric meta key even if it does not exist, but put the posts with meta key first
- Search Posts with Custom Fields as query
- exclude posts with a specific custom field and value
- Store sticky post’s ids in a transient
- How to build a WP_Query using mulitple tags and using AND or OR operator between them
- Multiple loops without repeating content
- Bypass “supress_filters” in WP Query
- meta_query BETWEEN, but the range is stored in the custom field
- Get a list of posts with associated meta_value
- WordPress Comments sort by custom meta key
- Understanding the orderby in WP_Query?
- Large AND OR query timing out
- Display custom tags on pages that have a specific page parent
- Categorising search results based on Custom Fields
- How to query for all posts that have a particular meta key?
- Search posts missing a particular custom field
- Exclude All Posts Which Do Not Have A Tag Assigned
- How can I override one post and make it display content for another post?
- Get all posts which was posted on X Days WordPress
- How to compare a date in custom field with today’s date in custom WP_Query?
- complex get_posts() query to select child pages
- Get posts that do not have the same tags as current
- Should I reset $wp_query?
- WP_QUERY with group by with custom fields
- Intiger meta value with ‘>=’ returns posts with lower value
- create metabox to activate slider
- Query posts using less than
- Query only displays one page_id
- Display post meta conditionally based on it’s value
- Query using string from custom field as array value
- Get next/prev image/attachment in time with date query
- How to show list of posts with custom field value (a date) that are coming soon
- Max Posts and Memory Limit
- How to query for a page, get data, then query for child pages of that page
- Optimising WP_Query with ACF Fields
- meta_query weird behaviour, static int will work, but not user data
- Query post and sort by custom value calculated with custom field on cpt
- WP query_posts group by meta field related
- Woocommerce Shortcode which displays a table with product data
- ACF: How to query for a given value count of an array like field? (e.g.: How many rows has a `flexible_content` field?)
- Query post ordered by meta value that show first post that contained a tag
- Query posts by post type, author and post meta
- How to use the Term Object from a custom select field in a query
- Trouble with serialized metadata
- pre_user_query vs pre_get_posts
- Query post by Category and custom file (ACF)
- Sort posts on custom field AND after that sort on date?
- My entry results are not consistently alphabetized
- How to order posts, that have already been filtered by custom taxonomy, by their category names?
- How to add in WP_Query to every 3 posts displayed? [duplicate]
- query_posts() doesn’t seem to be called in my page
- Modify query to exclude certain ids and certain parents and its corresponding children
- How to order by datediff in WP loop?
- Custom search (wp query by custom fields)
- How do I display posts with specific value in a custom field into my loop?
- Custom Search Query – include only custom fields and title
- Query Posts by date range with fixed beginning and end
- Exclude categories and subcategories in QueryLoop
- Display all custom meta field values from the database using ACF Repeater
- Incorrect posts displayed on category page
- WP_Query – order with usort by custom meta
- Display ACF object field data using Elementor Custom Query
- WP Query – Show custom posts only if user contain some user meta
- Show number of posts AND number on current page (cannot make it work)
- How to include custom fields in wordpress search
- Extend search query to search meta keys values based on search string
- new WP_Query with order args – no more distinction between categories