WP Teacher
[resolved] Using Canadian Holidays in the Events Calendar (4 posts)

  1. BlackHorseMedia
    Posted 3 years ago #

    I'm wondering, how can I change the calendar dates to reflect Canadian Holidays?


  2. fredlawl
    Plugin Author

    Posted 3 years ago #

    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 .

  3. BlackHorseMedia
    Posted 3 years ago #

    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)!!!

  4. fredlawl
    Plugin Author

    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Teacher
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic