Hi. I'm trying to insert some summary statistics in the intro text on my custom taxonomy archive pages. I've unhooked the Genesis taxonomy title/description and re-hooked my own function. This is being done on genesis_before_loop hook.
I've checked the $wp_query->found_posts and it's returning the right number of posts for the taxonomies being viewed.
I want to get various custom meta values from all the posts returned by $wp_query and perform various calculations on them (total, average, etc.). I can't seem to get this going for the life of me.
Is there any kind soul who would give me a brief but clear step-by-step on this? Thank you very much.
Further to this, I've output the $wp_query->posts array and none of my custom fields are showing in this. I'm guessing I have to go about getting them using something other than $wp_query, which is why this didn't work. But now I'm completely at a loss.
Last edited by andrea_r; 03-21-2012 at 01:47 PM.
Reason: replying to your own post will remove it from the list of unanswered posts the mods use