Skip to content
/ ghcp Public

Create and update custom posts in WordPress from GitHub markdown files

License

Notifications You must be signed in to change notification settings

alpipego/ghcp

Repository files navigation

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

About

Create and update custom posts in WordPress from GitHub markdown files

Resources

License

Stars

Watchers

Forks

Packages

No packages published