Advanced Custom Fields
Customize the relationship field list query (4 posts)

  1. ikivanov
    Posted 2 years ago #

    I need to make the Relationship Field Search functionality to search also in 3 other Custom Fields and then display the result if it match any of them.
    In other words: I have Title where is the name of the person and 3 custom fields with phone, email, etc.
    It would be great if when I type in the search box the list with related posts is filtered by any of these fields.

    I found the flowing in the documentation, but somehow can not came up with the idea how to use the search Variable for value.


    Any suggestions will be highly appreciated.



  2. maniacaldesign
    Posted 1 year ago #

    I have the exact same question. I've been digging into to the plugin code to figure it out but no luck so far. Did you ever figure it out?

  3. ikivanov
    Posted 1 year ago #

    Unfortunately, NO.

    Let me know if you find out. Thanks in advance.

  4. ikivanov
    Posted 1 year ago #

    The problem I ran into is with wp_query
    I couldn't make it use OR instead of AND when search in the title "or" custom field.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Advanced Custom Fields
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic