Discover, trust, install: FAIR 1.0 is here
CB Opening Hours
Version: 1.0.0
Description
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
- Go to Plugins > Add New in the WordPress admin.
- Click Upload Plugin.
- Select the
cb-opening-hours.zip
file from your computer. - Click Install Now and then Activate.
Manual installation
- Upload the entire cb-opening-hours folder to the /wp-content/plugins/ directory.
- Go to Plugins > Installed Plugins in WordPress admin.
- Find CB Opening Hours and click Activate.
After Activation
- Go to Open Hour Settings > Enter API Key (or the plugin’s admin menu).
- Enter your Google Places API Key.
- Add shops using their Place IDs.
- Use the shortcode
[shop_hours]
to display shop hours on the frontend.
Faq
Yes, a valid Google Places API key is required to fetch opening hours based on Place ID.
There is no limit. You can add as many shops as needed.
Yes, you can add custom/special hours and mention specific reasons (e.g., early close, maintenance).
You can enable automatic updates via cron or use a manual fetch button.
Reviews
Changelog
1.0.0
- Initial release.