All 33 Table of Contents answers
Answer
Two headings have the same name and the links go to the wrong one
They should not — identical headings get -2, -3 and so on, so every anchor is unique.
If the wrong section is reached, something else on the page is almost certainly using the same id. The ones WordPress, WooCommerce and most themes use — #comments, #email, #reviews, #content and the like — are already avoided, which is why a heading called "Email" gets #email-2. For anything else, set an anchor prefix under Settings and every generated id gets it, which puts them out of the way of your theme's.
Still stuck? Ask the developers who wrote it. We aim to reply within one business day.
