[EventCalendar] custom fields in Upcoming Events widget
charlesanthony at ottawalivemusic.com
Tue Mar 24 23:11:39 UTC 2009
I want to customize the Upcoming Events widget so that it calls WP custom
fields associated with the post. How would I do that?
For instance, right now, I am using:
<?php if(get_post_meta($post->ID, 'image_key', true))
$values = get_post_custom_values("image_key");
$image_key = $values;
<img src="/wp-content/images/<?php echo $image_key; ?>" title="<?php
the_title(); ?>" alt="<?php the_title(); ?>" />
<?php } ?>
to automatically display an image in each post. I would like to have
something similar inserted into the Upcoming Events widget for each event.
The current location of the site is:
More information about the EventCalendar