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


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. More details can be found at the Eventbrite API GitHub repo.

= What Eventbrite endpoints are supported? =

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

= Where can I get detailed documentation for working with the plugin? =

All development for Eventbrite API plugin is done through the GitHub repo, and detailed documentation can be found on the repo's GitHub page.