How can you wrap add_filter with a if is_home() statement?
The is_home() function isn’t available until the parse_query action. So you’d probably want to rewrite your code like so: if ( ! function_exists( ‘df_excerpt_more’ ) ) { function df_excerpt_more( $more ) { return ‘ … <a class=”more-link” href=”‘ . esc_url( get_permalink( get_the_ID() ) ) . ‘”>’ . esc_attr__( ‘Read More’, ‘applique’ ) . ‘<i class=”ion-ios-arrow-thin-right”></i></a>’; … Read more