Archive plugin & taxonomy filter

Hello,
for anyone wants to display Archive of posts and is struggling looking for a filter with multple or different categories, I’m going to show you a possible workaround:
 

    1. Set a custom field in \system\blueprints\pages\default.yml

for eg.

            header.taxonomy.CUSTOM:
              type: selectize
              label: Custom
              classes: fancy
              default: Custom
              validate:
                  type: commalist

 

    1. Add custom field to taxonomies list in \system\config\site.yaml
      taxonomies: [category,tag,CUSTOM]
       

 

    1. Change filter type in \user\plugins\archives\archives.yaml

for eg.

enabled: true
built_in_css: true
date_display_format: ‘F Y’
show_count: true
limit: 12
order:
by: date
dir: desc
filter_combinator: and
filters:
CUSTOM: CUSTOM
taxonomy_names:
month: archives_month
year: archives_year

Now the filtered list will be displayed in the sidebar:

list