Support » Fixing WordPress » search form returns no results

  • Hi.

    I’m building a wordpress theme. I have copied search.php and searchform.php from the twentyeleven theme.

    searchform.php works fine. It shows up when it’s called and when a search term is entered, it returns the search page. But no results are ever returned.

    What could be causing this?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi,

    Could you post a link to your site so I can take a look?



    Were you able to figure this out?

    Hey Marventus.
    Thanks for the continued interest.

    I haven’t figured it out yet, but I’m also out of town. I won’t be hacking at this until I’m back, which will be sometime next week.

    I’ll update the thread then.


    I’m back from a brief holiday, and back into figuring out this problem.

    Here is a link to the site I’m working on:


    Did you read this Codex article?

    No I hadn’t.
    Thanks for pointing me towards it.

    So, if I gather correct, pagination for posts won’t work at all, when the posts are being called from a page, unless a plugin is used?

    I’m still working on this, and have no solution yet.

    Is this a known problem?

    Is there a trouble shooting process to follow when the search returns no results?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘search form returns no results’ is closed to new replies.