What is this? / これは何?
Search Whole Site (tam-sws) is a WordPress plugin. WordPress offers search form which searches only in ordinary Posts, and it does not search in Pages or Attachments. I believe that when a person enters a term in a search form on a web site, the person must want to search in whole the site, not only in a part of it. So I made this plugin. This plugin rewrites search query to remove post_type condition from it. This allows your visitors to search in all types of post entry. If you use WordPress as CMS, you will find this useful.
This plugin works on WordPress 2.1. WordPress 2.0 is not supported.
現行の WordPress が提供する検索フォームの検索対象は通常の投稿(Post) に限られており、ページやアタッチメントのような特殊なタイプのエントリーは対象に含まれません。しかし通常検索フォームを使うときには、通常の投稿だけでなくページやアタッチメントも含めたサイト全体が検索対象になっていると期待するのが普通ではないでしょうか。Search Whole Site (tam-sws) プラグインは検索時の DB クエリを書き換え、post_type の制約を取り除きます。これによりすべてのタイプのエントリーを検索対象とすることができるので、WordPress を CMS として使用している場合などでは特に役に立つでしょう。
このプラグインを使うには WordPress 2.1 が必要です。WordPress 2.0 には対応していません。