Fantastic! I also agree that the label name needs to be changed. I had though to leave it below the post type, but I prefered to put it as the last one just to be easier to see it.
All the best,

Enviado pelo meu aparelho BlackBerry®

-----Original Message-----
From: Boston Dell-Vandenberg <notifications@github.com>
Date: Sun, 15 Sep 2013 09:31:59 
To: bostondv/ultimate-posts-widget<ultimate-posts-widget@noreply.github.com>
Reply-To: bostondv/ultimate-posts-widget <reply@reply.github.com>
Cc: Renato Murasaki<renato.murasaki@gmail.com>
Subject: Re: [ultimate-posts-widget] New feature proposal - show custom field
 values using UPW (#8)

> @@ -177,6 +180,29 @@ function get_image_path($src) {
>  									</a>
>  								</p>
>  							<?php endif; ?>
> +							
> +							<?php if ( $instance['custom_field'] ) {
> +							//Display the values of custom fields, according to the comma-separated list of field names 
> +								$custom_field_name = explode(",", $instance['custom_field']);
> +								foreach ($custom_field_name as $name) { 
> +									$name = trim($name);
> +									$custom_field_values = get_post_meta($post->ID, $name, true);
> +									if ($custom_field_values) { ?>
> +										<p class="post-<?php echo "$name" ?>">	
> +										<?php if (!is_array($custom_field_values)) {
> +											echo $custom_field_values;
> +										} else {

Ah got it. I may rename the label and move it's position but otherwise looks good. Thanks!

---
Reply to this email directly or view it on GitHub:
https://github.com/bostondv/ultimate-posts-widget/pull/8/files#r6367339