Easy Table of Contents

Description

A user friendly, featured focused Easy Table of Contents plugin which allows you to insert a table of contents into your posts, pages and custom post types.

Home | Help & Tech Support | Documentation | Pro version Features

Fonctionnalités

  • NEW : Migration Tool to import all the settings from other plugins like Table of Content Plus & more
  • Générez automatiquement une table des matières pour vos articles, pages et types de contenu personnalisé en analysant son contenu pour les en-têtes.
  • Supports the <!--nextpage--> tag.
  • Prise en charge de l’extension Rank Math.
  • Fonctionne avec l’éditeur classique, Gutenberg, Divi, Elementor, WPBakery Page Builder et les éditeurs de page de Visual Composer.
  • Activer optionnellement pour les pages et/ou articles, types de contenu personnalisé pris en charge, tant que leur contenu est extrait avec la balise de modèle the_content().
  • Optionally auto insert the table of contents into the page, selectable by enabled post type.
  • Provides many easy to understand options to configure when and where to insert the table of contents.
  • Many options are available to configure how the inserted table of contents appears which include several builtin themes. If the supplied themes do no meet you needs, you can create your own by choosing you own colors for the border, background and link color.
  • Multiple counter bullet formats to choose from; none, decimal, numeric and roman.
  • Choose to display the table of contents hierarchical or not. This means headings of lower priority will be nested under headings of higher priority.
  • User can optionally hide the table of contents. You full control of this feature. It can be disabled and you can choose to have it hidden by default.
  • Supporte le défilement doux.
  • Activer ou désactiver de manière sélective la table des matières, article par article.
  • Choisissez les titrages utilisés pour générer la table des matières. Cela peut aussi être défini article par article.
  • Easily exclude headers globally and on a post by post basis.
  • If you rather not insert the table of contents in the post content, you can use the supplied widget and place the table of contents in your theme’s sidebar.
  • The widgets supports being affixed or stuck on the page so it is always visible as you scroll down the page. NOTE: this is an advanced option since every theme is different, you might need support from your theme developer to learn what the correct item selector to use in the settings to enable this feature.
  • The widget auto highlights the sections currently visible on the page. The highlight color is configurable.
  • Developer friendly with many action hooks and filters available. More can be added by request on Github. Pull requests are welcomed.
  • An option to show toc based on dynamic paragraph count.
  • An option which Preserve Line Breaks in TOC.
  • An option to use the TOC without anchor links in the URL.
  • Support for custom taxonomy description.
  • Adds SiteNavigation Schema.

TAKE IT A STEP FURTHER WITH EASY TABLE OF CONTENTS PRO

With EASY TABLE OF CONTENTS PRO You will get access to more professional Settings, options and positions to really push your TOC to the next level.
* New – Gutenberg Block : Easily create TOC in Gutenberg block without the need of any coding or shortcode.
* New – Elementor Widget : Easily create TOC using Elementor Widget without the need of any coding or shortcode.
* New – Fixed/Sticky TOC : Users can find the content that they need, much faster through the option of sticky TOC.
* New – Fixed/Sticky TOC Customization : Customize the appearance of Sticky TOC with Theme Design options.
* New – Full AMP Support : Generates a TOC with your existing setup and make it AMP compatible automatically.
* NEW – ACF Support : Easily create TOC with your custom ACF fields.
* NEW – View More : Show selected number of TOC heading before user clicks to show remaining headings.
* NEW – Read Time : Show time of read for your posts/pages.
* NEW – Collapsable Sub Headings : Show/Hide sub headings of the Table of contents.
* NEW – Highlight Headings : Sticky heading highlight while scrolling through the content.

Shortcode

With Our shortcode feature you are in command of the table of contents with very little effort and even if you have little to no programming skills.

[ez-toc] Would generate the table of contents.

Below are the attibutes we support and could be useful in configuring the table of contents:

[header_label= »Title »] – title for the table of contents
[display_header_label= »no »] – no title for the table of contents
[toggle_view= »no »] – no toggle for the table of contents
[initial_view= »hide »] – initially hide the table of contents
[initial_view= »show »] – initially show the table of contents
[display_counter= »no »] – no counter for the table of contents
[post_types= »post,page »] – post types seperated by ,(comma)
[post_in= »1,2″] – ID’s of the posts|pages seperated by ,(comma)
[post_not_in= »1,2″] – ID’s of the posts|pages seperated by ,(comma)
[device_target= »desktop »] – mobile or desktop device support for the table of contents
[view_more= »5″] – 5, is the number of headings loads on first view, before user interaction (PRO)
[class= »custom_toc »] – add your own class to the TOC
[exclude= »Test »] – exclude heading from TOC which contain text « Test »
[heading_levels= »2,3″] – Show only heading h2 and h3

Support

We try our best to provide support on WordPress.org forums. However, We have a special team support where you can ask us questions and get help. Delivering a good user experience means a lot to us and so we try our best to reply each and every question that gets asked.

Bug Reports

Bug reports for Easy Table of Contents are welcomed on GitHub. Please note GitHub is not a support forum, and issues that aren’t properly qualified as bugs will be closed.

JOIN TELEGRAM GROUP COMMUNITY**: Purpose of this group is to get proper suggestions and feedback from plugin users and the community so that we can make the plugin even better.

Feuille de route

  • Fragment caching for improved performance.
  • Improve accessibility.
  • Add Bullet and Arrow options for list counter style.
  • View Full Road Map

Crédit

Easy Table Contents is a fork of the excellent Table of Contents Plus plugin by Michael Tran.

Screenshots

  1. The General section of the settings.
  2. The Appearance section of the settings.
  3. The Advanced section of the settings.

Installation

Using the WordPress Plugin Search

  1. Navigate to the Add New sub-page under the Plugins admin page.
  2. Search for easy table of contents.
  3. The plugin should be listed first in the search results.
  4. Click the Install Now link.
  5. Lastly click the Activate Plugin link to activate the plugin.

Uploading in WordPress Admin

  1. Download the plugin zip file and save it to your computer.
  2. Navigate to the Add New sub-page under the Plugins admin page.
  3. Click the Upload link.
  4. Select Easy Table of Contents zip file from where you saved the zip file on your computer.
  5. Click the Install Now button.
  6. Lastly click the Activate Plugin link to activate the plugin.

Using FTP

  1. Download the plugin zip file and save it to your computer.
  2. Extract the Easy Table of Contents zip file.
  3. Create a new directory named easy-table-of-contents directory in the ../wp-content/plugins/ directory.
  4. Upload the files from the folder extracted in Step 2.
  5. Activate the plugin on the Plugins admin page.

Contact | Help | Technical Support

Contact Us

Captures d’écran

FAQ

Ok, I’ve installed this… what do I do next?

You first stop should be the Table of Contents settings admin page. You can find this under the Settings menu item.

You first and only required decision is you need to decide which post types you want to enable Table of Contents support for. By default it is the Pages post type. If on Pages is the only place you plan on using Table of Contents, you have nothing to do on the Settings page. To keep things simple, I recommend not changing any of the other settings at this point. Many of the other settings control when and where the table of contents is inserted and changing these settings could cause it not to display making getting started a bit more difficult. After you get comfortable with how this works… then tweak away 🙂

With that out of the way make sure to read the How are the tables of contents created? FAQ so you know how the Table of Contents is automatically generated. After you have the page headers setup, or before, either way… Scroll down on the page you’ll see a metabox named « Table of Contents« , enable the Insert table of contents. option and Update and/or Publish you page. The table of contents should automatically be shown at the top of the page.

How are the tables of contents created?

La table des matière est générée par les titrages trouvés sur une page. Les titrages sont les balises HTML <h1>,<h2>,<h3>,<h4>,<h5>,<h6>. Si vous utilisez l’éditeur visuel de contenu WordPress, ces balises de titrage sont utilisées et insérées dans le contenu lorsque vous sélectionnez une des options de titrages n de la liste déroulante de mise en forme. Chaque titrage trouvé sur la page créera un élément de table des matières. Voici un exemple qui va créer une table des matières contenant les six éléments.

<h1>Item 1</h1>
<h1>Item 2</h1>
<h1>Item 3</h1>
<h1>Item 4</h1>
<h1>Item 5</h1>
<h1>Item 6</h1>

Vous pouvez également créer une table des matières « imbriquée ». C’est difficile à expliquer, donc je vais illustrer en me basant sur l’exemple précédent. Dans cet exemple, une table des matières sera créée avec les mêmes six éléments, mais maintenant les trois premiers auront chacun un élément enfant imbriqué en dessous. L’indentation n’est pas nécessaire, elle a été ajoutée uniquement à des fins d’illustration.

<h1>Item 1</h1>
    <h2>Item 1.1 -- Level 2</h2>
<h1>Item 2</h1>
    <h2>Item 2.1 -- Level 2</h2>
<h1>Item 3</h1>
    <h2>Item 3.1 -- Level 2</h2>
<h1>Item 4</h1>
<h1>Item 5</h1>
<h1>Item 6</h1>

Vous n’êtes également pas limité à un unique élément imbriqué. Vous pouvez en ajouter autant que vous le souhaitez. Vous pouvez même créer plusieurs niveaux imbriqués…

<h1>Item 1</h1>
    <h2>Item 1.1 -- Level 2</h2>
        <h3>Item 1.1.1 -- Level 3</h3>
        <h3>Item 1.1.2 -- Level 3</h3>
        <h3>Item 1.1.3 -- Level 3</h3>
    <h2>Item 1.2 -- Level 2</h2>
      <h3>Item 1.2.1 -- Level 3</h3>
      <h3>Item 1.2.2 -- Level 3</h3>
      <h3>Item 1.2.3 -- Level 3</h3>
    <h2>Item 1.3 -- Level 2</h2>
<h1>Item 2</h1>
    <h2>Item 2.1 -- Level 2</h2>
    <h2>Item 2.2 -- Level 2</h2>
<h1>Item 3</h1>
    <h2>Item 3.1 -- Level 2</h2>
    <h2>Item 3.2 -- Level 2</h2>
<h1>Item 4</h1>
<h1>Item 5</h1>
<h1>Item 6</h1>

Vous pouvez aller jusqu’à 6 niveaux en profondeur si nécessaire. J’espère que cela vous aidera à comprendre comment créer et construire votre propre table des matières auto générée sur vos sites !

Is there any shortcode to add the table of content to anywhere I want ?

Yes you can add the TOC with this shortcode – [ez-toc] and with the help of this you can easily add the TOC in the content or anywhere in the WordPress and if you want to add the shortcode on the theme file then you can add it with the help of this code – and with this, you can add the TOC on any file according to your need.

Avis

4 mars 2025
It is a simple yet powerful WordPress plugin that auto-generates a structured table of contents for posts and pages. It enhances navigation, improves readability, and supports customization. Works seamlessly with both Gutenberg and classic editors, making it a great tool for content-heavy sites.
26 janvier 2025
I was searching for a plugin i can insert into a popup to make my own layout, with Yootheme Pro. This plugin was good, but i had some problems with the Yootheme H1, H2 with other sections in the same page. I asked the support for fix that and they have make a fix for the pro version very quiclky. So now it work perfectly on all the Yootheme pages. Great plugin, great support.

ok

4 novembre 2024
ok but too much modyfing every post code
25 septembre 2024
Hello, I was requesting new features and plugin support, and the team gave it to me. And still the team is working on more plugin optimization and new features, for example, using ToC on Tablet and mobile, which is very great improvement. At the moment the team is working on my suggestions, and I must say, this plugin is very useful, and the plugin team is also great. Thank you very much.
Lire les 210 avis

Contributeurs/contributrices & développeurs/développeuses

« Easy Table of Contents » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

“Easy Table of Contents” a été traduit dans 19 locales. Remerciez l’équipe de traduction pour ses contributions.

Traduisez « Easy Table of Contents » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Journal

2.0.73 12/03/2025

  • New: Added a Sitemap Feature #835
  • Tweak: Some TOC Headings Not Working When Added with Elementor Plugin #857
  • Tweak: Improvement done in the Appearance Section of the Easy TOC Plugin #858
  • New: Added an Option to Add Self-Referencing Links with Domain Anchors in Easy TOC #859
  • New: Delete All Data When Uninstalling the Plugin #863
  • Compatibility: Added compatibility with the theme Divi Child #864
  • Bug: Code improvement in widget toc shortcode #870

2.0.72 27/01/2025

  • New: Expand/Collapse Option for Device Target in TOC for Improved Usability #824
  • New: Easy TOC Integration with Yoast SEO Schema #821
  • New: Generate TOC without Links #796
  • Bug: Conflict issue with customization settings #840
  • Bug: Headings issue with the Kadence Child theme in the product category. #820
  • Bug: ‘Header Label‘ Option Not Updating in CATEGORY, TAG individually #852
  • Bug: The Read Time option’s label field is not visible #853
  • Fix: Customisation of widget title tag #855
  • Bug: On multisite, When plugin activated, It goes to not found page #802
  • Fix: Need an option for Translating the ‘Toggle Table of Content’ aria-label’ #860
  • Compatibility: We need to make compatibility with YOOtheme. #856

2.0.71 09/12/2024

  • New: Support for more attributes in shortcode #828
  • New: Automatically short the title in ETOC #830
  • New: Floating layout for Sticky ETOC #844
  • Bug: cookie « ezTOC_hidetoc-0 » does not have an appropriate « SameSite » attribute value #822
  • Bug: TOC Short code causing 500 error on Uncode theme #831
  • Bug: The Sticky Toc title does not shift to the right in the option Heading Text Direction selected as Right to Left is selected #833
  • Bug: ‘Header Label’ Option Not Updating in post individually #837
  • Fix: Issue with « TOC open on load » option in Sticky TOC feature. #815
  • Fix: TOC conflict with Avada Builder plugin and Custom Child Theme #775
  • Fix: Undefined Array Key ‘navigation_scroll_bar’ in class-eztoc-widgetsticky.php #842
  • Fix: Error in Google search console when enabling Create by Mediavine #841
  • Fix: Compatibility with Customize Post Categories for WPBakery Page Builder plugin & Publisher Theme #843
  • Compatibility: Tested with WordPress 6.7 #836

2.0.70 17/10/2024

  • New: One click migration for Table of Contents plus plugin #826
  • New: Add missing parameters in sticky widget shortcode #812
  • Bug: Timber theme TOC links not working on all pages and When ACF compatibility is on homepage gives 500 error #814
  • Bug: Incorrect Symbols Displaying When Adding %PAGE_NAME% as Header Label #816
  • Fix: Preserve-Linebreaks is broken. #806

2.0.69.1 05/09/2024

  • Fix: Fatal error #803

2.0.69 28/08/2024

  • Fix: Php warning. #788
  • Bug: Sticky ETOC CSS automatically added in homepage #777
  • Fix: Latest Version 2.0.68.1 causing functionality of « Inline CSS » Option in ETOC. #787
  • Fix: SiteNavigation markup issue with Easy TOC #764
  • Bug: The Sticky toggle appears on the homepage If the device target is set as desktop and its apparency is disabled on the Homepage #789
  • Bug: Generate related keyphrase and Keyphrase synonyms are not appearing if the plugin is active #791
  • Tweak: Clean the autoloaded data « ez-toc-post-content-core-level from the database. #793
  • Fix: Auto TOC not getting insert in Product Category Description #797
  • Fix: Copy Shortcode buttons are not working #798

2.0.68.1 21/07/2024

  • Fix: Fatal error when inline css is enabled in version 2.0.68

2.0.68 20/07/2024

  • Fix: Stored XSS Security Vulnerability disclosed by Cleantalk (Dmitrii Ignatyev)
  • Compatibility: Tested with WordPress version 6.6 #780

2.0.67.1 19/06/2024

  • Bug: Plugin Does Not Save Changes in recent version 2.0.67 #771

2.0.67 18/06/2024

  • New: Read Time in Minutes option for individual posts and set the translation for reading time. #763
  • New: Exclude heading by id option #768
  • New: Exclude TOC added using shortcode on specific pages/posts [post_not_in= »1,2″] #758
  • Compatibility: Added compatibility with the theme StoreHub #760
  • Compatibility: Conflict issue with custom theme(user specific issue) #750
  • Compatibility: Conflict issue with DIVI theme #749
  • Bug: Highlight Heading colors are not getting customized #755
  • Bug: Sticky TOC appears on homepage without enabling option when front page is set #754
  • Bug: TOC is showing on homepage’s post’s excerpt Avada theme conflict #757
  • Fix: Passing null to parameter #1 ($string) of type string is deprecated #769
  • Fix: Patched Security Vulnerability disclosed by Dmitrii Ignatyev from cleantalk.org

2.0.66.1 15/05/2024

  • Bug: ETOC version 2.0.66 giving Fatal error: Uncaught TypeError: method_exists() #752

2.0.66 15/05/2024

  • Bug: Multiple warnings showing when ACF support is enabled in TOC #738
  • Bug: Conflict issue with Avada child theme. #740
  • Bug: The editing/updating of the post/page is slowing down if the plugin is activated with Block based themes #741
  • Bug: Positions & Alignment is not being changed globally #743
  • New: Option for showing promt if no headings available #654
  • New: Option or shortcode like [initial_view= »Show »] for specific pages/post. #732
  • Fix: Patched Stored XSS Vulnerability disclosed by Dmitrii Ignatyev from cleantalk.org

2.0.65 10/04/2024

  • TWEAK: Warning: Undefined array key « s_blockqoute_checkbox » #728
  • TWEAK: Write plugin name in subject of feedback form #731
  • New: Added to exclude heading from query loop feature #730

2.0.64 28/03/2024

  • TWEAK: When clicked on copy shortcode, Page is shaking #695
  • TWEAK: Uncaught ReferenceError #693
  • TWEAK: Need to correct [initial_view=’no’] shortcode in TOC #715
  • New: Exclude By Matching Url/String Option is not working for Sticky TOC #688
  • New: Added a new feature to set different positions on specific posts/pages #697
  • New: Added a new feature to Filter/Hook for Adding Custom Links Before and After Toc plugin-generated Links #718
  • Bug: Fatal Error: [ez-toc-widget-sticky] Shortcode and also Conflict with ‘Internal Link Juicer (Pro)’. #704
  • Bug: Sidebar’s PHP Error Notices in TOC version 2.0.63 #716
  • Bug: Double invoice showing when sitenavigation schema option enabled #720
  • Compatibility: Tested with WordPress 6.5 #723

2.0.63 02/03/2024

  • TWEAK: Remove extra spaces added by the users to the option Exclude feature #687
  • TWEAK: HTML Validator Parse Error: Font-Size Issue #691
  • TWEAK: Proper enqueue method for sticky toc js. #696
  • Bug: Easy TOC conflicts with the Popular Post plugin. #680
  • Bug: A warning is appearing after the recent update #686
  • Bug: TOC not showing on MicrojobEngine theme #694
  • Bug: Warning appears in product widget sidebar #705
  • Bug: Function wp_specialchars is deprecated since version 2.8.0! #709
  • Bug: Add compatibility with pressbook theme #710

Full changelog available at changelog.txt