Koehn Design Blog

September 24, 2018
Event Archive Custom Post Type Using Metabox/Oxygen

This is another example of a custom loop to display upcoming events. Using Metabox made handling the input of the custom fields very easy with the date picker element. A few interesting things I ran into on this project: The date comparison that filters post output to only show upcoming and not past events didn't […]

Read More
September 23, 2018
Custom Loop Example With WordPress/Oxygen/Metabox

This is a short example of a custom loop in WordPress. The purpose of this code was to generate a filterable list of QuietCool whole house fan models for an electrician's website. Setting them up as a custom post type also enables a non-developer to easily add or edit models, details, and pricing from wp-admin. I […]

Read More
September 19, 2018
Radius Service Areas Using Google Maps API

Recently we were needing to create a multi-zoned service area for a clients website.  Zone1 would cover from 0-25 mile radius and Zone2 would cover up to 50 mile radius. After a little bit of digging around in the Google Maps API, this was accomplished fairly easily with the maps.circle class. All you need to […]

Read More