Opening Hours

Omschrijving

  • Supports multiple Sets of Opening Hours (e.g. one for your restaurant and one for your bar) that you can use independently.
  • Ondersteunt vakanties
  • Supports Irregular Openings (e.g. different opening hours during Christmas)
  • Supports child sets that overwrite your regular opening hours in a specific time period (e.g. seasonal opening hours or an extra day in every second week)
  • Four highly customizable Widgets and Shortcodes also displaying contextual information (e.g. “We’re currently closed but will be open again on Monday at 8am”)

Widgets

  • Overview Widget: Lists up all Opening Hours with contextual information in a table or list
  • Is Open Widget: Indicates whether the selected venue is currently open or closed and optionally shows when it will be open again
  • Holidays Widget: Lists up all Holidays in a table or list
  • Irregular Openings Widget: Lists up all Irregular Openings in a table or list

Meer over de Widgets

Shortcodes

Alle hierboven genoemde widgets zijn ook beschikbaar als shortcodes.

Meer over de Shortcodes

Further Documentation

Further documentation is available on GitHub.

Installatie

Er zijn verschillende manieren om de Opening Hours plugin te installeren

  1. WordPress Plugin Installer
  2. Handmatige Installatie
  3. Composer
  4. Clone GitHub Repository

FAQ

How can I change the styling of the widgets / shortcodes?

The Plugin provides very minimal styling, which is the red and green colors for the open / closed messages. All other kind of styling is left to the WordPress Theme you are using or your custom CSS.
To disable the styling of the text color the op_use_front_end_styles filter hook can be used.

Mijn taal is niet beschikbaar in de Plugin

Je kan deelnemen om deze Plugin vertalingen beschikbaar te maken in meerdere talen.
Lees het gedeelte op Bijdragen aan vertalingen

Ik heb een bug gevonden en ik wil dit oplossen

Als je een bug heb gevonden, wees vrij om het op te lossen draag bij aan het project op Github.

Beoordelingen

22 juli 2019
It offers countless features and can be used anywhere. Thank you to the author(s)
5 juli 2019
This is one of the best free plugins out there. So many shortcodes, it can display exactly how you need it to. Thanks to the developer! I will donate as soon as I can. To the person who had issues with incorrect display shown, I had that initially but realised it was my incorrect settings - general - timezone.
26 juni 2019
Je l'utilise pour afficher les horaires d'ouverture et de fermeture de mon magasin et il fonctionne à merveille. Je recommande!!
9 juni 2019
Nice Plugin, but It gave wrong opening status. According to the time it should have shown "open", but the status shown as "close". Finally I found that it is not working according to my time zone (GMT -6), but GMT 0. Seeking for a solution for this!
12 mei 2019
Love this opening hours plugin. Just one remark, when I add an irregular opening on a closing day the text show that we are closed! I get folling output in the widget : Currently we are closed Open from 07:00 tot 13:00 thx
Lees alle 35 beoordelingen

Bijdragers & ontwikkelaars

“Opening Hours” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers

“Opening Hours” is vertaald in 5 talen. Dank voor de vertalers voor hun bijdragen.

Vertaal “Opening Hours” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.

Changelog

2.1.4

  • Fixed a warning occuring in the Overview shortcode with PHP >= 7.2
  • Added method OpeningHours->clearSetProviders() to OpeningHours singleton

2.1.3

  • Fix concerning time formats of Irregular Openings and Periods when saving by @Braunson

2.1.2

  • Fixed JavaScript conflicts with other plugins

2.1.1

  • Fixed a bug that did not load the parent set’s irregular openings and holidays in active child sets.
  • Fixed a bug that blocked irregular openings and periods on the days after irregular openings that go beyond midnight.

2.1

  • Added today’s opening hours in Is Open shortcode / widget
  • Automatically hide past Holidays and Irregular Openings in the respective shortcodes / widgets
  • Sort Holidays and Irregular Openings ascendingly by start date
  • Use WordPress shipped version of jquery-ui to prevent conflicts with other plugins
  • Merge dates of Holidays if they only span one day
  • Added offset option to Overview shortcode / widget
  • Added filters
    • op_is_open_format_next
    • op_is_open_format_today
    • op_overview_model
  • Various bug fixes

2.0.5

  • fixed bug concerning child set initialization. thanks to @nikomuse

2.0.4

  • Added support for UTC offset timezones

2.0.3

  • Fixed timezone bug in WordPress 4.7

2.0.2

  • Fixed a bug that didn’t show next open Period when there are no regular Periods but Irregular Openings in the current Set

2.0.1

  • Added SetAlias functionality
  • Minor fixes including:
    • Fixed mixed content error (@foomep)
    • Fixed auto convert issue
    • Fixed PHP 5.3 incompatibility issues

2.0

Completely new version of the Opening Hours plugin.
Supports multiple Sets of Opening Hours and adds more flexibility to the Widgets and Shortcodes.
Offers Developer APIs to easily integrate your custom sources.

1.2

Read this article:
http://www.jannikportz.de/2014/01/19/update-1-2-for-opening-hours-plugin/

1.1.1

Read this article:
http://www.jannikportz.de/2013/12/04/opening-hours-update-1-1-1/

1.1

Read this article:
http://www.jannikportz.de/2013/11/03/opening-hours-update-version-1-2/

1.0.1

fixed a bug that displayed saturday instead of friday
ATTENTION: REINSTALL NECESSARY!

1.0

initial version