[Résolu] How to display ACF Image field of a Parent post into child post
This support ticket is created Il y a 6 années et 1 mois. There's a good chance that you are reading advice that it now obsolete.
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.
Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.
If I use only [wpv-post-id item='@rel_cpost.parent'] yes the right ID is showing up.
[wpv-post-field name="image_de_profil" id ="[wpv-post-id item='@rel_cpost.parent']
"]
This is not working.
Do you think it gona work if I use toolset field instead of ACF ? I used ACF because in ACF image field i can set minimum size for my image and file extension etc. I can't do it with toolset or maybe I don't know how to do it.
It seems that the ACF shortcode doesn't allow for shortcodes to be used as an ID attribute.
You can use a toolset field for the image but your not able to set the image format or dimensions. However when you're displaying the image you can set what dimensions you want the image to display at.
You can try this and let me know if that would work for you.