I now seem to have managed to get the short code to display the table of contents, should it be sticky? as at the moment it scrolls with the page?
Plugin Author
Vinod
(@vinodkudavoor)
The plugin does not appear to have any issues with editors such as WPBakery. Please ensure that the free version of the plugin is disabled, and also check for any compatibility conflicts with other installed plugins.
Thank you.
Thanks for the reply Vinod.
I have disabled the free version and now things seem to be working ok 🙂
A couple of quick questions. The anchor links get automatically generated but this means my entire site gets the link next to all headings, is there a way to set this only to pots or turn it off? im currently using CSS to hide the link option.
And also when i try to use the sticky header offset, it causes an issue with table of content highlighted section and always make it highlight the last item?
Plugin Author
Vinod
(@vinodkudavoor)
Hi,
Glad to hear that disabling the free version resolved the issue.
Regarding your questions:
1. Anchor links appearing next to all headings
The plugin automatically adds anchor links to all supported headings across the site. If you would like to exclude specific pages (for example, your landing page), you can add the page IDs separated by commas in the “Exclude Pages/Posts” input field in the plugin settings.
You can find the page ID from the WordPress editor URL when editing the page.
2. Sticky header offset affecting Table of Contents highlighting
The sticky header offset adjusts the scroll position. However, depending on how the theme or Table of Contents script calculates the active section, this may sometimes cause incorrect highlighting. This usually occurs because the script detects the section position before the offset is applied.
As a workaround, you can try slightly adjusting the offset value or temporarily disabling it to see if the highlighting behaves correctly. In some cases, additional scroll scripts used by the theme may also influence this behavior.
Best regards.
Hi Vinod
Thanks for the into. My site has quite a lot of page so while its not impossible for me to add all the excluded pages its a fair bit of work so the CSS option is quicker. Maybe in a future update you could add the option to disable all links with a simple tick option?
I will have a play around with the scroll as i do find quite often that standard anchor links move the page section too high up.
Thanks for all your help.
Andy