I’ve been building WordPress themes for quite some time now. And with the advent of front-end frameworks and WP’s REST API, I thought it would be a good combination to build one that uses both. The benefits would be that the site’s user experience would be lightning fast. There wouldn’t be server page loads (except […]
Blog
Easy Form Validation with VueJS + Boostrap
I kept bumping into a wall yesterday trying to figure out how to apply the Bootstrap class “is-invalid” into a form field only on blur and if the value is invalid. The “is-invalid” class applies the styles to the field as well shows the “invalid-feedback” div directly underneath it – for inline error messaging. I’m […]
Goals for 2018
Setting goals for the year is something I do every year. The problem is, I keep it note of it all over the place. It’s in my calendar, Evernote, a Word doc, a Google doc! For 2018, I decided to publish it here. I’m hoping to not only that I meet all of them, but […]
Create Custom HTML Forms for SharePoint with this jQuery Plugin
There is a big need to build fully customizable forms in SharePoint. I have tried several form builders, but wasn’t really happy with the restrictions that it comes with. So I wrote this plugin that will create HTML forms in SharePoint. It requires very little code (it’s all HTML). But the most important thing is […]
Convert WordPress default Gallery into a simple Carousel without a plugin
I had the fun task to turn the default WordPress gallery into a carousel. Our users didn’t really like the grid of images, that WordPress ships with. Instead, our designers came up with something like below: It’s basically a carousel, with the caption in a grey area in the side, along with control buttons in […]
Get all posts from WordPress REST API
As you may know, WP REST API has a limit of 100 records per call. This is what it says in the API Docs:Now this may be enough for some people, but what if you need to get ALL of them. Here are two solutions that I came up with. 1. Using PHP We’re using […]