Type: php
Untitled Snippet
Widget-TA-Sidebar-Tour-Types-that-visit
$posts = get_field(‘rel_tour_types’); if( $posts ): ?> Tour Types that Visit this AttractionContinue reading
Widget-Tour-Co-Sidebar-Top-Tours
$posts = get_field(‘rel_tours_offered’); if( $posts ): ?> Top ToursContinue reading
Widget-TA-Sidebar-Tour-Co-that-visit
$posts = get_field(‘rel_tour_company’); if( $posts ): ?> Tour Companies that Visit this AttractionContinue reading
Widget-Restaurant-Sidebar-Details
if(get_field(‘r_reservations’)) { echo ‘Reservations: Yes‘;} else { echo “Reservations: No“; } ?>Continue reading
Widget-Museum-Sidebar-Tour-Co-that-visit
$posts = get_field(‘rel_tour_company’); if( $posts ): ?> Tour Companies that Visit this MuseumContinue reading
URL and Review Links
// Display Official Website URL if available. if (get_field(‘official_website_url’)) { echo ‘Official Website: ‘; the_field(‘visible_website_url’); echo ‘‘; } // Display TripAdvisor Reviews link if available. if (get_field(‘trip_advisor_url’)) { echo ‘Read TripAdvisor Reviews‘; } // Display Yelp Reviews link if available.…Continue reading
Widget-Hotels-Sidebar-Other-Hotel-Types
$posts = get_field(‘related_hotels’); if( $posts ): ?>Continue reading
Widget-Sidebar-Whats-Nearby
$posts = get_field(‘TA_what_nearby’); if( $posts ): ?>Continue reading