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

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)