Title: ewcadmin's Replies | WordPress.org

---

# ewcadmin

  [  ](https://wordpress.org/support/users/ewcadmin/)

 *   [Profile](https://wordpress.org/support/users/ewcadmin/)
 *   [Topics Started](https://wordpress.org/support/users/ewcadmin/topics/)
 *   [Replies Created](https://wordpress.org/support/users/ewcadmin/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/ewcadmin/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/ewcadmin/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/ewcadmin/engagements/)
 *   [Favorites](https://wordpress.org/support/users/ewcadmin/favorites/)

 Search replies:

## Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to change the no-results.php text](https://wordpress.org/support/topic/how-to-change-the-no-resultsphp-text/)
 *  Thread Starter [ewcadmin](https://wordpress.org/support/users/ewcadmin/)
 * (@ewcadmin)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/how-to-change-the-no-resultsphp-text/#post-3663077)
 * Yes, thank you for your help; I really appreciate it.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to change the no-results.php text](https://wordpress.org/support/topic/how-to-change-the-no-resultsphp-text/)
 *  Thread Starter [ewcadmin](https://wordpress.org/support/users/ewcadmin/)
 * (@ewcadmin)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/how-to-change-the-no-resultsphp-text/#post-3662994)
 * “thank you for your help”
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to change the no-results.php text](https://wordpress.org/support/topic/how-to-change-the-no-resultsphp-text/)
 *  Thread Starter [ewcadmin](https://wordpress.org/support/users/ewcadmin/)
 * (@ewcadmin)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/how-to-change-the-no-resultsphp-text/#post-3662993)
 * Ohh, thank you very much!
 * I don’t know anything about PHP, I’ve heard of things being “escaped” but I don’t
   know what it means.
 * The code you supplied, showed up the back slashes, so I took them out but left
   all of the single quote/apostrophe unicode in.
 * Works a treat now.
 * Thinking about it, the problem must have been in the “I’m”.
 * I should have written the punctuation in unicode.
 * I think anyway: that’s what’s working now.
 * Would you know how I could insert my link to my comments page??
 * `http://www.english-with-craig.co.uk/contactform.html`
 * Thank you for you help.
    Craig
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to change the no-results.php text](https://wordpress.org/support/topic/how-to-change-the-no-resultsphp-text/)
 *  Thread Starter [ewcadmin](https://wordpress.org/support/users/ewcadmin/)
 * (@ewcadmin)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/how-to-change-the-no-resultsphp-text/#post-3662939)
 * Hi, thanks.
    The text I’d like to change is:
 * **<p><?php _e( ‘Sorry, but nothing matched your search terms. Please try again
   with some different keywords.’, ‘sixhours’ ); ?></p>**
 * I’d like to change the words and include a link to my contact page.
 * I don’t understand it because I can _modify_ the existing text, but I can’t replace
   it with my own words.
 * I mean instead of, “Sorry, but nothing matched your search terms. Please try 
   again with some different keywords.”
 * “Sorry, I haven’t written anything like that yet. Please send me a message and
   I’ll answer it for you”.
 * If I change the text to something like “orry, but nothg atched your search terms.
   Please try again with sooooome differen kewords.”
 * It’s fine!?
 * **It makes NO sense to me at all.**
 * Thank you very much for answering me.
    Craig
 *     ```
       <?php
       /**
        * The template part for displaying a message that posts cannot be found.
        *
        * Learn more: http://codex.wordpress.org/Template_Hierarchy
        *
        * @package Sixhours
        * @since Sixhours 1.0
        */
       ?>
   
       <article id="post-0" class="post no-results not-found">
       	<header class="entry-header">
       		<h1 class="entry-title"><?php _e( 'Nothing Found', 'sixhours' ); ?></h1>
       	</header><!-- .entry-header -->
   
       	<div class="entry-content">
       		<?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
   
       			<p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'sixhours' ), admin_url( 'post-new.php' ) ); ?></p>
   
       		<?php elseif ( is_search() ) : ?>
   
       			<p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'sixhours' ); ?></p>
       			<?php get_search_form(); ?>
   
       		<?php else : ?>
   
       			<p><?php _e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'sixhours' ); ?></p>
       			<?php get_search_form(); ?>
   
       		<?php endif; ?>
       	</div><!-- .entry-content -->
       </article><!-- #post-0 .post .no-results .not-found -->
       ```
   

Viewing 4 replies - 1 through 4 (of 4 total)