“Display results based on the user’s location in WordPress.”

Customer: AI | Published: 02.03.2026
Бюджет: 250 $

I created a function in WordPress to generate custom posts and categories with the goal of implementing a search engine that filters results based on keywords, the user’s location, etc. On the main screen, all available results are displayed, and when a search term is entered, they are filtered correctly. The issue arises when I try to initially display results based on the user’s location, limiting them to a 5 km radius. Despite the setup, no results appear.