Skip to content

Adapting a Theme (Theme Dev Info)

Jamie Roberts edited this page Apr 8, 2016 · 3 revisions

I'm a theme developer; how can I make my theme Eventbrite-optimized?


Quick route:

Add this to functions.php:

add_theme_support( 'eventbrite' );

Then add these files to your theme and customise the content with these handy functions :

/eventbrite/eventbrite-index.php /eventbrite/eventbrite-single.php


##Proper Answer##

Assuming your theme is based on Underscores, most of the work is already done for you. Just load the theme, and compare your markup to that of the plugin's included templates. Make your own copies, adjusting the markup as needed, and then assign your templates in an add_theme_support call. Most themes can be done in under ten minutes.

##What Eventbrite endpoints are supported?##

The following endpoints are currently supported, with more on the way. Open an issue to request support for others.