Change text in search result count

So I know in the includes folder, there’s an area to display the search result count like this:

Showing 3-6 of 10 results

However, my client wants the text to be different. Like this:

Found 10 Listings

Since it’s not in the template files, is there a way, perhaps in functions.php, to change this?

This is the code I’m talking about:

			$output .= sprintf( esc_html__( 'Showing %1$s-%2$s of %3$s results', 'hivepress' ), number_format_i18n( $first_result ), number_format_i18n( $last_result ), number_format_i18n( $total_results ) );

Please try using Loco Translate How to change any static text - HivePress Help Center. It would be the easiest way that doesn’t require code customizations.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.