Hi! I was SOOOOOO excited to find this plugin! Unfortunately, when I use the testing tool while the plugin is enabled, the tool times out. The page still seems to be loading correctly, but no joy. Any ideas?
]]>Hi Guys, I’m so happy that I found your plugin. But it seems to me, that it only works in single events, not in the shortcode-calender on our frontpage:
https://bonn.jetzt/
Google doesn’t find any event on the frontpage:
https://search.google.com/structured-data/testing-tool#url=https%3A%2F%2Fbonn.jetzt%2F
Maybe, could you continue the development, so this would be possible as well?
pleas fix line 88 to
$description = htmlspecialchars ( wp_strip_all_tags( $post->post_content ), ENT_QUOTES, 'utf-8', false );
and line 96 to
$location_tmp_output .= ( !empty($venue) ? ' "name": "'.htmlspecialchars( $venue, ENT_QUOTES, 'utf-8', false ).'",' : '' );
otherwise double quotes within the both fields description and venue will break the ld+json string
]]>Hi there! When I enabled this plugin, it’s throwing an error in Google structured data tester.
JSON-LD Missing ‘}’ or object member name.
Here is my output:
<script type=”application/ld+json”>{
“@context”: “https://schema.org/”,
“@type”: “Event”,”name”: “EVENT NAME HERE”, “startDate”: “2016-06-01T23:30:00+00:00”, “endDate”: “2016-06-02T01:00:00+00:00”, “duration”: “PT1H30M”, “description”: “Upper Elementary students will be performing in their second guitar recital of the year. They have worked hard all year, come and hear them play!
Tom asks for children to arrive at 6:00pm to allow time to set up and tune guitars!
“, “location”: { “@type”: “Place”, “name”: “PLACE NAME”,},”sponsor”: { “@type”: “Organization”},”offers”: [ { “@type”: “Offer”}],”url”: “https://www.DOMAIN.org/event/upe-guitar-recital-6/”}</script>