最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

markdown - GitHub .md files to WordPress pages

programmeradmin1浏览0评论

I saw some websites that manage their information/documentation in a GitHub repository. This allows everyone to create issues if something is wrong or outdated, propose changes by forking/request push etc.

Is it possible to link WordPress to a GitHub repository?

Expected behavior: every .md-file in the repository becomes a page (or post) in WordPress (ideally keeping the markdown layout). When a change is made in the GitHub repository, the changes should immediately reflect in WordPress.

I saw some websites that manage their information/documentation in a GitHub repository. This allows everyone to create issues if something is wrong or outdated, propose changes by forking/request push etc.

Is it possible to link WordPress to a GitHub repository?

Expected behavior: every .md-file in the repository becomes a page (or post) in WordPress (ideally keeping the markdown layout). When a change is made in the GitHub repository, the changes should immediately reflect in WordPress.

Share Improve this question asked Mar 22, 2018 at 15:09 MaxMax 1515 bronze badges 1
  • 2 The answer to "is it possible" is yes, I'm not sure what depth of information would otherwise be the correct answer to your question, as it's currently quite broad. To get you started, if you search for Github repo API, you'll find lots of info, and I'm sure there are questions here involving the creation of content from an API. – Milo Commented Mar 22, 2018 at 16:09
Add a comment  | 

1 Answer 1

Reset to default 2

I have found a plugin called WordPress GitHub Sync. It should be able to synchronize both ways.

It hasn't been updated in 5 months and it lacks a lot of documentation but I was able to import a file from my GitHub repository into WordPress.

I still have to figure out how it exactly works, but it's what I have been looking for.

发布评论

评论列表(0)

  1. 暂无评论