How to edit the Search Result error message?

I need to change this…:

" Nothing to Show Right Now
It appears whatever you were looking for is no longer here or perhaps wasn’t here to begin with. You might want to try starting over from the homepage to see if you can find what you’re after from there."

Thanksx
Cy.

Hi Cy,

To change it, create file _content-none.php in wp-content/themes/x-child/framework/views/global/
Then copy the code below into that file.

<?php

// =============================================================================
// VIEWS/GLOBAL/_CONTENT-NONE.PHP
// -----------------------------------------------------------------------------
// Output when no posts or pages are available.
// =============================================================================

?>

<article id="post-0" class="post-0 post type-post status-publish hentry">
  <div class="entry-wrap">
    <header class="entry-header">
      <h1 class="entry-title"><?php _e( 'Nothing to Show Right Now', '__x__' ); ?></h1>
    </header>
    <div class="entry-content">
      <p><?php _e( "It appears whatever you were looking for is no longer here or perhaps wasn't here to begin with. You might want to try starting over from the homepage to see if you can find what you're after from there.", '__x__' ); ?></p>
    </div>
  </div>
</article> <!-- end #post-0 -->

Change the text as you like.

Hope this helps

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