We have the amazing vision to Rebuild, Restore, Reignite and LAUNCH Kingdom-minded Citizens into their spheres of greatest influence to impact the world.
ctfw_get_posts() can be used to produce a query according to widget field values. */// No direct accessif ( ! defined( 'ABSPATH' ) ) exit;// HTML Beforeecho $args['before_widget'];// Title$title = apply_filters( 'widget_title', $instance['title'] );if ( ! empty( $title ) ) { echo $args['before_title'] . $title . $args['after_title'];}// Get posts$posts = ctfw_get_events( $instance ); // get events based on options - upcoming/past, limit, etc.// Loop posts$i = 0;foreach ( $posts as $post ) : setup_postdata( $post ); $i++; // Get event meta data // $date (localized range), $start_date, $end_date, $start_time, $end_time, $start_time_formatted, $end_time_formatted, $hide_time_range, $time (description), $time_range, $time_range_and_description, $time_range_or_description, $venue, $address, $show_directions_link, $directions_url, $map_lat, $map_lng, $map_type, $map_zoom // Recurrence fields, $recurrence_note and $recurrence_note_short are also provided as well as $excluded_dates_note (Pro). extract( ctfw_event_data() );?>