Protos TOC Generator

Àpèjúwe

Protos TOC Generator automatically creates a Table of Contents for your posts and pages by scanning for heading tags (<h1> to <h6>). It adds anchor links for smooth navigation within long articles.

Features:
Ìtumọ̀ Yorùbá: – Automatically injects a TOC before the first heading
Ìtumọ̀ Yorùbá: – Smooth scrolling to heading sections
Ìtumọ̀ Yorùbá: – Supports heading levels h1 to h6
Ìtumọ̀ Yorùbá: – SEO-friendly anchor links
Ìtumọ̀ Yorùbá: – Easy styling and customization
Ìtumọ̀ Yorùbá: – Lightweight and no settings page

License

This plugin is licensed under the GPLv2 or later.

Àwọn àwòrán ìbòjú

  • Table of contents automatically inserted before the first heading.
  • Smooth scrolling behavior on anchor clicks.1. Admin view for configurations

Ìgbéwọlẹ̀

  1. Upload the plugin folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Visit any post with headings — the TOC appears before the first heading.

FAQ

Can I disable TOC for specific posts?

Not in this version. Let us know if you need this feature!

Can I customize where the TOC appears?

By default, it appears before the first heading. A shortcode version is coming soon.

Will this work with any theme?

Yes, it works with all standard themes and heading structures.

Àwọn àgbéyẹ̀wò

Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.

Àwọn Olùkópa & Olùgbéejáde

“Protos TOC Generator” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.

Àwọn Olùkópa

Túmọ̀ “Protos TOC Generator” sí èdè rẹ.

Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.

Àkọsílẹ̀ àwọn àyípadà

1.1

  • Added smooth scrolling JavaScript
  • Replaced strip_tags() with wp_strip_all_tags()
  • Cleaned code for better WordPress compliance

1.0

  • Initial release – auto TOC based on heading tags