=== Tabla de contenidos Wordprecero ===
Contributors: wordprecero
Tags: table of contents, toc, index, headings, seo
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Adds a table of contents to your posts and pages from their headings. You choose where it goes, where it is used and how deep the numbering goes.

== Description ==

Tabla de contenidos Wordprecero builds a table of contents from the headings (H2, H3 and H4) of your posts and pages, and links each item to its section.

= Features =

* Automatic table of contents in the post types you choose (posts, pages or others).
* You decide where it goes: at the start, after a paragraph you choose, before the first heading, at the end, or exactly where you put the `[wordprecero_tabla]` shortcode.
* A box in each post to show, hide or move the table in that post only.
* Optional numbering by levels (1., 1.1., 1.1.1.) and choice of which heading levels are included.
* Collapsible design with a check mark before each item, smooth scrolling and a spacing option for sticky menus.
* Leave any heading out with the CSS class `wpti-excluir`.
* Sound alerts and a "Bugs and ideas" tab to contact the author.

An optional Pro add-on (sold separately on wordprecero.com) adds 6 designs and a custom design editor, prefix and suffix icons for the items, headings up to H6, deeper numbering and click statistics.

= Privacy =

The plugin does not use cookies and does not store personal data. It counts clicks on the table as plain numbers (total, per day and per post). It only connects to wordprecero.com in the cases described under "External services" below.

== Installation ==

1. Upload the `tabla-de-contenidos-wordprecero` folder to `/wp-content/plugins/`, or install it from the Plugins screen.
2. Activate it.
3. Go to **Tabla de contenidos** in the admin menu and choose where the table goes.

== Frequently Asked Questions ==

= Does it change my saved content? =

No. The table and the heading anchors are added when the post is displayed. If you deactivate the plugin, your content stays exactly as it was.

= How do I place the table in an exact spot? =

Write `[wordprecero_tabla]` where you want it (in the block editor, use a Shortcode block).

= Can I use it in my theme template? =

Yes: `<?php echo wpti_tabla(); ?>`

== External services ==

This plugin connects to the author's service at https://wordprecero.com/ (https://wordprecero.com/?wpce_api=1) only in these cases:

1. Once a day, to look up the address of the plugin's information page. Only the product name is sent (no site data).
2. When you press "Send" in the "Errores e ideas" (Bugs and ideas) tab. It sends your message (bug report or suggestion), the name and WhatsApp number you type (both optional), your site domain and the plugin, WordPress and PHP versions, so the author can read and answer it. Nothing is sent unless you press the button.
3. After you have sent a report, when you open the plugin screen (at most every 10 minutes), to check whether the author has replied. It only sends the report number, its private code, your site domain and the product name, and only while you have reports pending.

Terms of service and privacy policy: https://wordprecero.com/

== Changelog ==

= 1.0.0 =
* First public release.
