Remember at start of this tutorial we created a tour types taxonomy, by allowing asign a category for each node from content type tour? Today we gonna add these values to our tours page, by allowing for users to filer tours by their type:
Open your view tour, and under filter settings add filter Tour type:
Make sure you check next to Expose this filter. Save your view, now by accessing your view page, you should see something similiar to this:
Which is nice, and does his job as needed (filters on values entered)
Depending on your mood and needs, you can leave this, or you can expose this filter as seperate block. In part 6, I'm talking how to configure blocks. So by exposing this filter as block, we would have more control of it.
To expose filter as block - open Advanced tab on your page view, and look for Exposed form, change value from No, to Yes.
Save your view, and go to blocks page (structure/block)
New block called Exposed form: your name will show up in Disabled blocks section. Now you can put this block in which region you would like to. For this tutorial I'll put thi block on our Bootstrap subthemes Secondary (Right Sidebar) section.
Again, like in case when we putted Featured block to be visible jut on frontpage, we must limit viibilty of this block, to be visible just on the page, which it's related (tours)
Lets visit our page (tours) to see how it looks like:
Nice, don't you agree?