Описание
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.
Если вы решили импортировать праздники они извлекаются из веб-сервиса. Это происходит асинхронно так что ваш сайт не будет медленным.
For more information about the webservice visit: http://www.mva7.nl/the-holiday-calendar-webservice-manual.html
Установка
Widget
- Upload
the-holiday-calendar
directory to the/wp-content/plugins/
directory - Активировать плагин через меню ‘Plugins’ в WordPress
- Go to Appearance -> Widgets and add our widget to your website
- Добавьте свои собственные события через страницу событий в окне администратора
Short code
Добавьте это к вашему контенту:
[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)
Часто задаваемые вопросы
-
Какие страны в настоящее время поддерживаются?
-
На данный момент мы предоставляем праздники только для:
- Австралия
- Бразилия
- Франция
- Германия
- Hungary
- Индия
- Ирландия
- Италия
- Япония
- Мексика
- Россия
- South Africa
- Южная Корея
- Великобритания
- Соединенные Штаты
В ближайшее время мы планируем поддерживать и другие страны .
Отзывы
Участники и разработчики
«The Holiday Calendar» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
Участники«The Holiday Calendar» переведён на 4 языка. Благодарим переводчиков за их работу.
Перевести «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