Skip to content

Instantly share code, notes, and snippets.

@Pebblo

Pebblo/functions.php Secret

Created Jun 9, 2016
Embed
What would you like to do?
Example of removing the 'Upcoming events' text when using the ESPRESSO_EVENTS shortcode.
<?php //Don't includee the opening PHP tag if you already have one
function tw_ee_remove_upcoming_events_title() {
return '';
}
add_filter( 'FHEE__archive_espresso_events_template__upcoming_events_h1', 'tw_ee_remove_upcoming_events_title' );
@Lillieleen

This comment has been minimized.

Copy link

@Lillieleen Lillieleen commented Jun 13, 2016

Hey and thanks sooo much for your quick reply.
I got the problem with the buttons solved. But I still cannot get rid off the "Upcoming Events" thing. I tried several different things already.
Are you sure the code is right?
Thanks so much again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.