Support

Home Forums Event Espresso Premium ld+json schema data output twice

ld+json schema data output twice

Posted: August 10, 2020 at 2:30 pm


jestmurd

August 10, 2020 at 2:30 pm

On my events the ld+json schema data is output in the header and footer? It makes googles rich results tester show two events when there is one. Is this just on my site or is this an issue with the plugin?

Check https://jestmurdermystery.com/events/08-29-2020-murder-mystery-dinner

Thanks for the help.


Tony

  • Support Staff

August 10, 2020 at 4:45 pm

Hi there,

The schema data is output on wp_print_scripts() and it looks like Gravity forms is calling it right before the get a quote form at the bottom of the page.

If you temporarily remove that widget on EE single events does it stop that data being output twice?


jestmurd

August 10, 2020 at 5:14 pm

That seems to take care of it. I wonder why the Gravity Forms widget calls wp_print_scripts() again? I think that was causing other issues for me as well.

Thank you so much for figuring that out.

I will do some research on Gravity Forms and reach out to their team.


Tony

  • Support Staff

August 12, 2020 at 12:25 pm

Likely to make sure their scripts are added to the page, although still seems a little strange and I haven’t bug deep into it to know for sure.

Anyway, I’m glad the above worked for you 🙂

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: publish

Updated by  Tony 1 month, 2 weeks ago ago

Topic Tags

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!