Shift8 for Google Business

Description

Shift8 for Google Business syncs your business info and hours from Google My Business to WordPress, storing data in a custom post type for easy display.

External services

This plugin connects to the Google Places API to retrieve business details based on Place IDs. This connection is required to display business information within the plugin.

It sends the Google API key and the requested Place ID each time the API is queried. No user-identifiable information is transmitted during this process.

This service is provided by Google:
Google API Terms of Service
Google Privacy PolicyShared Settings Area:
This plugin shares a common settings area with other Shift8 plugins. To avoid conflicts, shared functions such as shift8_main_page are wrapped with function_exists checks.

Want to see the plugin in action?

You can check out our demos or contact us at Shift8web for more information and live examples.

Features

  • Polls Google My Business daily (or on-demand via WP CLI) to fetch location data
  • Uses a custom post type to store and display business information
  • Settings page to define your Google Places API key
  • Easily manage multiple Place IDs in a single admin interface
  • Automates updates so your WordPress site always has the most recent business hours and info

Screenshots

  • Admin Settings Page – Configure your Google API key and add one or more Place IDs in the Shift8 Business settings.

Installation

  1. Upload the plugin files to the /wp-content/plugins/shift8-google-business directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Navigate to Settings > Shift8 Business and enter your Google API key along with any Place IDs you want to track.

FAQ

What if I don’t see any updated hours or data?

Check that you have:
– A valid Google API key with Places API enabled.
– A correct Place ID.
– Cron events running properly in WordPress (some hosts may block WP Cron).

Can I trigger updates manually?

Yes, if you have WP-CLI installed, simply run:

`

wp shift8_store_hours_updater
`

This will immediately poll the Google API and update the data for all configured Place IDs.

Does it store all data or just business hours?

Currently, the plugin dumps all the fetched Place data into the post content for simplicity. You can customize how to parse and display this data in your theme or use additional custom fields.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Shift8 for Google Business” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0

  • Initial plugin release

1.1

  • Added WP CLI compatibility

1.2

  • Minor fixes for error logging
  • Improved admin interface

2.0

  • Introduced custom post type for storing Google Places data
  • Consolidated plugin settings and improved UI

2.0.1

  • Updated readme and minor code cleanups
  • Tested for WordPress 6.5 compatibility

2.0.2

  • Switched to wp_remote_get

2.0.3

  • Trademark name adjustment

2.0.4

  • Updated requires at to stable major version
  • Updated readme
  • Adjusted internationalization variables
  • Sanitize user input

2.0.5

  • Escape output adjustments
  • Function name adjustments

2.0.6

  • Updated readme, push process

2.0.7

  • Updated wordpress support

2.0.8

  • Updated readme

2.0.9

  • Added en_CA and en_AU translations

2.0.10

  • Compatibility update, asset update