From the list: Build ✔ Homepage Posts - pull in excerpt Veronica A. added this on Oct 14, 2019 Completed Oct 14, 2019 by Kyle S. Assigned to Kyle S. Comments & Events Kyle Sullivan, Web Development I hooked in the wrong function. Here's what I had in functions.php.if( ! function_exists( 'church_custom_excerpt_length' ) ) { function church_custom_excerpt_length( $length ) { return 30; } add_filter( 'excerpt_length', 'pat_custom_excerpt_length', 999 ); }Once I replaced that with the correct function (church_custom_excerpt_length), everything works swimmingly. Oct 14, 2019 at 6:05 PM Notified 1 person Kyle Sullivan completed this to-do. Oct 14, 2019 at 6:05 PM
Kyle Sullivan, Web Development I hooked in the wrong function. Here's what I had in functions.php.if( ! function_exists( 'church_custom_excerpt_length' ) ) { function church_custom_excerpt_length( $length ) { return 30; } add_filter( 'excerpt_length', 'pat_custom_excerpt_length', 999 ); }Once I replaced that with the correct function (church_custom_excerpt_length), everything works swimmingly. Oct 14, 2019 at 6:05 PM Notified 1 person
if( ! function_exists( 'church_custom_excerpt_length' ) ) { function church_custom_excerpt_length( $length ) { return 30; } add_filter( 'excerpt_length', 'pat_custom_excerpt_length', 999 ); }