|
I want to add fields to a cont.templ. (child CPT) from the parent (Parent CPT)
Started by: nicklasK
in: Toolset Professional Support
Quick solution available
Problem: From the Content Template of a child post, I would like to display information from a custom field on its parent post.
Solution: Place a types field in your Content Template, using the custom field slug and the parent post type slug:
[types field="field-slug" id="$parent-post-type-slug"][/types]
Relevant Documentation:
https://toolset.com/documentation/user-guides/displaying-fields-of-parent-pages/
|
|
2 |
3 |
7 years, 3 months ago
nicklasK
|
|
Adding custom validation to a Types custom field
Started by: Chris
in: Toolset Professional Support
Quick solution available
|
|
2 |
3 |
7 years, 3 months ago
Chris
|