Hopefully someone can help me with this as I’ve been struggling for a few days.
I’ve built a form on a page that lets users filter Events by custom taxonomies Type, Period and Duration. These are working individually i.e. the filter shows all posts with either Type=x or Period=y but not combined. Can anyone see why?
I’m also trying to figure out how to paginate my results for my custom loop, but can’t figure out why it’s not working?
Any help massively appreciated.
Thanks
osu
EDIT
Ok, for some reason, I can’t use the array method to pass my variables to query_posts() and I’m assuming this is because with the plugin Query Multiple Taxonomies which I need installed for this to work, it only works with the method ‘post_type=event&fttype=daily’ etc.
Here’s my new code which is working:
HOWEVER, even though the pagination is working when you first visit the page, after you submit the form, the pagination stops working. So, nearly nearly there, but I need some help with the last part if anyone can be so kind?
Thanks
osu
To fix your “query filters”
change
to
and to make it work before version 3.1 you will need to install Query Multiple Taxonomies.
Hope this helps.