Recent Posts

Wordpress

How do I change my VVV dev site to use a new TLD?

Loren Wright • January 8, 2018

With the release of Chrome 63 in December 2017 came extra grumbling from developers. The reason for this turmoil is because Chrome now forces https:// on any site that uses the .dev Top Level Domain (TLD)….

Read More

jQuery / Javascript

How do I develop a countdown timer?

Darren Hagen • January 2, 2018

So i’m getting married this year…I know, congratulations. Well, during the development of my wedding website I decided that I wanted to create a countdown timer that would capture the days, hours, minutes, and seconds until…

Read More

API

How can i stop my AJAX call so I can start a new one?

Sarah Berg • December 26, 2017

The use case for this was a search functionality that was triggered on keyup.  That said, the more a user typed the ajax call would fire again and again till the search had queued so many…

Read More

Uncategorized

Accessible Web Links: Why “Click Here” Has Got to Go

Laura Kressin • December 15, 2017

For the over 200 million people globally who have a vision impairment (source), the World Wide Web can be a difficult place to traverse.  While screen readers provide more access to those with disabilities, not all websites…

Read More

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

How do I Automate 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

How do I Nest Flexible Content 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