{"id":29292854,"url":"https://github.com/tarosky/taro-open-hour","last_synced_at":"2026-03-06T15:03:28.300Z","repository":{"id":80335239,"uuid":"92594328","full_name":"tarosky/taro-open-hour","owner":"tarosky","description":"A WordPress plugin to display open hour.","archived":false,"fork":false,"pushed_at":"2025-09-03T02:53:46.000Z","size":146,"stargazers_count":1,"open_issues_count":14,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-09-03T04:25:36.907Z","etag":null,"topics":["business","wordpress","wordpress-plugin","wordpress-plugin-published"],"latest_commit_sha":null,"homepage":"https://wordpress.org/plugins/taro-open-hour/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tarosky.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-05-27T11:23:52.000Z","updated_at":"2025-05-13T02:54:51.000Z","dependencies_parsed_at":"2025-07-06T10:22:09.691Z","dependency_job_id":null,"html_url":"https://github.com/tarosky/taro-open-hour","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/tarosky/taro-open-hour","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarosky%2Ftaro-open-hour","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarosky%2Ftaro-open-hour/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarosky%2Ftaro-open-hour/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarosky%2Ftaro-open-hour/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tarosky","download_url":"https://codeload.github.com/tarosky/taro-open-hour/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarosky%2Ftaro-open-hour/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30182686,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T14:42:24.748Z","status":"ssl_error","status_checked_at":"2026-03-06T14:42:14.925Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["business","wordpress","wordpress-plugin","wordpress-plugin-published"],"created_at":"2025-07-06T10:11:46.162Z","updated_at":"2026-03-06T15:03:28.283Z","avatar_url":"https://github.com/tarosky.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Business Places\n==================================\n\nContributors: tarosky,Takahashi_Fumiki, tswallie  \nTags: business,place,open-hour,widget  \nTested up to: 6.8  \nStable tag: nightly  \nLicense: GPLv3 or later  \nLicense URI: http://www.gnu.org/licenses/gpl-3.0.txt\n\nA WordPress plugin for business place and open hour.\n\n## Description\n\nThis plugin add places and open hours to your WordPress site.\nFormerly known as \"**Taro Open Hour**\".\n\n* Google Map supprted.\n* JSON-LD supported.\n\n### Case Study\n\n#### Case 1\n\nIf your site is for your book store, add site location as your business place.\n\nThese location and open hour are available via widget.\n\n#### Case 2\n\nIf your site is bouldering shop database, choose post type to be treated as location.\n\nEach single page have place and open hour information.\n\n### How to display\n\n#### Widgets\n\nYou can use widget for open our and business location.\n\n#### Shortcodes\n\nYou can use shortcode `[open-hour]` for time table. If you are a theme developer,\njust use `tsoh_the_timetable()` function.\n\nFor business places, you can use `[business-place post_id='10']`.\nThe attribute `post_id` can be omitted and it's default value is current post.\n\n### Acknowledgements\n\n* Banner images is a deliverative of the work of the Geospatial Information Authority of Japan.\n\n## Installation\n\n1. Upload the plugin files to the `/wp-content/plugins/taro-open-hour` directory, or install the plugin through the WordPress plugins screen directly.\n1. Activate the plugin through the 'Plugins' screen in WordPress.\n1. Go to `Setting \u003e Business Places` and set it up.\n\n## Customization\n\nHere is a list of customizations.\n\n### Change Style\n\nIf you have `tsoh-style.css` in your theme folder, it will be used.\nChild theme supported.\n\nWe also have filter hook `tsoh_stylesheet`. Below is the example to change css url.\n\n```\n\u003c?php\n// Change css path.\nadd_filter('tsoh_stylesheet', function($style){\n    $style = [\n        'url'     =\u003e get_stylesheet_directory_uri() . '/assets/css/table.css',\n        'version' =\u003e wp_get_theme()-\u003eget('Version'),\n    ];\n    return $style;\n});\n```\n\nIf you returns `false` on filter hook, no style will be loaded.\n\n### Change table markup\n\nTable's template is located at `taro-open-hour/templates/time-table.php`.\nCopy it to `your-theme/template-part/tsoh/time-table.php ` and change markups.\n\nOf course, you can change template path with filter hook.\n\n```\n// e.g. If post type is event, change template from default.\nadd_filter( 'tsoh_timetable_template_path', function( $path, $post ) {\n    if ( 'event' == $post-\u003epost_type ) {\n        $path = get_template_directory() . '/templates/yours/event.php';\n    }\n    return $path;\n}, 10, 2 );\n```\n\n## Frequently Asked Questions\n\n### How can I contribute to?\n\nPlease make issue at [Github](https://github.com/tarosky/taro-open-hour/issues).\n\n## Screenshots\n\n1. Time table displayed on single page with short code.\n2. You can enter time shift with metabox.\n3. You can choose post types, default time shift and default open day. Good for business with several branches.\n4. Widgets available. Open hour widget and location widget.\n\n## Changelog\n\n### 2.2.1\n\n* Map iframe is now `loading=\"lazy\"`\n* Fix admin link.\n\n### 2.2.0\n\n* Add widgets for place and time table.\n* Drop support for WordPress 4.8 and below.\n\n### 2.1.0\n\n* Add shortcode `business-place`.\n* Add filter and action hooks.\n\n### 2.0.1\n\n* Bugfix: version number changed.\n\n### 2.0.0\n\n* Change plugin name.\n* Add location feature.\n* Add widgets.\n\n### 1.0.0\n\n* Initial release. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarosky%2Ftaro-open-hour","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftarosky%2Ftaro-open-hour","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarosky%2Ftaro-open-hour/lists"}