While I can’t guarantee this will work with the “gantry5/twig/timber” because that theme does not follow WP coding standards, you can try adding this code to a site-specific plugin and it may help:
To clarify, the primary reason why I need to clean up that part of the HTML is that I cannot create proper social cards for FB and twitter. I wanted the event pages to be used for that but the problem prevents the FB scrapers from reading the page properly.
My workaround is to create a site that does not have the HTML output problem just for landing pages then redirect them to the appropriate part of the site.
I’ll try to get someone at rockettheme.com to deal with it.
Viewing 2 reply threads
The support post ‘Ajax Notices before opening HTML tag’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.