-
Notifications
You must be signed in to change notification settings - Fork 40
Adapting a Theme (Theme Dev Info)
Jamie Roberts edited this page Apr 8, 2016
·
3 revisions
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.
-
user_owned_events
: Eventbrite documentation. -
event_details
: Eventbrite documentation. -
event_search
: Eventbrite documentation.