Support » Plugin: WP Teacher » Using Canadian Holidays in the Events Calendar

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author fredlawl


    That is a good question. I’ll try to add that feature within the next release. I don’t recommend digging into the code however, because when the plugin gets upgraded (and trust me you would want the next upgrade–big plans) it will reset the calendar and you will have to edit the code again. Not to mention you could risk breaking the calendar .

    Thanks for the quick reply. I LOVE this plugin, it is exactly what I was looking for and is so easy to use.

    I really would like to tackle this, I am willing to edit the code again when you release your upgrade. Can you just point me in the right direction?

    Also, do you know how I can change the default color for holidays? I really would like to use the blue for a subject (Social Studies)!!!

    Plugin Author fredlawl


    Sorry for the long wait for a response, been a busy week. To edit the default colors go into includes/ui/ui-calendar.php and on line 227 add a ‘,’ after that string, then push enter, and copy/paste

    color: '#<hex code>',
    textColor: '#<hex code>'

    (replace <hex code> with the hex color code you want to use)

    Thus the holiday colors are changed.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Using Canadian Holidays in the Events Calendar’ is closed to new replies.