[Plugin: Custom Field Template] Setting the order of multiple file uploads
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 🙂
- The topic ‘[Plugin: Custom Field Template] Setting the order of multiple file uploads’ is closed to new replies.