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

Guardian Association Management Has A New Website

Pleased to introduce the new Guardian Association Management website. This is a clean minimalistic layout that funnels users directly into services and payments pages. Gainesville GAM came to us needing something up in a timely manner, clean, modern, and looked great on mobile. We were happy to oblige.

How To Survive A Good Google Dinging

This is a great demonstration of what can happen with unnatural linking schemes and getting hosed by using link farms. This company did some black-hat SEO and it came back to bite them. Luckily the article shows that it is possible to recover from a Google update nightmare, but

casual business people shaking hands at work meeting - multiethnic people in collaboration

Why Every Business Association Needs a Professional Website

Business associations serve as the backbone of local commerce—supporting members, organizing events, and advocating for economic growth. Yet many associations still rely on outdated websites or worse, none at all. In 2025, that’s a missed opportunity. A modern, functional website is essential for visibility, engagement, and growth. At

2 Great Marketing Funnel Tools

Using Outbase for Target Market Research With Outbase’s multitude of capabilities, you can gain a deeper knowledge of your sales performance and identify areas for improvement. Outbase is a prospecting platform that streamlines the top funnel challenges experienced by business-to-business organizations. Thanks to a large dataset covering numerous

WP: Adding a HTML5 Search Form

A simple script from your local Gainesville Web Designer. [code scroll=”false” language=”htmml”] <form role=”search” method=”get” class=”search-form” action=”<?php echo home_url( ‘/’ ); ?>”> <label> <span class=”screen-reader-text”><?php echo _x( ‘Search for:’, ‘label’ ) ?></span> <input type=”search” class=”search-field” placeholder=”<?php echo esc_attr_x( ‘Search …’, ‘placeholder’ ) ?>” value=”<?php echo get_search_query() ?>” name=”s” title=”<?php echo esc_attr_x( ‘Search

Offline linking

This is a profound point. A lot of linking takes place offline. Sounds weird but many great links sprout from the personal relationships you make as a business. Noteworthy links can be found at your local chamber of commerce just like any Hotfrog or elocal directory site. “This