LuckyWP Table of Contents
Det är tilägget jag provar
Du hittar sidan här
Länken till tillägget, med beskrivning finns här
Den bygger på att man använder rubriker, och gör rubriknivåerna till länkar i innehållsvörteckningen, TOC på engelska, Table of Content.
Skriver lite till
bara för att det ska bli mer text
på
sidan
Annars
kan
det
bli
lite
svårt
att skrolla
ner
Om jag inte hade klistrat in en lång sida, vilket kunde gått smidigt.
En rubriknivå lägre
Nu skriver jag på en rubriknivå lägre för att testa om det funkar
att dra in den nivån
Beskrivning av LuckyWP TOC
Här kommer beksrivningen, från deras hemsida
Description
Creates SEO-friendly table of contents for your posts, pages or custom post types. Great customizable appearance.
Features
- Automatical insertion a table of contents (configure post types and position).
- SEO-friendly: table of contents code is ready to use by Google for snippets on result page.
- Insert by shortcode, Gutenberg block or widget.
- Button on toolbar of the classic editor.
- Gutenberg block into “Common Blocks”.
- Setting the minimum number of headings to display table of contents.
- Setting the depth of headings for table of contents.
- Skip headings by level or text.
- Hierarchical or linear view.
- Numeration items: decimal or roman numbers in order or nested.
- Customizable appearance: width, float, title font size and weight, items font size, colors.
- Color schemes (dark, light, white, transparent, inherit from theme) and the ability to override colors.
- Toggle Show/Hide (optionally)
- Customizable labels.
- Smooth scroll (optionally).
- Setting offset top for smooth scroll.
- Wrap table of contents with <!–noindex–> tag (optionally).
- Pretty hash in URL (like
example.com/faq/#how_do_this
). - RTL support.
- Available override global settings for a particular post.
- Highly compatible with WordPress themes and plugins.
Auto Insert
For automatical insertion a table of contents in a posts, select option “Auto Insert Table of Contents” in the plugin settings (tab “Auto Insert”).
Supported positions:
- before first heading;
- after first heading;
- after first block (paragraph or heading);
- top of post content;
- bottom of post content.
You can also select post types to which the table of contents will be automatically added.