AriTOC settings reference

Every option on the Settings → AriTOC screen, the editor box, the block and the widget, with what it does and its default.

  • Reference
  • AriTOC
  • 5 min read
  • Updated

Go to Settings→AriTOC. You need the manage_options capability, which administrators have. The Where, Look and Behavior tabs share one Save changes button; the Live preview beside them updates as you change options. The Help tab has no settings.

Where

SettingWhat it doesDefault
Insert automatically onPost types that get the table automatically. Lists every public post type except media.Posts, Pages
PositionWhere the automatic table goes: Before the first heading, After the first heading, After the first paragraph, Top of the content or Bottom of the content.Before the first heading
Minimum headingsPages with fewer listed headings get no table. Applies to every table, also the block, shortcode and widget. 1 to 20.3
Heading levelsWhich levels, H1 to H6, are listed.H2, H3, H4
Skip headings by textOne per line. Matches the whole heading, any case. * is a wildcard.Empty
Skip headings by CSS classExtra classes, separated by spaces, that skip a heading. no-toc always skips.Empty
Paginated posts: List headings from every page of posts split with the Page Break blockOne table lists the headings of every page of a paginated post and links across pages.On

Look

SettingWhat it doesDefault
TitleThe table heading.Table of contents
Show the titleShows the title above the list. When it is off and the table can collapse, the title is still read out by screen readers.On
ThemeLight, Dark, Automatic (follows the visitor’s device), AriHub gradient, Minimal (no box), Inherit my theme’s colors or Custom colors.Light
ColorsShown with Custom colors only: Background, Text, Links and Border and lines. The link colour is also used for the section being read.Empty
NumberingNo numbers, Nested numbers (1, 1.1, 1.2), Numbers per level (1, 2, 3), Roman numerals (I, II, III), Letters (a, b, c) or Bullets.Nested numbers (1, 1.1, 1.2)
WidthFit to content, Full width or Medium (75%).Fit to content
AlignmentNormal, Centered, Float left, text wraps around or Float right, text wraps around.Normal
Layout: Nest sub-headings under their parentNests each heading under the closest earlier heading of a higher level. Off shows one flat list.On
Layout: Two columns on wide screens (for long lists)Splits the list into two columns on wide screens.Off
Layout: Let visitors collapse the tableVisitors can open and close the table. Uses the browser's own details element, so it works without JavaScript.On
Layout: Start collapsedThe table starts closed. It is printed in full.Off

Behavior

SettingWhat it doesDefault
Scrolling: Smooth scrolling (turned off for visitors who prefer reduced motion)Scrolls smoothly to the heading.On
Scrolling: Highlight the section being readMarks the entry of the section being read.On
Scrolling: Add the section to the address bar (#section) when a link is clickedOff keeps the address bar clean.On
Scroll offsetSpace in pixels kept above the heading after a click. Set it to the height of a sticky header. 0 to 400.80 px
Anchor formatReadable, any language (#how-it-works, #সূচিপত্র), Latin letters only (#how-it-works) or Numbered (#section-1, #section-2). Headings with an HTML anchor keep it. Changing the format changes links people may have shared.Readable, any language
PrefixText added before each generated anchor, such as toc. Up to 20 characters. With Numbered it replaces section.Empty
Heading links: Show a # link next to each heading so readers can copy a link to that sectionAdds a # link inside each listed heading. Clicking it copies the link on sites served over HTTPS.Off

Tools

The shortcode and delete options have their own Save button.

SettingWhat it doesDefault
Switch from another plugin: plugin list and Copy settingsOverwrites the AriTOC settings that have a match in Easy Table of Contents, Table of Contents Plus or LuckyWP Table of Contents (the rest keep their current values), and turns on the shortcode option below. Lists only plugins whose settings are found.None
Show AriTOC tables for [toc], [ez-toc], [lwptoc] and [joli-toc], and respect [no_toc]AriTOC handles those shortcodes when no other active plugin does. [no_toc] turns the table off for that post.Off
Delete all AriTOC settings and per-page choices when the plugin is deletedWhen you delete AriTOC from the Plugins screen, its settings and the options saved in the Table of contents box are removed.Off
Download settingsDownloads your settings as a JSON file.None
Import settingsReplaces your settings with those in an AriTOC settings file.None

Table of contents box in the editor

Shown on every public post type. See Show, hide or change the table on one page.

SettingWhat it doesDefault
ModeUse site settings (shown here) or Use site settings (not shown here), Always show, or Hide on this page.Use site settings
TitleTitle for this page's table.Empty (site title)
Heading levels (leave all off for site settings)Levels listed on this page.All off
Also skip these headingsSeparate with |. * is a wildcard. Added to the site-wide skip list.Empty

Table of Contents (AriTOC) block

In the block settings, under Content and Look and behavior.

SettingWhat it doesDefault
TitleTitle for this table.Site title
Show the titleSite default, Yes or No.Site default
Heading levelsLevels listed in this table. Use site default levels clears the choice.Site default
Skip headingsSeparate with |. * is a wildcard. Added to the site-wide skip list.Empty
Minimum headings (0 = site default)0 to 20.0
ThemeSite default or any theme from the Look tab.Site default
NumberingSite default or any numbering style from the Look tab.Site default
Nest sub-headingsSite default, Yes or No.Site default
CollapsibleSite default, Yes or No.Site default
Start collapsedSite default, Yes or No.Site default

AriTOC: Table of contents widget

The widget always shows its title, uses the full width and starts open.

SettingWhat it doesDefault
Title:Title for the widget's table.Empty (site title)
Let visitors collapse itVisitors can open and close the table.Off

Still stuck?

Our helpdesk answers on working days, Norwegian time. Include your WordPress version, PHP version, AriTOC version and the page address.

Submit a ticketor email info@arihub.com