To create automatically numbered headings in WordPress using HTML, you can use the following structure:
However, if you’re using the default WordPress editor, it might not have a built-in feature for automatically numbering headings. In that case, you can consider using a plugin called “Easy Table of Contents,” which can automatically generate a table of contents for your posts or pages.
Here’s how you can use the “Easy Table of Contents” plugin:
Install and activate the “Easy Table of Contents” plugin from the WordPress plugin repository.
After activation, go to the plugin’s settings. You can find it under “Settings” -> “Table of Contents” in your WordPress dashboard.
Configure the plugin settings according to your needs. You can customize the appearance and behavior of the table of contents.
Now, when you create a new post or page, the plugin will automatically generate a table of contents based on your headings.
By using this plugin, you won’t need to manually number the headings yourself. The plugin will handle the numbering and generate the table of contents for you.