Anchor html | WordPress.org

[ad_1]

Hi,

how to do you add these blocks:

Other stations
Stations in Occitania
Stations in France
Car rental

They seem to be special somehow. SimpleTOC tries to find all headings and add id anchors to them. You could try to add an id manually, like for “Car rental” add “location-de-voiture”. Select your “Car rental” block, then go to “advanced” and add “location-de-voiture” as the HTML anchor.

But in the end you should try to find out what is special about these headings. Perhaps to delete these headings and re-adding them is the better plan.

A big thank you for your quick response.
The block used is a reusable block: it seems that simpleTOC decides which anchor to use, your advice directed me to this solution which seems to work.
In summary: for a reusable block with several grouped blocks, it is not the anchor of the advanced configuration of the block which must be used but the one defined by simpleTOC. There is a solution, it suits me and I take this opportunity to thank you for this excellent plugin.
Beautiful day

=) You are welcome to leave a review:

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer