Created
September 12, 2016 12:41
-
-
Save mgibbs189/5a2d67b1a28cab9ac72d0c441b9b5fe7 to your computer and use it in GitHub Desktop.
FacetWP - sort by proximity distance
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| return array( | |
| "post_type" => "job_listing", | |
| "post_status" => "publish", | |
| "orderby" => "post__in", | |
| "order" => "ASC", | |
| "posts_per_page" => 10 | |
| ); |
Hello @thinkholmes,
I added these options on my wp_query but it does not work please tell me where exactly I can put this code
@Mohaesse Please put in

Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for sharing this! I got stuck trying to order some listings by proximity distance and this worked great.