I noticed recently that WordPress added a WordPress REST API.  This is sweet!  So I wrote a quick bit of code in order to pull recent posts or products to any site.

[gist https://gist.github.com/gwhitcher/ed858927d788d6d524f7be9d0107c6fc /]


Leave a Reply

Your email address will not be published. Required fields are marked *