Hello everyone,
the plugin works fine as it is. I’m just wondering, in every article I set how the table of contents should look like.
What if one day I want to change the style of my website? Do I have to go to every post and change the GutenTOC settings?
Other plugins have a settings options and when I change them, the settings for all my TOC adapt. Is this also possible with GutenTOC?
That’s actually the only issue that is holding me back at the moment.
Thank you and best regards
]]>Hi Guys,
I have a site which uses another TOC plugin and the TOC is displayed in the sidebar. It’s used this way so I can make it sticky when the reader scrolls down the page.
I’ve installed your plugin on a new site with the same theme as my other site however your TOc doesn’t display the correctly. It only shows the TOC heading with [show} and when you click show nothing shows?
Can you test installing your TOC in a sidebar and help me get this working correctly.
Thanks.
]]>This plugin is working perfectly as per requirement. Only one thing is that “rankmath seo plugin” doesn’t detect this plugin, therefore getting low SEO score. Please follow the Rankmath guide to add this functionality.
]]>The plugin works great! Thanks!
Do you think it is a possibility to add an option where people can change the text ‘Table of Content’? – so people in other countries can translate it to their version? So, for example Dutch people can translate it to: ‘Inhoudsopgave’.
Thanks already for your response.
]]>Hey guys,
Hope you’re safe and good. I just wanted to let you know that I just help you with the translation in Spanish, so hopefully you can update it soon. Let me kwon if you need further assistance with Spanish translations.
When this plugin is active it is loading 5 additional stylesheets on the front end that should only be loading in the dashboard for use by the block editor.
<link rel='stylesheet' id='wp-components-css' href='/wp-includes/css/dist/components/style.min.css?ver=5.6.1' media='all' />
<link rel='stylesheet' id='wp-editor-font-css' href='https://fonts.googleapis.com/css?family=Noto+Serif%3A400%2C400i%2C700%2C700i&ver=5.6.1' media='all' />
<link rel='stylesheet' id='wp-block-editor-css' href='/wp-includes/css/dist/block-editor/style.min.css?ver=5.6.1' media='all' />
<link rel='stylesheet' id='wp-nux-css' href='/wp-includes/css/dist/nux/style.min.css?ver=5.6.1' media='all' />
<link rel='stylesheet' id='wp-editor-css' href='/wp-includes/css/dist/editor/style.min.css?ver=5.6.1' media='all' />
Obviously, for performance reasons, these extra resources shouldn’t be loading on the front end. Thanks in advance.
]]>Hi there,
we have 2 console errors after adding a TOC block:
wp.data.select( 'core/editor' ).getBlocks
is deprecated. Please use wp.data.select( 'core/block-editor' ).getBlocks
instead.
Ae — blocks.min.js:3:92476
The block “gutentoc/table-of-contents” is registered with an invalid category “gutentoc”.
And after saving page and reloading we get a blank page. No errors in debug.log.
]]>Plugin works great ??
Just one issue; clicking on the link takes you below the heading. I believe this is due to having sticky header / navigation active.
Is there any way to offset eg so anchor position is Xpx above the heading? Or somehow take sticky header settings into account?
Thanks
]]>Great plugin!
It would be amazing if there was a way to exclude individual items from the TOC. Or if the TOC will only include items below where the TOC is placed. It’s strange to link to headings that are above the table.
]]>Hi Guys,
I am struggling to center the beautiful GutenTOC on my page in my Gutenberg editor.
Have tried all different alignement options in Gutemberg, but no success.
the bloc always stick to the left of the page.
thank you
Hi team,
Since we updated the WordPress version to 5.5 we’re seeing this error when we try to edit older posts that have a Table Of Content already:
“This block has encountered an error and cannot be previewed.” and we can’t see the block.
For new posts is working fine.
Looking into the browser console we can see this error:
Block validation: Block validation failed for
gutentoc/table-of-contents` (Object).
Content generated by save
function:
<div class=”gutentoc tocactive nostyle”><div class=”gutentoc-toc-wrap”><div class=”gutentoc-toc-title-wrap”><div class=”gutentoc-toc-title”>Table Of Contents</div><div id=”open” class=”text_open”>hide</div></div><div id=”toclist”><div class=”gutentoc-toc__list-wrap”><ul class=”gutentoc-toc__list”><li><a href=”#best-high-ankle-hiking-boots-for-women”>Best High-Ankle Hiking Boots for Women</a></li><li><a href=”#best-low-ankle-hiking-boots-for-women”>Best Low-Ankle Hiking Boots for Women</a></li><li><a href=”#-best-lightweight-hiking-shoes-for-women”> Best Lightweight Hiking Shoes for Women</a></li><li><a href=”#best-trail-runners-for-hiking”>Best Trail Runners for Hiking</a></li><li><a href=”#how-to-choose-hiking-boots”>How to Choose Hiking Boots</a></li><li><a href=”#how-should-hiking-boots-fit”>How Should Hiking Boots Fit?</a></li></ul></div></div></div></div>
Content retrieved from post body:
<div class=”gutentoc tocactive nostyle scroll_id_show”><div class=”gutentoc-toc-wrap”><div class=”gutentoc-toc-title-wrap”><div class=”gutentoc-toc-title”>Table Of Contents</div><div id=”open” class=”text_open”>hide</div></div><div id=”toclist”><div class=”gutentoc-toc__list-wrap”><ul class=”gutentoc-toc__list”><li><a href=”#best-high-ankle-hiking-boots-for-women”>Best High-Ankle Hiking Boots for Women</a></li><li><a href=”#best-low-ankle-hiking-boots-for-women”>Best Low-Ankle Hiking Boots for Women</a></li><li><a href=”#-best-lightweight-hiking-shoes-for-women”> Best Lightweight Hiking Shoes for Women</a></li><li><a href=”#best-trail-runners-for-hiking”>Best Trail Runners for Hiking</a></li><li><a href=”#how-to-choose-hiking-boots”>How to Choose Hiking Boots</a></li><li><a href=”#how-should-hiking-boots-fit”>How Should Hiking Boots Fit?</a></li></ul></div></div></div><style> .gutentoc-toc-wrap ul li a, .gutentoc-toc-title-wrap .text_open{ color: undefined}} </style></div>
(anonymous) @ blocks.min.js?ver=e817d20512a049ea38d1e1f22097be1f:3
react-dom.min.js?ver=16.9.0:103 TypeError: Cannot read property ‘setAttributes’ of undefined
at TableOfContents.componentDidUpdate (components.js?ce29:106)
at Ti (react-dom.min.js?ver=16.9.0:148)
at unstable_runWithPriority (react.min.js?ver=16.9.0:26)
at Ma (react-dom.min.js?ver=16.9.0:52)
at Ia (react-dom.min.js?ver=16.9.0:140)
at ze (react-dom.min.js?ver=16.9.0:118)
at react-dom.min.js?ver=16.9.0:53
at unstable_runWithPriority (react.min.js?ver=16.9.0:26)
at Ma (react-dom.min.js?ver=16.9.0:52)
at mg (react-dom.min.js?ver=16.9.0:52)`
Can you take a look into this?
Yours,
]]>I have a blog post that starts with an H4 heading tag. My problem is the succeeding heading tags(H1 to H3) are not displayed in the table of contents.
Is there a way to show H1,H2,H3 heading tags even if the blog post starts with a lower level heading tag such as H4?
Sample heading structure:
<h4>H4 Heading</h4>
<h2>H2 Heading 1</h2>
<h3>H3 Heading 1.1</h3>
<h3>H3 Heading 1.2</h3>
<h2>H2 Heading 2</h2>
<h3>H3 Heading 2.1</h3>
<h3>H3 Heading 2.2</h3>
<h2>H2 Heading 3</h2>
Hi
Why does your plugins page on my site in the URL his writing: “Not Secure”? Even though I have installed SSL?
How do I make it “secure”?
Thank you very much
I just did a mobile usability test with the ToC. It’s not passing mobile usability because the texts are too small to read.
Issues:
1. Text too small to read
2. Clickable elements too close together
On the setting panel, where do you adjust the spacing between the points?
]]>My SEO plugin shows that Gutentoc Advance Table Of Content is visible under the security section. Along with it are my caching and Google Analytics plugins. Please consider updating this to not make it visible.
]]>By default, the block displays a title that says “Table of contents”. My site are in another language and I would like that, instead of having to write a title for each of the different instances of the block, an specific title appears for default when I add the block to a post.
]]>can I change the text “show” and “hide” to my own language?
]]>Hello!
Can I change the title “table of contents” for the translation in spanish?
Thanks!
Does your plugin load additional Javascripts into the pages. I think of the toggle button… How is it programmed?
]]>Hi,
I like the plugin very much, thanks a lot. But I really need Next page support for my blog. When I insert <!--nextpage-->
, the links in the TOC doesn’t work. Can you please add the next page support to the plugin?
I managed to get this working on my post but only after having to change all my heading blocks. It appears that this plugin doesn’t work with third party blocks. I had been using the Getwid Advanced Heading block with all heading set to H2 or H3 but nothing showed in the index. After changing all heading to the core heading block it worked fine.
Did I miss a switch or something? Are there plans to add support for third-party blocks?
]]>Plugin appeared to work great, TOC functioned just as I needed, however when I got back and try to edit the post where I added the TOC it loads up blank.
Inspector is showing me the following error:
Uncaught (in promise) SyntaxError: Unexpected token u in JSON at position 2
at JSON.parse (<anonymous>)
at save (index.js?2ea8:103)
at Rt (blocks.min.js?ver=423068d7079f57cf9f02458ccb4a6131:3)
at Ft (blocks.min.js?ver=423068d7079f57cf9f02458ccb4a6131:3)
at block-editor.min.js?ver=704b9a6d689b18b6982a8b2ae902e7ec:50
at hooks.min.js?ver=552e55b6e60db2edbd9073097f2686f7:2
at Dr (blocks.min.js?ver=423068d7079f57cf9f02458ccb4a6131:3)
at Hr (blocks.min.js?ver=423068d7079f57cf9f02458ccb4a6131:3)
at blocks.min.js?ver=423068d7079f57cf9f02458ccb4a6131:3
at Array.reduce (<anonymous>)
If I deactivate the plugin and I can edit the post once again (and the TOC is turned into an HTML block).
Any ideas? Thank you in advance!
]]>Great Plugin.
However, can we fix it inside the post/page? Just like here
As you can see that in the above example, it is part of the post/page and not sidebar therefore it displays even on mobile devices (with tap on toc icon)
]]>Hi Tauhidpro,
We’ve tested out your plugin but it doesn’t work with our setup.
Do you have any idea what could cause the issue?
Wordpress version: 5.3.2
Plugins list:
+———————————–+———-+——–+———+
| name | status | update | version |
+———————————–+———-+——–+———+
| advanced-custom-fields-pro | active | none | 5.8.7 |
| contextual-related-posts | active | none | 2.8.0 |
| cookie-notice | active | none | 1.2.50 |
| gutentoc-advance-table-of-content | active | none | 0.0.5 |
| loco-translate | inactive | none | 2.3.1 |
| pardot | active | none | 1.4.12 |
| social-icons | active | none | 1.7.2 |
| swiper-js-slider | active | none | 1.0.1 |
| sitepress-multilingual-cms | active | none | 4.3.6 |
| wpml-string-translation | active | none | 3.0.6 |
| wpml-translation-management | active | none | 2.9.4 |
| wordpress-seo | active | none | 13.0 |
+———————————–+———-+——–+———+
Thanks and best,
equipedev
Hi! I just started using your plugin, love it so far, is possible fo you to make it compatible with AMP?
I made it myself removing this line:
wp_register_script( ‘gutentocjs’, plugin_dir_url( __FILE__ ) .’dist/toc.js’,array(‘jquery’), ”, true);
Since AMP can’t load any external script, you could make a setting for AMP, that doesn’t load any js in the front-end.
Thank you for your work.
bipi