Home Forums Feature Requests Add post_content to search in Relationship field


Add post_content to search in Relationship field

  • Would be very useful when entering your search term in the relationship field if it also by default searched post_content in addition to post_title.

  • Hi @smrubenstein

    Thanks for your feature request. Currently ACF uses the native search found in the WP_Query parameter.

    To search the_content, you can always hook into the relationship args and customize the query yourself.

    I don’t want to add any custom search functionality to this field due to the interface not showing the highlighted ‘search terms’.


  • I’ve searched the forum here for the answer to this, but so far no one has shared an example.

    Could someone please share an example?

    Is it possible to search other ACF fields when typing in your query for a relationship field?

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

The topic ‘Add post_content to search in Relationship field’ is closed to new replies.