Hierarchical Permalinks based on a relationship between 2 custom Post Types

Posted by on Apr 7, 2016 in Development, PHP | No Comments

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

Posted by on Mar 31, 2016 in Development, Javascript, PHP | No Comments

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

Posted by on Apr 16, 2014 in Development | No Comments

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

Posted by on Mar 4, 2014 in Development | No Comments

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

Posted by on Sep 17, 2013 in Development, Hardware | No Comments

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

Posted by on Sep 16, 2013 in Comedy, Development | No Comments

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 […]

One of the most undescriptive errors I have ever seen

Posted by on Sep 11, 2013 in Development | No Comments

While importing a large MySQL database through PHPMyAdmin on a MAMP local server during the process of migrating a website I received one of the least descriptive errors I have ever seen. The error is actually kind of funny to me, but it tells me absolutely nothing about what caused the error. #2006 – MySQL […]

Devyz (working title)

Posted by on Sep 3, 2013 in Development | One Comment

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

Posted by on Aug 19, 2013 in Development | No Comments

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 […]