I’m wondering if there’s any way to get this plugin to take the user to a single post rather than a category list?
For example, I am creating a product catalog, and for each product, I have two taxonomies: color and hardware. Currently, this widget will show two dropdowns, one for each taxonomy, and users can choose color and hardware. So far so good. Then, when the user clicks the “Submit” button, what comes up is a url that looks like this:
http://www.mysite.com/?colors=bk&hardware=ltewhich gives me a “list” of the posts that use the “bk” and “lte” taxonomy terms.
My problem is that in my case, only one post would ever use those two taxonomy terms together. So, I’d like to take them directly to that post.
I’m using a Custom Post type (products) to create the posts. Each post will be named using the same naming convention: ProductName-Color-Hardware. What I’d like to be able to do is maybe have a custom field with the product name (product1), insert that in and then insert the taxonomy terms after it.
So, for example, instead of returning the url:
.../?colors=bk&hardware=lteit would output:
I hope I explained that correctly. My goal is to have a sort of “configurator” of sorts for our product. Pick your color and hardware and you are taken directly to a page that shows you exactly what the product you want would look like.
Thanks in advance!
- The topic ‘[Plugin: Query Multiple Taxonomies] Show single post instead of category list’ is closed to new replies.