{"id":12262,"date":"2018-02-09T15:18:14","date_gmt":"2018-02-09T20:18:14","guid":{"rendered":"https:\/\/www.boldgrid.com\/support\/?p=12262"},"modified":"2021-08-13T12:55:36","modified_gmt":"2021-08-13T16:55:36","slug":"how-to-use-document-outline-option-in-the-gutenberg-editor","status":"publish","type":"post","link":"https:\/\/www.boldgrid.com\/support\/wordpress-tutorials\/how-to-use-document-outline-option-in-the-gutenberg-editor\/","title":{"rendered":"How to use the Document Outline in Gutenberg"},"content":{"rendered":"<!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD HTML 4.0 Transitional\/\/EN\" \"http:\/\/www.w3.org\/TR\/REC-html40\/loose.dtd\">\n<?xml encoding=\"utf-8\" ?><html><body><p>The WordPress Gutenberg editor includes tools to help organize and navigate your content. The <strong>document outline<\/strong> will show the header hierarchy of the page or post.<\/p>\n<p>While this may be unnecessary for shorter content, it can be helpful for longer pages. With one glance you can ensure all your topics are covered. This is also an easy way to double check keyword usage in headings &ndash; this is important for search engines. You can also click on a heading to quickly jump to that block in the editor.<\/p>\n<h2 id=\"using-the-document-outline-in-wordpress\">Using the Document Outline in WordPress<\/h2>\n<p>To view the Document Outline, click the <strong>circled i icon<\/strong> in the toolbar at the top of the editor. It will say <strong>Details<\/strong> when you hover over it.<\/p>\n<p><a href=\"https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/document-outline-link.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-41653\" src=\"https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/document-outline-link.jpg\" alt=\"Document Outline link in WordPress editor\" width=\"318\" height=\"99\" srcset=\"https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/document-outline-link.jpg 318w, https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/document-outline-link-300x93.jpg 300w\" sizes=\"auto, (max-width: 318px) 100vw, 318px\" \/><\/a><\/p>\n<p>When you click on this option you will see a small pop-up window appear giving you information about your page or post (if there is any content in it). The first line will summarize your Page or Post giving you the number of words, headings, paragraphs and blocks. Underneath that will be the <strong>Document Outline<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/document-outline-in-wordpress.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-41654\" src=\"https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/document-outline-in-wordpress.jpg\" alt=\"Document Outline in WordPress\" width=\"439\" height=\"742\" srcset=\"https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/document-outline-in-wordpress.jpg 439w, https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/document-outline-in-wordpress-177x300.jpg 177w\" sizes=\"auto, (max-width: 439px) 100vw, 439px\" \/><\/a><\/p>\n<p>The <strong>Document Outline<\/strong> provides an outline of your content based on a title and headings used in your post\/page. If you click on a header, the editor will jump to that section within your post or page.<\/p>\n<p>It is important that you use headings on web pages to keep your content organized. Visitors can find what they need faster by scanning the section headings. In addition, Google and other search engines use headings to determine what your page or post is about.<\/p>\n<h2 id=\"identifying-errors-in-header-order\">Identifying Errors in Header Order<\/h2>\n<p>The <strong>Document Outline<\/strong> also aids in identifying problems with the order of your headers. Most of the time you will want the headings on your page to go in order &ndash; H1 is first, followed by an H2, then H3, etc. If the WordPress editor sees a heading level is missing, it will alert you in the Document Outline.<\/p>\n<p>In the screenshot below you can see an example of headers being out of order. When an error occurs, the header will be highlighted and an error will appear underneath it that says, &ldquo;<em>(incorrect heading level)<\/em>&ldquo;. To correct it, simply go to the block with the incorrect header and choose the correct heading level.<\/p>\n<p><a href=\"https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/incorrect-heading-level.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-16333 size-large\" src=\"https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/incorrect-heading-level-1024x709.png\" alt=\"\" width=\"1024\" height=\"709\" srcset=\"https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/incorrect-heading-level-1024x709.png 1024w, https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/incorrect-heading-level-300x208.png 300w, https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/incorrect-heading-level-768x532.png 768w, https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/incorrect-heading-level-250x173.png 250w, https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/incorrect-heading-level-550x381.png 550w, https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/incorrect-heading-level-800x554.png 800w, https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/incorrect-heading-level-260x180.png 260w, https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/incorrect-heading-level-433x300.png 433w, https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/incorrect-heading-level-722x500.png 722w, https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/incorrect-heading-level.png 1354w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>Sometimes you may want to skip a heading level for design reasons. Generally speaking search engines will not penalize you for going from H1 to H3 or H2 to H4 for example. Keep in mind it&rsquo;s best practice to have one H1 and at least one H2 on the page.<\/p>\n<p>Some themes will use the page or post title as the H1 by default, but not all. Your <a href=\"https:\/\/www.boldgrid.com\/wordpress-seo-plugin\/\">WordPress SEO plugin<\/a> should alert you if you do not have an H1.<\/p>\n<h2 id=\"using-the-list-view-option\">Using the List View Option<\/h2>\n<p>When a page or post has a lot of blocks, it can be frustrating to locate the exact block where you want to make changes. The WordPress editor has a tool available called <strong>List View<\/strong> to help navigate quickly thru the blocks on a page or post.<\/p>\n<p>To find this option, look in the top left corner of the editor. To the right of the circled &ldquo;i&rdquo; you will see an icon made up of 3 lines that look like an indented list. Click on that icon to see the blocks that make up your post or page. When you click on a block, the WordPress editor will jump to that section. Depending on the blocks used this may be easier than scrolling down the page looking for the content you want to edit.<\/p>\n<p><a href=\"https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/toggle-list-view.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-41720 alignnone\" src=\"https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/toggle-list-view.jpg\" alt=\"List View in Gutenberg WordPress Editor\" width=\"300\" height=\"423\" srcset=\"https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/toggle-list-view.jpg 459w, https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/toggle-list-view-213x300.jpg 213w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<h2 id=\"add-a-wordpress-outline\">Add a WordPress Outline<\/h2>\n<p>If you&rsquo;re looking for a WordPress page outline visible on the front end of your website, you can add a <b>Table of Contents<\/b>. The table of contents acts like a WordPress navigation block by linking to different sections of one page. You can see a table of contents in action right now &ndash; we have ours on the left of this page called <i>In this Article<\/i>.<\/p>\n<p>There are many <a href=\"https:\/\/wordpress.org\/plugins\/search\/table+of+contents\/\">WordPress outline plugins<\/a> available and they are easy to install and set up. However, you may want to limit the number of plugins you have active on your website for best performance. If you only want a table of contents on a few pages, it may be easier to create your own using anchor links within the page. We have step by step instructions on how to <a href=\"https:\/\/www.boldgrid.com\/support\/wordpress-tutorials\/how-to-add-anchor-links-in-wordpress-step-by-step-tutorial\/\">add anchor links in WordPress<\/a>.<\/p>\n<h2 id=\"troubleshooting\">Troubleshooting<\/h2>\n<h3 id=\"the-document-outline-doesnt-show-my-headings\">The document outline doesn&rsquo;t show my headings<\/h3>\n<p>Sometimes the details panel is missing the WordPress page outline, like shown below. This means the content is in a single Classic Block. Only headings using the Gutenberg Heading Block will show in the document outline.<\/p>\n<p><a href=\"https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/classic-block-info.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-41538\" style=\"border: 1px solid #000;\" src=\"https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/classic-block-info.png\" alt=\"Classic Block display in Document Outline\" width=\"385\" height=\"144\" srcset=\"https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/classic-block-info.png 385w, https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/classic-block-info-300x112.png 300w\" sizes=\"auto, (max-width: 385px) 100vw, 385px\" \/><\/a><\/p>\n<p>If you want to see your headings in the outline, you&rsquo;ll need to change how the content is coded. Below the page title but above the page content is a panel with the link <b>Classic<\/b>.<\/p>\n<p><a href=\"https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/classic-block-heading.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-41540\" src=\"https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/classic-block-heading-1024x465.jpg\" alt=\"Classic Block example in WordPress\" width=\"1024\" height=\"465\" srcset=\"https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/classic-block-heading-1024x465.jpg 1024w, https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/classic-block-heading-300x136.jpg 300w, https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/classic-block-heading-768x349.jpg 768w, https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/classic-block-heading-1536x698.jpg 1536w, https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/classic-block-heading.jpg 1682w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>Click <b>Classic <\/b>and then <b>Convert to blocks<\/b>. There will now be many blocks on the page and the headings will show in the WordPress document outline. We recommend clicking Preview Changes now to check for any layout changes. Clicking undo once will turn convert it all back to the single Classic Block.<\/p>\n<p><a href=\"https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/convert-to-blocks.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-41541\" src=\"https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/convert-to-blocks.jpg\" alt=\"Convert Classic Block to Gutenberg Blocks\" width=\"338\" height=\"200\" srcset=\"https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/convert-to-blocks.jpg 338w, https:\/\/www.boldgrid.com\/support\/wp-content\/uploads\/2018\/02\/convert-to-blocks-300x178.jpg 300w\" sizes=\"auto, (max-width: 338px) 100vw, 338px\" \/><\/a><\/p>\n<p>This completes our tutorial on using the Document Outline feature in the Gutenberg editor. For more information, please read the official <a href=\"https:\/\/wordpress.org\/support\/article\/wordpress-editor\/\">WordPress Gutenberg editor documentation<\/a> and check out our article on using <a href=\"https:\/\/www.boldgrid.com\/support\/wordpress-tutorials\/how-to-create-a-reusable-block-in-the-gutenberg-editor\/\">Reusable blocks in Gutenberg<\/a>.<\/p>\n<\/body><\/html>\n","protected":false},"excerpt":{"rendered":"<p>The WordPress Gutenberg editor includes tools to help organize and navigate your content. The document outline will show the header hierarchy of the page or post. While this may be unnecessary for shorter content, it can be helpful for longer pages. With one glance you can ensure all your topics are covered. This is also [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"bgseo_title":"How to use Document Outline Option in the Gutenberg Editor","bgseo_description":"Learn how to use the Document Outline Option in the Gutenberg Editor.  The document outline helps to keep your WordPress website content in the correct order.","bgseo_robots_index":"index","bgseo_robots_follow":"follow","footnotes":""},"categories":[151],"tags":[691],"class_list":["post-12262","post","type-post","status-publish","format-standard","hentry","category-wordpress-tutorials","tag-gutenberg"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/posts\/12262","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/comments?post=12262"}],"version-history":[{"count":16,"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/posts\/12262\/revisions"}],"predecessor-version":[{"id":41726,"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/posts\/12262\/revisions\/41726"}],"wp:attachment":[{"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/media?parent=12262"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/categories?post=12262"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/tags?post=12262"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}