Descrizione
- Supporto per orari multipli (es: uno per il tuo ristorante e uno per il tuo bar) che puoi usare in modo indipendente.
- Supporto per i periodi di chiusura
- Supporta le aperture straordinarie (ad es. orari diversi durante il periodo Natalizio)
- Supporto per orari alternativi che sostituiscono quelli usuali in uno specifico periodo (es: orari stagionali o un’apertura straordinaria ogni seconda settimana)
- Quattro widget e shortcode altamente personalizzabili e con la possibilità di visualizzare diverse informazioni contestuali (es: “Al momento siamo chiusi, saremo nuovamente aperti lunedì alle ore 8”)
Widget
- Il widget Orario Settimanale elenca tutti gli orari, con le relative informazioni contestuali, in forma di tabella o lista
- Il widget È Aperto visualizza se l’attività è aperta o chiusa in questo momento e facoltativamente può mostrare quando lo sarà di nuovo
- Il widget Chiusure elenca tutte le ferie in forma di tabella o lista
- Widget ‘Aperture straordinarie’: Mostra le aperture straordinarie in formato tabella o lista
- Schema.org Widgets: Inserts structured JSON-LD into a WordPress page or post
Shortcode
All of the widgets listed up above are also available as shortcodes.
With the Opening Hours Shortcode Builder you can assemble a Shortcode by filling in a form. This is particularly useful when you are not comfortable with the shortcode syntax.
Altra documentazione
Ulteriore documentazione è disponibile su GitHub.
Installazione
Ci sono diversi modi per installare il plugin Opening Hours
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 theop_use_front_end_styles
filter hook can be used. -
La mia lingua non è disponibile per il plugin
-
Puoi partecipare alla traduzione del plugin per renderlo disponibile in più lingue.
Leggi come nella sezione Contribuire alla traduzione -
Ho trovato un bug e voglio correggerlo
-
Se trovi un bug e lo vuoi correggere, puoicontribuire al progetto su GitHub.
Recensioni
Contributi e sviluppo
“Opening Hours” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.
Collaboratori“Opening Hours” è stato tradotto in 7 lingue. Grazie ai traduttori per i loro contributi.
Traduci “Opening Hours” nella tua lingua.
Ti interessa lo sviluppo?
Esplora il Codice segui il Repository SVN iscriviti al Log delle Modifiche. Puoi farlo tramite RSS con un lettore di feed.
Changelog (registro delle modifiche)
2.3.0
- Fix a bug that would cause redundant database writes caused by a DB_VERSION mismatch
- Add filter
op_shortcode_template_path
- Deprecate filter
op_shortcode_template
in favor ofop_shortcode_template_path
- Consistently use en dashes to separate dates and times in default formats
- Add filter
op_set_post_type_arguments
2.2.1
- Add support for custom user locales in the admin panel for cases when the user locale differs from the site locale
2.2.0
- Added [op-schema] shortcode and Schema.org Widget for structured JSON-LD representation of opening hours, holidays and irregular openings
- Added button for Shortcode Builder in Set edit page
2.1.4
- Fixed a warning occuring in the Overview shortcode with PHP >= 7.2
- Added method
OpeningHours->clearSetProviders()
toOpeningHours
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
Nuova versione del Plugin Opening Hours
Supporto per più set di orari e maggiore flessibilità nei Widgets e negli Shortcodes
Offre API per lo sviluppo, per integrarlo con i tuoi servizi
1.2
Leggi anche:
http://www.jannikportz.de/2014/01/19/update-1-2-for-opening-hours-plugin/
1.1.1
Leggi anche:
http://www.jannikportz.de/2013/12/04/opening-hours-update-1-1-1/
1.1
Leggi anche:
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
versione iniziale