0
Hello, I’m developing a blog on my site, and added within the post an image through media insertion, however, I would like to know how I pull this image from the media through the code to insert elsewhere the same image.
I would like to insert above the text creation of sites on big beach. I’ve done a lot of real research, I’m not doing soft body, but I still can’t find anything or I didn’t do the research like it has to be done, I’ll be waiting for you. Thanks in advance
Your question is very vague, but supposing you want to do it within the loop, I think the way is to use
$media = get_attached_media( 'image' );
– Caio Felipe Pereira
So, why on my site has the page that lists all posts made and within each post of these have an image inserted through the media.. i want on the page listing all posts not only have the title and the date, have the image containing inside his post.. understood?
– carloshsa
Post the se loop code. Things will get easier
– Caio Felipe Pereira