{"id":406206,"date":"2024-08-12T08:00:00","date_gmt":"2024-08-12T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/plover-toc\/"},"modified":"2024-08-13T03:46:00","modified_gmt":"2024-08-13T03:46:00","slug":"plover-toc","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/plover-toc\/","title":{"rendered":"PloverToc"},"content":{"rendered":"<h3>About<\/h3>\n<p>PloverToc is a simple and efficient WordPress plugin that automatically generates a table of contents (TOC) for your posts, pages and custom post types. By using a shortcode, you can easily insert a TOC that helps your readers navigate through your content by providing direct links to different sections. You can also customize the heading levels included in the TOC.<\/p>\n<p>It\u2019s focused on providing a sound TOC interface with no \u201cbells and whistles\u201d. While it does come with some helpful features for customizing the included heading levels via shortcode attributes, the esthetic design and styling of the TOC is left to the user to implement using their own CSS.<\/p>\n<p>Additionally, it does add SiteNavigationElement schema to enhance your site\u2019s SEO.<\/p>\n<h3>Features<\/h3>\n<ul>\n<li>Automatically generate a table of contents for your posts and pages.<\/li>\n<li>Customizable heading levels to include in the TOC (e.g., H1, H2, H3).<\/li>\n<li>Collapse TOC on page upload, without any JavaScript.<\/li>\n<li>This plugin is 100% javascript-free.<\/li>\n<li>Simple shortcode to insert the TOC anywhere in your content.<\/li>\n<li>Compatible with the latest version of WordPress with Gutenberg.<\/li>\n<li>Compatible with the Classic Editor as well.<\/li>\n<li>Users are responsible for styling the TOC using their own CSS.<\/li>\n<li>Custom post types are supported, as long as their content is output with the the_content() template tag.<\/li>\n<li>Will generate SiteNavigationElement schema to enhance SEO, this can be turned off via shortcode attribute.<\/li>\n<\/ul>\n<h3>Requirements<\/h3>\n<ul>\n<li>PHP >= 8.0<\/li>\n<li>WordPress >= 6.4.0<\/li>\n<\/ul>\n<h3>Contributing<\/h3>\n<p>The best way to contribute to the development of this plugin is by participating on the GitHub project:<\/p>\n<p><a href=\"https:\/\/github.com\/PloverHub\/plover-toc\" rel=\"nofollow ugc\">https:\/\/github.com\/PloverHub\/plover-toc<\/a><\/p>\n<p>There are many ways you can contribute:<\/p>\n<ul>\n<li>Raise an issue if you found one<\/li>\n<li>Create\/send us a Pull Request with your bug fixes and\/or new features<\/li>\n<li>Provide us with your feedback and\/or suggestions for any improvement or enhancement<\/li>\n<li>Translation \u2013 this is an area we are yet to do<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Automatically generate a TOC for posts, pages and custom post types by parsing headers. It adds ID anchor attributes for proper in-page links.<\/p>\n","protected":false},"author":65,"featured_media":406207,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"PloverToc - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"Automatically generate a TOC for posts, pages and custom post types by parsing headers. It adds ID anchor attributes for proper in-page links."},"footnotes":""},"categories":[1],"tags":[5157,6910],"class_list":["post-406206","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-table-of-contents","tag-toc"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/406206","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=406206"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/406206\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/406207"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=406206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=406206"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=406206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}