💡
Originally written in 2016, when WordPress APIs were gaining traction for headless CMS setups. Preserved as is, with updated links where needed. A 2025 follow-up is on the way!
WordPress is convenient, as much as I hate to admit it, it is. I’m not using WordPress as my primary website because it is loaded with way more stuff then you’d probably ever need to use. To be fair, it needs to cater to as many use cases as possible (hence a CMS).
However, if all you need is to write a bunch of articles and you intend to code up your own website, then WordPress.com’s API might just be your answer…
I write these articles on WordPress.com and use GraphQL to query the endpoints. I wire up the everything using react-apollo
, add some styles and, well here we are. (You are reading this on my website aren’t you?)
I wish I found time to clean every thing up and publish little packages for you guys to use 🙁
💡
Originally written in 2016, when WordPress APIs were gaining traction for headless CMS setups. Preserved as is, with updated links where needed. A 2025 follow-up is on the way!
Related Posts.
Yes, you can Blog from your Localhost WordPress on iPhone.
Access your local WordPress site from your iPhone using ZeroTier or Tailscale.… Read More
Modern WordPress MVC Plugin (2024)
Revisiting a 2010 MVC router for WordPress plugins, now updated for 2024… Read More
How to SSR with `apollostack` and `meteor-react-router-ssr`
Learn how to set up SSR with Apollo and Meteor-React-Router-SSR, handling initial… Read More