>
Download This Plugin | |
Download Elegant Themes | |
Name | Eventbrite Attendees Shortcode |
Version | 1.1.3 |
Author | Austin Passy |
Rating | 0 |
Last updated | 2014-10-29 04:43:00 |
Downloads |
1720
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
Eventbrite Attendees Shortcode plugin added 14 bytes of resources to the Home page and 15 bytes of resources to the sample Post page.
Eventbrite Attendees Shortcode plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! Eventbrite Attendees Shortcode plugin ads no tables to your Wordpress blog database.A shortcode to pull in your Eventbrite attendees list.
Example shortcode useage:
[eventbrite-attendees id="384870157"]
More options: [eventbrite-attendees id="YOUR_EVENT_ID" sort="true|false" clickable="true|false" user_key="USER_KEY(IF_NOT_SET_IN_SETTINGS)"]
Shortcode args:
Leave any comments about the Eventbrite Attendees Shortcode here.
Attendee output control. Eventbrite returns a lot of information in regards to each attendee. You can filter out what you do not want by creating a filter. Use the example code bellow in your theme or a functionallity plugin:
// See: http://developer.eventbrite.com/doc/events/event_list_attendees/ 'only_display' for allowed keys.
function frosty_eventbrite_attendee_data_to_remove( $data ) {
// If you want to start fresh use the next line
//$data = array( 'ticket_id', 'tax' ); // etc..
// If you want to remove additional info from the default
//$newdata = array( 'eventbrite_fee', 'created' ); // etc..
//$data = array_unique( array_merge( $newdata, $data ) );
return $data;
}
add_filter( 'eventbrite_attendees_only_display', 'frosty_eventbrite_attendee_only_display );
Removed is the old app_key and replaced with the user_key. If you want to use your own app key filter it like so:
function frosty_eventbrite_attendees_app_key( $key ) {
return 'MY_NEW_KEY';
}
add_filter( 'eventbrite_attendees_app_key', 'frosty_eventbrite_attendees_app_key' );
Template $make_clickable example; here are two examples:
#1
$name = 'display_name'
function frosty_eventbrite_attendees_make_display_name_clickable() {
return true; //default is false
}
add_filter( "eventbrite_attendees_{$name}_make_clickable", 'frosty_eventbrite_attendees_make_display_name_clickable' );
#2
$names = array( 'display_name', 'company' );
foreach ( $names as $name ) :
add_filter( "eventbrite_attendees_{$name}_make_clickable", "frosty_eventbrite_attendees_make_clickable" );
endforeach;
function frosty_eventbrite_attendees_make_clickable() {
return true; //default is false
}