WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Coraline 1.1 internal search form limits results (2 posts)

  1. nonno john
    Member
    Posted 2 years ago #

    I have installed a searchform box on my front page --it looks fine and works ok, except it ONLY searches *posts.* Can I modify searchform to also search *comments* and display results?

    Excerpt of code in my header.php:

    <!-- #search box form -->
    <form role="search" method="get" id="searchform" action="http://my.website/blog/">
    <div class="entry-content" style="text-align: right;" >
    <label class="screen-reader-text" for="s"></label>
    <input type="text" size=20" maxlength="20" value="This Site" name="s" id="s-header" />
    <input type="submit" id="searchsubmit" value="Search" />
    </div>
    </form>
    <!-- #end---search box form -->

    Thanks for taking a look.

  2. nonno john
    Member
    Posted 2 years ago #

    Solved problem. I installed plugin --Search Everything --it does the trick.

Topic Closed

This topic has been closed to new replies.

About this Topic