Home / Forums / WoodMart support forum / Issue with table of contents widget on page terms of services
Home › Forums › WoodMart support forum › Issue with table of contents widget on page terms of services
Issue with table of contents widget on page terms of services
- This topic has 8 replies, 2 voices, and was last updated 1 week, 1 day ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
October 22, 2025 at 6:07 pm #692266
support-1088ParticipantHello we are facing problem in one of our internal pages . Specically on the page ” Όροι Χρήσης” with url: https://shop.futureplus.gr/terms-conditions/
We have cretaed on top of the page in elementor we have placed the widget “table of contents”, we have placed h1, h2,h3 tags in our content. But for some reason on top of the tabe appear two options that are not valid and do not have either h1, h2 or h3 tags . We have uploaded a screenshot and pointed out the two wrong entries in the table.
Can you assist us?
Thank you
Attachments:
You must be logged in to view attached files.October 23, 2025 at 10:58 am #692338
Aizaz Imtiaz AwanKeymasterHello,
Sorry to hear about the inconvenience. Kindly, please share your Site WP-ADMIN Login details in the Private Content field so that we can check this concern on your Site and help you out accordingly.
Best Regards,
October 23, 2025 at 1:28 pm #692376
support-1088ParticipantSending more info
October 24, 2025 at 8:16 am #692488
Aizaz Imtiaz AwanKeymasterHello,
Could you please check how it works with some default WordPress themes like WooCommerce Storefront or Twenty-Twenty-Five to understand if it is our theme issue or not?
Best Regards,
October 24, 2025 at 10:30 am #692529
support-1088ParticipantHello, it seems like the widget doesn’t work for Twenty-Twenty-Five.
October 24, 2025 at 2:30 pm #692603
Aizaz Imtiaz AwanKeymasterHello,
The unwanted TOC entries are generated because the long paragraph before your
<h3>heading contains several service names like “Υπηρεσία Εγκατάστασης & Ενημέρωσης Advanced Builder (1 έτος)”.The Table of Contents widget sometimes scans text blocks that include
<strong>or inline elements and incorrectly interprets them as headings, especially when they contain Greek characters and parentheses.To fix this:
- Wrap the paragraph inside a separate container and in the TOC widget settings, enable “Container” and exclude that section by CSS selector (for example: .exclude-toc).
- Or simply add the class exclude-toc to that text block in Elementor > Advanced > CSS Classes, then go to TOC widget > Exclude by Selector → add .exclude-toc.
- Update the page and regenerate the TOC.
After excluding that paragraph, only valid
<h3>and other real heading tags will appear in the Table of Contents.
https://postimg.cc/vDk5BwRBBest Regards,
October 27, 2025 at 6:48 pm #693043
support-1088ParticipantHello and thanks for your reply.
However, it seems like it reads the extra texts for the menu, and not from the paragraph, because now it generated more, as shown in screenshot. Is there any way to fix this?
Thank you.Attachments:
You must be logged in to view attached files.October 27, 2025 at 6:52 pm #693046
support-1088ParticipantManaged to exclude the menu by css selector, and it worked. Thank you, we can close the ticket now.
October 28, 2025 at 6:50 am #693082
Aizaz Imtiaz AwanKeymasterHello,
That’s great to hear!
I’m glad you managed to resolve the issue successfully. If you need any further assistance or have other questions in the future, feel free to open a new topic — we’ll be happy to help.
Have a wonderful day!
Topic Closed.
Best Regards, -
AuthorPosts
The topic ‘Issue with table of contents widget on page terms of services’ is closed to new replies.
- You must be logged in to create new topics. Login / Register