Alright, well here’s what it looks like when I create a page in WordPress:
https://snipboard.io/91P0pk.jpg
In Gutenberg, I can set the ‘HTML Anchor’ for a heading under Advanced Settings, in the sidebar. This just creates an ID attribute for the tag.
However, if I leave this blank, Yoast will create an ID for the header, based on the title itself:
https://snipboard.io/jKuEXq.jpg
In this example, I left the HTML Anchor field blank for the first H2, but manually entered something for the second H2. The first one’s ID was filled in by Yoast.
This is what I want, but I also have custom post types. For instance, I use a plugin called Events Manager and it creates a custom post type called ‘Event’. When I add headings to pages or posts, Yoast attaches the auto ID. It does not do this for the custom posts.
How do I extend this functionality to custom posts?