>

ID ) ) { the_excerpt(); } else { // Display custom excerpt. echo wp_trim_words( strip_shortcodes( $post->post_content ), $length ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } ?>