Displaying all attached images from a post
-
hi, pretty new to wordpress so this could be a simple question,
was wondering how to pull all the attached images from a post to the main index.
I’m using this code from the help file within the loop currently:
<?php get_the_image(array('image_scan' => true)); ?>
which works, but it just pulls one image and I want it to pull all attached images unconditionally. I guess I would have to make some kind of loop within the main loop with a counter, checking if there are images? I’m not sure how to do that though, and from the description of the plugin I thought that might be an included feature?
any help would be appreciated
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Displaying all attached images from a post’ is closed to new replies.