Wordpress Custom Field Template- Display multiple images from file field of a specific key

I am using Wordpress Custom Field Template Plugin - http://wordpress.org/extend/plugins/custom-field-template/

I create some File filed like this

[slideshow]
type = file
relation = true
label = Images For the Slide show?

[slideshow]
type = file
relation = true
hideKey = true

[slideshow]
type = file
relation = true
hideKey = true

[slideshow]
type = file
relation = true
hideKey = true

And I want to show list the images from the file fields something like

<?php $slide_images = get_post_meta($post->ID, 'slideshow', false); ?>
   <ul id="slideshow">
                <?php foreach($slide_images as $slide_image) {
                    echo '<li>'.$slide_image.'</li>';
       } ?>
  <ul>

Reference : http://www.designfaire.com/2010/05/custom-post-types-and-custom-field-template-in-wordpress-3-0-beta-2/

http://wordpress.org/support/topic/plugin-custom-field-template-file-and-image-display?replies=13

Answers


Got the Solution

<?php $slide_images = get_post_meta($post->ID, 'slideshow', false); ?>
            <ul id="slideshow">
                <?php  foreach($slide_images as $key=>$slide_image) {
                    $slide_url = wp_get_attachment_image($slide_image, 'full');
                    echo '<li>'.$slide_url.'</li>';
} ?>


Need Your Help

When would I need a SecureString in .NET?

.net security encryption

I'm trying to grok the purpose of .NET's SecureString. From MSDN:

Bootstrap or JQuery mobile

cordova jquery-mobile twitter-bootstrap

i'm beginning a phonegap application, but i'm hesitating about which CSS and JS framework i'll use : Bootstrap from twitter which give pretty render but uses LESS or Jquery mobile which is very eas...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.