Some JavaScript Array APIs and when to use them.

JavaScript provides several array methods that help us manipulate and process data in arrays. These methods are .find(), .filter(), .some(), and .map(). Each of these methods serves a unique purpose and can be used in different scenarios to achieve specific goals. In this blog post, we will explore the difference between these methods and when … Continued

Creating Custom WordPress API Endpoints with Meta Filters

The WordPress REST API provides a simple and convenient way to access the data stored in a WordPress site. However, in some cases, you may need to create a custom endpoint that allows you to retrieve specific data based on specific criteria. In this blog post, we will walk you through the process of creating … Continued

Set ACF default values for existing posts.

I recently ran into an issue where I needed to add a true/false option to a page template. Setting this up was super easy, but the concern came up of what to do about the previous content? Of course, I did the usual Googling and came across this solution on stackoverflow.   Depending on how many … Continued

ACF Google Maps Radius / Proximity search with the REST API

Let’s discuss and show how using ACF Google Maps, and WP_Query we can search content by radius and/or proximity using both latitude and longitude set through ACF Google Maps. File set up: Lets create three seperate files ( these will be included inside your functions.php in order ) sort-acf-gmap-distance.php wp-query-geo.php sort-locations-api.php Let’s do a quick … Continued

Using HTTPS on localhost in Nuxt

So you’re here because you need your localhost to run on https for your Nuxt.js project.  That used to be tougher, but in the latest version of Nuxt.js it’s very straight forward.  Let’s go over the steps from the top: Let’s start with opening your project in Visual Studio Code, and opening a terminal in … Continued