Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter kensavage

    (@kensavage)

    anyone have any ideas?

    Thread Starter kensavage

    (@kensavage)

    Is this correct?

    <?php include(TEMPLATEPATH . '/searchform.php'); ?>

    That one is correct.
    Some servers, however, don’t work well with this:
    action="<?php echo $_SERVER['PHP_SELF']; ?>"

    Try a newer version of the searchform file, e.g. from the latest default theme.

    Thread Starter kensavage

    (@kensavage)

    that did it Moshu.

    I changes the search.php file to:

    <form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
    <div><input type="text" value="<?php the_search_query(); ?>" name="s" id="s" />
    <input type="submit" id="searchsubmit" value="Search" />
    </div>
    </form>
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘My search works on home page but not sub pages’ is closed to new replies.