Skip to content

Instantly share code, notes, and snippets.

View ckpicker's full-sized avatar

Casey Picker ckpicker

View GitHub Profile
<?php if (function_exists('tribe_get_ticket_form') && tribe_get_ticket_form()) { tribe_get_ticket_form(); } ?>
<?php if (function_exists('tribe_get_ticket_form') && tribe_get_ticket_form()) { tribe_get_ticket_form(); } ?>
<?php if (function_exists('tribe_get_ticket_form') && tribe_get_ticket_form()) { tribe_get_ticket_form(); } ?>
@ckpicker
ckpicker / gist:6066185
Created July 23, 2013 21:08
Remove Tooltips from EC 3.0
.tribe-events-tooltip {
display:none !important;
}
@ckpicker
ckpicker / gist:6125290
Created July 31, 2013 19:26
CSS for Hiding Event Images & Event Cost on the Community Event Submission Form
#event_images, #event_cost {display:none !important;}
@ckpicker
ckpicker / gist:6125378
Created July 31, 2013 19:34
jQuery to add ID to Event Image Section
function print_my_inline_script() {
?>
<script type="text/javascript">
jQuery(document).ready(function()
{
jQuery("input[name='event_image']").parents(".tribe-community-event-details").attr("id","event_images");
});
</script>
<?php
}
@ckpicker
ckpicker / gist:6143167
Created August 2, 2013 20:25
Add Intro Text to 'My Events' Page in Community
add_action('tribe_events_community_list_before_template', 'customize_community_list_intro_text', 10);
function customize_community_list_intro_text() {
echo '<p>Your HTML code to insert before the list will go here.</p>';
}
@ckpicker
ckpicker / gist:6143701
Created August 2, 2013 21:45
Change the 'My Events' text on the Community Events Listing Page
add_action('tribe_ce_event_list_page_title', 'change_the_title', 10);
function change_the_title() {
return 'New Title';
}
@ckpicker
ckpicker / gist:6143702
Created August 2, 2013 21:45
Change the 'My Events' text on the Community Events Listing Page
add_action('tribe_ce_event_list_page_title', 'change_the_title', 10);
function change_the_title() {
return 'New Title';
}
@ckpicker
ckpicker / gist:6143707
Created August 2, 2013 21:45
Change the 'My Events' title on the Community Events Listing Page
add_action('tribe_ce_event_list_page_title', 'change_the_title', 10);
function change_the_title() {
return 'New Title';
}