• I’m writing a plugin that adds some raw data tracking via custom post type. My archive template for the CPT is not intended to list posts but rather to summarize the custom meta data in aggregate form (min, max, mean, etc) over particular time periods.

    I’m new to working with WordPress so I’m wondering if there are easy ways to accomplish this using wp_query, and I just haven’t been able to find those methods in documentation, or if I need to save the data from my Loop into an array and run the math from there.

    Thanks in advance for any nudges in the right direction!

  • The topic ‘Can you summarize data using wp_query (min, max, mean, etc)?’ is closed to new replies.