janizde
OPEN NAVIGATION MOBILE VERSION

Finally, after three years without any updates I have released version 2.0 of the Opening Hours Plugin.

It covers some of the most common feature requests like multiple Sets and it has become much more “intelligent” being aware of the structure of your Opening Hours rather than just reading and outputting them from the database. It can for example suggest the next open period in the Is Open widget or shortcode.

Furthermore it is based on a much more flexible architecture than can easily be extended either to realize feature requests much faster and more solidly but it also offers great APIs for Theme and Extension Plugin developers to interact with the Plugin. E.g. with the Set Provider API you can easily add your custom sources of Opening Hours data besides the regular op-set Post Type such as loading data from a remote API or a flat file on your server.

I have offered three beta versions before releasing it to the WordPress Plugin Repositories because everything has changed from scratch and I wanted to make sure that it won’t break anything when releasing it to the Plugin users who run the Opening Hours plugin on a variety of combinations of PHP and WordPress versions. Unfortunately I could not test the Plugin with each combination I have already got reports that on activation in certain scenarios it might throw a fatal error. If you experience something like this please open an issue on GitHub and I will try to fix it as soon as possible.

I have already made two urgent fixes that I have not tagged with a specific Plugin version, so I will post updates here:

  • 2016-10-27 15:51 CEST: Fixed an issue that came up when trying to convert old data automatically
  • 2016-10-28 23:54 CEST: Fixed a bug that made some WP sites crash with PHP 5.3
  • 2016-11-02 20:22 CET: Fixed PHP 5.3 compatibility issue concerning registration of default SetProviders

Join the discussion

  • Bertl

    Hallo, vielen Dank für dieses Plugin. Es ist genau das, was ich gesucht habe. Allerdings hätte ich eine Frage: Ist es möglich im Widget “Geöffnet Status” nicht nur den Satz “Wir haben geöffnet” anzuzeigen, sondern auch die Zeit von wann bis wann an diesem Tag? Hab mir die einzelnen Files durchgeschaut aber muss gestehen, dass ich nicht weiß, wo ich ansetzen könnte. Über eine Antwort würde ich mich sehr freuen! Vielen Dank :)

Opening Hours Version 2.0

Update

Finally, after three years without any updates I have released version 2.0 of the Opening Hours Plugin. It covers some of the most common feature requests like multiple Sets and it has become much more “intelligent” being aware of the

Looks a bit scary, doesn't it? Found on GIPHY