Skip to content

Instantly share code, notes, and snippets.

@billerickson
Last active November 4, 2015 14:39
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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