Events list widget not working

Home Forums Calendar Products Events Calendar PRO Events list widget not working

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1114831
    Perth Jazz
    Participant

    Hi

    I recently updated the Events Calendar plugin on my WordPress website and now the Events List widget isn’t functioning. It says ‘There are no upcoming events at this time’ even though I have several events listed. I had to renew licences for both Events Calendar PRO and Community Events and then successfully installed plugins for both Events Calendar PRO and Community Events. Everything else seems to work except for the Events list widget.

    Thanks for your help!

    #1114841
    Brian
    Member

    Hi,

    Sorry for the issues you are having. I can help troubleshoot this with you.

    Do you have any custom templates in your theme for the widget?

    With 3.10 and later we had to make some changes and if you do not update those custom templates the Events will not show.

    In the list-widget.php template you can add these to the top and that might fix the issue instead having to redo custom work:

    $events_label_plural = tribe_get_event_label_plural();

    $posts = tribe_get_list_widget_events();

    Let me know how that works out.

    Cheers

    #1114848
    Perth Jazz
    Participant

    Thanks for the reply. The theme the website uses is called Monk Null Template (theme provided by the web developer). I found the ‘Monk Null Template: list.php (tribe-events/list.php)’ – is this the right place to insert the text that you gave me?

    In the window I have this:

    <?php
    /**
    * List View Template
    * The wrapper template for a list of events. This includes the Past Events and Upcoming Events views
    * as well as those same views filtered to a specific category.
    *
    * Override this template in your own theme by creating a file at [your-theme]/tribe-events/list.php
    *
    * @package TribeEventsCalendar
    * @since 2.1
    * @author Modern Tribe Inc.
    *
    */

    if ( ! defined( ‘ABSPATH’ ) ) {
    die( ‘-1’ );
    } ?>

    <?php do_action( ‘tribe_events_before_template’ ); ?>

    <!– Tribe Bar –>
    <?php tribe_get_template_part( ‘modules/bar’ ); ?>

    <!– Main Events Content –>
    <?php tribe_get_template_part( ‘list/content’ ); ?>

    <div class=”tribe-clear”></div>

    <?php do_action( ‘tribe_events_after_template’ ) ?>

    #1114962
    Brian
    Member

    Hi,

    It would be this file:

    yourtheme/tribe-events/widgets/list-widget.php

    #1115308
    Perth Jazz
    Participant

    Hi Brian

    I tried that and it didn’t work. Just to confirm, I copied it into: Monk Null Template: widgets.php (inc/widgets.php). I also tried copying it into: Monk Null Template: list.php (tribe-events/list.php) and that didn’t work either.

    Any other suggestions?

    Thanks for your help.

    #1115374
    Brian
    Member

    If you do not have a file here:

    yourtheme/tribe-events/widgets/list-widget.php

    Then adding that coding will not work anywhere else.

    Have you tried deleting the widget and adding a new copy of it to the widget area? If not please try that next.

    Thanks

    #1116755
    Perth Jazz
    Participant

    Hi Brian

    I don’t think I have this file but please let me know if I’m looking in the wrong place. From the WordPress dashboard I navigated to Appearance -> Editor (Edit Themes) to get to the template stylesheet. This is the only place I can find php files to edit.

    Do I need to create this file?

    What I can see in this location that looks similar to your description is:
    list.php
    (tribe-events/list.php)

    single-event.php
    (tribe-events/single-event.php)

    widgets.php
    (inc/widgets.php)

    Thanks for your help.

    #1116813
    Brian
    Member

    Hi,

    If it is not there, then adding it is not going to help.

    Have you tried deleting the widget and adding a new copy of it to the widget area? If not please try that next.

    #1122296
    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 ‘Events list widget not working’ is closed to new replies.