Home › Forums › General Issues › show custom field for media (img) in theme › Reply To: show custom field for media (img) in theme
Thank you for your answer but I think your solution does not help with my problem.
I expressed myself a bit awkwardly…sorry.
I have added a custom field to the file attachments (images) which can be filled out. (like the image alt attribute, description, title…)
The pictures are inserted in the text via the normal WYSIWYG editor. If the image has a description, I get it automatically (in the editor). Now I want the text of my custom field to be printed below the description (this should have an span around it or something).
I suspect I can only solve this via functions.php?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.