Viewing 3 replies - 1 through 3 (of 3 total)
  • search from like this

    <form method="get" action="">
                <p>
                    <input class="clearfield" type="text" value="Search..." title="Search..." name="s" />
                    <input type="submit" value="" />
                </p>
            </form>

    in ACTION, you can using <?php bloginfo(‘url’)?> like this

    <form method="get" action="<?php bloginfo('url')?>">

    [sig moderated as per the Forum Rules]

    Thread Starter CaDeAtH

    (@cadeath)

    <form role="search" method="get" id="searchform" action="<?php bloginfo('url')?>" name="searchform">
        <div class="searchbar">
            <input type="text" class="webbox" name="webbox" size="18" value="Search" onclick="sb_focus();" onblur="sb_out();"/>
            <button class="btn" title="Web Search" type="submit">Search</button>
        </div><!--searchbar-->
    </form>

    That’s my searchform…
    Still it generates webbox in the URL…

    Thread Starter CaDeAtH

    (@cadeath)

    I already found the problem,
    it is on the
    <input type="text" class="webbox" name="webbox" size="18" value="Search" onclick="sb_focus();" onblur="sb_out();"/>
    name=”webbox”
    I replace it into name=”s”

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Search.php and SearchForm.php’ is closed to new replies.