{"id":25649,"date":"2013-10-10T22:38:01","date_gmt":"2013-10-10T22:38:01","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-opening-hours\/"},"modified":"2021-05-17T18:44:23","modified_gmt":"2021-05-17T18:44:23","slug":"wp-opening-hours","status":"closed","type":"plugin","link":"https:\/\/sk.wordpress.org\/plugins\/wp-opening-hours\/","author":12092547,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.3.0","stable_tag":"2.3.0","tested":"5.7.15","requires":"4.0.0","requires_php":"","requires_plugins":"","header_name":"Opening Hours","header_author":"Jannik Portz","header_description":"","assets_banners_color":"3e2c4f","last_updated":"2021-05-17 18:44:23","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/github.com\/janizde\/WP-Opening-Hours#donate","header_plugin_uri":"https:\/\/github.com\/janizde\/WP-Opening-Hours","header_author_uri":"http:\/\/jannikportz.de","rating":4.1,"author_block_rating":0,"active_installs":6000,"downloads":123500,"num_ratings":0,"support_threads":2,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"janizde","date":"2013-10-12 10:21:55"},"1.0.1":{"tag":"1.0.1","author":"janizde","date":"2013-10-15 11:51:22"},"1.1":{"tag":"1.1","author":"janizde","date":"2013-12-01 18:41:13"},"1.1.1":{"tag":"1.1.1","author":"janizde","date":"2014-01-19 14:46:22"},"1.2":{"tag":"1.2","author":"janizde","date":"2014-02-02 19:34:33"},"2.0":{"tag":"2.0","author":"janizde","date":"2016-11-05 12:59:25"},"2.0.1":{"tag":"2.0.1","author":"janizde","date":"2017-01-07 15:59:03"},"2.0.2":{"tag":"2.0.2","author":"janizde","date":"2017-01-21 20:34:10"},"2.0.3":{"tag":"2.0.3","author":"janizde","date":"2017-02-11 12:46:08"},"2.0.4":{"tag":"2.0.4","author":"janizde","date":"2017-04-08 20:38:22"},"2.0.5":{"tag":"2.0.5","author":"janizde","date":"2017-04-17 17:03:09"},"2.1":{"tag":"2.1","author":"janizde","date":"2017-05-05 18:59:51"},"2.1.1":{"tag":"2.1.1","author":"janizde","date":"2017-05-31 15:25:50"},"2.1.2":{"tag":"2.1.2","author":"janizde","date":"2017-06-12 19:50:03"},"2.1.3":{"tag":"2.1.3","author":"janizde","date":"2019-03-17 15:28:30"},"2.1.4":{"tag":"2.1.4","author":"janizde","date":"2019-06-08 16:51:39"},"2.2.0":{"tag":"2.2.0","author":"janizde","date":"2020-01-05 13:50:40"},"2.2.1":{"tag":"2.2.1","author":"janizde","date":"2020-04-19 14:49:54"},"2.3.0":{"tag":"2.3.0","author":"janizde","date":"2021-05-17 18:44:23"}},"upgrade_notice":{"2.0":"<p>The plugin has been rewritten from scratch and a lot has changed. Old data should be converted automatically but a lot of the CSS classes have changed. Take some time to update it and maybe test it in a development environment to make sure it works as expected. Requires PHP &gt;= 5.3, WordPress &gt;= 4<\/p>"},"ratings":{"1":7,"2":0,"3":2,"4":3,"5":27},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1524497,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":1524497,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":1524509,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":1524509,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.1","1.1","1.1.1","1.2","2.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.1","2.1.1","2.1.2","2.1.3","2.1.4","2.2.0","2.2.1","2.3.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[12431,1425,15082,3799,2289],"plugin_category":[43],"plugin_contributors":[80386],"plugin_business_model":[],"class_list":["post-25649","plugin","type-plugin","status-closed","hentry","plugin_tags-business-hours","plugin_tags-hours","plugin_tags-opening-hours","plugin_tags-overview","plugin_tags-table","plugin_category-customization","plugin_contributors-janizde","plugin_committers-janizde"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-opening-hours_3e2c4f.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<ul>\n<li>Supports multiple Sets of Opening Hours (e.g. one for your restaurant and one for your bar) that you can use independently.<\/li>\n<li>Supports Holidays<\/li>\n<li>Supports Irregular Openings (e.g. different opening hours during Christmas)<\/li>\n<li>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)<\/li>\n<li>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\")<\/li>\n<\/ul>\n\n<h4>Widgets<\/h4>\n\n<ul>\n<li>Overview Widget: Lists up all Opening Hours with contextual information in a table or list<\/li>\n<li>Is Open Widget: Indicates whether the selected venue is currently open or closed and optionally shows when it will be open again<\/li>\n<li>Holidays Widget: Lists up all Holidays in a table or list<\/li>\n<li>Irregular Openings Widget: Lists up all Irregular Openings in a table or list<\/li>\n<li>Schema.org Widgets: Inserts structured <a href=\"https:\/\/en.wikipedia.org\/wiki\/JSON-LD\">JSON-LD<\/a> into a WordPress page or post<\/li>\n<\/ul>\n\n<p><a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours#widgets\">More on Widgets<\/a><\/p>\n\n<h4>Shortcodes<\/h4>\n\n<p>All of the widgets listed up above are also available as shortcodes.\nWith the <a href=\"http:\/\/bit.ly\/2mmneSk\">Opening Hours Shortcode Builder<\/a> you can assemble a Shortcode by filling in a form. This is particularly useful when you are not comfortable with the shortcode syntax.<\/p>\n\n<ul>\n<li><a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours#shortcodes\">More on Shortcodes<\/a><\/li>\n<li><a href=\"http:\/\/bit.ly\/2mmneSk\">Shortcode Builder<\/a><\/li>\n<li><a href=\"http:\/\/bit.ly\/35rsQiD\">Shortcode Builder on GitHub<\/a><\/li>\n<\/ul>\n\n<h4>Further Documentation<\/h4>\n\n<p><strong>Further documentation is available on <a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours\">GitHub<\/a>.<\/strong><\/p>\n\n<ul>\n<li><a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours#features\">Features<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours#installation\">Installation<\/a>\n\n<ul>\n<li><a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours#wordpress-plugin-installer\">WordPress Plugin Installer<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours#manual-installation\">Manual Installation<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours#composer\">Composer<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours#clone-repository\">Clone GitHub Repository<\/a><\/li>\n<\/ul><\/li>\n<li><a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours#getting-started\">Getting Started<\/a>\n\n<ul>\n<li><a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours#set-up\">Setting up your Opening Hours<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours#child-sets\">Child Sets<\/a><\/li>\n<\/ul><\/li>\n<li><a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours#widgets\">Widgets<\/a>\n\n<ul>\n<li><a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours#overview-widget\">Overview Widget<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours#is-open-widget\">Is Open Widget<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours#holidays-widget\">Holidays Widget<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours#irregular-openings-widget\">Irregular Openings Widget<\/a><\/li>\n<\/ul><\/li>\n<li><a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours#shortcodes\">Shortcodes<\/a>\n\n<ul>\n<li><a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours#common-attributes\">Common Attributes<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours#op-overview-shortcode\">[op-overview] Shortcode<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours#op-is-open-shortcode\">[op-is-open] Shortcode<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours#op-holidays-shortcode\">[op-holidays] Shortcode<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours#op-irregular-openings-shortcode\">[op-irregular-openings] Shortcode<\/a><\/li>\n<\/ul><\/li>\n<li><a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours#filters\">Filters<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours#troubleshooting\">Troubleshooting \/ FAQ<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours#contributing\">Contributing<\/a>\n\n<ul>\n<li><a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours#contributing-to-code\">Contributing to Code<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours#contributing-to-translations\">Contributing to Translations<\/a><\/li>\n<\/ul><\/li>\n<li><a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours#changelog\">Changelog<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours#license\">License<\/a><\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>There are multiple ways to install the Opening Hours Plugin<\/p>\n\n<ol>\n<li><a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours#wordpress-plugin-installer\">WordPress Plugin Installer<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours#manual-installation\">Manual Installation<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours#composer\">Composer<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours#clone-repository\">Clone GitHub Repository<\/a><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20can%20i%20change%20the%20styling%20of%20the%20widgets%20%2F%20shortcodes%3F'><h3>How can I change the styling of the widgets \/ shortcodes?<\/h3><\/dt>\n<dd><p>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.\nTo disable the styling of the text color the <a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours\/blob\/master\/doc\/filters.md#op_use_front_end_styles\"><code>op_use_front_end_styles<\/code><\/a> filter hook can be used.<\/p><\/dd>\n<dt id='my%20language%20is%20not%20provided%20in%20the%20plugin'><h3>My language is not provided in the Plugin<\/h3><\/dt>\n<dd><p>You can participate to Plugin translations to make it available in more languages.\nPlease read the section on <a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours#contributing-to-translations\">contributing to translations<\/a><\/p><\/dd>\n<dt id='i%20found%20a%20bug%20and%20i%20would%20like%20to%20fix%20it'><h3>I found a bug and I would like to fix it<\/h3><\/dt>\n<dd><p>If you found a bug you would like to fix feel free to <a href=\"https:\/\/github.com\/janizde\/WP-Opening-Hours#contributing-to-code\">contribute to the project on GitHub<\/a>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.3.0<\/h4>\n\n<ul>\n<li>Fix a bug that would cause redundant database writes caused by a DB_VERSION mismatch<\/li>\n<li>Add filter <code>op_shortcode_template_path<\/code><\/li>\n<li>Deprecate filter <code>op_shortcode_template<\/code> in favor of <code>op_shortcode_template_path<\/code><\/li>\n<li>Consistently use en dashes to separate dates and times in default formats<\/li>\n<li>Add filter <code>op_set_post_type_arguments<\/code><\/li>\n<\/ul>\n\n<h4>2.2.1<\/h4>\n\n<ul>\n<li>Add support for custom user locales in the admin panel for cases when the user locale differs from the site locale<\/li>\n<\/ul>\n\n<h4>2.2.0<\/h4>\n\n<ul>\n<li>Added [op-schema] shortcode and Schema.org Widget for structured JSON-LD representation of opening hours, holidays and irregular openings<\/li>\n<li>Added button for Shortcode Builder in Set edit page<\/li>\n<\/ul>\n\n<h4>2.1.4<\/h4>\n\n<ul>\n<li>Fixed a warning occuring in the Overview shortcode with PHP &gt;= 7.2<\/li>\n<li>Added method <code>OpeningHours-&gt;clearSetProviders()<\/code> to <code>OpeningHours<\/code> singleton<\/li>\n<\/ul>\n\n<h4>2.1.3<\/h4>\n\n<ul>\n<li>Fix concerning time formats of Irregular Openings and Periods when saving by @Braunson<\/li>\n<\/ul>\n\n<h4>2.1.2<\/h4>\n\n<ul>\n<li>Fixed JavaScript conflicts with other plugins<\/li>\n<\/ul>\n\n<h4>2.1.1<\/h4>\n\n<ul>\n<li>Fixed a bug that did not load the parent set's irregular openings and holidays in active child sets.<\/li>\n<li>Fixed a bug that blocked irregular openings and periods on the days after irregular openings that go beyond midnight.<\/li>\n<\/ul>\n\n<h4>2.1<\/h4>\n\n<ul>\n<li>Added today's opening hours in Is Open shortcode \/ widget<\/li>\n<li>Automatically hide past Holidays and Irregular Openings in the respective shortcodes \/ widgets<\/li>\n<li>Sort Holidays and Irregular Openings ascendingly by start date<\/li>\n<li>Use WordPress shipped version of jquery-ui to prevent conflicts with other plugins<\/li>\n<li>Merge dates of Holidays if they only span one day<\/li>\n<li>Added offset option to Overview shortcode \/ widget<\/li>\n<li>Added filters\n\n<ul>\n<li><code>op_is_open_format_next<\/code><\/li>\n<li><code>op_is_open_format_today<\/code><\/li>\n<li><code>op_overview_model<\/code><\/li>\n<\/ul><\/li>\n<li>Various bug fixes<\/li>\n<\/ul>\n\n<h4>2.0.5<\/h4>\n\n<ul>\n<li>fixed bug concerning child set initialization. thanks to @nikomuse<\/li>\n<\/ul>\n\n<h4>2.0.4<\/h4>\n\n<ul>\n<li>Added support for UTC offset timezones<\/li>\n<\/ul>\n\n<h4>2.0.3<\/h4>\n\n<ul>\n<li>Fixed timezone bug in WordPress 4.7<\/li>\n<\/ul>\n\n<h4>2.0.2<\/h4>\n\n<ul>\n<li>Fixed a bug that didn't show next open Period when there are no regular Periods but Irregular Openings in the current Set<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>Added SetAlias functionality<\/li>\n<li>Minor fixes including:\n\n<ul>\n<li>Fixed mixed content error (@foomep)<\/li>\n<li>Fixed auto convert issue<\/li>\n<li>Fixed PHP 5.3 incompatibility issues<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<h4>2.0<\/h4>\n\n<p>Completely new version of the Opening Hours plugin.\nSupports multiple Sets of Opening Hours and adds more flexibility to the Widgets and Shortcodes.\nOffers Developer APIs to easily integrate your custom sources.<\/p>\n\n<h4>1.2<\/h4>\n\n<p>Read this article:\nhttp:\/\/www.jannikportz.de\/2014\/01\/19\/update-1-2-for-opening-hours-plugin\/<\/p>\n\n<h4>1.1.1<\/h4>\n\n<p>Read this article:\nhttp:\/\/www.jannikportz.de\/2013\/12\/04\/opening-hours-update-1-1-1\/<\/p>\n\n<h4>1.1<\/h4>\n\n<p>Read this article:\nhttp:\/\/www.jannikportz.de\/2013\/11\/03\/opening-hours-update-version-1-2\/<\/p>\n\n<h4>1.0.1<\/h4>\n\n<p>fixed a bug that displayed saturday instead of friday\nATTENTION: REINSTALL NECESSARY!<\/p>\n\n<h4>1.0<\/h4>\n\n<p>initial version<\/p>","raw_excerpt":"Opening Hours is a highly customizable WordPress plugin to set up your venue&#039;s opening hours and display them with Shortcodes and Widgets.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/25649","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=25649"}],"author":[{"embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/janizde"}],"wp:attachment":[{"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=25649"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=25649"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=25649"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=25649"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=25649"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=25649"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}