alternateName for Organization schema (json)
-
Hi,
The Organisation schema also supports an alternateName value, but Yoast SEO doesn’t. Could this be implemented? Or could you add filters so other plugins can manipulate the output?
I’ve currently just added the website alternateName like this:
(line 130 t/m 139 in class-json-ld.php)
private function organization() { if ( '' !== $this->options['company_name'] ) { $this->data['@type'] = 'Organization'; $this->data['name'] = $this->options['company_name']; $this->data['logo'] = $this->options['company_logo']; // Add website alternateName for Organization. $this->add_alternate_name(); return; } $this->data = false; }
This will word in my case, but for other cases is probably not the best option. Hope you can do something with this!
Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘alternateName for Organization schema (json)’ is closed to new replies.