WP Sidebar Question

Hi,

I’m using the WP plugin and I’d set the Number of events to show as 5, and discovered that the sidebar will not list any events later than 3 months. i.e. events created from Aug to Nov will all show in the sidebar but events created after Nov will not be displayed. Any help pls!

Hi.
Open file wp-content/plugins/event-calendar-scheduler/scheduler.php and file lines:

	$start = date('Y-m-d H:i:s');
	$endd = date('Y-m-d H:i:s', time() + 60*60*24*30*3);

This code sets time period to select events.
Variable $start is now.
Variable $endd is now plus 3 months (60 seconds * 60 minuts * 24 hours * 30 days * 3 months)

You could change this additional time period according your needs.

Tks very much! Solved my problem! :slight_smile: