Get the Image
[resolved] Displaying all attached images from a post (2 posts)

  1. ssccdd
    Posted 3 years ago #

    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


  2. Ahjort
    Posted 3 years ago #

    how can this be resolved when there is no reply?

    I have the same question, so I would like an answer..

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Get the Image
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.