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

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 4 years, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #24375
    myez18
    myez18
    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 Marcinko
    Ernest 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

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.