WordPress.org

Ready to get started?Download WordPress

Forums

Search Not Working in LafontisMagazine 1.0 Theme (2 posts)

  1. web-girl
    Member
    Posted 2 years ago #

    I'm having problems getting the search to work in the LafontisMagazine 1.0 theme. The theme doesn't find any search results when I use the default search. It does find "no results." It won't display any results - even though I'm searching for terms in post titles, etc. and I've tested it in both Posts, Pages, and the Home page.

    When I use TwentyEleven, the search works fine. I noticed the theme doesn't have a search.php file and I pasted in the TwentyEleven code for search.php and searchform.php to test it, but it still isn't working. Can anyone help? I also installed the Search Everything plugin, but that isn't helping with the search working, either. Thanks!

  2. Kashif
    Member
    Posted 2 years ago #

    <form role="search" method="get" id="searchform" action="<?php echo home_url( '/' ); ?>">
    
            <input type="text" class="test1" value="" name="s" id="s" />
            <input type="submit" class="test2" id="searchsubmit" value="" />
    
    		</form>

Topic Closed

This topic has been closed to new replies.

About this Topic