if (strlen($event_start_date) == 0) { return; } $event_start_date = esc_attr(strip_tags($event_start_date)); $event_start_date = $before . $event_start_date . $after; if ($echo) { echo $event_start_date; } else { return $event_start_date; } } /** * get_event_end_date function. * * @access public
<?php /** * Single view organizer information box * * Hooked into single_event_listing_start priority 30 * * @since 1.0.0 */ if (!get_organizer_name()) { return; } ?> <div class="organizer-details" itemscope itemtype="http://data-vocabulary.org/Organization"> <!-- Organizer logo section start --> <div class="text-center"> <?php do_action('event_single_organizer_logo_start'); ?> <?php display_organizer_logo(); ?> <?php do_action('event_single_organizer_logo_end'); ?> </div> <!-- Organizer logo section end --> <!-- Organizer description start -->
$query_args['tax_query'][] = array('taxonomy' => 'event_listing_category', 'field' => $field, 'terms' => $cats, 'include_children' => $operator !== 'AND', 'operator' => $operator); } if ($event_manager_keyword = sanitize_text_field($_GET['search_keywords'])) { $query_args['_keyword'] = $event_manager_keyword; // Does nothing but needed for unique hash add_filter('posts_clauses', 'get_event_listings_keyword_search'); } if (empty($query_args['meta_query'])) { unset($query_args['meta_query']); } if (empty($query_args['tax_query'])) { unset($query_args['tax_query']); } query_posts(apply_filters('event_feed_args', $query_args)); add_action('rss2_ns', array($this, 'event_feed_namespace')); add_action('rss2_item', array($this, 'event_feed_item')); do_feed_rss2(false); } /** * Add a custom namespace to the event feed */