getFilterData(); } $yatra_trip_list = $ctx['trip_list'] ?? ($GLOBALS['yatra_trip_list'] ?? null); $trips_source = $ctx['trips'] ?? []; $trip_total = (int) ($ctx['total'] ?? 0); $trip_total_pages = (int) ($ctx['pages'] ?? 1); $trip_current_page = (int) ($ctx['current_page'] ?? 1); $trip_dest_options = $ctx['destinations'] ?? []; $trip_act_options = $ctx['activities'] ?? []; $active_filters = $ctx['active_filters'] ?? []; $yatra_listing_title = $ctx['listing_title'] ?? __('All Trips', 'yatra'); $current_filter_type = $ctx['taxonomy_type'] ?? ''; $current_filter_slug = $ctx['taxonomy_slug'] ?? ''; $current_filter_name = $ctx['taxonomy_name'] ?? ''; $yatra_results = $ctx['results'] ?? [ 'display_total' => 0, 'start_item' => 0, 'end_item' => 0, 'per_page' => yatra_get_posts_per_page(), ]; $yatra_pagination = $ctx['pagination'] ?? [ 'total_pages' => 1, 'current_page' => 1, 'prev_url' => null, 'next_url' => null, 'items' => [], ]; $yatra_sort_options = $ctx['sort_options'] ?? []; $show_taxonomy_context = !empty($ctx['show_taxonomy_context']); yatra_get_header(); ?>

0) { echo sprintf( __('Showing %d-%d of %d trips (Page %d of %d)', 'yatra'), (int) $yatra_results['start_item'], (int) $yatra_results['end_item'], (int) $yatra_results['display_total'], $trip_current_page, $trip_total_pages ); } else { echo esc_html__('No trips found', 'yatra'); } ?>

0) : ?>

...