الوصف
A plugin to automatically add table of contents on posts and pages or via shortcode.
Usage
- Auto-Inserting TOC:
- The TOC will automatically appear on selected post types (e.g., posts or pages) based on the settings configured in the admin panel.
- Using the Shortcode:
- You can manually insert a Table of Contents using the
[dtoc_list]
shortcode. -
The shortcode supports the following arguments:
Arguments:
headings
: Specify which heading levels to include in the TOC (e.g.,headings="h2,h3,h4"
).toggle
: Enable the toggle feature (toggle="true"
ortoggle="false"
).hierarchy
: Enable or disable nested hierarchy (hierarchy="true"
orhierarchy="false"
).title
: Customize the title of the TOC (e.g.,title="Custom TOC Title"
).
Example:
[dtoc_list headings=”h2,h3″ toggle=”true” hierarchy=”true” title=”My Custom TOC”]
This will render a TOC that includes H2 and H3 headings, with toggle and hierarchy enabled, and a custom title “My Custom TOC.”Report Bug or Contribute fix
Encounter an issue with Digital Table Of Contents? or wanted to contribute. Kindly visit Digital Table Of Contents repository on GitHub. Please be aware that GitHub is not a support forum, but rather a streamlined platform for effectively addressing and solving problems.
التنصيب
- Upload the plugin folder to the
/wp-content/plugins/
directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Configure the settings in ‘Settings > Digital TOC’.
المراجعات
لا توجد مراجعات لهذه الإضافة.
المساهمون والمطوّرون
“Digital Table Of Contents” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.
المساهمونترجمة ”Digital Table Of Contents“ إلى لغتك.
مُهتم بالتطوير؟
تصفّح الشفرة، تحقق من مستودع SVN، أو الاشتراك في سجل التطوير بواسطة RSS.
سجل التغييرات
1.0.0
- Initial release.