Since Update most of event listing content no longer displays

Home Forums Calendar Products Events Calendar PRO Since Update most of event listing content no longer displays

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #991873
    jussibr
    Participant

    The event content on my site no longer displays, location, venue, website, images etc.. I have been using this plugin on the site for a few years now with the same template – nothing has changed. Can someone help me figure out what is wrong now – the events guide is the core of my website.

    #991966
    Brian
    Member

    Hi,

    Sorry for the issues on this.

    I can help resolve this. This function is giving a fatal error, tribe_events_single_event_meta() was deprecated 14 months ago in 3.6 and removed in 3.11.

    So that is why nothing is displaying.

    To fix this you need to update your custom template single-events.php in your theme.

    You want to replace:

    echo tribe_events_single_event_meta();

    with this function:

    tribe_get_template_part( 'modules/meta' );

    Let me know if that resolves the issue for you.

    Thanks

    #991973
    jussibr
    Participant

    HI – I actually have the following in my code.. not sure how to modify: This is to hide the organizer info.

    add_filter( ‘tribe_events_single_event_meta_legacy_mode’, ‘__return_true’ );

    add_action(‘tribe_events_single_event_the_meta_addon’,’tribe_hide_custom_meta’, 100);
    function tribe_hide_custom_meta() {
    echo “”;
    }

    #992124
    Brian
    Member

    Hi

    Try changing this:

    add_filter( 'tribe_events_single_event_meta_legacy_mode' , '__return_true' );

    to this:

    add_filter( 'tribe_events_single_event_meta_legacy_mode' , '__return_false' );

    If that does not work you may have to back out your customizations and start with the latest template and then remove the organizer field that way.

    #992155
    jussibr
    Participant

    Didn’t work. I do actually need the organizer field as it passes info to me about who submitted the event. I just do not want that info then showing on the event listings (as it is now!) since it contains email addresses etc that should not be shown to our audience. Is there a new way I need to hide this info now?

    #992271
    Brian
    Member

    Hi,

    It sounds like you have custom templates in your theme. Unfortunately, I cannot troubleshoot customizations you have made.

    The only thing I can suggest it backing out your customizations to get the latest coding and then follow our themer’s guide to get them back in.

    https://theeventscalendar.com/knowledgebase/themers-guide/

    I would then move this file to your theme:

    the-events-calendar\src\views\modules\meta\organizer.php

    And in there just delete the email field or any other organizer field you do not want to display.

    Thanks

    #992285
    jussibr
    Participant

    The ‘customizations’ were provided to me through support here when I asked how to hide the organizer info from my event listings. All the code came from this forum.

    #992345
    Brian
    Member

    Hi,

    If that is the case the best thing is to go back to square one either way and use the latest templates as there is to much guessing otherwise. I can help get the customizations back to what they were.

    The first thing would be to follow the points in my last thread to remove the organizer email from that template.

    Then we can go from here.

    #996296
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Since Update most of event listing content no longer displays’ is closed to new replies.