Àpèjúwe
Devmont TOC Navigator makes it easy to add a clean, accessible table of contents to your posts and pages.
Features:
Ìtumọ̀ Yorùbá: – Shortcode [dtocn_toc] and Gutenberg block
Ìtumọ̀ Yorùbá: – Sticky TOC with smooth offset scrolling and active link highlighting
Ìtumọ̀ Yorùbá: – Collapsible header with rotating icon
Ìtumọ̀ Yorùbá: – Fine-grained styling controls (Header, Links, Container)
Ìtumọ̀ Yorùbá: – Inline CSS generation for optimal performance
Ìtumọ̀ Yorùbá: – Sanitized settings and safe escaping following WordPress standards
Shortcode
[dtocn_toc]
Attributes:
Ìtumọ̀ Yorùbá: – heading_levels: Comma-separated list of headings to include (e.g. h2,h3,h4). Default: h2,h3
Ìtumọ̀ Yorùbá: – float: none | left | right. Default: none
Ìtumọ̀ Yorùbá: – toc_sticky: yes | no. Default: no
Example:
[dtocn_toc heading_levels=”h2,h3,h4Ìtumọ̀ Yorùbá: ″ float=”right” toc_sticky=”yes”]
Block
Adds a “Smart TOC” block with the same options as the shortcode.
Accessibility
- Uses semantic buttons and aria attributes for the accordion toggle
- Screen-reader-only label for the heading level data
Àwọn ìdí
Plugin yìí pèsè 1 ìdí.
- Smart Table of Contents Generate SEO-friendly TOC with scroll-spy, collapsible options, and shortcode.
Ìgbéwọlẹ̀
- Upload the plugin files to the /wp-content/plugins/devmont-toc-navigator directory, or install via the Plugins screen in WordPress.
- Activate the plugin through the ‘Plugins’ screen in WordPress.
- Add the shortcode [dtocn_toc] to your content or insert the Smart TOC block.
- Configure styles under Settings Smart TOC.
FAQ
-
Can I choose which heading levels to include?
-
Yes. Set heading_levels like “h2,h3,h4” in the shortcode or block.
-
Does it support sticky behavior?
-
Yes. Enable sticky in the shortcode/block. Smooth scrolling accounts for the sticky TOC height.
-
How do I style the TOC?
-
Go to Settings Smart TOC Styles. You can customize Header, Links, and Container (colors, fonts, borders, radius, padding, width, box shadow presets, margins, etc.).
À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
“Devmont TOC Navigator” 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ópaTúmọ̀ “Devmont TOC Navigator” 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.0.0
- Initial release.
