WordPress.org

Ready to get started?Download WordPress

Forums

Search form doesn't work (5 posts)

  1. maryafernanda
    Member
    Posted 9 years ago #

    I created myself a new theme and added the search form to a separate page (instead of sidebar), but it doesn't work. When I click the search button, it loads again the original page, no results. I have in my theme folder search.php and searchform.php, and have

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

    in my page to show up the form... what's missing??
    Thanks!

  2. Kafkaesqui

    Posted 9 years ago #

    What does the action attribute in your search form have as a value?

  3. sgwood
    Member
    Posted 9 years ago #

    Similiar problem here.
    i suspect that the search isn't searching Pages.
    I have tested a clean 1.5 on different servers and the search
    seems to only return Posts and not Pages with the searched content.

  4. Kafkaesqui

    Posted 9 years ago #

  5. sgwood
    Member
    Posted 9 years ago #

    brilliant! thankx

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.