WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Search Form: Code Needed

[Resolved] 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

    @whooami

    Member

    check the original file — look inside the zip > http://wordpress.org/download/

    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…

    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.

    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,

    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

    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 ‘[Resolved] Search Form: Code Needed’ is closed to new replies.
Skip to toolbar