Taxonomy Filter for Calendarize it!

Taxonomy Filter for Calendarize it!
Taxonomy FIlter for Calendarize it!

Taxonomy Filter for Calendarize it! is an add-on, that allow you to easily enable drop down filters for default or custom Taxonomies.

By default Calendarize it! has three built in Taxonomies (filters), which are “Calendar”, “Organizers” and “Venues”. You can easily add drop down filters for these by adding the following attributes to your Calendarize it! shortcode.

  • btn_tax_calendar
  • btn_tax_venue
  • btn_tax_organizer

You can add these to the left side or the right side above the calendar by using the “header left” or “header right” argument.

You can in the same way add drop down filters for any Custom Taxonomy you have created using the Capabilities and Taxonomies add-on, by using the “slug”.

In this site we have created the Custom Taxonomies “State” and “Country”, which we have inserted in the shortcode used below.

[calendarizeit header_left="prevYear,prev,next,nextYear" header_right="btn_tax_calendar,btn_tax_country,btn_tax_state,btn_tax_organizer,btn_tax_venue"]

You can add the attribute tax_filter_multiple. By default the value is “1”. If set to “0” in Taxonomy drop down filters, only one value can be selected, not multiple.

Calendar Color Code Overview

If you have the Event Color by Taxonomy add-on you can add color coding to the drop down filters shown above, and you can create this overview showing the different colors used.

Currently you can use the following arguments.

  • ‘columns’ allowed columns 1, 2, 3, 4, 6, 12
  • ‘taxonomy’ an rhc taxonomy custom or default
  • ‘hide_empty’ 1 or 0
  • ‘orderby’ one of this values ‘id’,’name’,’slug’,’count’,’none’
  • ‘order’ ASC or DESC
  • ‘parent’ integer value
  • ‘child_of’
[rhc_color_key taxonomy="calendar" columns="3" orderby="count" order="DESC"] [calendarizeit]
Obstacle Racing (134)
Spartan Races (85)
Tough Mudder Events (44)
RightHere LLC (11)
WordPress (10)
Rukus Sports (9)
Radio Program (8)
Plugins (5)
WordCamp (4)
Warrior Dash (3)
Google Calendar (3)
Endurance Events (3)
Food (3)
Savage Race (2)
Civilian Military Combine (2)
Colored Calendar (Purple) (2)
Colored Calendar (Green) (2)
Online Seminars (2)
Le Pain Quotidien Bakery (2)
US Holidays (2)
Formula 1 (1)
GORUCK (1)
Rugged Maniac (1)
Ultra Running (1)
Youth (1)
Starbucks (1)
Chipotle Mexican Grill (1)
Jarets Stuffed Cupcakes (1)
Yoga (1)
теста (1)

Changelog

Version 1.0.1.57303 – March 18, 2015

  • New Feature: Added support for Custom Taxonomies not added by Calendarize it!

Version 1.0.0.54614 – November 1, 2014

  • First Release