Hi,
we really like your plugin it is working great it is super useful and is getting better and better!
I added an extra field to attachments. So if the author uploads an image – he can now add a “source” from which he got the image (or which photographer took it). I already managed to add this field and it is showing up in the Backend.
My Question:
How can I manage that this particular text shows up in a post for example under the image (ofcourse with a style)?
I don´t need the “get_field” or similar code. I need to know, how it shows up dynamically in a post (inside the “get_content”).
Do you know what I mean?
Thanks in advance!
Martin
Hi @a2c
I believe you need to pass the image ID to the get_field() function. It should be something like this:
echo get_field(field_name, 99);
where 99 is the image ID. So, it really depends on how you show the images.
I hope this makes sense.