Searching for Custom Field

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Searching for Custom Field

This topic contains 3 replies, has 2 voices, and was last updated by

 
Keymaster
3 years, 8 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #17720

    Participant

    Hello from Spain, I have just bought your plugin for WP Ajax Search Pro and I have a doubt about it.

    In a website we hace a Custom Post Type called “Empresas” (Companies in english) with a taxonomy called “Polígonos” (Industrial Areas in Spain), each “Empresa” is asociated to this taxonomy.

    So, what we need from Ajax Search Pro is in our HOME you can see the searching bar and below the field “Polígonos”, so the idea is that if we choose any “Polígono” the plugin shows al the “Empresas” (companies) that contains this taxonomy “Polígono”. This is possible?.

    Now when you choose any “Polígono”, in the search bar shows all the “polígonos”, we want the same but with the EMPRESAS (Companys).

    For example:
    If you choose from “Seleccione un polígono:” Cartagena, in the search bar would show all the companies that have marked the taxonomy Polígono with “cartagena”.

    Hope I express myself correctly.

    Thanks a lot.

    #17722

    Hi,

    Yes, that is possible of course.

    The issue in you case is, that you have the “Polígono” taxonomy selected to be returned as results. I believe you only want the “empresas” custom post type as results, and nothing else.
    On the General Options -> Sources 2 panel, make sure that nothing is selected: https://i.imgur.com/cI9aZgP.png

    That should very likely resolve the issue, as it seems your other configuration is probably correct.

    Best,
    Ernest Marcinko

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


    #17724

    Participant

    Ok Ernest!, now works perfectly.
    Thank you!.

    #17725
    You cannot access this content. Best,
    Ernest Marcinko

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


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

You must be logged in to reply to this topic.