Support » Fixing WordPress » Add All Values of a Custom Field from All Posts

  • I want to add up all of the values of a single custom field and output that number.

    So I have a custom field that is always a number. I’d like to add all of those numbers up and echo the total.

    I’d also like to be able to restrict this to the values from posts in a single category.

    Anyone have any ideas on how I might achieve that?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Add All Values of a Custom Field from All Posts’ is closed to new replies.