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

Starter Websites are Cheap

We’re offering ‘starter’ websites for as little as $175 in the coming months. This will get you everything you need, including shopping cart, to start selling online. Our targets are small, home based businesses. We understand that they don’t have a lot of capital to invest in a

Budding Biologist has a new website

A cute website for a really neat childrens’ book series by budding biologist. Their new website is responsive, meaning it is mobile ready and will display correctly across all devices and all browsers. Integrated web store and using the latest in HTML 5 and CSS3 media queries. Cloud

Preloading Images with Jquery

There are times when preloading images is an important step in keeping your site/page/program running smoothly. This is especially true in the era of mobile. Here’s a cute little snippet that does just that. function preload(yourarrayOfImages) { $(yourarrayOfImages).each(function(){ $(‘<img/>’)[0].src = this; }); } preload([ ‘img/image1.jpg’, ‘img/image2.jpg’, ‘img/image3.jpg’ ]);

Authority + Trust + Relevance = Rankings

Here you go – the magic formula for ranking on Google. Yes, Yahoo and Bing still matter … even though the third most searched term on Bing is “Google”  – people trying to get back to Google, but they’re still relevant. It’s just easier to focus on Google

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

Five Frequent SEO Mistakes and How to Fix Them.

Five Frequent SEO Mistakes and How to Fix Them. A few simple missteps can derail all the hours of toil, not to mention money, put into your SEO efforts. Here are five common SEO mistakes and how to rectify them.  Keywords Should Match Content. Google wants its customers