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-Park-Details-Sidebar

if (get_field(‘size_of_park_in_acres’)) { the_field(‘size_of_park_in_acres’); echo ‘ Acres‘; } if (get_field(‘g_architect’)) { the_field(‘g_architect’); echo ‘‘; } if (get_field(‘short_name_for_buttons’)) { echo ‘ ‘; the_field(‘short_name_for_buttons’); echo ‘ Amenities ‘; } if (get_field(‘park_restrooms’)) { echo ‘Restrooms: Yes‘; } else { echo ‘Restrooms: No‘; }…Continue reading

WP Simple Pay: Google GA4 Payment Conversion Tracking (copy)

/** * @link https://library.wpcode.com/snippet/j57gxn45/ */ add_action( ‘simpay_payment_receipt_viewed’, /** * Runs the first time the payment confirmation page is viewed. * * @param array $payment_confirmation_data */ function( $payment_confirmation_data ) { // Payment customer data (not used in this example). $customer =…Continue reading