1. Marketplace
  2. ›
  3. plugins

Collapsible Table of Contents

The Collapsible TOC is a premium plugin that serves to enhance the performance, accessibility, and functionality of the Table of Contents created within Publii's editors. While it doesn't generate a TOC itself, this plugin provides features that enhance the accessibility and navigation of an existing TOC.

Collapsible Table of Contents

Get better TOC in a flash

Once the plugin is activated, it’ll instantly expand the generated TOC on your Publii site, providing expandable or collapsible functionality with a single click. Additionally, it enhances the code by making it clearer and more semantic, ensuring a clear and user-friendly experience. You won’t need to worry about getting anything set-up beyond setting the options you prefer; just insert a TOC using the option included in Publii’s editors, and the plugin will take care of the rest.

Improve site accessibility for differently-abled Users

The Collapsible TOC plugin improves the structure of the generated TOC and adds ARIA (Accessible Rich Internet Applications) attributes to make it more friendly to screen readers and other assistive tools, allowing users unhindered access to all your content without fuss. All this is implemented immediately on activation; no need to modify your existing articles one-by-one to get them up to speed.

Collapsible TOC Accessibility

Set Your TOC behavior

As you’d expect, this plugin comes with multiple options for controlling how your TOCs work. Set them to be expanded by default, or collapsed. Let visitors click a button or the heading to expand a section. Furthermore, you have the flexibility to manage the TOC’s height. This feature creates a compact, scrollable TOC, offering an effective solution for handling extensive TOC content while preserving a tidy page layout.

Collapsible TOC options

Dive deeper with TOC customization

Before delving into the depth of customization, it’s important to note that this plugin comes with a variety of built-in options accessible via the interface. These options offer flexibility in setting the content and style of your TOC header, deciding the heading level, choosing the numbering style for the TOC list, and adjusting the scrolling padding at the top.

Collapsible TOC theme integration

Want to go further with your customization? The TOC created via this plugin supports the CSS variables used by your theme. This allows for precise control over the appearance of your content, ensuring a seamless match with your site’s aesthetics. However, if you wish, you can easily override these settings using the Custom CSS tool included with Publii. To learn more about this, you can refer to the TOC plugin documentation.

€19.00 for 1 year

* Plus VAT for EU customers

What's included

  • Unlimited use - forever, on any number of domains
  • 12 months of access to files and updates
  • 3 months of premium support included
  • 100% ready for personal and commercial use
  • One-time payment - no automatic renewals, optional update access at 50% off

Details

Author:
Publii Team
Version:
Updated:
Jan 31, 2025

Requirements and compatibility

Browser:
Edge, Firefox, Chrome, Safari, Opera
Requirements:
Publii 0.46.x and up
View documentation

From the team behind Publii

This plugin is developed by the same team that builds Publii. Configure it directly in the app, with documentation explaining its settings and how to use them.

Read plugin documentation

Three months of support included

Your purchase includes three months of support through our ticket system. Contact the Publii team for help with the plugin's settings or to report a problem.

Read support terms

Purchase FAQ

Find out what your purchase includes, how payments work and what happens when your update access expires.

Is this a subscription?

No. Every purchase is a one-time payment. We do not renew your access or charge you automatically. Your purchase includes 12 months of access to product files and updates and three months of technical support.

What happens when my 12 months of file and update access expire?

You can continue using the downloaded theme or plugin without a time limit, subject to its license terms. However, you will no longer be able to download the product or access new updates.

When your access expires, we will send you an email reminder. For the following 60 days, you can renew your access for another 12 months using the link in that email or the "Renew" option in your User Panel. A 50% discount is applied automatically during this renewal period.

After the 60-day renewal period ends, the discounted renewal option will no longer be available. To regain access to the product files and updates, you will need to purchase the product again at its regular price.

Renewal restores access to product files and updates for another 12 months but does not include a new technical support period.

If you need assistance after your included support period has ended, please contact our Customization Service.

What payment methods do you accept?

Payments are processed securely through PayPal or Stripe. You can pay by credit or debit card through Stripe without having a PayPal account.

How is VAT calculated, and can I receive an invoice?

Any applicable VAT is calculated during checkout based on the information you provide. The final price, including any applicable VAT, is displayed before you place your order.

To receive an invoice, select the "I want an invoice" option during checkout. Once issued, the invoice will be available in your User Panel, and we will notify you by email.

Are premium plugins included?

Premium plugins are not included with this theme. You can purchase them separately from the Publii Marketplace.

Can I cancel my purchase or request a refund?

Our products are digital content delivered immediately after payment. When delivery begins with your prior express consent and acknowledgment, you may lose your statutory right to withdraw from the purchase.

For full details, see our Terms and Conditions.