Problem:
A template includes Views shortcodes to output fields which have an id attribute to retrieve the field from a parent post, but it's not working.
Solution:
Client was using the Types 2 format to reference parent posts (using the id attribute) for relationships created with Types 3, which require the item attribute, e.g.
[wpv-post-link item="@project-task.parent"]
Using the Fields and Views button to insert the shortcode and specifying the relationship in the Post Selection tab will insert the shortcode with the correct format.
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.
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+00:00)
This topic contains 2 replies, has 2 voices.
Last updated by 6 years, 4 months ago.
Assisted by: Nigel.