Numeration bug: H4 becomes a parent of another H4

[ad_1]

Plugin Author
WPJoli

(@wpjoli)

Hello there,

Thank you for letting me know of this.

In your case, there is a heading depth gap from H2 to H4, your tree looks like this:

For best results, it is recommanded not to skip a heading depth between a parent and a child. Ideally there should not be a jump from H2 to H4, but from H2 to H3 instead.

However, Joli TOC has built-in mechanism to try to correct malformed heading trees and deal with “hidden headings”, but sometimes it can give unwanted results.

Nevertheless, I already have identified the issue you pointed out and I have already a fix for that. It will be deployed in the next update (coming soon).

If you don’t wanna wait, please send a message at [email protected] and I’ll give you directions so that you can modify the code directly on your install.

 

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