[WP-ECARDS] Add code to plugin so it shows image captions?
-
Hi,
I’m using the WP-ECARDS plugin. The plugin uses a shortcode and the built-in WordPress Media Manager to upload the images to be used as ecards. My problem is, that the ecard gallery created by the plugin and shortcode DOES NOT display image captions. I’ve tried adding a caption when uploading an ecard image, but still nothing shows up. That means the plugin code is not “pulling in” the caption.
I’m a bit of a newbie…can anyone tell me what code to use and where I’d place it so that each ecard thumbnail shows an associated caption below it? Here’s the plugin code that displays the ecard thumbnail gallery:
<ul id="ft_wpecards_image_select_list"> <?php if ( $images = $this->get_images() ) { //print_r($images);die(); foreach ( $images as $key => $value ){ ?><li class="ft_wpecards_image_select_item"><a href="<?php echo wp_get_attachment_url($value->ID);?>" class='thickbox' rel="<?php echo 'wp_ecard_'.$post->ID;?>"><?php echo wp_get_attachment_image($value->ID, array(75,75), false); ?></a><span><input type="radio" name="ft_wpecards_image" value="<?php echo $value->ID; ?>" <?php $this->is_image_selected( $value->ID ); ?>/></span></li><?php } }else{ ?><li class="ft_wpecards_image_select_error">No images exist for this page.</li><?php } ?> </ul>
Any help would be deeply appreciated.
Thanks!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘[WP-ECARDS] Add code to plugin so it shows image captions?’ is closed to new replies.