Пример #1
0
$post_event_end_date = $myPost->get_field('event_end_date');
$post_flight_departure = $myPost->get_field('flight_departure_date');
$post_proposed_flight_return = $myPost->get_field('flight_return_date');
$post_city = $myPost->get_field('venue_city');
$post_city_name = $myPost->display('city_location');
$post_event_url = $myPost->get_field('event_url');
$post_event_ticket_url = $myPost->get_field('event_ticket_url');
$post_event_price = $myPost->get_field('event_price');
$post_venue_airport = $myPost->get_field('venue_airport');
$post_venue_country = $myPost->get_field('venue_country');
$post_venue_airport_name = $myPost->display('airport_location');
$post_venue_country_name = $myPost->display('country_location');
$post_pod_city = $myPost->get_field('city_location');
$citypod = pods('citylocation', $post_pod_city);
$cityCodeFromPod = $citypod->get_field('citycode');
$post_pod_venue_name = $myPost->field('venue_name');
$post_pod_venueAddress = $myPost->field('venue_address');
//$post_pod_city->get_field('citycode');
$post_venue_name = $myPost->get_field('venue_name');
$post_venue_address = $myPost->get_field('venue_address');
$post_event_cover_photo = $myPost->get_field('event_cover_photo');
$evenCoverPhoto = $post_event_cover_photo[0]['guid'];
$post_event_detail_photo_1 = $myPost->get_field('event_detail_photo_1');
$post_event_detail_photo_2 = $myPost->get_field('event_detail_photo_2');
$post_event_detail_photo_3 = $myPost->get_field('event_detail_photo_3');
$post_event_detail_photo_4 = $myPost->get_field('event_detail_photo_4');
$post_event_detail_photo_5 = $myPost->get_field('event_detail_photo_5');
$eventdetail_photo_1 = $post_event_detail_photo_1[0]['guid'];
$eventdetail_photo_2 = $post_event_detail_photo_2[0]['guid'];
$eventdetail_photo_3 = $post_event_detail_photo_3[0]['guid'];
$eventdetail_photo_4 = $post_event_detail_photo_4[0]['guid'];