node.js serve a wordpress blog

前端 未结 6 1094
Happy的楠姐
Happy的楠姐 2020-12-17 19:40

I am using node.js on my rackspace server to serve my various applications. (Using node-http-proxy).

However, i would like to start a wordpress blog. The only way to

6条回答
  •  攒了一身酷
    2020-12-17 19:51

    WordPress now has an "official" (to be precise: open source, under Automattic's github repo) way to do this: wpcom.js. From that github page:

    Official JavaScript library for the WordPress.com REST API. Compatible with Node.js and web browsers.

    The essence is to call the WordPress REST API from JS.

提交回复
热议问题