Problem: I would like to create a link from a View of parent posts to a CRED form that creates child posts. The parent post should be automatically selected in the CRED form when the user clicks the child post link.
Solution: CRED offers a child post shortcode that can be placed in a View of parent posts that will automate this process.
[cred_child_link_form form='506' parent_id='-1' target='_self']
You can place this shortcode in a Content Template or directly into your View's Loop Output editor. If you want to place this code in a Content Template that is constructed with Beaver Builder, then you cannot use a button module. You should use an HTML module.
Relevant Documentation: https://toolset.com/documentation/user-guides/cred-forms-for-child-content/
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 |
---|---|---|---|---|---|---|
8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | - | - |
13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | - | - |
Supporter timezone: America/New_York (GMT-04:00)
This topic contains 17 replies, has 2 voices.
Last updated by 7 years, 4 months ago.
Assisted by: Christian Cox.