Taxonomy Filter for Calendarize it!

Taxonomy Filter for Calendarize it!

Taxonomy Filter for Calendarize it!

Taxonomy Filter for Calendarize it! is an add-on, which allows you to enable drop down filters for default or custom Taxonomies quickly.

By default Calendarize it! has three built in Taxonomies (filters), which are “Calendar,” “Organizers” and “Venues.” You can quickly 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 (131)
Spartan Races (84)
Tough Mudder Events (43)
RightHere LLC (12)
Gym Schedule (10)
School Schedule (10)
WordPress (9)
Rukus Sports (8)
Radio Program (7)
Plugins (5)
WordCamp (5)
Endurance Events (3)
Warrior Dash (2)
Google Calendar (2)
Meetup Calendar (2)
Civilian Military Combine (1)
Colored Calendar (Purple) (1)
Colored Calendar (Green) (1)
Online Seminars (1)
Chipotle Mexican Grill (1)
Food (1)
US Holidays (1)
Yoga (1)
Recurring Events (test) (1)
geloveninharderwijk (1)
atheneumbrasschaatbe (1)
Arbitrary Repeat (1)
Repeat Event (1)
Timetable (0)

Changelog

Version 1.0.2.77381 – March 8, 2017

  • Compatibility Fix: Change classes where the constructor has the same name as the class to __construct (PHP 7 compatibility).

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