Support » Plugin: Custom Content Shortcode » Can you calculate fields

  • Is there any way to take shortcode data and calculate it with other shortcode data to output a third value?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Yes you can calculate fields –

    Length:[field length][br]
    Width: [field width][br]
    Area:[calc][field width] * [field length][/calc]

    Thank you very much.. and
    Is it possible to calculate a math operation like addition of every ACF field of all posts in a custom post type? …

    Ex.. if I have a field with CO2 tn in every post type (countries), and I want to totalice the global co2 of all of them, what loop I need to code?

    Thank you In advance


Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.