Wordpress Query: Sort posts nearest proximity to farthest

/ Published in: PHP
Save to your folder(s)

A quick query example for a wordpress database query that gets posts ordered by distance via the custom fields `latitude` and `longitude`.

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.