Organizer @type selection (Person/Organization) in Event Schema

More
4 weeks 20 minutes ago #177888 by Goran
Hi there,Currently in the Event Booking event editor, under the Schema / Structured Data section, we have fields for Organizer Name, Organizer URL, and Performer Name.The issue is that the organizer is always rendered as 
Code:
@type: "Person"
 in the JSON-LD output (in 
Code:
plugins/eventbooking/gsdata/gsdata.php
, line 264). For businesses and organizations hosting events, this is incorrect per Google's Event structured data guidelines, where 
Code:
@type: "Organization"
 should be used instead.Current output:
Code:
"organizer": { "@type": "Person", "name": "My Company", "url": "https://example.com" }
Expected output (for organizations):
Code:
"organizer": { "@type": "Organization", "name": "My Company", "url": "https://example.com" }
Could you add a select/radio field (Person or Organization) to the Schema section of the event editor, so we can choose the correct 
Code:
@type
 for the organizer? This would also be useful as a global default in the plugin settings (
Code:
default_organizer_type
), with per-event override capability.Thank you!

Please Log in or Create an account to join the conversation.

More
3 weeks 6 days ago #177891 by Tuan Pham Ngoc
Thanks Goran. We are going to work on the plugin to allow choosing it as a parameter in the plugin and can also be overridden for each event if needed

Will update you when it is implemented

Regards,

Tuan

Please Log in or Create an account to join the conversation.

More
3 weeks 6 days ago #177892 by Tuan Pham Ngoc
Hi Goran

You can install this updated version of the plugin, then check the result. It should work as expected

Regards,

Tuan

Please Log in or Create an account to join the conversation.

More
2 weeks 5 days ago #178005 by Goran
Tuan thank you very much will check and let you know if all is good thak you! I somehow have missed your answer in see of mails I get.

Sorry for that.

Please Log in or Create an account to join the conversation.

More
2 weeks 5 days ago #178008 by Tuan Pham Ngoc
The change here is already included in latest version 5.6.1, so you just need to update your site to 5.6.1 of Events Booking and use the feature

Regards,

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc