{"id":401844,"date":"2026-11-11T01:52:22","date_gmt":"2026-11-11T01:52:22","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/za-one-business-calendar\/"},"modified":"2026-11-11T01:51:55","modified_gmt":"2026-11-11T01:51:55","slug":"zaone-business-calendar","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/zaone-business-calendar\/","author":23474208,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.1.4","requires":"6.3","requires_php":"7.4","requires_plugins":null,"header_name":"ZA-ONE Business Calendar","header_author":"ZA-ONE","header_description":"Show your shop's closed days, special openings and opening hours with a block or shortcode, and output LocalBusiness structured data from the same settings.","last_updated":"2026-11-11 01:51:55","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/zone-web.jp","rating":0,"author_block_rating":0,"active_installs":0,"downloads":31,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"yuyatanaka","date":"2026-11-11 01:51:55","revision":3795529}},"upgrade_notice":{"1.0.0":"<p>Initial release.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3795529,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3795529,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3795529,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3795529,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":{"zaone\/business-hours":{"apiVersion":3,"name":"zaone\/business-hours","title":"Business Hours","category":"widgets","icon":"clock","description":"Opening hours table from the ZA-ONE Business Calendar settings.","keywords":["opening hours","reception hours","open now","days off"],"textdomain":"zaone-business-calendar","attributes":{"showNote":{"type":"boolean","default":true},"mergeDays":{"type":"boolean"},"showStatus":{"type":"boolean"}},"supports":{"html":false},"editorScript":"zabc-block-hours"},"zaone\/business-calendar":{"apiVersion":3,"name":"zaone\/business-calendar","title":"Business Calendar","category":"widgets","icon":"calendar-alt","description":"Calendar of closed days and special openings from the ZA-ONE Business Calendar settings.","keywords":["closed days","days off","non-business days","closed","holidays","calendar"],"textdomain":"zaone-business-calendar","attributes":{"months":{"type":"number"},"showLegend":{"type":"boolean"},"showNav":{"type":"boolean"}},"supports":{"html":false,"align":["wide","full"]},"editorScript":"zabc-block-calendar"}},"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3795529,"resolution":"1","location":"assets","locale":"","width":1440,"height":549},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3795529,"resolution":"2","location":"assets","locale":"","width":1440,"height":449},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3795529,"resolution":"3","location":"assets","locale":"","width":1440,"height":1300},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3795529,"resolution":"4","location":"assets","locale":"","width":1440,"height":900}},"screenshots":{"1":"The calendar on the front end: two months with closed days, a special opening, public holidays, the previous \/ next month buttons and the legend.","2":"The opening hours: today's hours with \"Open now\", days with the same hours shown together, and a note.","3":"The settings screen: the three \"getting started\" steps and the \"Closed days\" tab with its date lists.","4":"The Business Calendar block in the block editor, with help texts and the notice shown before closed days are chosen."}},"plugin_section":[],"plugin_tags":[12431,416,13422,15082,1117],"plugin_category":[40,55],"plugin_contributors":[271584],"plugin_business_model":[],"class_list":["post-401844","plugin","type-plugin","status-publish","hentry","plugin_tags-business-hours","plugin_tags-calendar","plugin_tags-holidays","plugin_tags-opening-hours","plugin_tags-schema","plugin_category-calendar-and-events","plugin_category-seo-and-marketing","plugin_contributors-yuyatanaka","plugin_committers-yuyatanaka"],"banners":{"banner":"https:\/\/ps.w.org\/zaone-business-calendar\/assets\/banner-772x250.png?rev=3795529","banner_2x":"https:\/\/ps.w.org\/zaone-business-calendar\/assets\/banner-1544x500.png?rev=3795529","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/zaone-business-calendar\/assets\/icon-128x128.png?rev=3795529","icon_2x":"https:\/\/ps.w.org\/zaone-business-calendar\/assets\/icon-256x256.png?rev=3795529","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/zaone-business-calendar\/assets\/screenshot-1.png?rev=3795529","caption":"The calendar on the front end: two months with closed days, a special opening, public holidays, the previous \/ next month buttons and the legend."},{"src":"https:\/\/ps.w.org\/zaone-business-calendar\/assets\/screenshot-2.png?rev=3795529","caption":"The opening hours: today's hours with \"Open now\", days with the same hours shown together, and a note."},{"src":"https:\/\/ps.w.org\/zaone-business-calendar\/assets\/screenshot-3.png?rev=3795529","caption":"The settings screen: the three \"getting started\" steps and the \"Closed days\" tab with its date lists."},{"src":"https:\/\/ps.w.org\/zaone-business-calendar\/assets\/screenshot-4.png?rev=3795529","caption":"The Business Calendar block in the block editor, with help texts and the notice shown before closed days are chosen."}],"raw_content":"<!--section=description-->\n<p><strong>Tell visitors when you are open \u2014 from one settings screen.<\/strong> ZA-ONE Business Calendar shows a monthly calendar of your closed days and an opening hours table on any page, with a block or a shortcode. The same settings can also output <strong>LocalBusiness structured data (JSON-LD)<\/strong> for search engines.<\/p>\n\n<p>It is made for small shops, salons, restaurants and clinics that have regular closed days (\"closed every Wednesday and on the 2nd and 4th Tuesday\"), yearly breaks and the occasional change.<\/p>\n\n<h4>What you can set<\/h4>\n\n<ul>\n<li><strong>Regular closed days<\/strong> \u2014 every week (e.g. every Wednesday) and the n-th weekday of each month (e.g. the 2nd and 4th Tuesday; a 5th weekday matches only in months that have one).<\/li>\n<li><strong>Public holidays (Japan)<\/strong> \u2014 show them on the calendar, and choose whether you are closed, open, or follow the usual weekday rule on holidays. Japanese public holidays are <strong>calculated locally<\/strong> (fixed dates, Happy Monday holidays, equinox days, substitute holidays and citizens' holidays, 2000\u20132099). No external calendar is downloaded.<\/li>\n<li><strong>Closed every year<\/strong> \u2014 periods such as <code>12-29 01-03 Year-end holidays<\/code> (a period can cross the new year).<\/li>\n<li><strong>Temporarily closed<\/strong> and <strong>open on a usual closed day<\/strong> \u2014 single dates with an optional label.<\/li>\n<li><strong>Opening hours<\/strong> \u2014 up to two time slots per weekday (for a lunch break), with a \"copy Monday to every day\" button and a note line.<\/li>\n<li><strong>Display<\/strong> \u2014 number of months (1\u20133), first day of the week, legend on\/off, label texts and three colors.<\/li>\n<li><strong>Easy to set up<\/strong> \u2014 a \"getting started\" card with three steps, dates picked from a calendar (or typed as text, also as <code>2026\/11\/20<\/code> or <code>12\/29~1\/3<\/code>), checks while you type, and a preview that updates before you save.<\/li>\n<\/ul>\n\n<p>When rules overlap, the order is: open on a usual closed day \u2192 temporarily closed \u2192 closed every year \u2192 public holiday \u2192 regular closed days \u2192 open.<\/p>\n\n<h4>Show it on your site<\/h4>\n\n<ul>\n<li>Blocks: <strong>Business Calendar<\/strong> (months, legend, previous \/ next buttons) and <strong>Business Hours<\/strong> (note, combined days, today's hours), in the Widgets category. The editor shows the real output.<\/li>\n<li>Shortcodes: <code>[zaone_calendar months=\"2\" start=\"\" legend=\"1\" nav=\"1\"]<\/code> (<code>start<\/code> is <code>YYYY-MM<\/code>; empty = this month) and <code>[zaone_hours note=\"1\" merge=\"1\" status=\"1\"]<\/code>.<\/li>\n<li><strong>Move to the previous and next months<\/strong> \u2014 visitors can look up to 12 months ahead, without reloading the page.<\/li>\n<li><strong>Today's hours and \"Open now\"<\/strong> \u2014 a line such as \"Today, Nov 9 (Mon): 10:00\u201319:00\" above the opening hours, with an \"Open now\" \/ \"Closed now\" badge.<\/li>\n<li><strong>Days with the same hours shown together<\/strong> \u2014 for example \"Mon\u2013Fri 10:00\u201319:00\" in one row (can be turned off). Closed n-th weekdays are noted, e.g. \"(closed on the 2nd, 4th Tuesday)\".<\/li>\n<li>The calendar uses <code>&lt;caption&gt;<\/code>, column headers and screen-reader text for every closed or special day, and closed days have a line along the bottom, so the information does not depend on color alone. The legend shows only the kinds of days in the months shown.<\/li>\n<li>Works on dark themes, and prints two months side by side.<\/li>\n<li>\"Today\" is marked on the server and re-marked with the visitor's date by a tiny script, so it stays right on cached pages.<\/li>\n<li>One small CSS file that inherits your theme's fonts. Two or more months sit side by side and stack on phones.<\/li>\n<\/ul>\n\n<h4>Structured data (optional, off by default)<\/h4>\n\n<p>When enabled, a <code>LocalBusiness<\/code> (or a more specific type such as <code>HairSalon<\/code>, <code>Restaurant<\/code> or <code>Dentist<\/code>) JSON-LD block is added to the home page or to every page, with the name, URL, telephone, image, address, <code>openingHoursSpecification<\/code> (weekdays with the same hours are grouped) and <code>specialOpeningHoursSpecification<\/code> for closures and special openings in the next 90 days.<\/p>\n\n<h4>Built by<\/h4>\n\n<p>ZA-ONE builds websites for small businesses in Japan. If you would like a website for your shop, see <a href=\"https:\/\/zone-web.jp\/en\/\">zone-web.jp<\/a>.<\/p>\n\n<h4>Planned for later versions<\/h4>\n\n<p>Several locations, hours past midnight, shorter hours on specific days, events and bookings, public holidays of other countries, calendar sync, PDF output.<\/p>\n\n<h3>External services<\/h3>\n\n<p>This plugin does not connect to any external service. Japanese public holidays are calculated locally.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install ZA-ONE Business Calendar from <strong>Plugins \u2192 Add New<\/strong>, or upload the ZIP.<\/li>\n<li>Activate the plugin.<\/li>\n<li>Go to <strong>ZA-ONE Business Calendar<\/strong> in the admin menu and fill in the \"Closed days\" and \"Opening hours\" tabs. Save.<\/li>\n<li>Check the preview below the form (it updates before you save).<\/li>\n<li>Add the \"Business Calendar\" and \"Business Hours\" blocks (or the shortcodes) to a page.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"is%20this%20an%20event%20calendar%3F\"><h3>Is this an event calendar?<\/h3><\/dt>\n<dd><p>No. It is made to show your closed days and opening hours. There are no events, bookings or posts.<\/p><\/dd>\n<dt id=\"does%20it%20show%20public%20holidays%20of%20other%20countries%3F\"><h3>Does it show public holidays of other countries?<\/h3><\/dt>\n<dd><p>Version 1 includes Japanese public holidays only. You can add or remove days with the <code>zabc_holidays<\/code> filter (<code>$holidays<\/code>, <code>$year<\/code>), for example <code>$holidays['2026-12-24'] = 'Christmas Eve';<\/code>. \"Public holidays\" must be set to \"Japan\"; with \"Do not show public holidays\" the filter does not run.<\/p><\/dd>\n<dt id=\"is%20the%20structured%20data%20required%3F\"><h3>Is the structured data required?<\/h3><\/dt>\n<dd><p>No. It is optional and off by default. Turn it on in the \"Business info\" tab.<\/p><\/dd>\n<dt id=\"can%20i%20open%20late%20into%20the%20night%20%28past%20midnight%29%3F\"><h3>Can I open late into the night (past midnight)?<\/h3><\/dt>\n<dd><p>Not in version 1. A time slot must close after it opens on the same day.<\/p><\/dd>\n<dt id=\"what%20about%20february%2029%20in%20%22closed%20every%20year%22%3F\"><h3>What about February 29 in \"Closed every year\"?<\/h3><\/dt>\n<dd><p>February 29 on its own is closed only in leap years. Include it in a period (for example 02-28 03-01) to be closed every year.<\/p><\/dd>\n<dt id=\"will%20it%20work%20with%20page%20caching%3F\"><h3>Will it work with page caching?<\/h3><\/dt>\n<dd><p>Yes. The calendar is plain HTML, and the \"today\" mark is set again in the browser.<\/p><\/dd>\n<dt id=\"is%20%22open%20now%22%20right%20on%20cached%20pages%3F\"><h3>Is \"Open now\" right on cached pages?<\/h3><\/dt>\n<dd><p>Yes. It is worked out again in the visitor's browser, with your site's time zone.<\/p><\/dd>\n<dt id=\"does%20the%20plugin%20send%20anything%20to%20the%20developer%3F\"><h3>Does the plugin send anything to the developer?<\/h3><\/dt>\n<dd><p>No. There is no telemetry and no phone-home of any kind.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release: closed days (weekly, n-th weekday, Japanese public holidays, yearly periods, single dates), special openings, opening hours with two slots, calendar and hours blocks and shortcodes, previous \/ next months, today's hours and \"Open now\", a live preview on the settings screen, and optional LocalBusiness structured data.<\/li>\n<\/ul>","raw_excerpt":"Show your shop's closed days, special openings and opening hours with a block or shortcode, plus LocalBusiness structured data.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/401844","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=401844"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/yuyatanaka"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=401844"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=401844"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=401844"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=401844"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=401844"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=401844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}