Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ewire

    (@ewire)

    This seems to have worked:

    $meta = get_post_custom($post->ID);
    extract(array(
    	'location' => $meta['_location'][0],
    	'starts' => $meta['_starts'][0],
    	'ends' => $meta['_ends'][0],
    	'all_day' => $meta['_all_day'][0],
    ));
    if ($starts) echo Press_News_Events::pretty_date_range($starts, $ends, $all_day);

    hello,

    where exactly i have to add this code?

    Please suggest.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display event location & date’ is closed to new replies.