Codefokus Opening Hours With German Public Holidays Wordpress Plugin - Rating, Reviews, Demo & Download
Plugin Description
Most opening hours plugins show “Open” on Easter Monday or All Saints’ Day, unless you enter every holiday by hand – every year. This plugin calculates the public holidays of all 16 German federal states itself and shows the correct status automatically:
- “Open now · until 6:00 pm” / “Closing soon” / “Closed now · opens tomorrow at 8:00 am”
- “Closed today (All Saints’ Day) · opens tomorrow at 9:00 am”
Deutsch
Öffnungszeiten mit Live-Status („Jetzt geöffnet · bis 18 Uhr“), die die gesetzlichen Feiertage deines Bundeslands automatisch kennen – lokal berechnet, ohne externe API. Deutsche Übersetzungen werden über translate.wordpress.org bereitgestellt.
Languages
The plugin is fully translatable. German translations are provided via translate.wordpress.org – contributions in any language are welcome.
Features
- Public holidays for all 16 federal states, including movable holidays (Easter, Ascension, Whit Monday, Corpus Christi) and special cases such as Day of Repentance and Prayer (Saxony), International Women’s Day (Berlin, Mecklenburg-Western Pomerania), World Children’s Day (Thuringia) and Reformation Day.
- 5 designs: Classic, Card, Banner, Minimal and Compact (for sidebars and footers) – with live preview on the settings page.
- Own title, custom colors for accent, “open” and “closed”, and the block editor’s color, spacing and font size options.
- Group days with the same hours (“Mon – Fri 9:00 – 17:00”).
- Up to two time slots per day (e.g. lunch break).
- Optional: closed on Christmas Eve and New Year’s Eve.
- Closures and company holidays as date ranges.
- List of upcoming closures – holidays are only listed if you would otherwise be open that day.
- Live status that keeps working with page caching: the status is updated in the browser every minute.
- Block for the block editor and a shortcode for classic editor, widgets and page builders.
- Optional schema.org
OpeningHoursSpecification(JSON-LD) including closed days for search engines. - Preview of all calculated holidays on the settings page, so you can check them.
- No external requests, no tracking, no cookies – GDPR friendly.
Shortcode
[ohgh_opening_hours]
Attributes:
status="yes|no"– live status (default: yes)table="yes|no"– weekly hours (default: yes)closures="3"– number of upcoming closures, 0 hides the list (default: 3)design="classic|card|banner|minimal|compact"– design (default: as set on the settings page)title="Opening hours"– optional titlegroup="yes|no"– group days with the same hours (default: no; always on for “compact”)accent_color,open_color,closed_color– custom colors as hex values, e.g.open_color="#2e7d32"
Examples:
- Card with title:
[ohgh_opening_hours design="card" title="Öffnungszeiten"] - Status only, e.g. for the header:
[ohgh_opening_hours design="minimal" table="no" closures="0"] - Footer:
[ohgh_opening_hours design="compact"]
For developers
- Filter
ohgh_holidays( array $holidays, int $year, string $state )– add or remove holidays (e.g. local holidays such as the Augsburg Peace Festival). - Filter
ohgh_schema_data( array $data )– modify the JSON-LD.
Developed by codefokus.
Screenshots
Five designs: Classic, Card, Banner, Minimal and Compact – with live open/closed status.
Public holidays of your federal state are calculated automatically, e.g. Corpus Christi in Bavaria.
Settings page: federal state, weekly hours with lunch break, holiday options and holiday preview.
