Problem: I would like to use Gravity Forms to create a child post, and I would like to know how to associate that child with a parent post.
Solution: To associate a parent post with a child post, you can use the update_post_meta function with the _wpcf_belongs_business_id meta key:
update_post_meta( 456, '_wpcf_belongs_business_id', 123 );
Change 456 to the child post's ID, change 123 to the parent post's ID.
Relevant Documentation: https://codex.wordpress.org/Function_Reference/update_post_meta
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 3 replies, has 2 voices.
Last updated by 7 years, 2 months ago.
Assisted by: Christian Cox.