[Resolved] Viewing posts near the current post being displayed, by distance

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 6.89 hours from now. Thank you for your understanding.

This topic contains 1 reply, has 1 voice.

Last updated by davidM-26 4 weeks, 1 day ago.

Author
Posts
#1477521

I have a website listing events. I have it all setup, and on the content template I am showing "other events on this day"

That part works.

I also worked out how to only show events a certain distance from the post being displayed, that works as well (thanks to another help post for someone else!)

What I'd like to do is reference the actual distance.
So, rather than just list the name of the event, it also shows how far it is from the post being displayed.

I can't seem to find a way to do that by inserting a field for the distance.

#1477523

I try and try and try and fail

I post on here, then wait - and then work it out... standard!! Haha

I utilised the [wpv-attribute name="your_shortcode_attribute"] idea in the hard coded address 🙂 Worked!