Title: Math &amp; Custom Fields
Last modified: February 27, 2022

---

# Math & Custom Fields

 *  Resolved [nham9](https://wordpress.org/support/users/nham9/)
 * (@nham9)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/math-custom-fields/)
 * 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 4 years, 3 months ago by [nham9](https://wordpress.org/support/users/nham9/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Eliot Akira](https://wordpress.org/support/users/miyarakira/)
 * (@miyarakira)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/math-custom-fields/#post-15414403)
 * 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](https://discourse.tangible.one/)
   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.

 * ![](https://ps.w.org/tangible-loops-and-logic/assets/icon.svg?rev=2535522)
 * [Loops & Logic](https://wordpress.org/plugins/tangible-loops-and-logic/)
 * [Support Threads](https://wordpress.org/support/plugin/tangible-loops-and-logic/)
 * [Active Topics](https://wordpress.org/support/plugin/tangible-loops-and-logic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tangible-loops-and-logic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tangible-loops-and-logic/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Eliot Akira](https://wordpress.org/support/users/miyarakira/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/math-custom-fields/#post-15414403)
 * Status: resolved