https://www.ads-software.com/plugins/display-posts-shortcode/
]]>Keep in mind geo-location by IP address is very unreliable. My current IP says I’m several hundred km from my actual location. Mobile locations are of course more accurate, but AFAIK are only available to mobile apps, not webpages.
]]>Customer searches “Services in x suburb” They see pictures for that suburb and surrounding ones and a blurb from the blog page. Then they go to the home page and they see things tailored to what they searched and where they are?
]]>I’d think you could find some sort of plugin that allows one to filter posts by a region taxonomy term. If not, a bespoke plugin wouldn’t be that complicated.
You can preserve a user’s region preference between requests any number of ways. Pass an URL parameter, session variables, cookie values, transients, user meta.
After determining the preference, the query for service posts can be modified through the “pre_get_posts” action hook.
]]>