Excerpts for Archive Results

We’ve modified the Archive results page, sitewide, to only retrieve article excerpts for each post you are seaching for by Month, Tag or Category. This replaces the full-text “finds” that WordPress usually offers.

You’ve probably tried the popup menus in our sidebar for Archives or Categories . Tags work the same way. All produce listings of articles that match your search selection. These features are discussed in our newly updated page Site Navigation 2009.

The stock page retrieved all of the text for all of the found articles. This often resulted in dumping of huge multipage result listings. Since many site articles are feature-length, we found this awkward when all we are doing is trying to get an overview of articles in a desired category, tag, or publication month and year.

We changed the code so it only lists the “excerpt” for each article, which affords much easier browsing. To read the complete text of any article so listed, just click its title line.

Tech Note: If you run a WordPress installation, locate the page archive.php in your theme folder, assuming your theme supports it [we are using Kubrick – “default”]. In the Loop, locate the tag the_content(). Change it to read the_excerpt(). Upload. That’s all!

1,543 total views, 2 views today