// Step 3: Helper to format name and location $company_name = isset($company->company_name) ? formatText($company->company_name) : 'Unnamed Company'; $company_location = isset($company->company_location) ? formatText($company->company_location) : 'Unknown Location'; // Handle keyword array $keywords_array = !empty($company->keyword) ? explode(',', $company->keyword) : ['Writable Wall']; $random_keyword = trim($keywords_array[array_rand($keywords_array)]); // Handle image URL if (!empty($company->image_path)) { if (strpos($company->image_path, 'http') === 0) { $image_url = esc_url($company->image_path); // absolute URL } else { // fallback for relative path (rare in your case) $image_url = esc_url(site_url('/') . ltrim(str_replace(['\\', '//'], '/', $company->image_path), '/')); } } else { // default placeholder $image_url = 'https://speakwalls.com/wp-content/uploads/og/default.jpg'; } // Step 4: Set SEO Metadata (used by header.php) $title = "$random_keyword | $company_name, $company_location | SpeakWalls"; $meta_description = "$random_keyword solutions are redefining collaborative environments at $company_name in $company_location. Explore how writable walls can elevate creativity, learning, and productivity."; $GLOBALS['custom_meta'] = array( 'title' => $title, 'description' => $meta_description, 'image' => $image_url ); // ✅ Step 5: Load header AFTER meta is set get_header(); ?>
Leatherhead, Surrey, United Kingdom
Exploring how Data Language could benefit from . (Note: We have not sold our products to this company.)
No article available for this company.