• <form id="searchform" method="get" action="https://www.url.com">
    <div>
    <input name="s" id="s" size="15" type="text">
    <input value="Search" type="submit">
    	</div>
    	</form>

    — I want to change the input value, but can’t find this anywhere.

    Help! ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • knowing where the search menu is helps…

    1) in the masthead = file = header.php
    2) in a sidebar = file = sidebar.php ( if you have such a file )

    where do you “see” your search menu?

    Thread Starter the_creepshow_creep

    (@the_creepshow_creep)

    The search form is in the side bar, but all I see in sidebar.php is the following:

    <?php get_search_form(); ?>

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    That search form comes straight out of the WordPress core, however, if your theme has a searchform.php file, then the contents of that file will override it.

    So create a searchform.php file in your theme directory and put your modified form into that, and voila.

    Thread Starter the_creepshow_creep

    (@the_creepshow_creep)

    Thanks, Otto. I’ll give that a try…

    exactly what i needed! thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘In which file is this code please? (search box-related)’ is closed to new replies.