@ Joe
re: The one thing that is not working is the zip code and radius. It is not working individually or with the other fields to narrow the results. I’m feeding the “near_addr” and “radius” values the same way as all the others. Any ideas?
Sounds like you are feed the results of the submitted form into the shortcode options, is that correct? The near_address option has never been implemented. So if you have a zip code submitted, you have to get that geocoded and then pass that geocode to the lat/long shortcode options.
re: I was working with the latitude short code. One issue I came across is that the radius seems to max out at 50 miles. Is there any way to change that or am I doing something wrong?
There is no artificial limit in place for the radius. In testing, I used all the way up to 6000mi. There may be a bug in your code. I wonder… are you also passing the zipcode to the zipcode shortcode filter as well as doing a radius search? If you are, that would break the radius search because only entries with the zipcode would be returned.
re: The cn-search-messages output after the search only outputs for the search terms. I dived into the class.template-parts.php and found that there is no $out setup for “cn-cat-in”, “cn-radius” or the zip code. Can I just uncomment the code for the “cn-radius” and duplicate the individual code for “cn-cat-in” and zip code fields?
There is an output for zipcode. You can uncomment the code for the radius query var. For the cn-cat-in query var, that is a bit more difficult. You’ll need code similar to the cn-cat query var.
Hope that helps!
