Can I combine 2 fields into one facet filter?

  • prakashreddy.imduri
    Participant
    # 1 week, 1 day ago

    Can I combine 2 fields into one facet filter, we’ve several custom fields in the taxonomy, out of these, we want to combine 2 fields into as one facet filter. Is this at all possible either by custom code changes?
    The backend CMS still carry the fields separately on custom content, but search facet filter to show the values of 2 fields into on filter.
    Please suggest.

    wpsolr
    Keymaster
    # 1 week, 1 day ago

    Please follow the code example: https://www.wpsolr.com/forums/topic/building-a-custom-facet-from-an-acf-post-type-relationship/
    The idea is to use a WPSOLR action to insert your custom field value calculated from your taxonomies or custom fields (or anything else).

    • This reply was modified 1 week, 1 day ago by wpsolr.
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.