This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ee-category-legend-ul #ee-category-li-70, | |
#ee-category-submit option[value=unlisted] { | |
display:none | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//* Please do NOT include the opening php tag, except of course if you're starting with a blank file | |
function espresso_list_of_event_dates( $EVT_ID = FALSE, $dt_frmt = '', $tm_frmt = '', $echo = TRUE, $show_expired = NULL, $format = TRUE, $add_breaks = TRUE ) { | |
$dt_frmt = ! empty( $dt_frmt ) ? $dt_frmt : get_option('date_format'); | |
$tm_frmt = ! empty( $tm_frmt ) ? $tm_frmt : get_option('time_format'); | |
$datetimes = EEH_Event_View::get_all_date_obj( $EVT_ID ,$show_expired ); | |
//d( $datetimes ); | |
if ( is_array( $datetimes ) && ! empty( $datetimes )) { | |
global $post; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//* Please do NOT include the opening php tag, except of course if you're starting with a blank file | |
function ee_no_index_tagseo_meta() { | |
if (is_tax('espresso_event_categories') ) { | |
?> | |
<meta name="robots" content="noindex tony"> | |
<?php | |
} | |
} | |
add_action( 'wp_head', 'ee_no_index_tagseo_meta', 9 ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Options | |
$date_format = get_option( 'date_format' ); | |
$time_format = get_option( 'time_format' ); | |
// Load Venue View Helper | |
EE_Registry::instance()->load_helper('Venue_View'); | |
// EE_Registry::instance()->load_helper( 'Template' ); | |
//Defaults | |
$reg_button_text = !isset($reg_button_text) ? __('More Info', 'event_espresso') : $reg_button_text; | |
$alt_button_text = !isset($alt_button_text) ? __('More Info', 'event_espresso') : $alt_button_text;//For alternate registration pages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//* Please do NOT include the opening php tag, except of course if you're starting with a blank file | |
add_filter( 'FHEE__EventEspressoBatchRequest__JobHandlers__RegistrationsReport__reg_csv_array', 'espresso_add_total_taxes_column', 10, 2); | |
function espresso_add_total_taxes_column( $reg_csv_array, $reg_row ) { | |
$sub_line_item_details = array(); | |
$registration = EEM_Registration::instance()->get_one_by_ID( $reg_row['Registration.REG_ID'] ); | |
if( $registration instanceof EE_Registration && $registration->is_primary_registrant() ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//* Please do NOT include the opening php tag, except of course if you're starting with a blank file | |
// Display a contact form when the event is sold out | |
// to be used as a waiting list | |
function ee_espresso_clean_event_status( $event ) { | |
//$event = EEH_Event_View::get_event( $EVT_ID ); | |
$status = $event instanceof EE_Event ? $event->get_active_status() : 'inactive'; | |
return $status; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php //Please do not add the opening PHP tag if you already have one | |
// add category slug to registration checkout and thank you page's body class | |
add_filter( 'body_class', 'jf_ee_return_event_tax_term_on_spco' ); | |
function jf_ee_return_event_tax_term_on_spco( $classes ){ | |
// get out if this isn't the reg checkout page | |
if (! is_page( 'thank-you' ) && ! is_page( 'registration-checkout' ) ){ | |
return $classes; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media (max-width: 640px) { | |
.tkt-slctr-tbl, | |
.spco-ticket-details { | |
table-layout: fixed; | |
font-size: .8em; | |
} | |
.tkt-slctr-tbl tr td { | |
padding-left: 2px; | |
padding-right: 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// suggested code placement is right after the line that says: | |
// $pdf->ImprovedTable($header, $attendees, $w, $alling); | |
$pdf->Ln(1); | |
$pdf->my_itemised_surcharge($attendees); |