This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Unique URL search for custom post type

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Unique URL search for custom post type

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #24375
    myez18myez18
    Participant

    Hi,

    I would like to be able to have custom search result pages for each of my custom post type. The index content would be custom fields. For instance, the custom field could be a zipcode 28801. There would be generic results for everything with that zipcode.

    /?=28801

    Or the custom post type results:
    /schools/?=28801
    /libraries/?=28801

    How do I do this? Thanks!

    #24383
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    Well, I believe you would first need some sort of custom permalink handler function, or .htaccess mod_rewrite rules to translate the pages to query parameters, as I am not sure if WordPress supports multiple search results pages like that.
    Then very likely the plugin code would have to be modified according to these rules. You might have to ask a developer about this. I usually suggest looking on Envato Studio: https://studio.envato.com

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.