manifest / integrations / ghcp
Github Markdown to Custom Post
Create and update custom posts in WordPress from GitHub markdown files
★ 0stars
77composer installs
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/alpipego/ghcp/archive/refs/heads/master.zipOn Packagist as alpipego/ghcp:
composer require alpipego/ghcpNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Github Readme Custom Post #
Create and update custom posts in WordPress from GitHub markdown files
Description ##
Connect a GitHub repository to your WordPress site. Whenever a change occurs in your markdown files, get the contents of the file and either update or create a new custom post in WordPress with the GitHub rendered markdown file.
Installation ##
Install via composer.
Connect GitHub App to repository, set up webhook etc. etc.
Frequently Asked Questions ##
Screenshots ##
Changelog ##
Todos ##
Handle github API errors (just being discarded atm)
Handle deletion of file in github
Handle renaming of file in github
Down the road:
Allow multiple repos to connect