Title: Search Form: Code Needed
Last modified: August 19, 2016

---

# Search Form: Code Needed

 *  Resolved [jesseg5](https://wordpress.org/support/users/jesseg5/)
 * (@jesseg5)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/search-form-code-needed/)
 * Hello all…
 * I need a little help here. I deleted the code for the search form that sits above
   the sidebar. (default theme) So obviously it’s not appearing. Does anyone have
   the code so I may place back.
 * Thanks in advance!

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

 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/search-form-code-needed/#post-807312)
 * check the original file — look inside the zip > [http://wordpress.org/download/](http://wordpress.org/download/)
 *  Thread Starter [jesseg5](https://wordpress.org/support/users/jesseg5/)
 * (@jesseg5)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/search-form-code-needed/#post-807325)
 * Thanks I got it! Do you know if it’s possible to get this search form to appear
   in the footer? If so, I will post a new topic…
 *  [outthere](https://wordpress.org/support/users/outthere/)
 * (@outthere)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/search-form-code-needed/#post-807346)
 * I read this, went to my theme. searchform.php copied it and pasted it in the 
   footer just before the end body tag. works great. Good luck.
    I tried HeadNfoot
   first, no luck.
 *  [outthere](https://wordpress.org/support/users/outthere/)
 * (@outthere)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/search-form-code-needed/#post-807347)
 * I read this, went to my theme. searchform.php copied it and pasted it in the 
   footer just before the end body tag. works great. Good luck.
    I tried HeadNfoot
   first, no luck.
 *  Thread Starter [jesseg5](https://wordpress.org/support/users/jesseg5/)
 * (@jesseg5)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/search-form-code-needed/#post-807542)
 * Outthere,
 * I just tried to do what you said above but it didn’t work. What theme are you
   using?
 * Here is the code for the “footer.php”
 *     ```
       <hr />
       <div id="footer">
       <p>
   
       		<a href="<?php bloginfo('comments_rss2_url'); ?>">Comments (RSS)</a>
       		and <a href="<?php bloginfo('rss2_url'); ?>">Entries (RSS)</a>
       <?php bloginfo('name'); ?> © 2008
       		<!-- <?php echo get_num_queries(); ?> queries. <?php timer_stop(1); ?> seconds. -->
       </div>
       </div>
       </p>
   
       <?php wp_footer(); ?>
       </body>
       </html>
       ```
   
 * Thanks
 *  Thread Starter [jesseg5](https://wordpress.org/support/users/jesseg5/)
 * (@jesseg5)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/search-form-code-needed/#post-807591)
 * I got it! It turns out in the .css file in the #searchform was listing “display:
   none”
    When I got rid of that line the search bar showed up just fine.
 * Thank you!

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

The topic ‘Search Form: Code Needed’ is closed to new replies.

## Tags

 * [search form](https://wordpress.org/support/topic-tag/search-form/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 3 participants
 * Last reply from: [jesseg5](https://wordpress.org/support/users/jesseg5/)
 * Last activity: [17 years, 8 months ago](https://wordpress.org/support/topic/search-form-code-needed/#post-807591)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
