Run Nuxt.js on DigitalOcean TLDR;

You’ve built something amazing locally that’s in Universal mode.  Sawwweeet, but what now? How do you host it? Why is it when you search for Node.js hosting it’s super expensive? Well, screw that! We are going to use DigitalOcean!  Click that bad boy and get your little test for free (the credits last 60 days  … Continued

Start Extending the WordPress API

A quick run down about extending the API (see notes inside, there aren’t many right now, I need to add more, that’s my bad). This covers several scenarios and items that you may encounter yourself. Next Post Previous Post Getting the Featured Image Title Link ID Get the posts first image Get Next/Previous posts first … Continued

WordPress REST API, Get Random Post endpoint

In the following snippet, you can register a new endpoint in the API to access random posts. This can be configuring to work with any post-type.  You’ll just updating the get_posts array accordingly.  Enjoy! You’ll want to put this inside your functions.php inside your Theme, or create a plugin.  If you’re extending the WordPress REST API … Continued

How to get the Featured Image URL in WP-API V2

Formerly as seen below you could use a function to adjust the end point so it would contain a new field for the ‘featured-image‘ url.  The Rest-API v2 has now been updated so you can add ‘?_embed‘ to the parameters in your query and you’ll get exactly what you need. or You can use the following … Continued