[wp-hackers] Searching in general
otto at ottodestruct.com
Wed Oct 3 20:39:28 GMT 2007
Search.php is already in the template hierarchy. It's the search
results page. :)
On 10/3/07, Peter Westwood <peter.westwood at ftwr.co.uk> wrote:
> I've just been reading through the latest bits of the (page)
> searching discussion.
> How about the following solution:
> Add a new file to the files you can put in your theme - search.php.
> Add new template tags and loop for the search results.
> Search *everything* - Posts, Pages, Comments, Author names etc (or at
> least make it easy for plugins to populate the search results.
> Backward compatibility would be provided by if no search.php then we
> use index.php and post only searching.
> Peter Westwood <peter.westwood at ftwr.co.uk>
> Blog: http://blog.ftwr.co.uk/
> WordPress Plugins: http://blog.ftwr.co.uk/wordpress/
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers