Support

Home Forums Events Calendar Add-on Weekly Calendar Customization

Weekly Calendar Customization

Posted: April 21, 2013 at 2:12 pm


Greg Davis

April 21, 2013 at 2:12 pm

My client has an event calendar: https://kennett-design.com/calendar/ but would like to start using the weekly view for certain marketing efforts.  However they would like to hide the hours before 10 am and after 9 pm.  Is there a spot where I can change the template settings so that the weekly view will support this?

Also, the thumbnails are not showing (only a small portion) in the weekly view.  Is there a reason for this?

Thanks guys!

Greg


Dean

April 21, 2013 at 11:24 pm

Hi Greg,

Sorting the times should be doable, but does require editing a core file in the calendar plugin so updates will over write the changes.

I assume you are using the agendaWeek calendar type?

Anyway in the espresso-calendar.php file found in the calendar plugin files go to line 450 (or 441 if using the pre release version 2.0.5) and below where it says $(‘#espresso_calendar’).fullCalendar({ add

minTime: 8,
maxTime: 17,

These are in 24 hour clock, and the last hour will need to be one ahead, so the above will show 8am to 4pm.

Regarding the thumbnails I cant see any issues with them on my local setup, do you have a test calendar that shows the issue available to see?

The support post ‘Weekly Calendar Customization’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso