Forums Forums Search & Filter Pro Show relationship ACF field in results

  • This topic has 21 replies, 2 voices, and was last updated 6 years ago by Anonymous.
Viewing 2 posts - 21 through 22 (of 22 total)
  • Trevor
    #193405

    Yes, like this:

    global $searchandfilter;
    $sf_current_query = $searchandfilter->get(12204)->current_query();
    if ((!$sf_current_query->is_filtered())&&($sf_current_query->get_search_term()=="")) {
      echo '<div>Nothing to see here folks!</div>'; 
    } else {
      // your template archive code/loop OR results.php code here
    }
    Anonymous
    #193409
    This reply has been marked as private.
Viewing 2 posts - 21 through 22 (of 22 total)