Events List

Home Forums Calendar Products Events Calendar PRO Events List

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #990404
    nevey
    Participant

    I have just upgraded to Events Calendar Pro 3.11 and using WordPress 4.2.3
    When I use the events lists widget, I get no upcoming events even thought there are events.
    When I choose to hide the widget when no events, the widget still apears.
    you can view the problem at http://nevefamilyinstitute.org/evnts/2015-11/
    Any suggestions?
    Thank you

    #990640
    Brian
    Keymaster

    Hi,

    Thanks for using our plugins. I can help out here.

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

    With 3.10 and 3.11 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

    #990893
    nevey
    Participant

    I have no custom templates and already deactivated all the widgets adn the problem was still there. Those lines of code were already in the file. Here is what the file looks like.

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

    $events_label_plural = tribe_get_event_label_plural();

    $posts = tribe_get_list_widget_events();

    // Check if any event posts are found.
    if ( $posts ) : ?>

      <?php
      // Setup the post data for each event.
      foreach ( $posts as $post ) :
      setup_postdata( $post );
      ?>
      <li class=”tribe-events-list-widget-events <?php tribe_events_event_classes() ?>”>

      <?php do_action( ‘tribe_events_list_widget_before_the_event_title’ ); ?>
      <!– Event Title –>
      <h4 class=”entry-title summary”>
      ” rel=”bookmark”><?php the_title(); ?>
      </h4>

      <?php do_action( ‘tribe_events_list_widget_after_the_event_title’ ); ?>
      <!– Event Time –>

      <?php do_action( ‘tribe_events_list_widget_before_the_meta’ ) ?>

      <div class=”duration”>
      <?php echo tribe_events_event_schedule_details(); ?>
      </div>

      <?php do_action( ‘tribe_events_list_widget_after_the_meta’ ) ?>

      <?php
      endforeach;
      ?>

    <!– .hfeed –>

    <p class=”tribe-events-widget-link”>
    ” rel=”bookmark”><?php printf( __( ‘View All %s’, ‘tribe-events-calendar’ ), $events_label_plural ); ?>
    </p>

    <?php
    // No events were found.
    else : ?>
    <p><?php printf( __( ‘There are no upcoming %s at this time.’, ‘tribe-events-calendar’ ), strtolower( $events_label_plural ) ); ?></p>
    <?php
    endif;

    #991064
    Brian
    Keymaster

    Hi,

    Thanks for checking on that.

    So you can confirm you deleted the Event List Widget and added a new one and still have the issue, correct?

    If that is the case please follow our testing for conflicts guide:

    https://theeventscalendar.com/knowledgebase/testing-for-conflicts/

    Let me know what you find out from that test to see if it can narrow down the cause of this.

    Thanks

    #995372
    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 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Events List’ is closed to new replies.