StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-20-2012, 08:39 AM
stevhill stevhill is offline
Registered User
Genesis Member
Pro Plus Member
 
Join Date: Apr 2010
Posts: 13
Default

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
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Field Values griffinproperty General Discussion 7 11-09-2009 02:54 PM


All times are GMT -5. The time now is 07:19 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.