It’s possible to remove any block types from the WordPress post excerpts. These excerpts usually appear on archieve pages and can look weird due to block content. We’ve put together an example that will remove all Gutenberg heading blocks (h1, h2, h3, h4, h5, h6) from the post excerpt. The above function removes the core/heading …