Shift8 for Google Business

설명

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

스크린샷

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

설치

  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.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“Shift8 for Google Business”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Shift8 for Google Business”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

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