WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Custom Field Template] Setting the order of multiple file uploads (2 posts)

  1. eastbank
    Member
    Posted 3 years ago #

    Hello,
    Love this plugin, I have a field setup ('artwork') for multiple file uploads and would like to control the order they are displayed in when I display them in my page template. Right now, it seems to just be random. Here's the code I'm using now:

    <?php $image = get_post_meta($post->ID, 'artwork');  foreach($image as $image) :?>
    
    <img src="<?php echo wp_get_attachment_thumb_url($image); ?>" /></a>
    
    <?php  endforeach; // end of the loop. ?>

    Thanks in advance for any help :)

  2. eastbank
    Member
    Posted 3 years ago #

    Bump

Topic Closed

This topic has been closed to new replies.

About this Topic