Forums Forums Search & Filter Pro Search content of custom fields

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Anonymous
    #5477

    Hi

    How do I get the search to search the content of custom fields?

    At the moment it is not returning any results for a value which is stored in a custom field.

    I have an ACF repeater field in which there is a sub field for product code (each page is for a product range so may have many products and hence product codes). I want to be able to search for a product code.

    Cheers
    Jo Waltham

    Ross Moderator
    #5478

    Hey Jo

    I’m not sure you can search in repeater fields – I actually haven’t tested them so I’d be surprised if it did work.

    As per the plugin page only the following is supported:

    Works with Advanced Custom Fields (ACF) plugin – allows you to search with dropdowns, checkboxes, radio buttons and multiselect even where the meta value is serialized. Essentially, if you are using any of the Basic fields (not text area) or Choice fields then you can filter these in Search & Filter Pro. Date Picker is now also supported provided the date is stored as “yymmdd” as the save option with ACF.

    Thanks
    Ross

    Anonymous
    #5490

    Yes I just read “Search by custom fields, post meta, taxonomies, tags, categories, authors, post types, post dates and more – The Ultimate WordPress Filter Plugin with Ajax!” and thought it would work 🙂

    No worries. I shall just have to think of another solution.

    Anonymous
    #5956

    Hi Ross,

    So are you saying that Search & Filter Pro only supports custom fields using Advnced Custom Fields?

    Chuck

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