/ * - FAQPage schema on /trust/ and conversion templates * - BreadcrumbList schema site-wide * * @package AsterionBricks * @since 0.1.0 */ defined('ABSPATH') || exit; /** * Inject Organization JSON-LD on the home page. * Safe minimum — extended once logos/SameAs URLs are confirmed. */ add_action('wp_head', function () { if (! is_front_page()) { return; } $org = [ '@context' => 'https://schema.org', '@type' => 'Organization', 'name' => 'Asterion VR', 'url' => home_url('/'), 'logo' => get_stylesheet_directory_uri() . '/assets/img/logo-asterion-vr.svg', 'foundingDate' => '2016', 'address' => [ '@type' => 'PostalAddress', 'addressLocality' => 'Montgermont', 'addressRegion' => 'Bretagne', 'addressCountry' => 'FR', ], 'sameAs' => [ // TODO : confirm public profiles with client. // 'https://www.linkedin.com/company/asterion-vr/', // 'https://www.youtube.com/@asterionvr', ], ]; printf( "\n", wp_json_encode($org, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE) ); }, 5); // TODO : Product schema for /solutions// pages. // TODO : Article schema for /insights// pages. // TODO : FAQPage schema for /trust/ and conversion pages. // TODO : BreadcrumbList schema site-wide.