Originally published on the Sprint Works Blog

Image for post
Image for post

It is always a good thing to follow a certain coding style when writing code. WordPress is unfortunately ripe for spaghetti coding, aka doing whatever you want. It doesn’t follow any strict object oriented approach and doesn’t use an MVC pattern. But you can still write good code if you stick to certain rules and conventions.

Why you need to apply WordPress coding standards to your codebase

  • Avoid your codebase becoming a big mess. If there are no standards applied to your code, then it can quickly become a big mess. …


Originally published on the Sprint Works Blog

Image for post
Image for post

Sometimes you work with a client that just have some simple content that needs to be updated; like a news feed/some list/table-data, maybe already created in a Google Spreadsheet. What if you could use that data on a Jekyll website? Well, of course you can. Let’s do this.

The Google Drive API

First, head over to The IAM-admin in Google Developers API Console. The API Console lets you discover and use Google APIs, such as Google Drive, Maps and YouTube…

Create a new project

Image for post
Image for post


Originally published on the Sprint Works Blog

Image for post
Image for post

Adding search functionality to Jekyll (or whatever static site generator you are using) is not hard or complicated. In this walkthrough I will show you how to make an simple but fast and instant search for your website. I will be using just Vanilla JavaScript with some ES6.

I have been using the excellent lunr.js

About

Urban Sandén

Makes the web easy to use. Making @linknest, @jazztps, @browsersverige, @stay_tube…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store