get image id or url for a post
-
I have a post that has a an image attachment.
All I would like to do is get the image ID.
I tried using get_children(), but I don’t understand the result at all.
I have found multiple solutions to show me the image, but what I really want is the image ID, or the image URL, without it the image being shown.Is there a simple solution to this?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘get image id or url for a post’ is closed to new replies.