Skip to content
Get Bricks

Post table of contents

Generates a table of contents based on the headings in the post content.

  • Content (select) - Choose the content to generate table of contents from. Options: post_content, post_excerpt, custom_content. Default: post_content.
  • Heading selectors (text) - CSS selectors for headings to include. Default: “h1,h2,h3,h4,h5,h6”.
  • List style (select) - Style for the list items. Options: none, disc, circle, square, decimal, decimal-leading-zero, lower-roman, upper-roman, lower-greek, lower-latin, upper-latin, armenian, georgian, lower-alpha, upper-alpha. Default: none.
  • Item typography (typography) - Typography settings for list items.
  • Item padding (dimensions) - Padding for list items.
  • Item background color (color) - Background color for list items.
  • Item border (border) - Border settings for list items.
  • Active item typography (typography) - Typography settings for active list items.
  • Active item background color (color) - Background color for active list items.
  • Active item border (border) - Border settings for active list items.