Easy Table of Contents

Descripción

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

Características

  • NEW : Migration Tool to import all the settings from other plugins like Table of Content Plus & more
  • Genera automáticamente una tabla de contenidos para tus entradas, páginas y tipos de contenido personalizados analizando el contenido para las cabeceras.
  • Compatible con la etiqueta <!--nextpage-->.
  • Supports the Rank Math plugin.
  • Works with the Classic Editor, Gutenberg, Divi, Elementor, WPBakery Page Builder and Visual Composer page editors.
  • Opcionalmente se puede activar para páginas y/o entradas. Se admiten los tipos de contenido personalizados, siempre que tu contenido se genere con la etiqueta de plantilla the_content().
  • Opcionalmente, puede insertar automáticamente el índice de contenidos en la página, seleccionable por el tipo de contenido activado.
  • Proporciona muchas opciones fáciles de entender para configurar cuándo y dónde insertar la tabla de contenidos.
  • Hay muchas opciones disponibles para configurar cómo aparece la tabla de contenido insertada que incluye varios temas incorporados. Si los temas suministrados no satisfacen tus necesidades, puedes crear los tuyos propios eligiendo tus propios colores para el borde, el fondo y el color del enlace.
  • Múltiples formatos de contador de viñetas entre los que elegir; ninguno, decimal, numérico y romano.
  • Elige entre mostrar la tabla de contenido de forma jerárquica o no. Esto significa que las cabeceras de menor prioridad estarán anidadas bajo cabeceras de mayor prioridad.
  • El usuario puede opcionalmente ocultar la tabla de contenidos. Tú tienes el control total de esta característica. Puede desactivarse y puedes elegir tenerlo oculto por defecto.
  • Compatible con el desplazamiento suave.
  • Activación o desactivación selectiva del índice de contenidos entrada por entrada.
  • Elige qué encabezados se usarán para generar la tabla de contenidos. Esto también se puede configurarse entrada por entrada.
  • Excluye fácilmente las cabeceras de forma global y entrada por entrada.
  • Si prefieres no insertar el índice en el contenido de la entrada, puedes usar el widget suministrado y colocar la tabla de contenidos en la barra lateral de tu tema.
  • Los widgets se pueden colocar o pegar en la página para que estén siempre visibles a medida que te desplazas por la página. NOTA: esta es una opción avanzada ya que cada tema es diferente, es posible que necesites el asesoramiento del desarrollador del tema para saber cuál es el selector de elementos correcto a utilizar en los ajustes para activar esta característica.
  • El widget resalta automáticamente las secciones actualmente visibles en la página. El color de realce es configurable.
  • Para el desarrollador con muchos ganchos de acción y filtros disponibles. Se pueden añadir más a petición en Github. Las solicitudes de pull son bienvenidas.
  • 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.

Hoja de ruta

  • Almacenamiento en caché de fragmentos para mejorar el rendimiento.
  • Improve accessibility.
  • Add Bullet and Arrow options for list counter style.
  • View Full Road Map

Reconocimiento

Easy Table Contents es una bifurcación del excelente plugin Table of Contents Plus de Michael Tran.

Screenshots

  1. La sección general de los ajustes.
  2. La sección de apariencia de los ajustes.
  3. La sección avanzada de los ajustes.

Installation

Usando la búsqueda de plugins de WordPress

  1. Ve a la sub página Añadir nuevo en la página Plugins del escritorio.
  2. Busca easy table of contents.
  3. El plugin debería estar de primero en la lista de los resultados de búsqueda.
  4. Haz clic en el botón Instalar ahora.
  5. Finalmente, haz clic en el botón Activar para activar el plugin.

Subiendo a la administración de WordPress

  1. Descarga el archivo zip del plugin y guárdalo en tu computador.
  2. Ve a la sub página Añadir nuevo en la página Plugins del escritorio.
  3. Haz clic en el botón Subir.
  4. Selecciona el archivo zip de «Easy Table of Contents» desde donde lo guardaste en tu computador.
  5. Haz clic en el botón Instalar ahora.
  6. Finalmente, haz clic en el botón Activar para activar el plugin.

Usando FTP

  1. Descarga el archivo zip del plugin y guárdalo en tu computador.
  2. Descomprime el archivo zip de Easy Table of Contents.
  3. Crea una nueva carpeta llamada easy-table-of-contents en el directorio ../wp-content/plugins/.
  4. Sube los archivos desde la carpeta extraída en el paso 2.
  5. Activa el plugin en la página de administración de plugins.

Contact | Help | Technical Support

Contact Us

Capturas

Preguntas frecuentes

Vale, he instalado esto…. ¿qué hago ahora?

La primera parada debe ser la página de administración de la configuración de la tabla de contenido. Encontrarás esto en la opción de menú de ajustes.

La primera y única decisión que se requiere es la de decidir para qué tipos de contenido deseas activar la compatibilidad con la tabla de contenido. Por defecto es el tipo de contenido de páginas. Si el único lugar en el que planeas usar la tabla de contenido es en las páginas, no hay nada más que hacer en la página de ajustes. Para simplificar las cosas, recomiendo no cambiar ninguno de los demás ajustes en este momento. Muchos de los otros ajustes controlan cuándo y dónde se inserta la tabla de contenido y cambiar estos ajustes podría causar que no se muestre, lo que dificulta un poco más la tarea de empezar. Después de que te sientas cómodo con la forma en que esto funciona…. entonces haz los ajustes 🙂

Con eso quitado, asegúrate de leer la FAQ ¿Cómo se crean las tablas de contenido? para que sepas cómo se genera automáticamente la tabla de contenido. Después de haber configurado las cabeceras de página, o antes, de cualquier manera…. Desplázate hacia abajo en la página y verás una caja meta llamada «Tabla de Contenidos«, activa la opción Insertar_tabla de contenidos. y actualiza y/o publica tu página. El índice debe aparecer automáticamente en la parte superior de la página.

¿Cómo se crean las tablas de contenidos?

La tabla de contenido la generan las cabeceras que se encuentran en una página. Las cabeceras son las siguientes: <h1>,<h2>,<h3>,<h4>,<h5>,<h6> HTML tags. Si utilizas el editor visual de entradas de WordPress, estas etiquetas de encabezado se utilizan y se insertan en el mensaje cuando selecciona una de las opciones de encabezado desde el menú desplegable de formato . Cada encabezado que se encuentre en la página creará una tabla de contenido. He aquí un ejemplo que creará una tabla de contenidos que contiene los seis elementos.

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

También puedes crear una tabla de contenidos «anidada». Esto es difícil de explicar, así que voy a ilustrar la construcción sobre el ejemplo anterior. En este ejemplo se creará un índice de contenidos con los mismos seis elementos, pero ahora los tres primeros serán cada uno un elemento subordinado anidado debajo de él. La sangría no es necesaria, sólo se ha añadido con fines ilustrativos.

<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>

Tampoco está limitado a un solo elemento anidado. Puedes añadir tantos como necesites. Incluso puede crear múltiples niveles anidados….

<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>

Puedes anidar hasta 6 niveles de profundidad si es necesario. ¡Espero que esto te ayude a entender cómo crear y construir tu propio índice de contenido generado automáticamente en tus sitios!

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.

Reseñas

ok

4 de noviembre de 2024
ok but too much modyfing every post code
25 de septiembre de 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.
16 de septiembre de 2024
I had an issue with the plugin, and the support team was incredibly helpful and responsive. They went above and beyond to assist me in resolving my problem, which I greatly appreciated. The plugin itself is free and packed with features that make it a must-have for anyone looking to easily organize and display a table of contents on their website. It’s user-friendly, versatile, and works seamlessly. I highly recommend it to anyone in need of a reliable and feature-rich solution!
14 de agosto de 2024 2 respuestas
The plugin has some nice features but there is a major flaw: Although we deactivated the standard TOC completly and only activated the sticky TOC and also only for posts, the functions seem still to run on our homepage. I deeply tested it. When sticky TOC is activated (only for posts), our hompage loading time piles up from 1s to 2,8s which is an insane increase. I tested multiple times. I also deactivated the plugin completely and the results are the same. The plugin adds then the class «ez-toc-section» to every header like h1, h2, etc. It seems it is duplicating the whole page before it is thrown out, that´s while page load almost triples. I asked the support, even send a video, but it seems the support has no technical knowledge, so you kind of walk in circles with them without a result. For me personally this invasive behavior is too much. Sticky TOC shouldn´t run on homepage or other pages when it´s deactivated. And I mean really shouldn´t run the functions, not only hiding elements via CSS if that´s the case. A better solution would be they would wrap their functions and run them only on desired posts, pages, etc. for example with: function my_custom_function_for_single_posts() { if (is_single()) { // Your function or code to run only on post pages }}add_action(‘wp_head’, ‘my_custom_function_for_single_posts’); But I´m not completly sure were their problem really comes from. Perhaps they will fix it in future. For everyone until now I recommend test you page loading times, with and without activated plugin, to be sure that your site won´t be affected badly. Regards — Edit: They tried to fix the issue and had full access to my installation but couldn´t manage it. The problem is still there. The plugin is too invasive and will slow down your pages. I found out that the «sticky toc class» is added on almost every page throughout your installation and page speed is influenced very badly. I cannot recommend this plugin. The problem seems to lay in how the plugin works. I think there´s a function that crawls the sites and then throws out a new DOM where it adds classes to the h tags. And it does it regardless where u want it to run only. Therefore it doesn´t matter if you set it to «blog» only. It will do it either way and double or tripple your loading times for almost every page. Better search for something more lightweight for now. No need to slow down your site just for a table of contents. I assume that most people that don´t have the technical knowledge for this don´t realize this problem at all.
Leer todas las 207 reseñas

Colaboradores y desarrolladores

«Easy Table of Contents» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

«Easy Table of Contents» ha sido traducido a 19 idiomas locales. Gracias a los traductores por sus contribuciones.

Traduce «Easy Table of Contents» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

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

2.0.62 12/01/2024

  • New: Shortcode for sidebar sticky toc widget in documentation shortcode block #399
  • New: A feature to remove numbers from individual post #404
  • New: An option to customize the Highlighting of the headings #455 (Pro)
  • New: An option to customize the Font Weight #496
  • New: An option for TOC in Widgets to change the colour and font size of the TOC title #508
  • New: Elementor Code Improvement #675
  • New: Compatibility for Genesis Theme Custom Taxonomy Archive page (Pro)
  • Bug: Ad Inserter #97
  • Bug: Add Request URL option conflicting with twenty-twenty two theme #676
  • Bug: Conflict with Avada child theme #677
  • Bug: Conflict issue with device target feature #678
  • Bug: YASR schema markup got disappeared when enabling plugin #679
  • Bug: Add compatibility with Current Year, Symbols and IP Shortcode plugin #681

2.0.61 13/12/2023

  • New: checkbox selection should work on label clicks #473
  • New: Should be able to change the sticky toggle header label for each post individually #625
  • New: TOC plugin is not working with AJAX #634
  • New: Need to add a feature to customize the View More/Less label #637
  • New: To make the Sticky Toggle heading highlight while scrolling through the content #647
  • New: The option font size is only working for the Sticky Toggle title Label but not for the headings #661
  • New: Meta field to turn off sticky individually on post/pages. #666
  • Bug: Put documents links #510
  • Bug: Recent TOC Update 2.0.56.1 Causing W3C Validation Error #611
  • Bug: The size of headings not increasing individually as per setting. #623
  • Bug: Checklist #658
  • Bug: The option «Width» is not getting saved for the option Sticky Toggle. #660
  • Bug: The feature «Fixed TOC» is not working #662
  • Bug: The H4, H5, and H6 headings are not changing the font size if customized in the Settings #663
  • Bug: Target device functionality is not working in sticky toc #664
  • Bug: PHP Warning in TOC Plugin: Undefined Array Key ‘desc’ in class.options.php (Line 1776) #665
  • Bug: Sticky TOC on Password-Protected Pages Before Entry #667

Full changelog available at changelog.txt