himanshuS
Admite hilos creados en los últimos 30 días: 0
Debates favoritos del foro
Este usuario no tiene debates favoritos.
Temas del foro creados
| Status | Debate | Supporter | Voces | Mensajes | Caducidad |
|---|---|---|---|---|---|
|
Intermittent error on user form submission does not show reason
Iniciado por: himanshuS en: Toolset Professional Support |
|
3 | 6 | 4 years, 11 months ago | |
|
How to insert parent featured image to child post if no child post has no image
Iniciado por: himanshuS
en: Toolset Professional Support
Problem: I have a Form that creates child posts. If the featured image is not provided in the child post Form, I would like to copy the featured image from the parent post into the featured image of the child post. Solution: If the parent post is not predefined, then you must use the Forms API to copy the parent post's featured image into the child post's featured image since the parent post cannot be determined at the time the Form is loaded. Use the cred_submit_complete API to automate the process. In that callback you can use toolset_get_related_post or toolset_get_related_posts to query the parent post, then get_post_meta to fetch the featured image, then update_post_meta in the child post to set the featured image programmatically. Relevant Documentation: |
|
2 | 4 | 4 years, 11 months ago |