Problem:
It is possible to output fields from a parent post on the child post page in the content area, but used on other parts of the same page they are not output.
Solution:
Outside the content area the context of what is the current post is lost and so the relevant parent cannot be determined from the id="$post-slug" attribute.
The solution is to move the shortcodes which output fields of the parent into a new content template (unassigned) and to insert this content template into the child page using wpv-post-body and the id attribute to specify the child post id to re-establish what the "current" post is.
Relevant Documentation:
https://toolset.com/documentation/user-guides/displaying-fields-of-parent-pages/
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | - |
- | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | - |
Supporter timezone: Europe/London (GMT+01:00)
This topic contains 2 Antworten, has 2 Stimmen.
Last updated by MrHinsh vor 6 Jahre, 11 Monate.
Assisted by: Nigel.