Search Pages Plugin
Deprecated
This version of this plugin in deprecated. It only works in older versions of WordPress.
However, a newer version of the plugin is maintained by InternetOfficer.com: the Search Pages 2.0 Plugin. This plugin looks like it should work with any version of WordPress that supports pages.
Version 0.1
Search Pages is a WordPress 1.5 plugin that makes search queries look at pages and posts both instead of only posts. The current version is 0.1 and was released on March 5, 2005.
Search Pages is basically Rob Schlüter’s hack put into plugin form.
I have not tested this plugin under WordPress 2.0. I have heard that it does apparently work in earlier versions of WP2. However, Search Pages does not presently work for the current release of WordPress.
Comments, bug reports, and other issues can be discussed on my forums.
Download
Search Pages
[ source ] [ .tar.gz ] [ .zip ]
Known Issues
There seems to be some incompatibility with this plugin and a bug with the wp_list_pages function in WordPress 1.5. The problem was fixed in WordPress 1.5.1. If some searches result in the menu not generating properly, you should upgrade to the latest WordPress version.
Installation
If you have the WP Plugin Manager installed, then you can simply install this plugin through One-Click install.
Otherwise, Search Pages can be installed in 3 easy steps.
- Download the plugin (see “Downloads” above).
- Decompress the .zip or .tar.gz archive and put search_pages.php in your plugins directory (/wp-content/plugins/).
- Enable the plugin in the WordPress Plugins admin page!
Demos
This plugin is activated on my website, so try doing a few searches on some terms that would appear in both pages and posts. For example, search on plugin.
Related Plugins
- Pages Advanced by David Mitchell
- Advanced features for pages. Search Pages and Page Restriction are built into Pages Advanced (so don’t use Search Pages with Pages Advanced).
- Search Everything by Dan Cameron
- Searches the comments in addition to the pages and posts.
Credits
As mentioned above, Search Pages is basically Rob Schlüter’s hack put into plugin form. His hack shows what you must change in the queries, all I did was figure out how to make a plugin do it instead of having to hack the WordPress source.