If you use headings in your content, you can use the “HTML Anchor” attribute of blocks to set a target id. ![]() Create id targets using the “HTML Anchor” field ![]() On the group block properties (right panel) you can add the id you want in the “HTML Anchor” field. This will insert a general container block that can group other blocks and we can add the id on this group/general container block. Create id targets using the group blockĬlick on the “Add block” icon and select “Group”. using the group block, the “Page scroll to id target” block, the shortcode block, block class attribute, HTML anchor field etc. You can create your targets in more than one ways in the block editor, e.g. Create links that point to those targets or enable the plugin on links that already exist in your site.Ĭreating id targets Creating id targets in post block editor (Gutenberg).Create id targets the page will scroll to or find existing id attributes in your theme to use with your links. ![]() In order to use the plugin on your WordPress site (after installing and activating it), you need to do the following: Basic tutorial for using “Page scroll to id” WordPress plugin on your WordPress site.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |