Home › Forums › Calendar Products › Events Calendar PRO › Events List
- This topic has 4 replies, 3 voices, and was last updated 8 years, 8 months ago by Support Droid.
-
AuthorPosts
-
July 27, 2015 at 2:36 am #990404neveyParticipant
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 youJuly 27, 2015 at 11:29 am #990640BrianKeymasterHi,
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
July 28, 2015 at 1:47 am #990893neveyParticipantI 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;July 28, 2015 at 8:44 am #991064BrianKeymasterHi,
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
August 12, 2015 at 7:05 am #995372Support DroidKeymasterThis 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. -
AuthorPosts
- The topic ‘Events List’ is closed to new replies.