Problem:
how to create new child post with CRED and set parent automatically
Solution:
You should try to use CRED generic hidden field to set parent.
For example:
[cred_generic_field field='_wpcf_belongs_home_id' type='hidden' class='' urlparam=''] { "required":0, "validate_format":0, "persist":1, "default":"[wpv-post-id]" } [/cred_generic_field]
You can find proposed solution, in this case, with the following reply:
https://toolset.com/forums/topic/cred-create-new-child-post-with-parent-set-automatically/#post-895116
Relevant Documentation:
https://toolset.com/documentation/user-guides/inserting-generic-fields-into-forms/
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.
Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: Asia/Kolkata (GMT+05:30)
Este tema contiene 4 respuestas, tiene 2 mensajes.
Última actualización por hace 6 años, 6 meses.
Asistido por: Minesh.