PDA

View Full Version : zip code search


njseo
05-09-2009, 10:25 AM
Hi everyone,

I just installed and everything seems to be working fine except that when I do a search by ZIP with a zip I definitely know is in the db, no results show.

any ideas?

Thanks,
Vin

medicalhumor
05-09-2009, 09:23 PM
are the zip codes that are in your .csv file all in zip+4 format by any chance? I imported a csv that had all zip+4 (10001-0041) and if you searched for 10001 it wouldn't return any results. Looks like the query is set up for an exact match only.

njseo
05-10-2009, 09:06 AM
Thanks for the reply, but I only have the 5 digits entered. Any other ideas?

Thanks!

Vinnie

njseo
05-10-2009, 09:09 AM
seems to only search titles. is this a template or wordpress error?

thanks.

Vinnie

sobiz
05-13-2009, 04:04 PM
I'd also like an answer to this question.

nickmattern
05-13-2009, 04:05 PM
Make sure there is a custom field named ZIP or ZIPCODE for any post you want to have the ZIP lookup work with, and the appropriate ZIP for that record is correctly placed in that custom field.. ZIP lookup does NOT search posts or titles.

If importing, simply check the box next to the ZIPCODE CSV field and the importer takes care of it all.