This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//Drop this in your functions.php file in a safe place | |
//Change all references to "borough" or "Borough" to the taxonomy you need (pay attention to the correct capitalization) | |
//Then save the edited functions.php | |
//Find this new filter in: WP Admin > Events > Settings > Filterbar | |
//Docs for TribeEventsFilter: http://docs.tri.be/Filter-Bar/class-TribeEventsFilter.html | |
// | |
// | |
//This addresses adding/registering the taxonomy to WordPress and the filter functionality to Events Calendar Pro Filter Bar in one shot | |
// |