Skip to content

Instantly share code, notes, and snippets.

@jmabbas
Created June 7, 2017 09:48
Show Gist options
  • Save jmabbas/3798abc3fe9aa84682af2821727fa7c4 to your computer and use it in GitHub Desktop.
Save jmabbas/3798abc3fe9aa84682af2821727fa7c4 to your computer and use it in GitHub Desktop.
Bethlehem header timer counter name change
add_filter( 'events_countdown_widget_title', 'beth_child_events_countdown_widget_title_change' );
if( ! function_exists( 'beth_child_events_countdown_widget_title_change' ) ) {
function beth_child_events_countdown_widget_title_change() {
return 'Next Mass Starts In: ';
}
}
add_filter( 'our_store_carousel_title', 'beth_child_our_store_carousel_title_change' );
if( ! function_exists( 'beth_child_our_store_carousel_title_change' ) ) {
function beth_child_our_store_carousel_title_change() {
return 'Parish Book Store';
}
}
add_filter( 'blog_archive_link_text', 'beth_child_blog_archive_link_text_change' );
if( ! function_exists( 'beth_child_blog_archive_link_text_change' ) ) {
function beth_child_blog_archive_link_text_change() {
return 'See Past Events';
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment