How do I update the URL on button click?

Learn 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