Design a site like this with WordPress.com
Get started

Yannick's Corner

WordPress Plugins, Plugin Development Cookbook and random thoughts

Weekly Schedule

Create great programming schedule grids for your site

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.

Donations

If you feel generous and really like this plugin, here is a donation link on Paypal:

button_donate-via-paypal-modify-amount-as-desired

230 thoughts on “Weekly Schedule

  1. Hi Yannick,

    First of all, thank you for the great plugin. I like it very much. Unfortunately I’m experiencing a conflict with the tooltip and my menu of my wordpress site. When I turn the tooltip off, it shows the menu in firefox 3.0 till 3.6 on windows and OS platform the way it should be. But when I turn it on, it doesnt. I already tried to see if I can delete the jquery link in to see if that would cause the conflict, but currently I’m not able to find it. It’s a custom made theme based on Twentyten. Do you know what could be the problem and if so perhaps know what might be the solution?

    Like

    1. Hi Ilse, This definitely sounds like a jQuery conflict. I would need the address of the web site where this problem is occuring to see how to fix this.

      Like

  2. Hi Yannick.
    I need to adjust font size to have the weekly schedule working as some examples previously showed here. I appreciate your help on this since I did not know how to adjust font size and calendar size.

    Like

    1. Hi Jaime, You would need to edit the stylesheet.css file that is part of the plugin files to get a different font size. Once you have a custom stylesheet, make sure you make a copy of it since upgrading to newer versions of Weekly Schedule will delete your modifications.

      More specifically, you could add the following lines at the top of the .css file:

      .ws-schedule {font-size:24px;}

      You can change the number as desired.

      Like

    1. What type of issues are you having with the vertical option? Can you potentially create a second schedule option on a hidden page that would be vertical so I can help you configure it?

      Like

  3. Hi Yannick. I have a problem, whenever I turn tooltips on, they slide in from random directions. I just want them to fade in and out as the user mouses over them. And it doesn’t seem to be consistent either. When I first hover over a particular block, the tooltip seems to fade in, but every subsequent time, it’s a very pronounced slide. I’m at my wits end here, if you’d like to visit our schedule and see if you could tell me anything, I’d be very grateful.

    http://www.kruaradio.org/shows/broadcast-schedule

    Like

    1. Hi Danny, Indeed, I have also seen the tooltips fly in from different directions instead. I think it might be related to smaller window sizes or perhaps something that a newer version of the jquery that I am using to render these tooltips would resolve. I will investigate further.

      Like

  4. Hi! Was checking out your plugin, looks great so far. I’m wondering if it could be made to display only one week at a time.

    I’m building a site for a food truck, and the client is looking to display the truck’s location and menu on a weekly basis.

    Let me know if you think this plug in might be appropriate if you have time 🙂

    thanks!

    Like

    1. Hi Luis, Weekly Schedule would not work for that purpose. But perhaps my other plugin called Community Events would do the trick.

      Like

  5. Hi! This plugin is wonderful! I was wondering is there anyway to allow my authors of the site to edit the weekly schedule?

    I only have one administrator (me) and two author (other people) accounts and when I log in to check the author accounts, they cannot edit the schedule, only the admin can.

    Any help would be appreciative! Thanks!

    Like

    1. Hi Robert, Can you try the following code change, if you’re comfortable enough editing through a code file.

      Change line 211 from:

      add_options_page(‘Weekly Schedule for WordPress’, ‘Weekly Schedule’, 9, basename(__FILE__), array(‘WS_Admin’,’config_page’));

      to:

      add_options_page(‘Weekly Schedule for WordPress’, ‘Weekly Schedule’, ‘edit_posts’, basename(__FILE__), array(‘WS_Admin’,’config_page’));

      If this works, then I can look at making an option to specify the user level needed to access this admin panel. Thanks for letting me know.

      Like

  6. Hi,
    I did not test this plugin, but it looks great. Thank you.
    How about “Add to my calendar” feature?

    Web calendars are for sharing events and info, and on click to add calendar item to my calendar would be very usefull.

    Like

    1. I am not sure that this feature would make sense within the context of Weekly Schedule since these events are not tied to a specific date in time. They are recurring weekly events. Although I guess if there is a way to add a recurring event to a calendar then this might potentially work. I will investigate.

      Like

  7. Dear Yannick,

    Thank you very much for your great work, its really useful for my purpose.
    But I have a little problem with the vertical option. As the column width of the default vertical option was too big, the columns ended up being displayed below each other depending on the available space. I edited the stylesheet so that all columns would be in the same level, which i managed with the weekdays, but the time column was always above the them and i did not manage to bring the week columns on the same level beside the time column.
    Any idea what i am doing wrong ?

    Thx

    Erich

    Like

      1. Hi Erich, In the plugin stylesheet.css file, add the following line (in bold):

        .ws-schedule table.verticalheader {
        float: left;
        width: 100px;
        }

        You will then need to reduce the column width to fit your layout:

        .ws-schedule table.vertical1 {
        width: 80px;
        }

        Make sure you save your stylesheet.css file since it will get overwritten on updates.

        Like

    1. Hi jnb, I got it to display correctly by making the following changes to your stylesheet in Firebug. Make these changes on your side and you should be good to go:

      – In style.css under the twentyten theme, remove the width: 100% from the #content table css style

      – In the plugin’s stylesheet, add the following style:

      .verticalcolumn {
      float: left;
      }

      You can then reduce the column width a bit and you will be in business. Let me know if you have any further questions.

      Like

  8. It would be cool to have a shortcode or widget which displays “events happening now” or “upcoming schedule” or something similar. It would be even cooler if the widget/shortcode accepted an array of schedules, so multiple schedules would appear.

    Like

    1. Indeed. But this type of thing would take some time to put in place. I will keep it in mind as I add new features.

      Like

  9. It didn’t work for me i am afraid .. i think i have followed the instruction by word and yet nothing appeared in the page but this part of the code and the upper strip which shows the hours.

    i am kind of new to all this .. but if u can simplify the steps it would be appreciated
    Thanks in advance.

    Like

    1. It sounds like the tables did not get created on your site correctly. Are you using WordPress as a multi-site installation? Can you check in your database is you have tables called wscategories, wsdays and wsitems?

      Like

    1. Good question. There is currently no way to delete a schedule through the interface. However, you could do it in your site’s MySQL admin tool by deleting the option WS_PPx from the options table where x is the Schedule number. As for all of your colors now all being the same, I would need to take a look at your site to get an idea for why this happened.

      Like

  10. I installed the plugin on a multisite and it doesn’t appear the wscategories, wsdays and wsitems were created. I’m able to create them manually… what are their structures?

    Like

    1. Multisite help: Install, but don’t activate the plugin on the network. Activate it individually for each site and it appears to work just fine… so far.

      Like

      1. Indeed, I need to do a bit of work to make this plugin work correctly with multi-site installations. Thanks for pointing a way to currently work around the issues.

        Like

    1. Hi Ken, Just add a “float: left” property to the .ws-schedule table.verticalheader in the stylesheet:

      .ws-schedule table.verticalheader {
      float: left;
      width: 100px;
      }

      That should do the trick.

      Like

    1. I add this to the css file, it seems to work only up to 4 1/2 hrs

      .ws-schedule tr.datarow9 {

      height: 700px;

      }

      ws-schedule tr.datarow10 {

      height: 770px;

      }

      ws-schedule tr.datarow11 {

      height: 840px;

      }

      ws-schedule tr.datarow12 {

      height: 910px;

      }

      Like

      1. Why did you stop at datarow12? I just tried creating a 8-hour block with half-hour increments and it has a class of datarow16.

        Like

    1. Hi Ken, to create 10 schedule, you would first set the “Number of Schedules” to 10 on the plugin’s general settings. Then, select which schedule you are working on with the drop-down named “Select Current Schedule”. Finally, when you place the shortcode to see the schedule on a page, specify which schedule should come up with [weekly-schedule schedule=1], where you would change 1 for the schedule id.

      Like

  11. How about adding the color option to the category? This way, I could set it so that all items in the same category have the same background color.

    Like

  12. I am new to this, but anxious to put your plug-in to good use! Can you tell me where I put the information that I want to show up in the schedule? I created events and they aren’t showing up.. am I supposed to use posts? I know that may be a seriously dumb question….

    Like

  13. I was wondering if there is a way to make the widget display the shows that are on at the present moment. Currently it’s just displaying the first 3 shows of the day. I’ve been looking into the weekly-schedule.php file and I see where the widget scripts are but can’t figure out how to set the order to match my requirements. Does this feature exist already and I’m not setting it up correctly or is it a manual fix? Any helpful notes on how to make this happen? Thanks in advance!

    Like

    1. Hi Varun, it is not currently possible to display what shows are currently on with the widget, but I will see about adding that capability.

      Like

  14. hi. i’m having problems with week days, as there is no option of making the week start on Monday. And the labels change in the calendar, but in the widget it displays today what will happen tomorrow. Any ideas? I tried changing the style.css but it doesn’t work 😦

    Like

    1. Hi Alex, Actually, there is option to change the order of the days of the week. It is called Day List. Here is the description:

      Day List (comma-separated Day IDs to specify days to be displayed and their order)

      So, to have Monday first, you would set its value to: 2,3,4,5,6,7,1

      Like

  15. Hi Yannick! This is perfect for my dance studio website. I’m very much a beginner at wordpress and coding, but I’m learning fast. Your screenshot of your weekly schedule is so beautiful. How can I make all my columns a standard width? Right now they are adjusting to the size of the scheduled item. Thank you!!

    Like

    1. Hi Alyssa, Getting a weekly schedule to look just right requires a combination of working with the stylesheet editor for Weekly Schedule and working with your site theme. By default, the columns should be standard width. However, there may be something on your site that changes that to be variable width. Can you send me a link to your site so I can see what might be happening? I tried the link for the class schedule trial but it did not work.

      Like

    1. Can you check that you have content under the stylesheet editor under the Weekly Schedule menu in the admin. If it’s empty, press the reset button. It looks like all of the Weekly Schedule styling is missing from the site.

      Like

      1. Hi Gykfen, you can just take a look at the page’s sourcecode to see the stylesheet data that the person entered on their web site. Just look for WeeklyScheduleStyle in the page source code.

        Like

    1. Hi Taylor, Sorry about that. I had just never re-worked the styling on that page after moving my site to a Multisite WordPress install. Everything looks ok now.

      Like

  16. Hi, is there any chance to put schedule between 23:00 – 05:00 am? I understand that 24:00 is of course a new day, but maybe there is a way to “fix it”?

    Like

    1. Hi Hubert. No, this is not possible with the weekly schedule plugin. You would have to create two entries, an hour long entry on the first day and a 5-hour long entry on the other day.

      Like

Leave a Reply to Yannick Lefebvre Cancel reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: