Home › Forums › Front-end Issues › Find Sum of Custom Field Values from Different Posts › Reply To: Find Sum of Custom Field Values from Different Posts
Hi John,
Thanks for your help with this so far. Really appreciate it.
Here’s a screenshot showing exactly how the custom fields are currently set up: http://s29.postimg.org/xdinfl287/acf_screenshot.jpg
So these custom fields are filled in for each season (post).
There are 3 competition types, so in each season/post there would be for example:
Competition 1
Goals: 5
Competition 2
Goals: 2
Competition 3
Goals: 4
What I basically want to do is get the total amount of goals for each competition from all seasons/posts. For example, I’d want the total goals across all seasons for Competition 1.
I hope I’m not asking for too much here! Any help would be massively appreciated.
Thanks,
Steve
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.