Saturday, 1 June 2013

Multiple taxonomy (category) filters

Multiple taxonomy (category) filters

I would like to add advanced filtration to my wp website.

E.g.:
- you can filter cars by "fuel type", "purpose", "color", "brand/make"...
- I would like to get intersection of results in one page.
- all with "nice URLs", like "example.com/diesel/land-rover/red", "example.com/petrol/honda/yellow"

I think, using custom taxonomies is a good way to add articles to the groups, what I don't know is, how to modify rewrite rules, to have nice urls (I hope, it would be enough to modify query_vars to modify actual loaded content in taxonomies.php)... I'm really lost in the rewrite rules though :(
Anybody can help?
Thanks

No comments:

Post a Comment