Development
Hierarchical Permalinks based on a relationship between 2 custom Post Types
I recently was working on a project where I had two custom Post Types with a parent/child relationship between them. Here’s an example: Custom Post Type “Brand” where values such as “Apple” or “Samsung” could be saved. Custom Post Type “Product” where values such as “iPhone or “Galaxy” could be saved. I used the plugin Types Toolset to […]
WordPress Shortcode for embedding multiple YouTube videos using the JavaScript API and including custom Google Analytics Events
Well, that title is a mouthful, let me explain. Recently I had the need to create a shortcode to embed YouTube videos, no problem right? Well, lets introduce a few more variables. First we want to fire custom Google Analytics events on video play, pause and complete which is easy enough to work into the […]
IP address geolocation and distance calculation
During a discovery conversation with a client, an interesting question was brought up. The client hosted seminars all over the globe which they listed on a content page within their website. During feature brainstorming someone said “Wouldn’t it be cool if we could show them the closest seminar to their location?” The client quickly began […]
Mobile Image Upload Orientation
Working on a responsive website which had image upload functionality I came across some issues with mobile image uploads. When images were uploaded to the website from a mobile device’s camera roll they would often be incorrectly oriented, turned sideways, upside down, etc. After a little research I found out this is due to EXIF […]
The Wait For My Tessel
I’ve supported the launch of this amazing company and their really cool hardware by pre-purchasing the Tessel Master Pack. Their initial goal to launch was $50,000 in pre-orders (which they hit in only 3 hours) and now they are well over $100,000. I am really looking forward to getting my hands on this thing and […]
Funny Placeholder Image Tools
Dave Cowart has made a great suite of funny placeholder image tools for development. They work off of URL requests which return an image based on variables in the URL string. While this has been done before, his group of tools provides humor while developing which I think is great. There are three different websites […]
Devyz (working title)
So I have been working on a self-motivated project that I think I’m going to call Devyz for the last week or so and have finally had the time to get it to a version 1.0, which is about the minimum I feel comfortable putting it on the internet for other people to pick at […]
Decoupling your HTML, CSS, and JavaScript
I just read this pretty good article on a good way of thinking about how to separate structure(HTML), style(CSS), and behavior (JavaScript) layers of your web projects. This is especially helpful on larger projects where multiple developers are modifying different pieces of code. It is a good framework to think about when trying to keep […]