query->get_faq_by_term( $term->term_id ); if ( $faqs->have_posts() ) { echo '
' . __( 'Sorry, no FAQ matched your criteria.', 'betterdocs' ) . '