If I get this right each of your posts have one value of Exercise and one Value of Tempo?
I would do the following probably:
- Build a list of exercises.
- For each exercise query query: 1 posts, ordered by Tempo, descending.
This is probably as good as it gets staying within realm of WP API. Might not be practical for high counts of Exercises, it’s all custom SQL from there.
Related Posts:
- Include images from pages in wp search.php results in default wp search
- List events by month
- How to append element after thumbnail
- GravityForm: Populate Dropdown with custom post type [closed]
- Can’t get order_by meta_value_num to work properly
- If post has custom field then display css-class
- Replace text in post from cvs
- Make a custom_post translatable
- How To Post WordPress Custom Post Types to Twitter via IFTTT
- Pagination hitting 404 page on /page/4
- Filter content in shortcode
- Validate Custom Post Type fields
- Accessing a protected property of a post
- Accessing download link from the loop with WP Download Manager Pro
- Set a template on a custom post in the plugin
- Filter Custom Post Type Posts by Taxonomy
- Include images from pages in wp search.php results in default wp search
- How to display all custom fields associated with a post type – IN THE ADMIN AREA?
- Show custom taxonomy not in submenu
- Loop carousel slider in wordpress
- How to Fix WordPress 500 Internal server error due to custom post type
- How to hide home title on pages and posts?
- Inconsistent temporary 404s on whole install | PHP error with post-template.php
- Search that will look in custom field, post title and post content
- Load custom posts with same tag as page
- Date archives for custom post type
- If featured image doesn’t exist, show post content
- How can I add dropdown widget/box to admin post page?
- Meta Query “IN” doesn’t work with ACF checkbox filter
- How to get only one category of custom post type?
- Error after deleting Custom Post Type with a function (no trash used)
- Append taxonomy terms as class names in markup?
- Change message given when deleting post from custom post type
- Using WPAlchemy metabox values in another metabox
- Display custom field of specific post where post title matches variable
- Custom Post Type | Fatal Error on register_post_type()
- How to output wordpress custom tags separated by comma?
- Show Different Header on a Specific Post ID
- Admin notice not displaying
- WooCommerce product search titles only
- Dynamic page outside WordPress
- Custom query to filter posts that have current post as a taxonomy [closed]
- Accessing post’s meta data based on user’s click of a post
- Changing number of posts per page on CPT-archive.php, have tried 20-30 code chunks so far
- Custom Post Type Loop throws 500 error when used in widget
- custom post type not showing in menu
- Received nothing after executing AJAX post function
- How can I make a custom post type sticky?
- limit value taxonomy based on previous taxonomy value wordpress
- How to change wp prefix for custom post type only?
- Metabox not show in categories custom post type cmb2
- Categorize custom post type
- Hide a widget inside a div on specific type of post
- How to import a custom MySQL DB table into a WordPress custom post type
- Function causing the loop display posting more (empty)
- Foreach inside shortcode not working as planned
- Custom fields for custom post type
- Set featured image to archive.php
- Get term name without a foreach loop
- Using wp_query to modify the loop in index.php for a CPT
- Create metaboxes based on custom post type
- Get custom post type categories to show up in menus
- How exclude or skip post type with get_next_post_link
- Create short URL with auto 301 redirect
- Is it possible to use array_walk() to append terms to an array of posts?
- get_post_types() can’t get some of my post type
- CMB2 metabox create select with list of post from CPT
- Custom post types, disable fields
- Different column width in 2 rows with bootstrap and custom post types-different classes needed
- Menu’s breaking, now showing all page links on site
- Page that lists publications by classifying them by taxonomy
- count & sum the value of custom field of the author post in dynamic posts
- Title and URL Error in Breadcrumb Navigation for Custom Post Types
- Assigning categories to custom post types via a front-end form; only works for native post type
- How to limit the number of custom posts certain users can publish in WordPress using php script?
- Custom sorting in post columns by ACF Pro Select Field
- Visualize info in just custom post_type in theme
- cpt not display inside nav menu
- wp_post_delete is deleting all offices
- How to show link to product in custom fields?
- current-post-parent for custom post type
- Having issue on Loading Meta Data From CSV to CPT
- CPT UI: Connect a custom post type to a custom post type
- The most recent post of custom taxonomy
- I broke it! Custom post type archive gets redirected to home
- Can’t save custom post type fields
- How to Create movie schedule by custom post type query
- Adding CPT changes entire layout of my site except for the archive of that CPT
- Create 2-layered dropdown menus for custom taxonomy and custom post type
- Get month and day from a Date Picker custom field
- Show Custom Post Type taxonomy term that matches custom field
- Select Menu for Custom post Type does not save
- is_singular won’t call my functions?
- How to add post type in masonry posts elementory widget
- Remove plugin’s custom post type archive page and single pages [closed]
- Inserting two categories
- How to delete unnecessary custom post types in the UI
- add_filter > posts_where works partially
- Send email on creation of custom post type and use get_post_meta()
- Just the First Metabox what saves the data!