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

WordPress Ajax Request with Axios (Timber templating)

Previously when making a server-side Ajax request you would send a post request with something like this: //data contains your action and whatever other variables you are sending over $.post(ajaxurl, data,function(res){ var json_obj = JSON.parse(res); if(json_obj.message === “nomore”) { //out of posts, maybe fade out the load more button } else { // append the content … Continued

WordPress, Password Protected Data in Endpoints

I recently worked on a small Web Application using Vue on the front-end and WordPress as the backend.  The client had a static site, wanted a blog, as well as CPT for loading specific type projects (not viewable on the blog, but the static site).  Some of these projects were also password protected, and when loading … 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