Recent Posts

jQuery / Javascript

How Do I Prepopulate a Form Field Based On Previous Page Input?

Ashley Wright • December 13, 2017

In this scenario, say you have a newsletter signup form on your homepage with one single email field to fill out. On submit of this field you would like the user to be sent to a new…

Read More

SQL

Automating Website File Backups

Droo Hastings • December 5, 2017

Automating Website File Backups Admittedly, this is not the most exciting topic to some, but one of the greatest things about the ever-evolving tech landscape is how we continue to find ways to offload tasks that…

Read More

jQuery / Javascript

Can strings be compared fuzzily?

Mike Wang • November 20, 2017

It’s Thanksgiving week and you’re putting the finishing touches on your new e-commerce site, just in time for Black Friday. You’ve just gotten the product search functionality working, so you kick back in your chair and…

Read More

Drupal

How do I get a page’s current URL in Twig for Drupal 8?

Buttons Kavanagh •

Having access to a site’s URL in your templates can come in handy for many different use cases, but one of the more common scenarios might be for those of you building multi-sites. Let’s say you’re building a site…

Read More

jQuery / Javascript

How do I update the URL on button click?

Biz Cook • November 14, 2017

Do you have AJAX on a page and want to change the URL accordingly based on the new content? The following code will get rid of the last bit of the slug on your page and…

Read More

jQuery / Javascript

How do I place SVGs on a Google Map using Custom Overlays?

Loren Wright • October 31, 2017

The Google Map API is very robust and allows you to do almost any customizations that you need to do to a map. One of the features that Google has created is Custom Overlays. A custom…

Read More

API

How to tell which action and filter hooks are available in a particular version of WordPress

Laurel Johnson • October 30, 2017

If you ever need to know if a particular hook is available in the latest version of WordPress, Adam Brown has got you covered.  If you ever need to know if a hook is available in a…

Read More

jQuery / Javascript

How do I make numbers ‘roll up’ when counting?

Darren Hagen • October 23, 2017

During a project recently we were tasked with demonstrating a number counting up in the way of rolling. A good way to describe the action is how you would see an old gas pump price or…

Read More

Drupal

How do I set up a Drupal 8 Module to be an AJAX service?

Sarah Berg • October 9, 2017

File structures seem a lot different in Drupal 8, and I’m still getting the hang of them. This is an example of a simple module I made, so hopefully it can be a good starting point…

Read More

Wordpress

How Can I Query WordPress Posts and Sort by Their Relevance?

Ashley Wright • September 29, 2017

WP_Query allows us to query our WordPress posts and return results based on the taxonomy terms those posts are tagged with. It does this quite well, and can then sort the posts by date, alphabetically, menu order, etc….

Read More

Wordpress

Flexible Content Nested Inside Flexible Content

Laura Kressin • September 25, 2017

The challenge: could I build a module with nested flexible content fields in Advanced Custom Fields for a versatile image module?   There is no innovation and creativity without failure. Period. ~Brene Brown Luckily, nesting flexible…

Read More

CSS

Best Practices for Responsive HTML Emails, a Guide

Caleb Szydlo • September 18, 2017

So you’re thinking of coding a responsive email? Good for you, fortune favors the bold! Before you start though, let’s take a moment to investigate the do’s and don’t’s of responsive email. Take a look below to see…

Read More

Wordpress

How can I use the WP-CLI in my WordPress Workflow?

Loren Wright • September 12, 2017

If you have been in the WordPress community for any length of time, you surely have heard of the WP-CLI. If you have not heard of the WP-CLI, it is essentially a set of command line tools…

Read More

Uncategorized

Why doesn’t my javascript click event work on iOS/iPhone?

Buttons Kavanagh • September 11, 2017

The overwhelming majority of browsers out there support event delegation for the click event, however, iOS does not. But, there is a way around this lack of support. Event delegation will work if the target of…

Read More

jQuery / Javascript

Can I Make Google Maps Match the Color Scheme of My Site?

Brent Reno • September 8, 2017

It’s great having google maps embedded on a site, but sometimes the default color scheme just doesn’t look great with everything else going on. For the purpose of this, let’s assume the API key is already…

Read More