Title: Programatically Changing the &quot;Nothing Found&quot; Query Text
Last modified: August 21, 2016

---

# Programatically Changing the "Nothing Found" Query Text

 *  [Brian Becker](https://wordpress.org/support/users/brian-becker/)
 * (@brian-becker)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/programatically-changing-the-nothing-found-query-text/)
 * I am writing a query plugin and need to add to the “Nothing Found” page if the
   query is unsuccessful. For example, user types in query [musical instruments]
   and the Nothing Found page shows up: I’d like my plugin to add to the page and
   explain adding OR between the queried words will return documents that have one
   of the two words. I’d also like to add other query tips.
 * Of course I know the template can be edited, but I need to do this from the plugin
   regardless of the template used. Of course in the admin I will provide a way 
   to turn off the “query help” info from being added to the nothing found results
   page.
 * So…how do I make this happen from the plugin side of WP?

The topic ‘Programatically Changing the "Nothing Found" Query Text’ is closed to
new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [Brian Becker](https://wordpress.org/support/users/brian-becker/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/programatically-changing-the-nothing-found-query-text/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
