该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

The Holiday Calendar

描述

This calendar comes as a widget that shows your upcoming events. If you want you can automatically import the holidays from http://www.theholidaycalendar.com.

Two views are available: calendar view and list view.

If you choose to import the holidays they are fetched from a webservice. This happens asynchronous so your website will not get slow.

For more information about the webservice visit: http://www.mva7.nl/the-holiday-calendar-webservice-manual.html

屏幕截图

  • The plugin in action
  • Calendar view is also supported

安装

Widget

  1. Upload the-holiday-calendar directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to Appearance -> Widgets and add our widget to your website
  4. Add your own events through the event page in the admin screen

Short code

Add this to your content:

[thc-calendar title="Upcoming Events" showholidays="yes" country="us" displaymode="calendar" firstday="su" numberofholidays="3" showpoweredby="yes" changecountry="no"]
  • title = any text (default: empty)
  • showholidays = yes / no (default: no)
  • country = us, in, jp, br, ru, de, gb, fr, mx, kr, au, ie (default: us)
  • displaymode = calendar / list (default: list)
  • firstday = mo / su (default: su)
  • numberofholidays = 3, 4, 5 (default: 3)
  • showpoweredby = yes / no (default: no)
  • changecountry = yes / no (default: no)

常见问题

Which countries are currently supported?

For now we only provide holidays for:

  • Australia
  • Brazil
  • France
  • Germany
  • Hungary
  • India
  • Ireland
  • Italy
  • Japan
  • Mexico
  • Russia
  • South Africa
  • South Korea
  • United Kingdom
  • United States

In the near future we plan to support other countries also.

评价

2019 年 7 月 3 日 3 回复
I have the Calendar set to US Holidays, however, Holidays such as Mother’s Day, Father’s Day, 4th of July etc. are not appearing. Sure, I can manually add them but there is no feature to repeat yearly. Last post on their FB page was September 2016. Update… more Holidays have been added. 7/2/2019
2018 年 2 月 19 日
If you are looking for a good plugin that doesn’t intervene the layout or the style of your current theme, this is it. I checked so many calendar plugins and I can tell you, this plugin is one of the best, if not the best. Very simple and easy to use. The support from Mva7 was great and he includes the Venezuelan holidays on the calendar as I requested. Thanks again, Mva7 Keep the good work
2017 年 3 月 30 日 5 回复
We have used the plugin for a long time now, and it worked for us. We only had the problem With that old events showed up in the event list, but that was solved fast by the plugin owner. Unfortunately we will have to replace it now, because after the last update of several plugins our site broke down, and we deactivated the newley updated plugins and reactivated them one by one. The Holiday calender plugin refuse to be reactivated, so we have now lost all our events and have to start all over again with a new plugin. The support of this plugin is not working, so when we cant solve the problem ourselves, we just have to make a replacement instead. We could have given 5 stars, but due to the lack of support, we ended up With 3.
2016 年 9 月 3 日
After you activate this plugin, it will add an Events custom post type in the backend of your WordPress website. Adding a new event is as simple as adding a new post. No bloatware. No adware. If you know CSS, you can easily style the look and feel of the calendar or the widget and make it blend in with the rest of your website.
阅读所有11条评价

贡献者及开发者

「The Holiday Calendar」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「The Holiday Calendar」插件已被翻译至 3 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「The Holiday Calendar」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.18

  • Added “The Holiday Calendar” theme

1.17

  • Added country selector for visitors

1.16

  • Added multilingual support

1.15.7.3

  • Support for older php versions

1.15.7.2

  • Support for older php versions

1.15.7.1

  • Bug fix for showing old events instead of new

1.15.7

  • Make sure newest holidays are shown in case of large amount

1.15.6

  • Support month navigation on homepage

1.15.5.1

  • Removed another PHP warning

1.15.5

  • Removed PHP warning

1.15.4.1

  • Fix for old php versions

1.15.4

  • Added Hungarian and South African holidays

1.15.3

  • Fixed sorting in event manager

1.15.2

  • Fix for old events that reappeared

1.15.1

  • Some post release fixes

1.15

  • Added times to custom events
  • Fixed multi month event bug
  • dd-mm-yyyy format now supported
  • Removed php warning
  • Fixed korean date format

1.14

  • Added Italian holidays

1.13.2

  • Fixed incorrect html

1.13.1

  • Removed warning

1.13

  • Added support for short codes.

1.12

  • Added start and end date for custom events
  • Information about the holiday is now displayed. (Initially only for UK and US holidays but other countries will follow)
  • Translated read more link in French, German, Portuguese, Russian and Spanish.
  • Improved caching (plugin is now even faster)
  • Improved compatibility with WordPress 4.3

1.11.3

  • Security fix to prevent cross site scripting

1.11.2

  • When the date was not present in the url, in some cases the date in the event titles were wrong.

1.11.1

  • Some sites showed something like thcexcerpt555911463397c as event excerpt. Fixed now.

1.11

  • Added settings screen
  • Current widget properties are automatically migrated to settings
  • Event date now also visible on custom event pages
  • Fixed unclickable read more links

1.10.2

  • Current day was also highlighted in other months. Fixed now.

1.10.1

  • Month navigation fix, some months were abbreviated to two characters instead of three
  • Attempt to support older PHP versions

1.10

  • Month navigation in calendar mode

1.9.3

  • Holidays still showed up after being disabled. Fixed now.

1.9.2

  • Added Irish holidays

1.9.1

  • Minor fix in translations

1.9

  • Month and weekday translations in calendar mode (only for the supported countries, see FAQ)

1.8.1

  • Read more link also available in calendar mode

1.8

  • Number of holidays setting
  • Read more links on holiday posts
  • SEO friendly URL for custom events

1.7.1

  • Added Australian holidays

1.7

  • Added date column to event list in admin screen
  • Events clickable in list mode
  • Include events setting now also works in calendar mode
  • Fixed strange post properties occurring in some themes

1.6

  • Event pages now have the same appearance as any other page

1.5.1

  • When no events, an error occured. Fixed now

1.5

  • Added detail page with event list
  • Days now clickable in calendar mode

1.4.4.1

  • Also centered table caption

1.4.4

  • Calendar content now centered by default

1.4.3

  • Improved styling calendar view

1.4.2

  • Current day is highlighted (not always visible though)

1.4.1

  • Fixed error when quotes in holiday name

1.4

  • Added calendar view
  • Fixed validation error while adding event

1.3

  • Add your own events
  • Holidays are now optional

1.2

  • Added more date formats

1.1

  • Added support for 9 more countries
  • Fixed width issue holiday names

1.0

  • First release