Post Ordered by Distance and filtered by custom post type
-
Hi,
in a custom post type (events) i have two custom fields(lat / lon)
These are the latitude and longitude address of the post.I also have another custom field (event-date).
I want to filter events in this way
1 .event-date > today(a param) event-date ordered ASC
and order this way:
2. distance from here(given lat,long param) ordered ASC
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Post Ordered by Distance and filtered by custom post type’ is closed to new replies.