Take me to the Smooth Scroll CSS Code Jump links and anchor links how to use them in WordPress If you are still not sure what anchor links are or how they work just click the link below. They are made up of two parts, a hashtag link element, and an ID attribute. you're DONE!Ī genius of an idea for which the developer, Jean-Baptiste Audras, should get royalties when it becomes a built-in of the next Gutenberg update.Anchor links sometimes known as jump links or a table of contents are links that take you straight to another section of the page when clicked. ![]() ![]() But there are reasons why I use WordPress and this one caveat of forcing mixed editing styles is just dysfunctional.Įnter Gutenberg Anchor BLock! Simply add it to your page, just as you would any other block, just above where you want an anchor point, enter a unique name for the anchor, and voila. Trust me, if I wanted to work in HTML, I would. There is no way to just add the HTML "id code" and keep the existing Gutenberg Block editing structure for all other aspects of the paragraph or picture. So now you have to work with BOTH Block and HTML content on a single page. Trying to add the HTML code id="xyz" to anywhere else (text, pictures, etc) forces you to convert the block to pure HTML, thereby losing the block editing structure for all else related to that particular block. As someone who can edit HTML code quite well, I find it awkward how WordPress makes it to add "anchors" to any place in a document OTHER THAN Headers (Gutenberg has this built in, but JUST for headers). ![]() Such a simple yet INGENIOUS little plugin that elegantly solves a bugger of an issue with Gutenberg WordPress.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |