Now all your pages and posts are automatically showing a table of contents. The block settings will display in the right-hand pane. Using the three dots on the menu bar, click on Show More Settings. First, we'll walk through how to do that in the block editor, followed by an example in the classic editor. Then we can link users to that spot on the page. ![]() Creating an Anchor Link in the WordPress Block Editorįirst, we’ll use the HTML Anchor field in the block settings to set an ID. You can find instructions for creating anchor links in WordPress using several page builders further down in the post. Note: WordPress page builders offer similar ways to create on-page navigation. After, we’ll look at using a table of contents plugin to add on-page navigation automatically. Let’s walk through the process of creating an anchor link in the editor. You may want to use a combination of both.
0 Comments
Leave a Reply. |