About this plugin
CB Opening Hours is a powerful plugin that lets you manage and display the opening and closing hours of multiple shops or store locations. , 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.