Create and update custom posts in WordPress from GitHub markdown files
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
bin
languages
src
tests
.distignore
.editorconfig
.gitignore
.travis.yml
Gruntfile.js
LICENSE
README.md
VERSION
composer.json
ghcp.php
package-lock.json
package.json
phpcs.xml.dist
phpunit.xml.dist
readme.txt

README.md

Github Readme Custom Post

Contributors: alpipego
Tags: github, markdown
Requires at least: 4.5
Tested up to: 4.9
Stable tag: 0.1.1
License: MIT
License URI: https://opensource.org/licenses/MIT
Requires PHP: 7.1

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