跳到内容

CB Opening Hours

v1.0.0

Codebeans Private Limited · 2025年6月24日 上架

Manage business hours using Google Places API with support for custom and special hours.

正在使用
10 以下
评分
暂无
累计下载
612
最近更新
2025年6月24日
需要 WordPress 5.0+已测试到 6.8.13PHP 7.2+

CB Opening Hours is a powerful plugin that lets you manage and display the opening and closing hours of multiple shops or store locations. It fetches weekly shop hours using Google Places API via unique Place IDs, supports special hours, and allows custom overrides with specific reasons (e.g., early close, holidays).

Add unlimited shops and display hours using simple shortcodes. The plugin supports both automatic (cron-based) and manual data sync.

External Services

This plugin uses the Google Places API to retrieve place details (like opening hours) based on the provided Place ID.

Data sent:
– Place ID (admin-defined)
– API Key (admin-supplied)
– Language (as selected in settings)

When data is sent:
– During scheduled updates (cron)
– When manually refreshing API data from admin

Service Used:
– Google Maps Terms of Service
– Google Privacy Policy

What data is sent and when:

  • The plugin sends the Place ID to the Google Places API to fetch store hours.
  • This occurs during plugin initialization or when an admin updates the Place ID in the settings.
  • No personal or user-identifiable data is collected, stored, or transmitted.

Source Code

This plugin includes readable (non-minified) JavaScript and CSS files inside the /assets/js/ and /assets/css/ directories.

Installation from within WordPress

  1. Go to Plugins > Add New in the WordPress admin.
  2. Click Upload Plugin.
  3. Select the cb-opening-hours.zip file from your computer.
  4. Click Install Now and then Activate.

Manual installation

  1. Upload the entire cb-opening-hours folder to the /wp-content/plugins/ directory.
  2. Go to Plugins > Installed Plugins in WordPress admin.
  3. Find CB Opening Hours and click Activate.

After Activation

  1. Go to Open Hour Settings > Enter API Key (or the plugin’s admin menu).
  2. Enter your Google Places API Key.
  3. Add shops using their Place IDs.
  4. Use the shortcode [shop_hours] to display shop hours on the frontend.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums