• Resolved dauand

    (@pharmadrome)


    Hi, I would like to know how to remove https://microformats.org/profile/hcalendar markup, more specifically “vevent hentry” class. I have tried to override single-event.php template simply by deleting the class, but it seems this record is not even in the file, but for some reason appears in the live page source:
    <div id=”tribe-events-content” class=”tribe-events-single vevent hentry”>

    I have looked into support forum of Pro users and it seems I am not the only experiencing the issue, but there no suggestions on how to solve it.

Viewing 1 replies (of 1 total)
  • Plugin Contributor Andras Guseo

    (@aguseo)

    Hi @pharmadrome,

    Thanks for getting in touch.

    Yeah, the microformats stuff is not in the template files. They are mostly automatically generated and the code for that is in one of the core files, here:
    wp-content\plugins\the-events-calendar\common\src\Tribe\JSON_LD\Abstract.php. (Search for “schema.org”)

    You could edit that file, though editing core files is not recommended, and your changes would be lost with a plugin update.

    Hope this helps.

    Cheers,
    Andras

Viewing 1 replies (of 1 total)
  • The topic ‘How to remove microformats markup?’ is closed to new replies.