Archived topic
Yoast Table of Content not picking up GeneratePress Headers
7 replies · Started by solomon on February 21, 2023
Hello - when we mark a header in our blog using Headline Yoast Table of contents does not pick up the headline.
Hi there,
Just to confirm, does it works correctly with the WP core headings block?
https://wordpress.org/documentation/article/heading-block/
If so that might be the way to go.
Im not sure that helps -
Sorry I edited my previous reply to include a question:
https://generatepress.com/forums/topic/yoast-table-of-content-not-picking-up-generatepress-headers/#post-2541899
Can you give that a shot?
The link does not seem to work
The link takes you to my first reply:
Just to confirm, does it works correctly with the WP core headings block?
https://wordpress.org/documentation/article/heading-block/If so that might be the way to go.
Can you give that a test?
Sorry - yes it does.
I tested it both ways
I'm not sure what is required for Yoast TOC to detect GB's headline block unfortunately.
In this case, I would recommend using the Heading block from WP core instead.