Support

Account

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