• Resolved ettword

    (@ettword)


    Hello everyone,

    I am working on a project for my WordPress site, https://www.calcolacanoneconcordato.it, and I need some advice on how to best implement functionalities using WP Data Access.

    Objective: Create a page titled “trovazona” that can intercept a specific city mentioned in the URL, for example: https://www.calcolacanoneconcordato.it/trovazona?cesena. This should direct the user to the corresponding city’s page.

    Required Functionalities:

    1. Custom Address Search: On a specific city page (e.g., Cesena), users should be able to type in their address (even partially). This should then be selectable from a dropdown menu. Upon selecting the address, the site should display the associated zone identifier, like “Your Zone is: center”.
    2. Special Cases: In some cities, like Bergamo, instead of an address search, I need to display instructional text and some links.

    Specific Questions:

    • How can I set up the URL filter to intercept the city from the URL and direct the user to the correct page?
    • What is the best strategy for implementing an address search system with WP Data Access, which can return the zone identifier?
    • For special cases (like Bergamo), is there an efficient way to display customized content instead of the address search?

    Any advice or suggestions on how to structure these functionalities with WP Data Access would be greatly appreciated. Thank you in advance for your help!

Viewing 1 replies (of 1 total)
  • Plugin Contributor Kim L

    (@kimmyx)

    Hi @ettword,

    Thank your for your interest in using our plugin. ??

    Utilizing URL Parameters is outlined here: URL parameters | WP Data Access

    Usage of a data table is implied, so the page needs to have a data table in order to display the needed data related to the search.

    What is the best strategy for implementing an address search system with WP Data Access, which can return the zone identifier?

    WP Data Access can integrate with Google Maps API. You can learn more about it here: Geolocation search | WP Data Access

    For special cases (like Bergamo), is there an efficient way to display customized content instead of the address search?

    Data in pages returned using URL parameters or searches are always displayed using a data table.

    We hope that helps! Let us know if you have more questions. ??

Viewing 1 replies (of 1 total)
  • The topic ‘Advice on Implementing URL Filters and Custom Search with WP Data Access’ is closed to new replies.