Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1066833

    Hi guys!

    I went to the Events Calendar plugin first with this issue and here’s what I got (see below). Help!!

    Original issue:
    I am getting an error on Search Console where it states that location is required and missing from the markup:
    <div id=”tribe-events-content” class=”tribe-events-single vevent hentry”>
    I tried to override with the Data Highlighter but it does not work as the template is modified.
    You also get a bunch of warnings (you can see them when you run this page by the structured markup tool: https://staging-conversionsciencesdev.kinsta.cloud/event/conversion-for-the-content-marketer/

    Here’s what I got from the Plugin’s thread:
    “Enfold needs to update the single-event.php that they include in their theme. The vevent hentry needs to be removed. It is no longer needed since The Events Calendar now uses JSON-LD for markup. The Events Calendar moved away from the use of this method quite a while back, but Enfold has not updated their templates to follow the changes.”

    How do I fix this? Let me know if you need access to the staging site.

    Thank you!!

    Havi

    #1067230

    I forgot to add this issue as well. The pagination does not match and is overriden as well, so it creates broken canonical links and 404 pages.

    Events Archive | Page 2 of 8 | Conversion Sciences
    https://conversionsciences.com/events/list/?tribe_event_display=past&tribe_paged=2 Should be: https://conversionsciences.com/events/page/2/

    #1068759

    Hi,

    Thank you for using Enfold.

    Edit the config-events-calendar > views > single-event.php file, look for this code around line 19:

    
    <div id="tribe-events-content" class="tribe-events-single vevent hentry">
    

    … and then replace it with:

    
    <div id="tribe-events-content" class="tribe-events-single">
    

    We removed the “vevent hentry” as suggested. Let us know if that changes anything.

    Best regards,
    Ismael

    #1069239

    Hi Ismael!

    The error is gone! I still have a 4 warnings related to the Offer (this one is not being picked up – it’s the currency field that is populated and I think it’s taking the Price or Cost of the event as an offer and thinking it has a start and an end date) If I add it manually, the priceCurrency warning clears:

    “offers”:{“@type”:”Offer”,”price”:”275″,”priceCurrency”:”$”,”url”:”https://staging-conversionsciencesdev.kinsta.cloud/event/conversion-for-the-content-marketer/&#8221;}

    Do you know how I could add it?

    and the Performer, I really have no clue. I don’t even think their plugin offers such a field!

    Quick question. To add it to the Child theme, Should I create all of the subfolders? Or just drop it together at the same folder level than the stylesheet and functions.php for the child theme?

    Thank you so much!!

    Havi

    #1069795

    Hi,

    Thank you for using Enfold.

    Have you tried asking the plugin authors? I’m not that familiar with the plugin’s JSON-LD schema feature, so additional info from them would help. If you want to override the event’s template in a child theme, remove the theme’s “tribe_events_template” filter and then add your own.

    Related thread:
    // https://kriesi.at/support/topic/how-to-override-enfold-mods-to-the-events-calendar-in-enfold-child/#post-1031054

    Best regards,
    Ismael

    #1069798

    Hi Ismael!

    Don’t worry about the rest. I talked to my client and they are ok with the warnings. Meanwhile, I would love to add the fix you gave me to the child theme. Do I have to create folders inside of the child theme’s folder or can the single-event.php be dropped directly on the child theme folder? Or are you planning on adding the modification on the next build of Enfold?

    The error did clear.

    Best regards,

    Havi

    #1070200

    Hi,

    Thanks for the update.

    You have to put the template file inside the “tribe-events/views” folder.
    I’ll forward this to our developers for further consideration.

    Best regards,
    Ismael

    #1071131

    Thank you, Ismael!! I hope they do!

    #1081082

    Thank you for adding it to the new release!! :)

    #1081758

    Hi,

    You’re welcome. Please feel free to open a new thread if you need anything else.

    Have a nice day.

    Best regards,
    Ismael

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.