Boolean and multiple category search
I'd like to be able to call up all posts belonging to any combination of categories (instead of one category at a time), and then to do a word search of those categories and then another word search based on that search, and so on.
(maybe, as well as categories, tags and html meta keywords as well.)
Yeah. I can see people wanting all different sorts of interfaces to it, so I'm not sure it could be included in basic templates, but giving us the basic functionality would be very useful.
I've been contemplating building a plug-in for adding this type of boolean search-
two clients come to mind:
a scooter shop- which would post each scooter as a post- would be able to search for Make, New or used, Price (with ranges), year. The categories would be entered like categories and sub categories- with a data set showing up in the dashboard underneath the post.
A real estate company could do the same for listings:
Type of property, size in sq. ft, price, zip code etc.
all the categories could be entered by the user- and then create a sidebar based search parameter only for the posts that fit.
A good example of Boolean search is shown on the WordPress theme viewer: http://themes.wordpress.net/
I would like to be able to create blog-pages that show posts from two or more specific categories. This could be done with the above requested script and proper url- rewriting.
while the normal category pages could be
and the normal search results page:
The only thing that has to be done is change the search-script so that it recognizes the cats GET variable in the url and change the output according to it.
“This idea is under consideration”
Is there anyway that one could contribute to the development of this feature?
As previously mentioned the binary search functionality of the theme viewer is a good (if not already complete) starting point.
Especially with the new tag and category handling of WP 2.3.
Anybody know the initial developer of this feature and how to get in contact with him/her.
This isn't exactly what you were asking for, but it's similar. My page is an image gallery where each post is a different image. I use categories to mark which characters from the show are in which picture and perhaps other aspects (like season 1 and season2). If I want a picture of season1 and this particular character, I wound need to select multiple categories and then have only those posts show. I've got the code that does it here:
Closing thread b/c can be done with a plugin, but FYI, better search options should make it into core over the next few versions.
RSS feed for this topic
This topic has been closed to new replies.