Skip to content

Instantly share code, notes, and snippets.

@billerickson

billerickson/functions.php Secret

Last active Nov 4, 2015
Embed
What would you like to do?
<?php
/**
* Add theme support for event categories
* @author Bill Erickson
* @link http://www.billerickson.net/code/be-events-calendar-categories
*/
function be_event_theme_support() {
add_theme_support( 'be-events-calendar', array( 'event-category' ) );
}
add_action( 'after_setup_theme', 'be_event_theme_support' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.