Post by account_disabled on Nov 23, 2023 4:42:30 GMT
Another useful setting is the choice of headings to insert in the list: you can decide to go, for example, only up to H3, or insert them all up to H6, and display the list in hierarchical order. How to create a table of contents manually in WordPress If for any reason you don't want to install a plugin specifically to create the table of contents , you can easily create it manually, adding page breaks. I'll show you how to do this using the block editor.
First of all, make sure that your article is well Special Data structured, that the sections all have a heading and that these are at the correct level. Now we need to assign an ID to each header: Select the heading; In the block settings, open the Advanced section ; In the HTML Anchor field , enter a specific ID for this header; It doesn't have to contain spaces, but you can use hyphens to separate words. Then create the list of contents: Create the list with a List block ; Enter all entries; Position yourself on the first item, select the text and click Link.
Type the pound sign followed by the first heading ID, for example #title-1, and press enter; Continue with all other items in the list, entering the correct ID for each. Now your visitors, by clicking on all the items in the list, will be taken to the correct section of the article and will immediately find the information they were looking for. Conclusion An element that improves user experience such as the table of contents will help you increase the quality of your website, can have SEO benefits and will make visitors return to your site more often. And what method will you use to create the table of contents on your articles?The most clicked domains in Italy in 2022 The most clicked domains in Italy in 2022 Elisa
First of all, make sure that your article is well Special Data structured, that the sections all have a heading and that these are at the correct level. Now we need to assign an ID to each header: Select the heading; In the block settings, open the Advanced section ; In the HTML Anchor field , enter a specific ID for this header; It doesn't have to contain spaces, but you can use hyphens to separate words. Then create the list of contents: Create the list with a List block ; Enter all entries; Position yourself on the first item, select the text and click Link.
Type the pound sign followed by the first heading ID, for example #title-1, and press enter; Continue with all other items in the list, entering the correct ID for each. Now your visitors, by clicking on all the items in the list, will be taken to the correct section of the article and will immediately find the information they were looking for. Conclusion An element that improves user experience such as the table of contents will help you increase the quality of your website, can have SEO benefits and will make visitors return to your site more often. And what method will you use to create the table of contents on your articles?The most clicked domains in Italy in 2022 The most clicked domains in Italy in 2022 Elisa