Title: Remove &quot;test message&quot;
Last modified: August 20, 2016

---

# Remove "test message"

 *  [rohitmanglik](https://wordpress.org/support/users/rohitmanglik/)
 * (@rohitmanglik)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/remove-test-message/)
 * In my website I am getting “Test message” words before footer of the page.
    e.
   g. [http://www.careerbreeder.com/cb-test/](http://www.careerbreeder.com/cb-test/),
   [http://www.careerbreeder.com/about-us-2/](http://www.careerbreeder.com/about-us-2/)
 * I created one custom template whose code is –
 * _[mod: please mark any posted code using the code button; and do use the pastebin
   for any code over 10 lines – [forum guidelines](http://codex.wordpress.org/Forum_Welcome#Posting_Code)]_
 *     ```
       <?php
       /*
       Template Name:Static Page
       */
       get_header(); ?>
   
           <!--h1>Main Area</h1-->
           <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
           <h1><?php the_title(); ?></h1>
           <p><?php do_shortcode(the_content()); ?></p>
           <?php endwhile; else: ?>
           <?php //_e('Sorry, no posts matched your criteria.'); ?>
           <?php endif; ?>
       <div id="delimiter"></div>
         <?php //get_sidebar(); ?>
   
       <?php get_footer(); ?>
       ```
   
 * I tried Googling but dint get any clue where I am getting wrong. I checked in
   other files of theme as well but I am unable to trace “test message” anywhere.

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

 *  [shirazdrum](https://wordpress.org/support/users/shirazdrum/)
 * (@shirazdrum)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/remove-test-message/#post-2794830)
 * Check the page content.
 *  [tommix](https://wordpress.org/support/users/tommix/)
 * (@tommix)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/remove-test-message/#post-2794859)
 * Download your WP installation to your PC use TextCrawler to search that test 
   in php files and you’ll find where you left that message, and then in delete 
   it and reupload file to server.
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/remove-test-message/#post-2794920)
 * in ‘cb-test’, the text seems to be coming from this section:
 *     ```
       <p><?php do_shortcode(the_content()); ?></p>
       ```
   
 * i.e. is coming from the content of those pages.
 * what shortcodes are you using within the content of ‘cb-test’?
    and are you using
   the same shortcodes within the content of ‘about us’?
 * btw:
    this section is totally invalid code and should possibly be simplified 
   to:
 *     ```
       <?php the_content(); ?>
       ```
   
 * what did you intend to get with that code?

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

The topic ‘Remove "test message"’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 4 participants
 * Last reply from: [Michael](https://wordpress.org/support/users/alchymyth/)
 * Last activity: [13 years, 12 months ago](https://wordpress.org/support/topic/remove-test-message/#post-2794920)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
