Weekly-Schedule
NOTICE:I am currently working on a book on plugin development, to be published in August 2012.Therefore, I will not have as much time available to support questions/feature requests on my plugins as I would normally have. I recommend that you read through all comments here, through the forum on the wordpress.org and through the FAQ before asking questions. I will try to answer a few questions on occasions but I cannot guarantee at what frequency this will be. Thank you for your understanding.
This plugin allows users enter a list of weekly events through the WordPress admin interface and then display the resulting weekly schedule on a page of their choice.
2009-2010 TV Schedule section of this site uses Weekly Schedule to generate its contents.
Donations
If you feel generous and really like this plugin, here is a donation link on Paypal:
Usage Examples
Click here for more usage examples of Weekly Schedule.





I'm a tech enthusiast working in the modeling and simulation software industry. I'm also married and the father of two very energetic little girls.






A couple of more questions, Yannick — I've been changing the width of the table to fit the page and suddenly noticed a dotted line at the bottom of the table. The length corresponds to the width of the cell. Can't seem to get rid of it.
The other question is where might I change the time: 0:30 to 12:30 (as in half past noon)? Thanks again for a great plugin. I'm going to donate now…
Hi TG:
- Dotted lines show up if some items don't fully fit within the time span that you selected. Did you increase the start time or reduce the end time so that some of your items don't fit anymore?
- I am not sure I understand your second question. You are trying to set the start time to 0:30 and the end time to 12:30, with a half-hour division? You should just be able to set these settings in the General Settings section of the admin panel.
Yannick
Hi Yannick – The schedule displays 12:30pm as 0:30pm. I would like to change that if possible as we here on the left side of the pond refer to half past noon as 12:30pm.
And then in regards to the dotted lines – they showed up after having to restyle the width of the table due to a change in page/post size. Thanks.
I'm a bit puzzled since 12:30pm shows up properly as 12:30 on my test site: http://testsite.nayanna.biz/test-schedule/
I will have to dig a bit deeper in the code in the next day or two to see why this might be happening to you.
Is it possible to have two instances of a Weekly Schedule on a single WordPress site? On a single page? For example; Tennis Court One Schedule and Tennis Court Two Schedule.
Thanks…
Not at this time. But I am considering to add this functionality in future version. How quickly are you looking at implementing this functionality?
Are there any editable fields for a category? I am trying to move the web link up to a category property.
For example, on your tv schedule. The link to the show's website could be a category field instead of retyping it for each air time.
Thanks
Yannick Lefebvre April 8, 2010 at 9:16 pm
I am not 100% sure that I understand the use case here. You would want your schedule to clear out once a week automatically so that you can start filling it up with items again?
In reply to your question i would like it that you put all times in the schedule from mon to sunday and then when it comes to the next monday for the schedule to be empty to start the new week
This is a great plugin. Is it possible to add a date feature so that a start and end date can be entered for each scheduled item, with an option to indicate a recurring event?
Having event dates was never quite part of my intended functionality for Weekly Schedule, and adding them would add its lot of headaches. I do get a lot of request from people to add this type of functionality so I guess that there are not that many plugins that can show schedule grids of arbitrary events but my goal was primarily to show recurring events. I might eventually get to this but not in the near future.
Hi Yannick, Things have been going well using your plugin until I ran into something. It is probably really simple, I was hoping you could take a look. I am a volunteer webmaster for a local dance company. They need to display a weekly schedule of classes at their dance studio. When I added a second scheduled item to the same day of the week, the day was split into two rows (horizontal view). Even after moving the 2nd item to another day the split still occurs.
Here is the page:
http://www.themovementalliance.org/wordpress/tma-…
I have modified to code to allow for images to be used in the cells rather than text, this way I could display vertical tags. I would assume that the change I made would not have any effect on the data in side the table, I can elaborate on my change if you want.
Sending you $5 now
Hi Joe,
Thanks for the donation. I must have a bug in my code that does not reduce the number of rows per day even after you remove all items from that additional row.
A quick way to fix it, if you are a bit familiar with your database administration tool (usually phpmyadmin) would be to go the in wordpress database and find the table whose name ends with _wsdays. Then, find the ID of the day that is causing you a problem, and check that the schedule ID matches the schedule that you are working on, and reduce the number of rows for that day by 1.
Let me know if this helps until I have time to go in and fix the plugin. That unfortunately won't be for another 3-4 weeks since I am very busy with an upcoming work trip.
Cool! Thanks for the info, that fixed it right up. So just so you know, what I did was I accidentally created an overlapping event (1 ended at 4:30pm and the next started at 4:00pm)
After "un-"overlapping the event the items were still on two rows.
Thanks again.
How can i embed this in the template instead of a page?
Weekly Schedule is not really designed to be used as a PHP function. That being said, if you call the function ws_library with the following arguments:
ws_library($scheduleid = 1, $starttime = 19, $endtime = 22, $timedivision = 0.5, $layout = 'horizontal', $tooltipwidth = 300, $tooltiptarget = 'rightMiddle',
$tooltippoint = 'leftMiddle', $tooltipcolorscheme = 'cream', $displaydescription = 'tooltip', $daylist = '', $timeformat = '24hours',
$adjusttooltipposition = true)
then it should render a schedule.