Hi @bsebastian86
I’m not sure how the search page works, but I believe you should be able to do it like this:
if ( (strpos(get_sub_field('title'), $_GET["s"]) !== false) || (strpos(get_sub_field('content'), $_GET["s"]) !== false) ) {
// display a sub field value
the_sub_field('title');
the_sub_field('content');
}
I hope this helps 🙂