WordPress.org

Ready to get started?Download WordPress

Forums

The Events Calendar
Bug report: list widget & views interfering with other widget (1 post)

  1. Adam Harley
    Member
    Posted 3 years ago #

    In the list widget events-list-widget.class, the widget is meant to not display if no posts/events are found and the respective option is enabled. However, the code actually just disables the header and footer when the option is enabled at all times. The widget should be wrapped instead in if( $posts || !$noUpcomingEvents ) {} or similar.

    When viewing the calendar views, the Recent Post widget's loop becomes restricted to only the posts being displayed in the calendar view because of the various posts_* action hooks interfering.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic