Excerpt generation skipping InnerBlocks within custom blocks
-
Hi, I have custom blocks within gutenburg which allow for the addition of InnerBlocks and I can’t get relevanssi to include these InnerBlocks when generating excerpts.
After a lot of searching I discovered there is a core wordpress filter to add custom wrapper blocks for excerpt generation within wp core -> excerpt_allowed_wrapper_blocks – When I add my custom blocks to that array the InnerBlocks are included within wordpress core excerpt generation, but still skipped over when using relevanssi.Wondering if there is something obvious I am missing, like a filter etc… ?
FYI – When I output the indexed content of the said posts the ‘post content’ section does include the content of the inner blocks.
Thanks
- The topic ‘Excerpt generation skipping InnerBlocks within custom blocks’ is closed to new replies.