Title: Theme RT 20 content-none.php
Last modified: September 1, 2016

---

# Theme RT 20 content-none.php

 *  [kristoto](https://wordpress.org/support/users/kristoto/)
 * (@kristoto)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/theme-rt-20-content-nonephp/)
 * When using the search bar to locate SKU or out of stock inventory it gives this
   error instead of the redirect to a sorry we are out page or something of that
   type.
 * Error:
 * Fatal error: Call to undefined function esc_htmlesc_html_e() in /home3/ems/public_html/
   wp-content/themes/rt-theme-20/content-none.php on line 15
 * This is the coding for said page:
 *     ```
       <?php
       /*
       * rt-theme content-none.php
       * nothing found
       */
       ?>
   
       <?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
   
       <p><?php printf( esc_html__( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'rt-theme-20' ), admin_url( 'post-new.php' ) ); ?></p>
   
       <?php elseif ( is_search() ) : ?>
   
       <p><?php esc_htmlesc_html_e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'rt-theme-20' ); ?></p>
       <?php get_search_form(); ?>
   
       <?php else : ?>
   
       <p><?php esc_htmlesc_html_e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'rt-theme-20' ); ?></p>
       <?php get_search_form(); ?>
   
       <?php endif; ?>
       ```
   
 * _[Moderator Note: Please post code & markup between backticks or use the code
   button. Your posted code has now been damaged by the forum’s parser.]_
 * How can I fix this?

Viewing 1 replies (of 1 total)

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/theme-rt-20-content-nonephp/#post-7481261)
 * please [ask the developer of the theme for help](http://themeforest.net/item/rttheme-20-medical-health-laboratory-and-product-catalog-wordpress-theme/15198936/support);
 * [http://codex.wordpress.org/Forum_Welcome#Commercial_Products](http://codex.wordpress.org/Forum_Welcome#Commercial_Products)

Viewing 1 replies (of 1 total)

The topic ‘Theme RT 20 content-none.php’ is closed to new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [Michael](https://wordpress.org/support/users/alchymyth/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/theme-rt-20-content-nonephp/#post-7481261)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
