Title: patrick30's Replies | WordPress.org

---

# patrick30

  [  ](https://wordpress.org/support/users/patrick30/)

 *   [Profile](https://wordpress.org/support/users/patrick30/)
 *   [Topics Started](https://wordpress.org/support/users/patrick30/topics/)
 *   [Replies Created](https://wordpress.org/support/users/patrick30/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/patrick30/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/patrick30/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/patrick30/engagements/)
 *   [Favorites](https://wordpress.org/support/users/patrick30/favorites/)

 Search replies:

## Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pronamic Google Maps] Zip Code entry by user?](https://wordpress.org/support/topic/zip-code-entry-by-user/)
 *  [patrick30](https://wordpress.org/support/users/patrick30/)
 * (@patrick30)
 * [12 years ago](https://wordpress.org/support/topic/zip-code-entry-by-user/#post-4654595)
 * [@handhugsdesign](https://wordpress.org/support/users/handhugsdesign/) I will
   post a solution soon. I have managed to do the zip code search, now am just working
   on City search
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pronamic Google Maps] Zip Code entry by user?](https://wordpress.org/support/topic/zip-code-entry-by-user/)
 *  [patrick30](https://wordpress.org/support/users/patrick30/)
 * (@patrick30)
 * [12 years ago](https://wordpress.org/support/topic/zip-code-entry-by-user/#post-4654577)
 * Miki80: I just did a quick test on this. I am also making a site where users 
   can post locations from frontend.
 * There is no need to do geocoding I guess.
 * You can try doing this when you save the post
 *     ```
       function new_post( $post_id ) {
         $address = filter_input( INPUT_POST, 'address', FILTER_SANITIZE_STRING );
   
         update_post_meta( $post_id, '_pronamic_google_maps_address', $address );
         update_post_meta( $post_id, '_pronamic_google_maps_active', true );
       }
   
       add_action( 'save_post', 'new_post' );
   
       // Create post object
       $new_post = array(
         'post_title'    => ''
       );
   
       wp_insert_post( $new_post );
       ```
   
 * You can try this and play around with this
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pronamic Google Maps] Zip Code entry by user?](https://wordpress.org/support/topic/zip-code-entry-by-user/)
 *  [patrick30](https://wordpress.org/support/users/patrick30/)
 * (@patrick30)
 * [12 years ago](https://wordpress.org/support/topic/zip-code-entry-by-user/#post-4654576)
 * This is something I am trying to do as well, where people can search using zip
   code or city. I am very close to it, I have got the search function to work and
   I have got the locations to load also, the only thing is that the map isn’t loading.
   If I find a solution, I will post it here for you.
 * Miki80: All the fields in address, longitude and latitude use custom fields, 
   you can do [add_post_meta](http://codex.wordpress.org/Function_Reference/add_post_meta)
   to populate the fields.
 * Now here you can either ask the user to enter their address and then convert 
   that address to latitude and longitude using geocoding, or you use the geocoding
   included in the plugin to do it in the frontend.
 * To convert an address to lat/long, you can try this link, there are many suggestions
   given
 * [http://stackoverflow.com/questions/98449/how-to-convert-an-address-to-a-latitude-longitude](http://stackoverflow.com/questions/98449/how-to-convert-an-address-to-a-latitude-longitude)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pronamic Google Maps] Fetch Map with Ajax](https://wordpress.org/support/topic/fetch-map-with-ajax/)
 *  Thread Starter [patrick30](https://wordpress.org/support/users/patrick30/)
 * (@patrick30)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/fetch-map-with-ajax/#post-4688535)
 * Also just to let you know, I am loading the default map for now using a generic
   code just to test if the map loads, so you just need to click on search. There
   is no need to enter the zip code or anything now.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Custom Menu Not Showing](https://wordpress.org/support/topic/custom-menu-not-showing-1/)
 *  [patrick30](https://wordpress.org/support/users/patrick30/)
 * (@patrick30)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/custom-menu-not-showing-1/#post-3700518)
 * You should look into the files to check if the widgets are in the right sidebar.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Ajax Pagination](https://wordpress.org/support/topic/ajax-pagination/)
 *  Thread Starter [patrick30](https://wordpress.org/support/users/patrick30/)
 * (@patrick30)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/ajax-pagination/#post-2185014)
 * ???????

Viewing 6 replies - 1 through 6 (of 6 total)