WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. ssccdd
    Member
    Posted 1 year 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

    http://wordpress.org/extend/plugins/get-the-image/

  2. Ahjort
    Member
    Posted 1 year 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

About this Topic

Tags

No tags yet.