SGP Updater
Keeps SGP-built WordPress themes updated from GitHub, using WordPress's own update flow
by Strategic Growth Partners · github.com/sgp-design/sgp-updater · website
★ 0stars
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/sgp-design/sgp-updater/releases/download/v1.0.1/sgp-updater-1.0.1.zipFrom the readme
SGP Updater
Keeps an SGP-built WordPress theme updated from its GitHub repository, using WordPress's own update flow. Updates appear under Dashboard → Updates and Appearance → Themes exactly like any other theme update — there is no separate interface to learn.
Built so SGP can deploy client sites from GitHub without uploading zip files by hand, and without a per-site or per-year licence.
How it works
The plugin reads a GitHub Theme URI header from the active theme's style.css:
It then watches the main branch of that repository. Whenever the Version: header there is higher than the installed version, WordPress offers an update.
So the release process is: bump Version: in style.css, commit, push. Nothing else.
The header name is deliberately the same one Git Updater uses, so a site can be moved between the two without editing the theme.
The plugin also keeps itself updated from SGP-Design/sgp-updater the same way.
Installation
1. Download this repository as a zip
2. Plugins → Add New → Upload Plugin, then activate
3. Settings → SGP Updates, and paste a GitHub access token
The token is only needed for private repositories. It needs read access to the theme repository and n
Read the full README on GitHub →