• Resolved nham9

    (@nham9)


    I am migrating from the previous plugin (Custom Content) to this Plugin (Loops and Logic).
    How do I get a custom field from a custom post type id and how do I calculate in this new plugin?

    Previously it was [content type=post id=123 field=custom_field_name]

    [calc][content type=post id=123 field=custom_field_name] + [content type=post id=123 field=custom_field_name][/calc]

    • This topic was modified 2 years, 9 months ago by nham9.
Viewing 1 replies (of 1 total)
  • Plugin Author Eliot Akira

    (@miyarakira)

    Hello,

    This can be solved with Math and Field tags.

    <Math><Field field_name type=post id=123 /> + <Field field_name type=post id=456 /></Math>
    

    Please feel free to visit our discussion forum if you have any other questions. You’ll probably get a quicker response there.

Viewing 1 replies (of 1 total)
  • The topic ‘Math & Custom Fields’ is closed to new replies.