Support » Fixing WordPress » search variable/tag for WP?

  • Well, I did something stupid–I was moving the search variable/tag around on my index page. I cut it and then got distracted and cut something else (I’ve the attention span of a cat sometimes…). Now I can’t find the search variable/tag anywhere. It’s not even listed in the Docs, here at (I did check). Can anyone hook me up, please? Thanks in advance!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Mark (podz)


    Support Maven

    This ?
    <li id="search">
    <label for="s"><?php _e('Search:'); ?></label>
    <form id="searchform" method="get" action="<?php echo $PHP_SELF; ?>">
    <input type="text" name="s" id="s" size="15" />

    <input type="submit" name="submit" value="<?php _e('Search'); ?>" />

    That is it, Podz! Thanks!

    It’s not stupid to delete the search form html (say to use Google’s [$$$!]) and then want to use it again. Thanks for this.

    Actually, I mostly use Google’s because it gives me a bit of stats on search terms used. Word Press gives no stats on what’s searched!

    Oh! There’s a /div there with no beginning div. 😉

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘search variable/tag for WP?’ is closed to new replies.