Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/roguerazor/soro-gbp-auto-post/archive/refs/heads/main.zipUpdates itself. It ships its own updater, so new versions appear under Dashboard → Updates.
Automatically cross-posts articles published on your WordPress site (e.g. by Soro) to your Google Business Profile as "What's New" posts, so your business stays active on Google Maps and Search.
Features
- Automatic cross-posting — when an article is published (including automatically by Soro), a matching "What's New" post is created on your Google Business Profile with the title, a short summary, and a "Learn more" button linking to the article.
- Language filter — choose which language(s) may be posted. Articles in other languages are skipped. Uses Polylang / WPML assignments when available, otherwise automatic language detection.
- Featured image reuse — the article's featured image is used on the Google post. Images are automatically resized/converted to meet Google's requirements (JPEG/PNG, min 400×300, max 5 MB). Optional fallback image for articles without one.
- Category filter — optionally limit cross-posting to selected categories (e.g. only Soro's category).
- Multi-location support — post to one or all of your Business Profile locations.
- Posting log — see exactly what was posted, skipped (and why), or failed.
- Manual trigger — a "Post to Google Business" row action on the posts list for immediate re-posting.
Requirements
- WordPress 5.0+ with PHP 7.0+
- The GD image extension (standard in most installs) for image conversion
- A Google Cloud Console project with the Business Profile API enabled (free)
Installation
- Copy the
soro-gbp-auto-postfolder intowp-content/plugins/. - Activate Soro to Google Business Profile Auto Post in the Plugins screen.
- Open Settings → Soro → Google Business.
Google Cloud Console setup (one time, ~5 minutes)
- Go to Google Cloud Console and create a project (or use an existing one).
- In the navigation menu, go to APIs & Services → Library, search for "Business Profile API" and click Enable.
- Go to APIs & Services → OAuth consent screen and configure it:
- User type: External, then add your own Google account email as a Test user (required while the app is in testing mode).
- Go to APIs & Services → Credentials → Create Credentials → OAuth client ID:
- Application type: Web application
- Under Authorized redirect URIs, add the redirect URI shown on the plugin settings page (it looks like
https://yoursite.com/wp-admin/admin.php?page=soro-gbp-auto-post&sgbp_oauth=callback— it must match exactly).
- Copy the Client ID and Client Secret into the plugin settings page and save.
Connecting your account
- After saving credentials, click Connect Google account.
- Log in with the Google account that manages your Business Profile and grant access.
- Back on the settings page, click Refresh locations, tick the locations you want to post to, and save.
- Choose your language filter (e.g. only English) and optionally restrict to Soro's category.
- You are done — every newly published article in the selected language will automatically appear on your Google Business Profile.
Notes
- Google Business Profile posts expire automatically (typically after ~6 months or 100 posts per location).
- If your site is behind maintenance mode or basic auth, Google cannot fetch post images; keep the uploads folder publicly accessible.
- The plugin only posts; it never edits or deletes your Google content.
Changelog
1.0.1
- Fixed the OAuth connect flow: the redirect URI is now properly URL-encoded, so Google returns to the plugin's callback (previously the connection silently failed).
- Switched account and location lookups to the current Business Profile APIs (My Business Account Management API and My Business Business Information API) after Google shut down the old v4 accounts/locations endpoints. Enable both APIs in Google Cloud Console.
- Fixed the local post media field (
mediaFormat: PHOTOinstead ofmediaType). - Location names are normalized to the full
accounts/{id}/locations/{id}path; the location list shows proper titles. - Real Google error messages are now shown on the settings page and logged; error notices display in red.
1.0.0
- Initial release.