Change Default "No Search Return"

Using Relevanssi search. I’d like to change the default text for a zero-result search return:
https://bullseyesurplus.com/?s=qdoba

Hello Justin,

Thanks for writing in!

Changes you are looking to make will require changes in theme files which falls outside the scope of support we can offer. However, I am sharing some pointers that you can take a look to get started.

  1. Copy _content-none.php from /wp-content/themes/pro/framework/views/global/ to /wp-content/themes/pro-child/framework/views/global/.
  2. Now you can make the changes to the 404 text in line number 14. Below is the code that you need to locate:
      <h1 class="entry-title"><?php _e( 'Nothing to Show Right Now', '__x__' ); ?></h1>

Change Nothing to Show Right Now to No Search Return.

Thanks.

Awesome, thank you. That worked nicely.

You are most welcome. :slight_smile:

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