Time Frame

This scheduler is exactly what I needed for a WordPress site and I thank the developer for their work.

I want to start the day at 7:00 am and not have the times 12 AM to 6 AM show at all or have them show after 11:00 PM. This way the viewer will not have to scroll to see events starting at 7 AM.

Possible? Thanks for your attention.

In standalone component it can be done by using

scheduler.config.first_hour = 7; 

In case of scheduler-plugin-for-WP, you will need to add the same code into scheduler_init.php

Thank you but this gives me a Parse error: syntax error, unexpected ‘=’

I am probably adding it wrong in scheduler_init.php

This line should be called before scheduler.init(…) method

Found it. Thanks.

$final .= "
<script type=“text/javascript” charset=“utf-8”>
scheduler.config.first_hour = 7;
window.onload = function init() {
scheduler.config.xml_date="%Y-%m-%d %H:%i";
scheduler.config.details_on_create=true;
scheduler.config.details_on_dblclick=true;";