Search Results

If your search results use the same loop as your home page, your visitors will see the full text of your posts and pages in the list of results. That might be a lot of text! Instead, consider using the_excerpt().

Pages don't have excerpts, so this will require a little setup. Remember that posts and pages share the same database table, which means they really have all the same fields, even if you don't see them in the edit screens. The PJW Page Excerpt plugin adds the excerpt box to the Page ^ Edit screen. With this in place, you can write brief summaries of your pages for the search results list.

In your search.php file, replace the_content() with the_excerpt(). You should see a much shorter, more user-friendly search results page.

Advance SEO Techniques

Advance SEO Techniques

Turbocharge Your Traffic And Profits On Auto-Pilot. Would you like to watch visitors flood into your websites by the 1,000s, without expensive advertising or promotions? The fact is, there ARE people with websites doing exactly that right now. How is that possible, you ask? The answer is Advanced SEO Techniques.

Get My Free Ebook


Post a comment