">` — // and h() is typed `string`, so a null locale threw a TypeError and // truncated the page to an empty 200 (which Search Console flags as an // indexing issue). Supply neutral defaults: this is the hreflang x-default // page, so lang="en" with no country is correct. $site += [ 'locale' => 'en', 'country' => '', 'currency' => '', 'url_prefix' => '', 'id' => '', 'hero_image' => '', 'tagline' => $site['name'] . ' - choose your region', ]; $meta_title = $site['name'] . ' - Choose your region'; $meta_description = 'Pick your region to find ' . strtolower($site['name']) . ' near you.'; $canonical = $base_url . '/'; // hreflang: this picker is the x-default; point Google at the /uk and /us // regional homes (reciprocated on those pages via home-single.php). $hreflang_block = multi_country_home_hreflang($base_url); // Tagline shown above the two tiles — generic so it works for both sites. $tagline = 'Find a trusted ' . ( $site['single_category'] === 'driving-schools' ? 'driving school' : ($site['single_category'] === 'limo-companies' ? 'limousine company' : 'local business') ) . ' near you.'; // Brand colour for the tile accent (already on $site). $brand = $site['color'] ?? '#3DBEC8'; $extra_head = ''; ob_start(); ?>
Choose your region

Welcome to LocalDrivingSchool.com