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

Jquery Simple Fadeout

A cute little snippet to show a simple green bar upon a successful edit. <?php if(isset($_GET[‘edit’])){ ?> <div id=’notifyy’> Edited Successfully </div>     <script type=”text/javascript”>     $( ‘#notifyy’ ).show(function(){     $(this).fadeOut(5000);     });     </script> <?php } ?> The CSS: #notifyy{width:100%;background:#2f5001;padding:4px 15px;color:#fff;} Always,

Matt Birk has a new website

This is responsive website with layout originally conceived by HTML5. Clean and simple, it is just what the doctor, er, lawyer ordered. Matt needed something up quick, but didn’t have to sacrifice quality. WIthin 2 days we had a simple design up that he can be proud of.

WordPress: Capturing Post Author Meta

An easy one here from your local Gainesville Web Designer: How to retreive the author information from a post in the WordPress loop. This assumes you’re in the loop, of course. $meta_field= get_the_author_meta( ‘your_meta’ );   Badda-bing badda-boom. You’re done. It really is that simple. Just use get_the_author_meta,

The problems with Wix

Wix is a do-it-yourself website builder. While this may seem to be in direct competition with Gainesville Web Design companies, they fill an important niche; mainly, those customers that cannot afford a professional website but still desire to have a nice looking design for their business. The templates

Another Mouse Burned

This makes my 7th mouse in less than 18 months. incessant clicking has it’s consequences … and costs …..

New Mobile SIte

Head on over to livewiregeeks on your mobile device It’s our new mobile site based on Chalis iwebapp – a powerful framework that works well across the board. Livewire mobile has everything our main website has but is built for mobile devices. A custom redirect script detects whether a