Writing On GitHub
A WordPress plugin to allow you writing on GitHub (or Jekyll site). Some code for this plugin comes from WordPress GitHub Sync , thanks. Ever wish you could collaboratively author content for your WordPress site (or expose change history publicly and accept pull requests from your readers)? Well, no
A WordPress plugin to allow you writing on GitHub (or Jekyll site).
Some code for this plugin comes from WordPress GitHub Sync , thanks.
Ever wish you could collaboratively author content for your WordPress site (or expose change history publicly and accept pull requests from your readers)?
Well, now you can! Introducing Writing On GitHub !
Writing On GitHub does three things:
- 01Allows content publishers to version their content in GitHub
- 02Allows readers to submit proposed improvements to WordPress-served content via GitHub’s Pull Request model
Writing On GitHub might be able to do some other cool things:
- Allow teams to collaboratively write and edit posts using GitHub (e.g., pull requests, issues, comments)
- Allow you to sync the content of two different WordPress installations via GitHub
- Allow you to stage and preview content before “deploying” to your production server
How it works
The sync action is based on two hooks:
- 03A per-post sync fired in response to WordPress’s save_post hook which pushes content to GitHub
- 04A sync of all changed files triggered by GitHub’s push webhook (outbound API call)
Using the WordPress Dashboard
- 01Navigate to the ‘Add New’ in the plugins dashboard
- 02Search for ‘Writing On GitHub’
- 03Click ‘Install Now’
- 04Activate the plugin on the Plugin dashboard