WordPress.org

Ready to get started?Download WordPress

Forums

Pods - Custom Content Types and Fields
[resolved] Calling multiple images from a pod field (5 posts)

  1. lintendo
    Member
    Posted 2 years ago #

    Hello, I changed my single.php to pull data from pod fields. This works, but I have a custom pod field with multiple images in it.

    I try to pull the images on the page with using
    <?php echo pods_image( get_post_meta( $post->ID, 'project_media', true ), 'original' );?> but I get only the last of all the images when I call the function.

    How do I get all the images I uploaded to the pod field on my page? Thanks in advance! :)

    Here is my code so far:
    http://pastebin.com/UWTA71fD

  2. Scott Kingsley Clark
    Member
    Plugin Author

    Posted 2 years ago #

  3. lintendo
    Member
    Posted 2 years ago #

    Yes! This works perfectly. Thank you so much! :)
    You have done an amazing work with pods. I really appreciate all the work you put into this. And thanks for the quick reply!

  4. Scott Kingsley Clark
    Member
    Plugin Author

    Posted 2 years ago #

    No problem, glad to help when I'm able to and when it's simple like this ;) Have fun with Pods, glad to have you aboard!

  5. Tiimo Schulze
    Member
    Posted 1 year ago #

    EDIT: Original post deleted for embarrassingly overlooked syntax error...

    Thanks for writing a great plugin!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic