Home » Experts Only » Geolocate Address from Custom Post Type Meta Value: WordPress Experts

Geolocate Address from Custom Post Type Meta Value: WordPress Experts

This was an interesting project for our Gainesville Web Design Team. The puzzle:

  • Create a custom post type within WordPress, no trouble there
  • Allow users to input an address on a CRED front-end form that loads into the CPT, still no trouble there
  • Next, create a script that loops through each CPT, extracts the elements generate a dynamic XML file
  • Geolocates the encoded address from the ML via Google Map API V3
  • Assigns an address category
  • then display on a g-map with sweet custom icons

All in all it sounds pretty straightforward. And once we were done, it really is, but getting there was half the fun. We found some great resources from Google, of course, but we needed to grab several different resources and combine them to achieve the desired result.

Livewire Delivers, bottom line.

The result: a fast, lightweight application that delivers customized information in an ultra user-friendly way. Our Gainesville Web Design team joined several pre-made scripts with our own to create something powerful and incredibly beneficial to our client.

More Web Design Blog Content

Are You Using Linkedin Like You Should?

Probably not. Linkedin is a valuable resource for any professional, but particularly freelancers and business owners. There is a lot to love about the social media construct, and a lot to hate; but no matter what side of the coin you fall on it is no secret that you

Why is a short domain name better than a long one?

There are several reasons why a short domain name is generally considered better than a long one: Easier to remember: Short domain names are easier to remember than long ones, which makes it easier for people to find and return to your website. More professional: Short domain names

Add YARPP to Custom Post Types: WordPress

A great little plugin for adding related posts to your blog has been around for a while: YARPP, Yet Another Related Posts Plugin. It’s fairly robust, for being free, but it does not natively support custom post types – a bummer. A quick way around this is to

What does AI say about SEO

Let’s find out! Use relevant keywords: Start by researching and identifying the keywords and phrases that your target audience is likely to use when searching for information related to your business. Incorporate these keywords into your website’s content, including page titles, headers, and meta descriptions. Improve your website’s

New Web Program: Brain Development Maps

Creating braindevelopmentmaps.org was a great opportunity to work on a very interesting site; Shirley came to Livewire with very specific needs. There is nothing ‘typical’ or ‘standard’ about this website, it is in a word, unique. Braindevelopmentmaps.org allows users to view highly detailed brain mapped images online. These

The Amazon Dams Network

Proud to present the first online version of the Amazon Dams Network. This has been a project Livewire has been working on for several months with the University of Florida and other members from around the world. This has been a very exciting project and we are pleased