Search Blog Posts by Multiple fields

At the top (or side) of my page I would like a grid of about 10 tag buttons, I would like each of them to be ON/OFF clickable like a checkbox, and I would like the page below to show all blog posts which themselves contain all of the tags currently on/checked.

This wordpress solution is almost exactly what I want, though a tad ugly, and most of all I love wix and would hate to move: Search & Filter Pro - Demo Video - YouTube

The results achieved by this designer seem very close but apply to a gallery rather than a blog:

Any help much appreciated. I am a novice coder so if the solution is above my head I’m very open to hiring for it.

Thanks!

Hey
You can’t do that, that is the simple answer. There is no Wix Code API opened yet for Wix Blog so you can’t filter or search in that Data Collection. You can create your own Data Collection but it would not be a good idea. Sorry to deliver bad news.

Thanks for your reply. As you can tell since you replied to my other thread, I am seeing if a database or “data collection” based blog might work better for me. Why do you think it’s a bad idea? I already see greater capabilities with the tag/search abilities: Wix Code | How to Create a Search for Your Database - YouTube

I’ve realized that I can filter blogs by category and tag simultaneously (though threre is no mention of this in WIX resources).

For example:
Clicking the animation tag on my test site shows two results:

Clicking the commercial category shows these three results:

But navigating to a combination of the two url extensions sucessfuly filters out the one video that is both animation and commercial:

Creating custom buttons that go to tag or category URL’s is easy, but for this dual-filter to work I would need the buttons to “append” the current url with the added /tag/animation instead of replacing the whole URL.

This sounds relatively easy to do, any suggestions?

Sounds like a good idea, you will need to use wixLocation.to then. Smart move.

Hi Andreas, thanks so much for your reply and suggestion. Being quite a newbie I seem to have failed to get the wixLocation.to to work. I’ve read over the resources and tried many different code arrangements but no luck. Here is a test site https://alexezorsky.wixsite.com/mysite-1/blog/category/commercial

The VFX button you see in the header has the following code:

Any help supremely appreciated!

I’ve also tried this:

import wixLocation from ‘wix-location’;

export function VFXbutton_click(event,$w) {
//Add your code for this event here:
wixLocation.to(‘/tag/vfx’)
}